diff --git a/src/Microsoft.Graph/Generated/Admin/AdminRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/AdminRequestBuilder.cs index 0a4a6be64e7d..1832d5202134 100644 --- a/src/Microsoft.Graph/Generated/Admin/AdminRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/AdminRequestBuilder.cs @@ -1,6 +1,7 @@ // #pragma warning disable CS0618 using Microsoft.Graph.Beta.Admin.AppsAndServices; +using Microsoft.Graph.Beta.Admin.ConfigurationManagement; using Microsoft.Graph.Beta.Admin.Dynamics; using Microsoft.Graph.Beta.Admin.Edge; using Microsoft.Graph.Beta.Admin.Entra; @@ -37,6 +38,11 @@ public partial class AdminRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Admin.AppsAndServices.AppsAndServicesRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the configurationManagement property of the microsoft.graph.admin entity. + public global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationManagementRequestBuilder ConfigurationManagement + { + get => new global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationManagementRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the dynamics property of the microsoft.graph.admin entity. public global::Microsoft.Graph.Beta.Admin.Dynamics.DynamicsRequestBuilder Dynamics { diff --git a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationApplications/ConfigurationApplicationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationApplications/ConfigurationApplicationsRequestBuilder.cs new file mode 100644 index 000000000000..f7576e55df49 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationApplications/ConfigurationApplicationsRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.Count; +using Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.Item; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications +{ + /// + /// Provides operations to manage the configurationApplications property of the microsoft.graph.configurationManagement entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationApplicationsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the configurationApplications property of the microsoft.graph.configurationManagement entity. + /// The unique identifier of configurationApplication + /// A + public global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.Item.ConfigurationApplicationItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("configurationApplication%2Did", position); + return new global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.Item.ConfigurationApplicationItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ConfigurationApplicationsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationApplications{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ConfigurationApplicationsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationApplications{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get configurationApplications from admin + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ConfigurationApplicationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to configurationApplications for admin + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.ConfigurationApplication body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.ConfigurationApplication body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ConfigurationApplication.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get configurationApplications from 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 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 configurationApplications for admin + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.ConfigurationApplication body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.ConfigurationApplication body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.ConfigurationApplicationsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.ConfigurationApplicationsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get configurationApplications from admin + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationApplicationsRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationApplicationsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationApplicationsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationApplications/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationApplications/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..12197cef06a0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationApplications/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationApplications/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationApplications/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationApplications/Item/ConfigurationApplicationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationApplications/Item/ConfigurationApplicationItemRequestBuilder.cs new file mode 100644 index 000000000000..df06a7149db8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationApplications/Item/ConfigurationApplicationItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.Item +{ + /// + /// Provides operations to manage the configurationApplications property of the microsoft.graph.configurationManagement entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationApplicationItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ConfigurationApplicationItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationApplications/{configurationApplication%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ConfigurationApplicationItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationApplications/{configurationApplication%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property configurationApplications for admin + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get configurationApplications from admin + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ConfigurationApplication.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property configurationApplications in admin + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.ConfigurationApplication body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.ConfigurationApplication body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ConfigurationApplication.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property configurationApplications for 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 configurationApplications from 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 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 configurationApplications in admin + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.ConfigurationApplication body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.ConfigurationApplication body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.Item.ConfigurationApplicationItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.Item.ConfigurationApplicationItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationApplicationItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get configurationApplications from admin + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationApplicationItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationApplicationItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationApplicationItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationDrifts/ConfigurationDriftsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationDrifts/ConfigurationDriftsRequestBuilder.cs new file mode 100644 index 000000000000..34e45ab9ee94 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationDrifts/ConfigurationDriftsRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationDrifts.Count; +using Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationDrifts.Item; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationDrifts +{ + /// + /// Provides operations to manage the configurationDrifts property of the microsoft.graph.configurationManagement entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationDriftsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationDrifts.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationDrifts.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the configurationDrifts property of the microsoft.graph.configurationManagement entity. + /// The unique identifier of configurationDrift + /// A + public global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationDrifts.Item.ConfigurationDriftItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("configurationDrift%2Did", position); + return new global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationDrifts.Item.ConfigurationDriftItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ConfigurationDriftsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationDrifts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ConfigurationDriftsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationDrifts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get configurationDrifts from admin + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ConfigurationDriftCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to configurationDrifts for admin + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.ConfigurationDrift body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.ConfigurationDrift body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ConfigurationDrift.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get configurationDrifts from 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 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 configurationDrifts for admin + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.ConfigurationDrift body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.ConfigurationDrift body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationDrifts.ConfigurationDriftsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationDrifts.ConfigurationDriftsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get configurationDrifts from admin + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationDriftsRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationDriftsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationDriftsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationDrifts/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationDrifts/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..dc802d47b364 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationDrifts/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationDrifts.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationDrifts/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationDrifts/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationDrifts.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationDrifts.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationDrifts/Item/ConfigurationDriftItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationDrifts/Item/ConfigurationDriftItemRequestBuilder.cs new file mode 100644 index 000000000000..629031e39729 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationDrifts/Item/ConfigurationDriftItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationDrifts.Item +{ + /// + /// Provides operations to manage the configurationDrifts property of the microsoft.graph.configurationManagement entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationDriftItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ConfigurationDriftItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationDrifts/{configurationDrift%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ConfigurationDriftItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationDrifts/{configurationDrift%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property configurationDrifts for admin + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get configurationDrifts from admin + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ConfigurationDrift.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property configurationDrifts in admin + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.ConfigurationDrift body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.ConfigurationDrift body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ConfigurationDrift.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property configurationDrifts for 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 configurationDrifts from 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 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 configurationDrifts in admin + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.ConfigurationDrift body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.ConfigurationDrift body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationDrifts.Item.ConfigurationDriftItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationDrifts.Item.ConfigurationDriftItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationDriftItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get configurationDrifts from admin + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationDriftItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationDriftItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationDriftItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationManagementRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationManagementRequestBuilder.cs new file mode 100644 index 000000000000..06475b005945 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationManagementRequestBuilder.cs @@ -0,0 +1,265 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications; +using Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationDrifts; +using Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitoringResults; +using Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors; +using Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshotJobs; +using Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshots; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Admin.ConfigurationManagement +{ + /// + /// Provides operations to manage the configurationManagement property of the microsoft.graph.admin entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationManagementRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the configurationApplications property of the microsoft.graph.configurationManagement entity. + public global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.ConfigurationApplicationsRequestBuilder ConfigurationApplications + { + get => new global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.ConfigurationApplicationsRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the configurationDrifts property of the microsoft.graph.configurationManagement entity. + public global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationDrifts.ConfigurationDriftsRequestBuilder ConfigurationDrifts + { + get => new global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationDrifts.ConfigurationDriftsRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the configurationMonitoringResults property of the microsoft.graph.configurationManagement entity. + public global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitoringResults.ConfigurationMonitoringResultsRequestBuilder ConfigurationMonitoringResults + { + get => new global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitoringResults.ConfigurationMonitoringResultsRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the configurationMonitors property of the microsoft.graph.configurationManagement entity. + public global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.ConfigurationMonitorsRequestBuilder ConfigurationMonitors + { + get => new global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.ConfigurationMonitorsRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the configurationSnapshotJobs property of the microsoft.graph.configurationManagement entity. + public global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.ConfigurationSnapshotJobsRequestBuilder ConfigurationSnapshotJobs + { + get => new global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.ConfigurationSnapshotJobsRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the configurationSnapshots property of the microsoft.graph.configurationManagement entity. + public global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshots.ConfigurationSnapshotsRequestBuilder ConfigurationSnapshots + { + get => new global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshots.ConfigurationSnapshotsRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ConfigurationManagementRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ConfigurationManagementRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property configurationManagement for admin + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get configurationManagement from admin + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ConfigurationManagement.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property configurationManagement in admin + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.ConfigurationManagement body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.ConfigurationManagement body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ConfigurationManagement.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property configurationManagement for 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 configurationManagement from 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 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 configurationManagement in admin + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.ConfigurationManagement body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.ConfigurationManagement body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationManagementRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationManagementRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationManagementRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get configurationManagement from admin + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationManagementRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationManagementRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationManagementRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitoringResults/ConfigurationMonitoringResultsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitoringResults/ConfigurationMonitoringResultsRequestBuilder.cs new file mode 100644 index 000000000000..f75a140eef34 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitoringResults/ConfigurationMonitoringResultsRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Count; +using Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Item; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitoringResults +{ + /// + /// Provides operations to manage the configurationMonitoringResults property of the microsoft.graph.configurationManagement entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationMonitoringResultsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the configurationMonitoringResults property of the microsoft.graph.configurationManagement entity. + /// The unique identifier of configurationMonitoringResult + /// A + public global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Item.ConfigurationMonitoringResultItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("configurationMonitoringResult%2Did", position); + return new global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Item.ConfigurationMonitoringResultItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ConfigurationMonitoringResultsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationMonitoringResults{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ConfigurationMonitoringResultsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationMonitoringResults{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get configurationMonitoringResults from admin + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ConfigurationMonitoringResultCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to configurationMonitoringResults for admin + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.ConfigurationMonitoringResult body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.ConfigurationMonitoringResult body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ConfigurationMonitoringResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get configurationMonitoringResults from 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 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 configurationMonitoringResults for admin + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.ConfigurationMonitoringResult body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.ConfigurationMonitoringResult body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitoringResults.ConfigurationMonitoringResultsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitoringResults.ConfigurationMonitoringResultsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get configurationMonitoringResults from admin + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationMonitoringResultsRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationMonitoringResultsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationMonitoringResultsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitoringResults/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitoringResults/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..f80b42385ea6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitoringResults/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationMonitoringResults/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationMonitoringResults/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitoringResults/Item/ConfigurationMonitoringResultItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitoringResults/Item/ConfigurationMonitoringResultItemRequestBuilder.cs new file mode 100644 index 000000000000..534188808829 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitoringResults/Item/ConfigurationMonitoringResultItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Item +{ + /// + /// Provides operations to manage the configurationMonitoringResults property of the microsoft.graph.configurationManagement entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationMonitoringResultItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ConfigurationMonitoringResultItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationMonitoringResults/{configurationMonitoringResult%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ConfigurationMonitoringResultItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationMonitoringResults/{configurationMonitoringResult%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property configurationMonitoringResults for admin + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get configurationMonitoringResults from admin + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ConfigurationMonitoringResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property configurationMonitoringResults in admin + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.ConfigurationMonitoringResult body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.ConfigurationMonitoringResult body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ConfigurationMonitoringResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property configurationMonitoringResults for 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 configurationMonitoringResults from 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 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 configurationMonitoringResults in admin + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.ConfigurationMonitoringResult body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.ConfigurationMonitoringResult body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Item.ConfigurationMonitoringResultItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Item.ConfigurationMonitoringResultItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationMonitoringResultItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get configurationMonitoringResults from admin + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationMonitoringResultItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationMonitoringResultItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationMonitoringResultItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitors/ConfigurationMonitorsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitors/ConfigurationMonitorsRequestBuilder.cs new file mode 100644 index 000000000000..35513e80107d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitors/ConfigurationMonitorsRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.Count; +using Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.Item; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors +{ + /// + /// Provides operations to manage the configurationMonitors property of the microsoft.graph.configurationManagement entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationMonitorsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the configurationMonitors property of the microsoft.graph.configurationManagement entity. + /// The unique identifier of configurationMonitor + /// A + public global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.Item.ConfigurationMonitorItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("configurationMonitor%2Did", position); + return new global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.Item.ConfigurationMonitorItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ConfigurationMonitorsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationMonitors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ConfigurationMonitorsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationMonitors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get configurationMonitors from admin + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ConfigurationMonitorCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to configurationMonitors for admin + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.ConfigurationMonitor body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.ConfigurationMonitor body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ConfigurationMonitor.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get configurationMonitors from 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 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 configurationMonitors for admin + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.ConfigurationMonitor body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.ConfigurationMonitor body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.ConfigurationMonitorsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.ConfigurationMonitorsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get configurationMonitors from admin + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationMonitorsRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationMonitorsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationMonitorsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitors/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitors/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..568d43443f3d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitors/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationMonitors/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationMonitors/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitors/Item/Baseline/BaselineRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitors/Item/Baseline/BaselineRequestBuilder.cs new file mode 100644 index 000000000000..5db1ca534012 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitors/Item/Baseline/BaselineRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.Item.Baseline +{ + /// + /// Provides operations to manage the baseline property of the microsoft.graph.configurationMonitor entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class BaselineRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public BaselineRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationMonitors/{configurationMonitor%2Did}/baseline{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public BaselineRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationMonitors/{configurationMonitor%2Did}/baseline{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property baseline for admin + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get baseline from admin + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ConfigurationBaseline.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property baseline in admin + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.ConfigurationBaseline body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.ConfigurationBaseline body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ConfigurationBaseline.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property baseline for 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 baseline from 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 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 baseline in admin + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.ConfigurationBaseline body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.ConfigurationBaseline body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.Item.Baseline.BaselineRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.Item.Baseline.BaselineRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class BaselineRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get baseline from admin + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class BaselineRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class BaselineRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class BaselineRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitors/Item/ConfigurationMonitorItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitors/Item/ConfigurationMonitorItemRequestBuilder.cs new file mode 100644 index 000000000000..0bd0f6f338f8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitors/Item/ConfigurationMonitorItemRequestBuilder.cs @@ -0,0 +1,235 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.Item.Baseline; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.Item +{ + /// + /// Provides operations to manage the configurationMonitors property of the microsoft.graph.configurationManagement entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationMonitorItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the baseline property of the microsoft.graph.configurationMonitor entity. + public global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.Item.Baseline.BaselineRequestBuilder Baseline + { + get => new global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.Item.Baseline.BaselineRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ConfigurationMonitorItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationMonitors/{configurationMonitor%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ConfigurationMonitorItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationMonitors/{configurationMonitor%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property configurationMonitors for admin + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get configurationMonitors from admin + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ConfigurationMonitor.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property configurationMonitors in admin + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.ConfigurationMonitor body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.ConfigurationMonitor body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ConfigurationMonitor.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property configurationMonitors for 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 configurationMonitors from 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 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 configurationMonitors in admin + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.ConfigurationMonitor body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.ConfigurationMonitor body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.Item.ConfigurationMonitorItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.Item.ConfigurationMonitorItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationMonitorItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get configurationMonitors from admin + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationMonitorItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationMonitorItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationMonitorItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshotJobs/ConfigurationSnapshotJobsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshotJobs/ConfigurationSnapshotJobsRequestBuilder.cs new file mode 100644 index 000000000000..22f080d84776 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshotJobs/ConfigurationSnapshotJobsRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Count; +using Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Item; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshotJobs +{ + /// + /// Provides operations to manage the configurationSnapshotJobs property of the microsoft.graph.configurationManagement entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationSnapshotJobsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the configurationSnapshotJobs property of the microsoft.graph.configurationManagement entity. + /// The unique identifier of configurationSnapshotJob + /// A + public global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Item.ConfigurationSnapshotJobItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("configurationSnapshotJob%2Did", position); + return new global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Item.ConfigurationSnapshotJobItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ConfigurationSnapshotJobsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationSnapshotJobs{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ConfigurationSnapshotJobsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationSnapshotJobs{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get configurationSnapshotJobs from admin + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ConfigurationSnapshotJobCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to configurationSnapshotJobs for admin + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.ConfigurationSnapshotJob body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.ConfigurationSnapshotJob body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ConfigurationSnapshotJob.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get configurationSnapshotJobs from 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 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 configurationSnapshotJobs for admin + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.ConfigurationSnapshotJob body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.ConfigurationSnapshotJob body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.ConfigurationSnapshotJobsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.ConfigurationSnapshotJobsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get configurationSnapshotJobs from admin + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationSnapshotJobsRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationSnapshotJobsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationSnapshotJobsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshotJobs/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshotJobs/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..13f2f4351f03 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshotJobs/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationSnapshotJobs/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationSnapshotJobs/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshotJobs/Item/ConfigurationSnapshotJobItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshotJobs/Item/ConfigurationSnapshotJobItemRequestBuilder.cs new file mode 100644 index 000000000000..fe4e631c7973 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshotJobs/Item/ConfigurationSnapshotJobItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Item +{ + /// + /// Provides operations to manage the configurationSnapshotJobs property of the microsoft.graph.configurationManagement entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationSnapshotJobItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ConfigurationSnapshotJobItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationSnapshotJobs/{configurationSnapshotJob%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ConfigurationSnapshotJobItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationSnapshotJobs/{configurationSnapshotJob%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property configurationSnapshotJobs for admin + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get configurationSnapshotJobs from admin + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ConfigurationSnapshotJob.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property configurationSnapshotJobs in admin + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.ConfigurationSnapshotJob body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.ConfigurationSnapshotJob body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ConfigurationSnapshotJob.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property configurationSnapshotJobs for 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 configurationSnapshotJobs from 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 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 configurationSnapshotJobs in admin + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.ConfigurationSnapshotJob body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.ConfigurationSnapshotJob body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Item.ConfigurationSnapshotJobItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Item.ConfigurationSnapshotJobItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationSnapshotJobItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get configurationSnapshotJobs from admin + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationSnapshotJobItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationSnapshotJobItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationSnapshotJobItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshots/ConfigurationSnapshotsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshots/ConfigurationSnapshotsRequestBuilder.cs new file mode 100644 index 000000000000..a5e7071d7842 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshots/ConfigurationSnapshotsRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshots.Count; +using Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshots.Item; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshots +{ + /// + /// Provides operations to manage the configurationSnapshots property of the microsoft.graph.configurationManagement entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationSnapshotsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshots.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshots.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the configurationSnapshots property of the microsoft.graph.configurationManagement entity. + /// The unique identifier of configurationBaseline + /// A + public global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshots.Item.ConfigurationBaselineItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("configurationBaseline%2Did", position); + return new global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshots.Item.ConfigurationBaselineItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ConfigurationSnapshotsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationSnapshots{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ConfigurationSnapshotsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationSnapshots{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get configurationSnapshots from admin + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ConfigurationBaselineCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to configurationSnapshots for admin + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.ConfigurationBaseline body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.ConfigurationBaseline body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ConfigurationBaseline.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get configurationSnapshots from 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 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 configurationSnapshots for admin + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.ConfigurationBaseline body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.ConfigurationBaseline body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshots.ConfigurationSnapshotsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshots.ConfigurationSnapshotsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get configurationSnapshots from admin + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationSnapshotsRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationSnapshotsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationSnapshotsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshots/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshots/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..2333bd57f3de --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshots/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshots.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationSnapshots/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationSnapshots/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshots.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshots.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshots/Item/ConfigurationBaselineItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshots/Item/ConfigurationBaselineItemRequestBuilder.cs new file mode 100644 index 000000000000..19133452fe3d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshots/Item/ConfigurationBaselineItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshots.Item +{ + /// + /// Provides operations to manage the configurationSnapshots property of the microsoft.graph.configurationManagement entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationBaselineItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ConfigurationBaselineItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationSnapshots/{configurationBaseline%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ConfigurationBaselineItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationSnapshots/{configurationBaseline%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property configurationSnapshots for admin + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get configurationSnapshots from admin + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ConfigurationBaseline.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property configurationSnapshots in admin + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.ConfigurationBaseline body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.ConfigurationBaseline body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ConfigurationBaseline.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property configurationSnapshots for 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 configurationSnapshots from 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 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 configurationSnapshots in admin + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.ConfigurationBaseline body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.ConfigurationBaseline body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshots.Item.ConfigurationBaselineItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshots.Item.ConfigurationBaselineItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationBaselineItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get configurationSnapshots from admin + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationBaselineItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationBaselineItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationBaselineItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/UpdatableAssets/Item/UpdatableAssetItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/UpdatableAssets/Item/UpdatableAssetItemRequestBuilder.cs index 6b7927d72b62..898e052c9811 100644 --- a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/UpdatableAssets/Item/UpdatableAssetItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/UpdatableAssets/Item/UpdatableAssetItemRequestBuilder.cs @@ -59,8 +59,8 @@ public UpdatableAssetItemRequestBuilder(string rawUrl, IRequestAdapter requestAd { } /// - /// Delete an azureADDevice object. When a Microsoft Entra device is deleted, it is unregistered and automatically unenrolled from management for all update categories, as well as removed from every deploymentAudience and updatableAssetGroup. - /// Find more info here + /// Delete an updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -131,7 +131,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.WindowsUpdates.UpdatableAsset.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete an azureADDevice object. When a Microsoft Entra device is deleted, it is unregistered and automatically unenrolled from management for all update categories, as well as removed from every deploymentAudience and updatableAssetGroup. + /// Delete an updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/UpdatePolicies/Item/ComplianceChanges/Item/ComplianceChangeItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/UpdatePolicies/Item/ComplianceChanges/Item/ComplianceChangeItemRequestBuilder.cs index d3dca3404543..ea9c00135240 100644 --- a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/UpdatePolicies/Item/ComplianceChanges/Item/ComplianceChangeItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/UpdatePolicies/Item/ComplianceChanges/Item/ComplianceChangeItemRequestBuilder.cs @@ -64,8 +64,8 @@ public async Task DeleteAsync(Action - /// Read the properties and relationships of a complianceChange object. - /// Find more info here + /// Read the properties and relationships of a contentApproval object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -88,8 +88,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.WindowsUpdates.ComplianceChange.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of a complianceChange object. - /// Find more info here + /// Update the properties of a contentApproval object. + /// Find more info here /// /// A /// The request body @@ -133,7 +133,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read the properties and relationships of a complianceChange object. + /// Read the properties and relationships of a contentApproval object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a complianceChange object. + /// Update the properties of a contentApproval object. /// /// A /// The request body @@ -191,7 +191,7 @@ public partial class ComplianceChangeItemRequestBuilderDeleteRequestConfiguratio { } /// - /// Read the properties and relationships of a complianceChange object. + /// Read the properties and relationships of a contentApproval object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ComplianceChangeItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/AuditLogs/SignUps/Item/SelfServiceSignUpItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/AuditLogs/SignUps/Item/SelfServiceSignUpItemRequestBuilder.cs index a5ea2f717d41..8eebac8f6883 100644 --- a/src/Microsoft.Graph/Generated/AuditLogs/SignUps/Item/SelfServiceSignUpItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/AuditLogs/SignUps/Item/SelfServiceSignUpItemRequestBuilder.cs @@ -57,7 +57,8 @@ public async Task DeleteAsync(Action - /// Get signUps from auditLogs + /// Retrieve a specific Microsoft Entra External ID user selfServiceSignUp event for your tenant. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +125,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get signUps from auditLogs + /// Retrieve a specific Microsoft Entra External ID user selfServiceSignUp event for your tenant. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +183,7 @@ public partial class SelfServiceSignUpItemRequestBuilderDeleteRequestConfigurati { } /// - /// Get signUps from auditLogs + /// Retrieve a specific Microsoft Entra External ID user selfServiceSignUp event for your tenant. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SelfServiceSignUpItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/AuditLogs/SignUps/SignUpsRequestBuilder.cs b/src/Microsoft.Graph/Generated/AuditLogs/SignUps/SignUpsRequestBuilder.cs index 0552bd28063a..cbbb932a5599 100644 --- a/src/Microsoft.Graph/Generated/AuditLogs/SignUps/SignUpsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/AuditLogs/SignUps/SignUpsRequestBuilder.cs @@ -54,7 +54,8 @@ public SignUpsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Get signUps from auditLogs + /// Retrieve the Microsoft Entra External ID user selfServiceSignUps events for your tenant. The maximum and default page size is 1,000 objects and by default, the most recent sign-ups are returned first. Only sign-up events that occurred within the Microsoft Entra ID default retention period are available. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +103,7 @@ public SignUpsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.SelfServiceSignUp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get signUps from auditLogs + /// Retrieve the Microsoft Entra External ID user selfServiceSignUps events for your tenant. The maximum and default page size is 1,000 objects and by default, the most recent sign-ups are returned first. Only sign-up events that occurred within the Microsoft Entra ID default retention period are available. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +153,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.AuditLogs.SignUps.SignUpsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get signUps from auditLogs + /// Retrieve the Microsoft Entra External ID user selfServiceSignUps events for your tenant. The maximum and default page size is 1,000 objects and by default, the most recent sign-ups are returned first. Only sign-up events that occurred within the Microsoft Entra ID default retention period are available. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SignUpsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/IosLobAppProvisioningConfigurations/Item/Assignments/AssignmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/IosLobAppProvisioningConfigurations/Item/Assignments/AssignmentsRequestBuilder.cs index 7b8592fafa7e..c3d21ab7a548 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/IosLobAppProvisioningConfigurations/Item/Assignments/AssignmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/IosLobAppProvisioningConfigurations/Item/Assignments/AssignmentsRequestBuilder.cs @@ -54,7 +54,7 @@ public AssignmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) { } /// - /// The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. + /// The associated group assignments for IosLobAppProvisioningConfiguration. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public AssignmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.IosLobAppProvisioningConfigurationAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. + /// The associated group assignments for IosLobAppProvisioningConfiguration. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.DeviceAppManagement.IosLobAppProvisioningConfigurations.Item.Assignments.AssignmentsRequestBuilder(rawUrl, RequestAdapter); } /// - /// The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. + /// The associated group assignments for IosLobAppProvisioningConfiguration. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class AssignmentsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/IosLobAppProvisioningConfigurations/Item/Assignments/Item/IosLobAppProvisioningConfigurationAssignmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/IosLobAppProvisioningConfigurations/Item/Assignments/Item/IosLobAppProvisioningConfigurationAssignmentItemRequestBuilder.cs index d262fdf6fd83..7ec5ba17b369 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/IosLobAppProvisioningConfigurations/Item/Assignments/Item/IosLobAppProvisioningConfigurationAssignmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/IosLobAppProvisioningConfigurations/Item/Assignments/Item/IosLobAppProvisioningConfigurationAssignmentItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. + /// The associated group assignments for IosLobAppProvisioningConfiguration. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. + /// The associated group assignments for IosLobAppProvisioningConfiguration. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class IosLobAppProvisioningConfigurationAssignmentItemRequestBuil { } /// - /// The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. + /// The associated group assignments for IosLobAppProvisioningConfiguration. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class IosLobAppProvisioningConfigurationAssignmentItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/DeviceComplianceScheduledActionForRuleItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/DeviceComplianceScheduledActionForRuleItemRequestBuilder.cs index fb8008b71207..97f60809e9d9 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/DeviceComplianceScheduledActionForRuleItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/DeviceComplianceScheduledActionForRuleItemRequestBuilder.cs @@ -63,7 +63,7 @@ public async Task DeleteAsync(Action - /// The list of scheduled action for this rule + /// The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. /// /// A /// Cancellation token to use when cancelling requests @@ -130,7 +130,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// The list of scheduled action for this rule + /// The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -188,7 +188,7 @@ public partial class DeviceComplianceScheduledActionForRuleItemRequestBuilderDel { } /// - /// The list of scheduled action for this rule + /// The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DeviceComplianceScheduledActionForRuleItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/ScheduledActionsForRuleRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/ScheduledActionsForRuleRequestBuilder.cs index ada77a133926..b32236608d42 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/ScheduledActionsForRuleRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/ScheduledActionsForRuleRequestBuilder.cs @@ -54,7 +54,7 @@ public ScheduledActionsForRuleRequestBuilder(string rawUrl, IRequestAdapter requ { } /// - /// The list of scheduled action for this rule + /// The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public ScheduledActionsForRuleRequestBuilder(string rawUrl, IRequestAdapter requ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.DeviceComplianceScheduledActionForRule.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// The list of scheduled action for this rule + /// The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.DeviceManagement.DeviceCompliancePolicies.Item.ScheduledActionsForRule.ScheduledActionsForRuleRequestBuilder(rawUrl, RequestAdapter); } /// - /// The list of scheduled action for this rule + /// The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ScheduledActionsForRuleRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/AppLogCollectionRequestsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/AppLogCollectionRequestsRequestBuilder.cs index 9bafd9c77c7d..b2453d21adee 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/AppLogCollectionRequestsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/AppLogCollectionRequestsRequestBuilder.cs @@ -54,7 +54,7 @@ public AppLogCollectionRequestsRequestBuilder(string rawUrl, IRequestAdapter req { } /// - /// The collection property of AppLogUploadRequest. + /// Indicates collection of App Log Upload Request. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public AppLogCollectionRequestsRequestBuilder(string rawUrl, IRequestAdapter req return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.AppLogCollectionRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// The collection property of AppLogUploadRequest. + /// Indicates collection of App Log Upload Request. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.DeviceManagement.MobileAppTroubleshootingEvents.Item.AppLogCollectionRequests.AppLogCollectionRequestsRequestBuilder(rawUrl, RequestAdapter); } /// - /// The collection property of AppLogUploadRequest. + /// Indicates collection of App Log Upload Request. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class AppLogCollectionRequestsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Item/AppLogCollectionRequestItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Item/AppLogCollectionRequestItemRequestBuilder.cs index 3251aece9f46..7e111fee7c7d 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Item/AppLogCollectionRequestItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Item/AppLogCollectionRequestItemRequestBuilder.cs @@ -63,7 +63,7 @@ public async Task DeleteAsync(Action - /// The collection property of AppLogUploadRequest. + /// Indicates collection of App Log Upload Request. /// /// A /// Cancellation token to use when cancelling requests @@ -130,7 +130,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// The collection property of AppLogUploadRequest. + /// Indicates collection of App Log Upload Request. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -188,7 +188,7 @@ public partial class AppLogCollectionRequestItemRequestBuilderDeleteRequestConfi { } /// - /// The collection property of AppLogUploadRequest. + /// Indicates collection of App Log Upload Request. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class AppLogCollectionRequestItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/AuthenticationMethodDevices/HardwareOathDevices/HardwareOathDevicesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/AuthenticationMethodDevices/HardwareOathDevices/HardwareOathDevicesRequestBuilder.cs index 862328e27df4..5af65046605a 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/AuthenticationMethodDevices/HardwareOathDevices/HardwareOathDevicesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/AuthenticationMethodDevices/HardwareOathDevices/HardwareOathDevicesRequestBuilder.cs @@ -78,8 +78,8 @@ public HardwareOathDevicesRequestBuilder(string rawUrl, IRequestAdapter requestA return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDeviceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new hardwareOathTokenAuthenticationMethodDevice object. You can optionally create and assign to a user in the same request; Or assign to a user via the assign API. - /// Find more info here + /// Create a new hardwareOathTokenAuthenticationMethodDevice object. Supports bulk creation. + /// Find more info here /// /// A /// The request body @@ -123,7 +123,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new hardwareOathTokenAuthenticationMethodDevice object. You can optionally create and assign to a user in the same request; Or assign to a user via the assign API. + /// Create a new hardwareOathTokenAuthenticationMethodDevice object. Supports bulk creation. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GraphGroup/GraphGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GraphGroup/GraphGroupRequestBuilder.cs index 511a7a53130c..cfc40fc6fad5 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GraphGroup/GraphGroupRequestBuilder.cs @@ -41,7 +41,7 @@ public GraphGroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : { } /// - /// Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- [certificateAuthorityDetail](../resources/certificateauthoritydetail.md- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user + /// Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user /// Find more info here /// /// A @@ -65,7 +65,7 @@ public GraphGroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.GroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- [certificateAuthorityDetail](../resources/certificateauthoritydetail.md- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user + /// Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -93,7 +93,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- [certificateAuthorityDetail](../resources/certificateauthoritydetail.md- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user + /// Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class GraphGroupRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/GraphGroup/GraphGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/GraphGroup/GraphGroupRequestBuilder.cs index b63f4c2a13c9..e332799b054f 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/GraphGroup/GraphGroupRequestBuilder.cs @@ -35,7 +35,7 @@ public GraphGroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : { } /// - /// Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- [certificateAuthorityDetail](../resources/certificateauthoritydetail.md- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user + /// Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user /// Find more info here /// /// A @@ -59,7 +59,7 @@ public GraphGroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- [certificateAuthorityDetail](../resources/certificateauthoritydetail.md- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user + /// Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -87,7 +87,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- [certificateAuthorityDetail](../resources/certificateauthoritydetail.md- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user + /// Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class GraphGroupRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Add/AddRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Add/AddRequestBuilder.cs index ce0cbf8464bf..63a2476af283 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Add/AddRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Add/AddRequestBuilder.cs @@ -35,8 +35,8 @@ public AddRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r { } /// - /// Use this API to create a new Table. - /// Find more info here + /// 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 thrown. + /// Find more info here /// /// A /// The request body @@ -61,7 +61,7 @@ public AddRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.WorkbookTable.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Use this API to create a new Table. + /// 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 thrown. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Add/AddRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Add/AddRequestBuilder.cs index b79ef75ce74b..daf0f900f25f 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Add/AddRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Add/AddRequestBuilder.cs @@ -35,8 +35,8 @@ public AddRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r { } /// - /// Use this API to create a new Table. - /// Find more info here + /// 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 thrown. + /// Find more info here /// /// A /// The request body @@ -61,7 +61,7 @@ public AddRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.WorkbookTable.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Use this API to create a new Table. + /// 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 thrown. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Education/Users/Item/EducationUserItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Users/Item/EducationUserItemRequestBuilder.cs index 578637484329..e31b53b01802 100644 --- a/src/Microsoft.Graph/Generated/Education/Users/Item/EducationUserItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Users/Item/EducationUserItemRequestBuilder.cs @@ -118,8 +118,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.EducationUser.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the relatedContact collection of an educationUser object. - /// Find more info here + /// Update the properties of an educationuser object. + /// Find more info here /// /// A /// The request body @@ -182,7 +182,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the relatedContact collection of an educationUser object. + /// Update the properties of an educationuser object. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/External/Connections/Item/Items/Item/ExternalItemItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/External/Connections/Item/Items/Item/ExternalItemItemRequestBuilder.cs index ab0b19960cbf..4473974fc40c 100644 --- a/src/Microsoft.Graph/Generated/External/Connections/Item/Items/Item/ExternalItemItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/External/Connections/Item/Items/Item/ExternalItemItemRequestBuilder.cs @@ -94,8 +94,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.ExternalConnectors.ExternalItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new externalItem. This API can be used to create a custom item. The containing externalConnection must have a schema registered of the corresponding type. - /// Find more info here + /// Update the properties of an externalitem. + /// Find more info here /// /// A /// The request body @@ -158,7 +158,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new externalItem. This API can be used to create a custom item. The containing externalConnection must have a schema registered of the corresponding type. + /// Update the properties of an externalitem. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/External/IndustryData/DataConnectors/DataConnectorsRequestBuilder.cs b/src/Microsoft.Graph/Generated/External/IndustryData/DataConnectors/DataConnectorsRequestBuilder.cs index 19e50f7f6d13..0e11b5d679e7 100644 --- a/src/Microsoft.Graph/Generated/External/IndustryData/DataConnectors/DataConnectorsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/External/IndustryData/DataConnectors/DataConnectorsRequestBuilder.cs @@ -78,8 +78,8 @@ public DataConnectorsRequestBuilder(string rawUrl, IRequestAdapter requestAdapte return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.IndustryData.IndustryDataConnectorCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new oneRosterApiDataConnector object. - /// Find more info here + /// Create a new azureDataLakeConnector object. + /// Find more info here /// /// A /// The request body @@ -123,7 +123,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new oneRosterApiDataConnector object. + /// Create a new azureDataLakeConnector object. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/External/IndustryData/DataConnectors/Item/IndustryDataConnectorItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/External/IndustryData/DataConnectors/Item/IndustryDataConnectorItemRequestBuilder.cs index 07c39db39fec..57b17067c12b 100644 --- a/src/Microsoft.Graph/Generated/External/IndustryData/DataConnectors/Item/IndustryDataConnectorItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/External/IndustryData/DataConnectors/Item/IndustryDataConnectorItemRequestBuilder.cs @@ -94,8 +94,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.IndustryData.IndustryDataConnector.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of an azureDataLakeConnector object. - /// Find more info here + /// Update the properties of a oneRosterApiDataConnector object. + /// Find more info here /// /// A /// The request body @@ -158,7 +158,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of an azureDataLakeConnector object. + /// Update the properties of a oneRosterApiDataConnector object. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/External/IndustryData/InboundFlows/InboundFlowsRequestBuilder.cs b/src/Microsoft.Graph/Generated/External/IndustryData/InboundFlows/InboundFlowsRequestBuilder.cs index 46df9537b2a9..ab5001a9d194 100644 --- a/src/Microsoft.Graph/Generated/External/IndustryData/InboundFlows/InboundFlowsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/External/IndustryData/InboundFlows/InboundFlowsRequestBuilder.cs @@ -78,8 +78,8 @@ public InboundFlowsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.IndustryData.InboundFlowCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new inboundFileFlow object. - /// Find more info here + /// Create a new inboundApiFlow object. + /// Find more info here /// /// A /// The request body @@ -123,7 +123,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new inboundFileFlow object. + /// Create a new inboundApiFlow object. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/External/IndustryData/InboundFlows/Item/InboundFlowItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/External/IndustryData/InboundFlows/Item/InboundFlowItemRequestBuilder.cs index 59de2d49a91e..3ee92cf086e8 100644 --- a/src/Microsoft.Graph/Generated/External/IndustryData/InboundFlows/Item/InboundFlowItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/External/IndustryData/InboundFlows/Item/InboundFlowItemRequestBuilder.cs @@ -94,8 +94,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.IndustryData.InboundFlow.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of an inboundApiFlow object. - /// Find more info here + /// Update the properties of an inboundFileFlow object. + /// Find more info here /// /// A /// The request body @@ -158,7 +158,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of an inboundApiFlow object. + /// Update the properties of an inboundFileFlow object. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/External/IndustryData/Operations/Item/LongRunningOperationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/External/IndustryData/Operations/Item/LongRunningOperationItemRequestBuilder.cs index fe535fc3fa89..bceaecc520d7 100644 --- a/src/Microsoft.Graph/Generated/External/IndustryData/Operations/Item/LongRunningOperationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/External/IndustryData/Operations/Item/LongRunningOperationItemRequestBuilder.cs @@ -57,8 +57,8 @@ public async Task DeleteAsync(Action - /// Read the properties and relationships of a longRunningOperation object. This API allows you to retrieve the details and status of the following long-running Microsoft Graph API operations. The possible states of the long-running operation are notStarted, running, succeeded, failed, unknownFutureValue where succeeded and failed are terminal states. - /// Find more info here + /// Read the properties and relationships of a fileValidateOperation object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -125,7 +125,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read the properties and relationships of a longRunningOperation object. This API allows you to retrieve the details and status of the following long-running Microsoft Graph API operations. The possible states of the long-running operation are notStarted, running, succeeded, failed, unknownFutureValue where succeeded and failed are terminal states. + /// Read the properties and relationships of a fileValidateOperation object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -183,7 +183,7 @@ public partial class LongRunningOperationItemRequestBuilderDeleteRequestConfigur { } /// - /// Read the properties and relationships of a longRunningOperation object. This API allows you to retrieve the details and status of the following long-running Microsoft Graph API operations. The possible states of the long-running operation are notStarted, running, succeeded, failed, unknownFutureValue where succeeded and failed are terminal states. + /// Read the properties and relationships of a fileValidateOperation object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class LongRunningOperationItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Groups/GroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/GroupsRequestBuilder.cs index 1179573b3a97..9b8d4efa878c 100644 --- a/src/Microsoft.Graph/Generated/Groups/GroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/GroupsRequestBuilder.cs @@ -108,8 +108,8 @@ public GroupsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.GroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new group as specified in the request body. You can create one of the following groups: This operation returns by default only a subset of the properties for each group. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. Note: To create a team, first create a group then add a team to it, see create team. - /// Find more info here + /// 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 /// The request body @@ -153,7 +153,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new group as specified in the request body. You can create one of the following groups: This operation returns by default only a subset of the properties for each group. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. Note: To create a team, first create a group then add a team to it, see create team. + /// 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/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.cs index 165173d768b5..bd8591e33d10 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.cs @@ -41,8 +41,8 @@ public ConversationItemRequestBuilder(string rawUrl, IRequestAdapter requestAdap { } /// - /// Delete conversation. - /// Find more info here + /// Delete a group's conversation object. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -64,8 +64,8 @@ public async Task DeleteAsync(Action - /// Retrieve the properties and relationships of conversation object. - /// Find more info here + /// Get a group's conversation object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -88,7 +88,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.Conversation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete conversation. + /// Delete a group's conversation object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -107,7 +107,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of conversation object. + /// Get a group's conversation object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -143,7 +143,7 @@ public partial class ConversationItemRequestBuilderDeleteRequestConfiguration : { } /// - /// Retrieve the properties and relationships of conversation object. + /// Get a group's conversation object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ConversationItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.cs index a74a49bd88f2..c5d9b81cb26a 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.cs @@ -47,8 +47,8 @@ public ConversationThreadItemRequestBuilder(string rawUrl, IRequestAdapter reque { } /// - /// Delete a thread object. - /// Find more info here + /// Delete conversationThread. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -120,7 +120,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.ConversationThread.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete a thread object. + /// Delete conversationThread. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs index 67bed1155c92..9fa194009e75 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs @@ -36,7 +36,7 @@ public FilterByCurrentUserWithOnRequestBuilder(string rawUrl, IRequestAdapter re { } /// - /// 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. + /// 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 @@ -60,7 +60,7 @@ public FilterByCurrentUserWithOnRequestBuilder(string rawUrl, IRequestAdapter re return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.AccessPackageAssignmentApprovals.FilterByCurrentUserWithOn.FilterByCurrentUserWithOnGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// 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. + /// 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 @@ -85,7 +85,7 @@ public FilterByCurrentUserWithOnRequestBuilder(string rawUrl, IRequestAdapter re return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.AccessPackageAssignmentApprovals.FilterByCurrentUserWithOn.FilterByCurrentUserWithOnResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// 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. + /// 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. @@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action - /// 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. + /// 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. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class FilterByCurrentUserWithOnRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageCatalogs/Item/AccessPackageCustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageCatalogs/Item/AccessPackageCustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.cs index 89e0555d2b44..62703b78f7b8 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageCatalogs/Item/AccessPackageCustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageCatalogs/Item/AccessPackageCustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.cs @@ -83,8 +83,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.CustomCalloutExtension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of an accessPackageAssignmentWorkflowExtension object. - /// Find more info here + /// Update the properties of an accessPackageAssignmentRequestWorkflowExtension object. + /// Find more info here /// /// A /// The request body @@ -150,7 +150,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of an accessPackageAssignmentWorkflowExtension object. + /// Update the properties of an accessPackageAssignmentRequestWorkflowExtension object. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilder.cs index b1eb67cc4850..e1a1df809624 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilder.cs @@ -117,8 +117,8 @@ public async Task DeleteAsync(Action - /// Retrieve the properties and relationships of an accessPackage object. - /// Find more info here + /// Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -186,7 +186,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of an accessPackage object. + /// Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -244,7 +244,7 @@ public partial class AccessPackageItemRequestBuilderDeleteRequestConfiguration : { } /// - /// Retrieve the properties and relationships of an accessPackage object. + /// Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class AccessPackageItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackagesWithUniqueName/AccessPackagesWithUniqueNameRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackagesWithUniqueName/AccessPackagesWithUniqueNameRequestBuilder.cs index 31bf1e343b45..533e602b37f1 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackagesWithUniqueName/AccessPackagesWithUniqueNameRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackagesWithUniqueName/AccessPackagesWithUniqueNameRequestBuilder.cs @@ -72,8 +72,8 @@ public async Task DeleteAsync(Action - /// Retrieve the properties and relationships of an accessPackage object. - /// Find more info here + /// Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -141,7 +141,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of an accessPackage object. + /// Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -199,7 +199,7 @@ public partial class AccessPackagesWithUniqueNameRequestBuilderDeleteRequestConf { } /// - /// Retrieve the properties and relationships of an accessPackage object. + /// Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class AccessPackagesWithUniqueNameRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/PermissionsManagement/ScheduledPermissionsApprovals/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/PermissionsManagement/ScheduledPermissionsApprovals/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs index eee638721ff4..b8f2a0fc10eb 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/PermissionsManagement/ScheduledPermissionsApprovals/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/PermissionsManagement/ScheduledPermissionsApprovals/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs @@ -36,7 +36,7 @@ public FilterByCurrentUserWithOnRequestBuilder(string rawUrl, IRequestAdapter re { } /// - /// 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. + /// 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 @@ -60,7 +60,7 @@ public FilterByCurrentUserWithOnRequestBuilder(string rawUrl, IRequestAdapter re return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.IdentityGovernance.PermissionsManagement.ScheduledPermissionsApprovals.FilterByCurrentUserWithOn.FilterByCurrentUserWithOnGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// 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. + /// 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 @@ -85,7 +85,7 @@ public FilterByCurrentUserWithOnRequestBuilder(string rawUrl, IRequestAdapter re return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.IdentityGovernance.PermissionsManagement.ScheduledPermissionsApprovals.FilterByCurrentUserWithOn.FilterByCurrentUserWithOnResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// 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. + /// 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. @@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action - /// 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. + /// 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. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class FilterByCurrentUserWithOnRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentApprovals/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentApprovals/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs index a655e31d4382..012b61c43fd6 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentApprovals/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentApprovals/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs @@ -36,7 +36,7 @@ public FilterByCurrentUserWithOnRequestBuilder(string rawUrl, IRequestAdapter re { } /// - /// 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. + /// 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 @@ -60,7 +60,7 @@ public FilterByCurrentUserWithOnRequestBuilder(string rawUrl, IRequestAdapter re return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.Group.AssignmentApprovals.FilterByCurrentUserWithOn.FilterByCurrentUserWithOnGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// 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. + /// 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 @@ -85,7 +85,7 @@ public FilterByCurrentUserWithOnRequestBuilder(string rawUrl, IRequestAdapter re return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.Group.AssignmentApprovals.FilterByCurrentUserWithOn.FilterByCurrentUserWithOnResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// 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. + /// 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. @@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action - /// 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. + /// 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. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class FilterByCurrentUserWithOnRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs index 01e0e2d50bca..35a0aab867dd 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs @@ -36,7 +36,7 @@ public FilterByCurrentUserWithOnRequestBuilder(string rawUrl, IRequestAdapter re { } /// - /// In PIM for groups, retrieve the schedule instances for membership or ownership assignments for the calling principal to groups that are governed by PIM. + /// 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 @@ -60,7 +60,7 @@ public FilterByCurrentUserWithOnRequestBuilder(string rawUrl, IRequestAdapter re return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleInstances.FilterByCurrentUserWithOn.FilterByCurrentUserWithOnGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// In PIM for groups, retrieve the schedule instances for membership or ownership assignments for the calling principal to groups that are governed by PIM. + /// 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 @@ -85,7 +85,7 @@ public FilterByCurrentUserWithOnRequestBuilder(string rawUrl, IRequestAdapter re return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleInstances.FilterByCurrentUserWithOn.FilterByCurrentUserWithOnResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// In PIM for groups, retrieve the schedule instances for membership or ownership assignments for the calling principal to groups that are governed by PIM. + /// 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. @@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action - /// In PIM for groups, retrieve the schedule instances for membership or ownership assignments for the calling principal to groups that are governed by PIM. + /// In PIM for Groups, retrieve the schedule instances for membership or ownership assignments for the calling principal to groups that are governed by PIM. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class FilterByCurrentUserWithOnRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/Item/ActivatedUsing/ActivatedUsingRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/Item/ActivatedUsing/ActivatedUsingRequestBuilder.cs index 621f0adb2b27..45fcd86908ba 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/Item/ActivatedUsing/ActivatedUsingRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/Item/ActivatedUsing/ActivatedUsingRequestBuilder.cs @@ -35,7 +35,7 @@ public ActivatedUsingRequestBuilder(string rawUrl, IRequestAdapter requestAdapte { } /// - /// When the request activates a membership or ownership in PIM for groups, this object represents the eligibility request for the group. Otherwise, it's null. + /// When the request activates a membership or ownership in PIM for Groups, this object represents the eligibility request for the group. Otherwise, it's null. /// /// A /// Cancellation token to use when cancelling requests @@ -58,7 +58,7 @@ public ActivatedUsingRequestBuilder(string rawUrl, IRequestAdapter requestAdapte return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PrivilegedAccessGroupEligibilityScheduleInstance.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// When the request activates a membership or ownership in PIM for groups, this object represents the eligibility request for the group. Otherwise, it's null. + /// When the request activates a membership or ownership in PIM for Groups, this object represents the eligibility request for the group. Otherwise, it's null. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -86,7 +86,7 @@ public RequestInformation ToGetRequestInformation(Action - /// When the request activates a membership or ownership in PIM for groups, this object represents the eligibility request for the group. Otherwise, it's null. + /// When the request activates a membership or ownership in PIM for Groups, this object represents the eligibility request for the group. Otherwise, it's null. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ActivatedUsingRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/Item/Group/GroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/Item/Group/GroupRequestBuilder.cs index 7c7729519447..817059eaa49b 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/Item/Group/GroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/Item/Group/GroupRequestBuilder.cs @@ -41,7 +41,7 @@ public GroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base { } /// - /// References the group that is the scope of the membership or ownership assignment through PIM for groups. Supports $expand. + /// References the group that is the scope of the membership or ownership assignment through PIM for Groups. Supports $expand. /// /// A /// Cancellation token to use when cancelling requests @@ -64,7 +64,7 @@ public GroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// References the group that is the scope of the membership or ownership assignment through PIM for groups. Supports $expand. + /// References the group that is the scope of the membership or ownership assignment through PIM for Groups. Supports $expand. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -92,7 +92,7 @@ public RequestInformation ToGetRequestInformation(Action - /// References the group that is the scope of the membership or ownership assignment through PIM for groups. Supports $expand. + /// References the group that is the scope of the membership or ownership assignment through PIM for Groups. Supports $expand. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class GroupRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs index 30f3cedd103e..51cf44b2c5f6 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs @@ -36,7 +36,7 @@ public FilterByCurrentUserWithOnRequestBuilder(string rawUrl, IRequestAdapter re { } /// - /// In PIM for groups, retrieve the requests for membership or ownership assignments for the calling principal to groups that are governed by PIM. + /// 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 @@ -60,7 +60,7 @@ public FilterByCurrentUserWithOnRequestBuilder(string rawUrl, IRequestAdapter re return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleRequests.FilterByCurrentUserWithOn.FilterByCurrentUserWithOnGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// In PIM for groups, retrieve the requests for membership or ownership assignments for the calling principal to groups that are governed by PIM. + /// 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 @@ -85,7 +85,7 @@ public FilterByCurrentUserWithOnRequestBuilder(string rawUrl, IRequestAdapter re return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleRequests.FilterByCurrentUserWithOn.FilterByCurrentUserWithOnResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// In PIM for groups, retrieve the requests for membership or ownership assignments for the calling principal to groups that are governed by PIM. + /// 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. @@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action - /// In PIM for groups, retrieve the requests for membership or ownership assignments for the calling principal to groups that are governed by PIM. + /// In PIM for Groups, retrieve the requests for membership or ownership assignments for the calling principal to groups that are governed by PIM. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class FilterByCurrentUserWithOnRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/ActivatedUsing/ActivatedUsingRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/ActivatedUsing/ActivatedUsingRequestBuilder.cs index e0a89886764e..9d489294d79b 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/ActivatedUsing/ActivatedUsingRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/ActivatedUsing/ActivatedUsingRequestBuilder.cs @@ -35,7 +35,7 @@ public ActivatedUsingRequestBuilder(string rawUrl, IRequestAdapter requestAdapte { } /// - /// 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. + /// 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. /// /// A /// Cancellation token to use when cancelling requests @@ -58,7 +58,7 @@ public ActivatedUsingRequestBuilder(string rawUrl, IRequestAdapter requestAdapte return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PrivilegedAccessGroupEligibilitySchedule.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// 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. + /// 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. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -86,7 +86,7 @@ public RequestInformation ToGetRequestInformation(Action - /// 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. + /// 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. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ActivatedUsingRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/Group/GroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/Group/GroupRequestBuilder.cs index 167f0a44703d..ef9215535d84 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/Group/GroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/Group/GroupRequestBuilder.cs @@ -41,7 +41,7 @@ public GroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base { } /// - /// 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. + /// 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. /// /// A /// Cancellation token to use when cancelling requests @@ -64,7 +64,7 @@ public GroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// 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. + /// 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. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -92,7 +92,7 @@ public RequestInformation ToGetRequestInformation(Action - /// 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. + /// 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. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class GroupRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs index 0500e3bd1655..7984810624c6 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs @@ -36,7 +36,7 @@ public FilterByCurrentUserWithOnRequestBuilder(string rawUrl, IRequestAdapter re { } /// - /// In PIM for groups, retrieve the schedules for membership or ownership assignments for the calling principal to groups that are governed by PIM. + /// 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 @@ -60,7 +60,7 @@ public FilterByCurrentUserWithOnRequestBuilder(string rawUrl, IRequestAdapter re return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.Group.AssignmentSchedules.FilterByCurrentUserWithOn.FilterByCurrentUserWithOnGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// In PIM for groups, retrieve the schedules for membership or ownership assignments for the calling principal to groups that are governed by PIM. + /// 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 @@ -85,7 +85,7 @@ public FilterByCurrentUserWithOnRequestBuilder(string rawUrl, IRequestAdapter re return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.Group.AssignmentSchedules.FilterByCurrentUserWithOn.FilterByCurrentUserWithOnResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// In PIM for groups, retrieve the schedules for membership or ownership assignments for the calling principal to groups that are governed by PIM. + /// 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. @@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action - /// In PIM for groups, retrieve the schedules for membership or ownership assignments for the calling principal to groups that are governed by PIM. + /// In PIM for Groups, retrieve the schedules for membership or ownership assignments for the calling principal to groups that are governed by PIM. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class FilterByCurrentUserWithOnRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/Item/ActivatedUsing/ActivatedUsingRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/Item/ActivatedUsing/ActivatedUsingRequestBuilder.cs index 64a5b079b026..1e029b7387a4 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/Item/ActivatedUsing/ActivatedUsingRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/Item/ActivatedUsing/ActivatedUsingRequestBuilder.cs @@ -35,7 +35,7 @@ public ActivatedUsingRequestBuilder(string rawUrl, IRequestAdapter requestAdapte { } /// - /// 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. + /// 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. /// /// A /// Cancellation token to use when cancelling requests @@ -58,7 +58,7 @@ public ActivatedUsingRequestBuilder(string rawUrl, IRequestAdapter requestAdapte return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PrivilegedAccessGroupEligibilitySchedule.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// 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. + /// 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. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -86,7 +86,7 @@ public RequestInformation ToGetRequestInformation(Action - /// 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. + /// 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. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ActivatedUsingRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/Item/Group/GroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/Item/Group/GroupRequestBuilder.cs index f674082ded99..08c7c6b30091 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/Item/Group/GroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/Item/Group/GroupRequestBuilder.cs @@ -41,7 +41,7 @@ public GroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base { } /// - /// 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. + /// 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. /// /// A /// Cancellation token to use when cancelling requests @@ -64,7 +64,7 @@ public GroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// 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. + /// 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. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -92,7 +92,7 @@ public RequestInformation ToGetRequestInformation(Action - /// 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. + /// 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. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class GroupRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleInstances/Item/Group/GroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleInstances/Item/Group/GroupRequestBuilder.cs index c41b65152662..1f53ed677d64 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleInstances/Item/Group/GroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleInstances/Item/Group/GroupRequestBuilder.cs @@ -41,7 +41,7 @@ public GroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base { } /// - /// References the group that is the scope of the membership or ownership eligibility through PIM for groups. Supports $expand. + /// References the group that is the scope of the membership or ownership eligibility through PIM for Groups. Supports $expand. /// /// A /// Cancellation token to use when cancelling requests @@ -64,7 +64,7 @@ public GroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// References the group that is the scope of the membership or ownership eligibility through PIM for groups. Supports $expand. + /// References the group that is the scope of the membership or ownership eligibility through PIM for Groups. Supports $expand. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -92,7 +92,7 @@ public RequestInformation ToGetRequestInformation(Action - /// References the group that is the scope of the membership or ownership eligibility through PIM for groups. Supports $expand. + /// References the group that is the scope of the membership or ownership eligibility through PIM for Groups. Supports $expand. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class GroupRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs index 73532f5c826e..4c816702aae9 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs @@ -36,7 +36,7 @@ public FilterByCurrentUserWithOnRequestBuilder(string rawUrl, IRequestAdapter re { } /// - /// In PIM for groups, retrieve the requests for membership or ownership eligibilities for the calling principal to groups that are governed by PIM. + /// 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 @@ -60,7 +60,7 @@ public FilterByCurrentUserWithOnRequestBuilder(string rawUrl, IRequestAdapter re return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.Group.EligibilityScheduleRequests.FilterByCurrentUserWithOn.FilterByCurrentUserWithOnGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// In PIM for groups, retrieve the requests for membership or ownership eligibilities for the calling principal to groups that are governed by PIM. + /// 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 @@ -85,7 +85,7 @@ public FilterByCurrentUserWithOnRequestBuilder(string rawUrl, IRequestAdapter re return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.Group.EligibilityScheduleRequests.FilterByCurrentUserWithOn.FilterByCurrentUserWithOnResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// In PIM for groups, retrieve the requests for membership or ownership eligibilities for the calling principal to groups that are governed by PIM. + /// 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. @@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action - /// In PIM for groups, retrieve the requests for membership or ownership eligibilities for the calling principal to groups that are governed by PIM. + /// In PIM for Groups, retrieve the requests for membership or ownership eligibilities for the calling principal to groups that are governed by PIM. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class FilterByCurrentUserWithOnRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/Item/Group/GroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/Item/Group/GroupRequestBuilder.cs index f507bb6f9414..1e9d965272c5 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/Item/Group/GroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/Item/Group/GroupRequestBuilder.cs @@ -41,7 +41,7 @@ public GroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base { } /// - /// 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. + /// 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. /// /// A /// Cancellation token to use when cancelling requests @@ -64,7 +64,7 @@ public GroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// 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. + /// 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. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -92,7 +92,7 @@ public RequestInformation ToGetRequestInformation(Action - /// 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. + /// 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. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class GroupRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilitySchedules/Item/Group/GroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilitySchedules/Item/Group/GroupRequestBuilder.cs index 3740d89e8521..7ddbe90a6661 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilitySchedules/Item/Group/GroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilitySchedules/Item/Group/GroupRequestBuilder.cs @@ -41,7 +41,7 @@ public GroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base { } /// - /// References the group that is the scope of the membership or ownership eligibility through PIM for groups. Supports $expand. + /// References the group that is the scope of the membership or ownership eligibility through PIM for Groups. Supports $expand. /// /// A /// Cancellation token to use when cancelling requests @@ -64,7 +64,7 @@ public GroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// References the group that is the scope of the membership or ownership eligibility through PIM for groups. Supports $expand. + /// References the group that is the scope of the membership or ownership eligibility through PIM for Groups. Supports $expand. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -92,7 +92,7 @@ public RequestInformation ToGetRequestInformation(Action - /// References the group that is the scope of the membership or ownership eligibility through PIM for groups. Supports $expand. + /// References the group that is the scope of the membership or ownership eligibility through PIM for Groups. Supports $expand. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class GroupRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilder.cs index 34273ef8ede8..bd79d4905f5b 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilder.cs @@ -76,8 +76,8 @@ public async Task DeleteAsync(Action - /// Retrieve the properties and relationships of an agreement object. - /// Find more info here + /// Retrieve all files related to an agreement. This includes the default file and all localized files. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -145,7 +145,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of an agreement object. + /// Retrieve all files related to an agreement. This includes the default file and all localized files. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -203,7 +203,7 @@ public partial class AgreementItemRequestBuilderDeleteRequestConfiguration : Req { } /// - /// Retrieve the properties and relationships of an agreement object. + /// Retrieve all files related to an agreement. This includes the default file and all localized files. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class AgreementItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/IdentityProtection/RiskDetections/Item/RiskDetectionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityProtection/RiskDetections/Item/RiskDetectionItemRequestBuilder.cs index eb2ae8bdf363..4d4b65b22c1f 100644 --- a/src/Microsoft.Graph/Generated/IdentityProtection/RiskDetections/Item/RiskDetectionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityProtection/RiskDetections/Item/RiskDetectionItemRequestBuilder.cs @@ -57,8 +57,8 @@ public async Task DeleteAsync(Action - /// Retrieve the properties of a riskDetection object. - /// Find more info here + /// Retrieve the properties of a collection of riskDetection objects. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -125,7 +125,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties of a riskDetection object. + /// Retrieve the properties of a collection of riskDetection objects. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -183,7 +183,7 @@ public partial class RiskDetectionItemRequestBuilderDeleteRequestConfiguration : { } /// - /// Retrieve the properties of a riskDetection object. + /// Retrieve the properties of a collection of riskDetection objects. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RiskDetectionItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Me/Approvals/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Approvals/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs index 2be75032bd2a..780783f15f25 100644 --- a/src/Microsoft.Graph/Generated/Me/Approvals/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Approvals/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs @@ -36,7 +36,7 @@ public FilterByCurrentUserWithOnRequestBuilder(string rawUrl, IRequestAdapter re { } /// - /// 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. + /// 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 @@ -60,7 +60,7 @@ public FilterByCurrentUserWithOnRequestBuilder(string rawUrl, IRequestAdapter re return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Me.Approvals.FilterByCurrentUserWithOn.FilterByCurrentUserWithOnGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// 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. + /// 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 @@ -85,7 +85,7 @@ public FilterByCurrentUserWithOnRequestBuilder(string rawUrl, IRequestAdapter re return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Me.Approvals.FilterByCurrentUserWithOn.FilterByCurrentUserWithOnResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// 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. + /// 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. @@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action - /// 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. + /// 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. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class FilterByCurrentUserWithOnRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputePostRequestBody.cs new file mode 100644 index 000000000000..bd0f1aff715c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputePostRequestBody.cs @@ -0,0 +1,134 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProtectionScopes.Compute +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ComputePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// The activities property + public global::Microsoft.Graph.Beta.Models.UserActivityTypes? Activities + { + get { return BackingStore?.Get("activities"); } + set { BackingStore?.Set("activities", value); } + } + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The deviceMetadata property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.DeviceMetadata? DeviceMetadata + { + get { return BackingStore?.Get("deviceMetadata"); } + set { BackingStore?.Set("deviceMetadata", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.DeviceMetadata DeviceMetadata + { + get { return BackingStore?.Get("deviceMetadata"); } + set { BackingStore?.Set("deviceMetadata", value); } + } +#endif + /// The integratedAppMetadata property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.IntegratedApplicationMetadata? IntegratedAppMetadata + { + get { return BackingStore?.Get("integratedAppMetadata"); } + set { BackingStore?.Set("integratedAppMetadata", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.IntegratedApplicationMetadata IntegratedAppMetadata + { + get { return BackingStore?.Get("integratedAppMetadata"); } + set { BackingStore?.Set("integratedAppMetadata", value); } + } +#endif + /// The locations property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Locations + { + get { return BackingStore?.Get?>("locations"); } + set { BackingStore?.Set("locations", value); } + } +#nullable restore +#else + public List Locations + { + get { return BackingStore?.Get>("locations"); } + set { BackingStore?.Set("locations", value); } + } +#endif + /// The pivotOn property + public global::Microsoft.Graph.Beta.Models.PolicyPivotProperty? PivotOn + { + get { return BackingStore?.Get("pivotOn"); } + set { BackingStore?.Set("pivotOn", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public ComputePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "activities", n => { Activities = n.GetEnumValue(); } }, + { "deviceMetadata", n => { DeviceMetadata = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.DeviceMetadata.CreateFromDiscriminatorValue); } }, + { "integratedAppMetadata", n => { IntegratedAppMetadata = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.IntegratedApplicationMetadata.CreateFromDiscriminatorValue); } }, + { "locations", n => { Locations = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.PolicyLocation.CreateFromDiscriminatorValue)?.AsList(); } }, + { "pivotOn", n => { PivotOn = n.GetEnumValue(); } }, + }; + } + /// + /// 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.WriteEnumValue("activities", Activities); + writer.WriteObjectValue("deviceMetadata", DeviceMetadata); + writer.WriteObjectValue("integratedAppMetadata", IntegratedAppMetadata); + writer.WriteCollectionOfObjectValues("locations", Locations); + writer.WriteEnumValue("pivotOn", PivotOn); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputePostResponse.cs b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputePostResponse.cs new file mode 100644 index 000000000000..5e53bf71ee40 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputePostResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProtectionScopes.Compute +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ComputePostResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.PolicyUserScope.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputeRequestBuilder.cs new file mode 100644 index 000000000000..fc1c8e8f7023 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputeRequestBuilder.cs @@ -0,0 +1,128 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProtectionScopes.Compute +{ + /// + /// Provides operations to call the compute method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComputeRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ComputeRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/dataSecurityAndGovernance/protectionScopes/compute", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ComputeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/dataSecurityAndGovernance/protectionScopes/compute", rawUrl) + { + } + /// + /// Invoke action compute + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsComputePostResponseAsync(global::Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsComputePostResponseAsync(global::Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action compute + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("This method is obsolete. Use PostAsComputePostResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputeResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action compute + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputeRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputeRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComputeRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputeResponse.cs b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputeResponse.cs new file mode 100644 index 000000000000..80205bd609fb --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputeResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProtectionScopes.Compute +{ + [Obsolete("This class is obsolete. Use ComputePostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ComputeResponse : global::Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputeResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputeResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilder.cs index 7dd1b1de8f26..7078c6898a66 100644 --- a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilder.cs @@ -1,5 +1,6 @@ // #pragma warning disable CS0618 +using Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProtectionScopes.Compute; using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; using Microsoft.Kiota.Abstractions.Extensions; @@ -18,6 +19,11 @@ namespace Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProtectionScopes [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ProtectionScopesRequestBuilder : BaseRequestBuilder { + /// Provides operations to call the compute method. + public global::Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputeRequestBuilder Compute + { + get => new global::Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputeRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/Attachments/AttachmentsRequestBuilder.cs index 9c8624046019..7862c19f3e74 100644 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Events/Item/Attachments/AttachmentsRequestBuilder.cs @@ -84,8 +84,8 @@ public AttachmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. - /// Find more info here + /// 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 /// /// A /// The request body @@ -129,7 +129,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + /// 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. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/ChildFoldersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/ChildFoldersRequestBuilder.cs index 3d6f243a56c0..9b2348e2b713 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/ChildFoldersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/ChildFoldersRequestBuilder.cs @@ -84,8 +84,8 @@ public ChildFoldersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MailFolderCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Use this API to create a new child mailFolder. If you intend a new folder to be hidden, you must set the isHidden property to true on creation. - /// Find more info here + /// Create a new mailSearchFolder in the specified user's mailbox. + /// Find more info here /// /// A /// The request body @@ -129,7 +129,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new child mailFolder. If you intend a new folder to be hidden, you must set the isHidden property to true on creation. + /// Create a new mailSearchFolder in the specified user's mailbox. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/MailFolderItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/MailFolderItemRequestBuilder.cs index 024ad8dd486e..111f2a2db549 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/MailFolderItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/MailFolderItemRequestBuilder.cs @@ -136,8 +136,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.MailFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of mailFolder object. - /// Find more info here + /// Update the writable properties of a mailSearchFolder object. + /// Find more info here /// /// A /// The request body @@ -200,7 +200,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of mailFolder object. + /// Update the writable properties of a mailSearchFolder object. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Me/MeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MeRequestBuilder.cs index 0d3c0d9736b1..703a799d63bc 100644 --- a/src/Microsoft.Graph/Generated/Me/MeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MeRequestBuilder.cs @@ -755,8 +755,8 @@ public MeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(re return new global::Microsoft.Graph.Beta.Me.FindRoomsWithRoomList.FindRoomsWithRoomListRequestBuilder(PathParameters, RequestAdapter, roomList); } /// - /// Returns the user or organizational contact assigned as the user's manager. Optionally, you can expand the manager's chain up to the root node. - /// Find more info here + /// Retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -827,7 +827,7 @@ public MeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(re return new global::Microsoft.Graph.Beta.Me.ReminderViewWithStartDateTimeWithEndDateTime.ReminderViewWithStartDateTimeWithEndDateTimeRequestBuilder(PathParameters, RequestAdapter, endDateTime, startDateTime); } /// - /// Returns the user or organizational contact assigned as the user's manager. Optionally, you can expand the manager's chain up to the root node. + /// Retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -877,7 +877,7 @@ public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta return new global::Microsoft.Graph.Beta.Me.MeRequestBuilder(rawUrl, RequestAdapter); } /// - /// Returns the user or organizational contact assigned as the user's manager. Optionally, you can expand the manager's chain up to the root node. + /// Retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MeRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/Attachments/AttachmentsRequestBuilder.cs index 1cd343bf8aa4..6a2189283aff 100644 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Messages/Item/Attachments/AttachmentsRequestBuilder.cs @@ -84,8 +84,8 @@ public AttachmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or to a newmessage that is being drafted, or created and sent on the fly. - /// Find more info here + /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + /// Find more info here /// /// A /// The request body @@ -129,7 +129,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or to a newmessage that is being drafted, or created and sent on the fly. + /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/MessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/MessageItemRequestBuilder.cs index 62f1d8cbf046..0fe449840e46 100644 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/MessageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Messages/Item/MessageItemRequestBuilder.cs @@ -160,8 +160,8 @@ public async Task DeleteAsync(Action - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. - /// Find more info here + /// Get the properties and relationships of the eventMessage object. Apply the $expand parameter on the eventnavigation property to get the associated event in an attendee's calendar. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -184,8 +184,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of an eventMessage object. - /// Find more info here + /// Update the properties of a message object. + /// Find more info here /// /// A /// The request body @@ -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. + /// Get the properties and relationships of the eventMessage object. Apply the $expand parameter on the eventnavigation property to get the associated event in an attendee's calendar. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -248,7 +248,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of an eventMessage object. + /// Update the properties of a message object. /// /// A /// The request body @@ -287,7 +287,7 @@ public partial class MessageItemRequestBuilderDeleteRequestConfiguration : Reque { } /// - /// 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. + /// Get the properties and relationships of the eventMessage object. Apply the $expand parameter on the eventnavigation property to get the associated event in an attendee's calendar. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MessageItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/Value/ContentRequestBuilder.cs index d17db9ec5d64..dc3f370a043a 100644 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/Value/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Messages/Item/Value/ContentRequestBuilder.cs @@ -81,8 +81,8 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of an eventMessage object. - /// Find more info here + /// Update the properties of a message object. + /// Find more info here /// /// A /// Binary request body @@ -145,7 +145,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of an eventMessage object. + /// Update the properties of a message object. /// /// A /// Binary request body diff --git a/src/Microsoft.Graph/Generated/Me/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/AppLogCollectionRequestsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/AppLogCollectionRequestsRequestBuilder.cs index 6014d7edafae..53fe46da21f6 100644 --- a/src/Microsoft.Graph/Generated/Me/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/AppLogCollectionRequestsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/AppLogCollectionRequestsRequestBuilder.cs @@ -54,7 +54,7 @@ public AppLogCollectionRequestsRequestBuilder(string rawUrl, IRequestAdapter req { } /// - /// The collection property of AppLogUploadRequest. + /// Indicates collection of App Log Upload Request. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public AppLogCollectionRequestsRequestBuilder(string rawUrl, IRequestAdapter req return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.AppLogCollectionRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// The collection property of AppLogUploadRequest. + /// Indicates collection of App Log Upload Request. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.Me.MobileAppTroubleshootingEvents.Item.AppLogCollectionRequests.AppLogCollectionRequestsRequestBuilder(rawUrl, RequestAdapter); } /// - /// The collection property of AppLogUploadRequest. + /// Indicates collection of App Log Upload Request. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class AppLogCollectionRequestsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Me/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Item/AppLogCollectionRequestItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Item/AppLogCollectionRequestItemRequestBuilder.cs index 10b85f312e34..e75160f48883 100644 --- a/src/Microsoft.Graph/Generated/Me/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Item/AppLogCollectionRequestItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Item/AppLogCollectionRequestItemRequestBuilder.cs @@ -63,7 +63,7 @@ public async Task DeleteAsync(Action - /// The collection property of AppLogUploadRequest. + /// Indicates collection of App Log Upload Request. /// /// A /// Cancellation token to use when cancelling requests @@ -130,7 +130,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// The collection property of AppLogUploadRequest. + /// Indicates collection of App Log Upload Request. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -188,7 +188,7 @@ public partial class AppLogCollectionRequestItemRequestBuilderDeleteRequestConfi { } /// - /// The collection property of AppLogUploadRequest. + /// Indicates collection of App Log Upload Request. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class AppLogCollectionRequestItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Models/Admin.cs b/src/Microsoft.Graph/Generated/Models/Admin.cs index b7c1ef6d3602..f7d59d894f43 100644 --- a/src/Microsoft.Graph/Generated/Models/Admin.cs +++ b/src/Microsoft.Graph/Generated/Models/Admin.cs @@ -38,6 +38,22 @@ public IDictionary AdditionalData #endif /// Stores model information. public IBackingStore BackingStore { get; private set; } + /// The configurationManagement property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.ConfigurationManagement? ConfigurationManagement + { + get { return BackingStore?.Get("configurationManagement"); } + set { BackingStore?.Set("configurationManagement", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.ConfigurationManagement ConfigurationManagement + { + get { return BackingStore?.Get("configurationManagement"); } + set { BackingStore?.Set("configurationManagement", value); } + } +#endif /// The dynamics property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -289,6 +305,7 @@ public virtual IDictionary> GetFieldDeserializers() return new Dictionary> { { "appsAndServices", n => { AppsAndServices = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.AdminAppsAndServices.CreateFromDiscriminatorValue); } }, + { "configurationManagement", n => { ConfigurationManagement = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.ConfigurationManagement.CreateFromDiscriminatorValue); } }, { "dynamics", n => { Dynamics = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.AdminDynamics.CreateFromDiscriminatorValue); } }, { "edge", n => { Edge = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.Edge.CreateFromDiscriminatorValue); } }, { "entra", n => { Entra = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.Entra.CreateFromDiscriminatorValue); } }, @@ -313,6 +330,7 @@ public virtual void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); writer.WriteObjectValue("appsAndServices", AppsAndServices); + writer.WriteObjectValue("configurationManagement", ConfigurationManagement); writer.WriteObjectValue("dynamics", Dynamics); writer.WriteObjectValue("edge", Edge); writer.WriteObjectValue("entra", Entra); diff --git a/src/Microsoft.Graph/Generated/Models/AiInteractionMentionedIdentitySet.cs b/src/Microsoft.Graph/Generated/Models/AiInteractionMentionedIdentitySet.cs index 4e4c5409e896..01ac830b6efd 100644 --- a/src/Microsoft.Graph/Generated/Models/AiInteractionMentionedIdentitySet.cs +++ b/src/Microsoft.Graph/Generated/Models/AiInteractionMentionedIdentitySet.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Beta.Models public partial class AiInteractionMentionedIdentitySet : global::Microsoft.Graph.Beta.Models.IdentitySet, IParsable #pragma warning restore CS1591 { - /// The conversation details. + /// The conversation property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.TeamworkConversationIdentity? Conversation diff --git a/src/Microsoft.Graph/Generated/Models/AuditLogRoot.cs b/src/Microsoft.Graph/Generated/Models/AuditLogRoot.cs index 2c9802771d84..ef9ef216d936 100644 --- a/src/Microsoft.Graph/Generated/Models/AuditLogRoot.cs +++ b/src/Microsoft.Graph/Generated/Models/AuditLogRoot.cs @@ -101,7 +101,7 @@ public string OdataType set { BackingStore?.Set("provisioning", value); } } #endif - /// The signIns property + /// Represents Microsoft Entra sign-in events. Read-only. Nullable. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? SignIns @@ -117,7 +117,7 @@ public string OdataType set { BackingStore?.Set("signIns", value); } } #endif - /// The signUps property + /// Represents sign up events in Microsoft Entra External ID. Read-only. Nullable. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? SignUps diff --git a/src/Microsoft.Graph/Generated/Models/BackupRestoreRoot.cs b/src/Microsoft.Graph/Generated/Models/BackupRestoreRoot.cs index 94cd9295da94..05608fbbcd1a 100644 --- a/src/Microsoft.Graph/Generated/Models/BackupRestoreRoot.cs +++ b/src/Microsoft.Graph/Generated/Models/BackupRestoreRoot.cs @@ -59,6 +59,22 @@ public partial class BackupRestoreRoot : global::Microsoft.Graph.Beta.Models.Ent get { return BackingStore?.Get>("driveProtectionUnitsBulkAdditionJobs"); } set { BackingStore?.Set("driveProtectionUnitsBulkAdditionJobs", value); } } +#endif + /// The email notification settings in the tenant. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.EmailNotificationsSetting? EmailNotificationsSetting + { + get { return BackingStore?.Get("emailNotificationsSetting"); } + set { BackingStore?.Set("emailNotificationsSetting", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.EmailNotificationsSetting EmailNotificationsSetting + { + get { return BackingStore?.Get("emailNotificationsSetting"); } + set { BackingStore?.Set("emailNotificationsSetting", value); } + } #endif /// The list of Exchange protection policies in the tenant. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -369,6 +385,7 @@ public override IDictionary> GetFieldDeserializers() { "driveInclusionRules", n => { DriveInclusionRules = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.DriveProtectionRule.CreateFromDiscriminatorValue)?.AsList(); } }, { "driveProtectionUnits", n => { DriveProtectionUnits = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.DriveProtectionUnit.CreateFromDiscriminatorValue)?.AsList(); } }, { "driveProtectionUnitsBulkAdditionJobs", n => { DriveProtectionUnitsBulkAdditionJobs = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.DriveProtectionUnitsBulkAdditionJob.CreateFromDiscriminatorValue)?.AsList(); } }, + { "emailNotificationsSetting", n => { EmailNotificationsSetting = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.EmailNotificationsSetting.CreateFromDiscriminatorValue); } }, { "exchangeProtectionPolicies", n => { ExchangeProtectionPolicies = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ExchangeProtectionPolicy.CreateFromDiscriminatorValue)?.AsList(); } }, { "exchangeRestoreSessions", n => { ExchangeRestoreSessions = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ExchangeRestoreSession.CreateFromDiscriminatorValue)?.AsList(); } }, { "mailboxInclusionRules", n => { MailboxInclusionRules = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.MailboxProtectionRule.CreateFromDiscriminatorValue)?.AsList(); } }, @@ -400,6 +417,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteCollectionOfObjectValues("driveInclusionRules", DriveInclusionRules); writer.WriteCollectionOfObjectValues("driveProtectionUnits", DriveProtectionUnits); writer.WriteCollectionOfObjectValues("driveProtectionUnitsBulkAdditionJobs", DriveProtectionUnitsBulkAdditionJobs); + writer.WriteObjectValue("emailNotificationsSetting", EmailNotificationsSetting); writer.WriteCollectionOfObjectValues("exchangeProtectionPolicies", ExchangeProtectionPolicies); writer.WriteCollectionOfObjectValues("exchangeRestoreSessions", ExchangeRestoreSessions); writer.WriteCollectionOfObjectValues("mailboxInclusionRules", MailboxInclusionRules); diff --git a/src/Microsoft.Graph/Generated/Models/BaselineParameter.cs b/src/Microsoft.Graph/Generated/Models/BaselineParameter.cs new file mode 100644 index 000000000000..f13e588f77fa --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/BaselineParameter.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class BaselineParameter : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The description property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Description + { + get { return BackingStore?.Get("description"); } + set { BackingStore?.Set("description", value); } + } +#nullable restore +#else + public string Description + { + get { return BackingStore?.Get("description"); } + set { BackingStore?.Set("description", value); } + } +#endif + /// The displayName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The parameterType property + public global::Microsoft.Graph.Beta.Models.BaselineParameterType? ParameterType + { + get { return BackingStore?.Get("parameterType"); } + set { BackingStore?.Set("parameterType", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public BaselineParameter() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.BaselineParameter CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.BaselineParameter(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "description", n => { Description = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "parameterType", n => { ParameterType = n.GetEnumValue(); } }, + }; + } + /// + /// 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("description", Description); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteEnumValue("parameterType", ParameterType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/BaselineParameterType.cs b/src/Microsoft.Graph/Generated/Models/BaselineParameterType.cs new file mode 100644 index 000000000000..d9a83891992e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/BaselineParameterType.cs @@ -0,0 +1,27 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum BaselineParameterType + #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 = "boolean")] + #pragma warning disable CS1591 + Boolean, + #pragma warning restore CS1591 + /// A marker value for members added after the release of this API. + [EnumMember(Value = "unknownFutureValue")] + UnknownFutureValue, + } +} diff --git a/src/Microsoft.Graph/Generated/Models/BaselineResource.cs b/src/Microsoft.Graph/Generated/Models/BaselineResource.cs new file mode 100644 index 000000000000..a9a0d8af8c86 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/BaselineResource.cs @@ -0,0 +1,135 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class BaselineResource : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The displayName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The properties property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.OpenComplexDictionaryType? Properties + { + get { return BackingStore?.Get("properties"); } + set { BackingStore?.Set("properties", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.OpenComplexDictionaryType Properties + { + get { return BackingStore?.Get("properties"); } + set { BackingStore?.Set("properties", value); } + } +#endif + /// The resourceType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ResourceType + { + get { return BackingStore?.Get("resourceType"); } + set { BackingStore?.Set("resourceType", value); } + } +#nullable restore +#else + public string ResourceType + { + get { return BackingStore?.Get("resourceType"); } + set { BackingStore?.Set("resourceType", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public BaselineResource() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.BaselineResource CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.BaselineResource(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "properties", n => { Properties = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.OpenComplexDictionaryType.CreateFromDiscriminatorValue); } }, + { "resourceType", n => { ResourceType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteObjectValue("properties", Properties); + writer.WriteStringValue("resourceType", ResourceType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ClientCredentials.cs b/src/Microsoft.Graph/Generated/Models/ClientCredentials.cs new file mode 100644 index 000000000000..9f42802bec79 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ClientCredentials.cs @@ -0,0 +1,117 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ClientCredentials : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The certificateName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? CertificateName + { + get { return BackingStore?.Get("certificateName"); } + set { BackingStore?.Set("certificateName", value); } + } +#nullable restore +#else + public string CertificateName + { + get { return BackingStore?.Get("certificateName"); } + set { BackingStore?.Set("certificateName", value); } + } +#endif + /// The keyVaultUri property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? KeyVaultUri + { + get { return BackingStore?.Get("keyVaultUri"); } + set { BackingStore?.Set("keyVaultUri", value); } + } +#nullable restore +#else + public string KeyVaultUri + { + get { return BackingStore?.Get("keyVaultUri"); } + set { BackingStore?.Set("keyVaultUri", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ClientCredentials() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.ClientCredentials CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.ClientCredentials(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "certificateName", n => { CertificateName = n.GetStringValue(); } }, + { "keyVaultUri", n => { KeyVaultUri = 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("certificateName", CertificateName); + writer.WriteStringValue("keyVaultUri", KeyVaultUri); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ConfigurationApplication.cs b/src/Microsoft.Graph/Generated/Models/ConfigurationApplication.cs new file mode 100644 index 000000000000..5da1a62f9b4f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ConfigurationApplication.cs @@ -0,0 +1,185 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ConfigurationApplication : global::Microsoft.Graph.Beta.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The appId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? AppId + { + get { return BackingStore?.Get("appId"); } + set { BackingStore?.Set("appId", value); } + } +#nullable restore +#else + public string AppId + { + get { return BackingStore?.Get("appId"); } + set { BackingStore?.Set("appId", value); } + } +#endif + /// The clientCredentials property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.ClientCredentials? ClientCredentials + { + get { return BackingStore?.Get("clientCredentials"); } + set { BackingStore?.Set("clientCredentials", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.ClientCredentials ClientCredentials + { + get { return BackingStore?.Get("clientCredentials"); } + set { BackingStore?.Set("clientCredentials", value); } + } +#endif + /// The createdBy property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.IdentitySet? CreatedBy + { + get { return BackingStore?.Get("createdBy"); } + set { BackingStore?.Set("createdBy", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.IdentitySet CreatedBy + { + get { return BackingStore?.Get("createdBy"); } + set { BackingStore?.Set("createdBy", value); } + } +#endif + /// The createdDateTime property + public DateTimeOffset? CreatedDateTime + { + get { return BackingStore?.Get("createdDateTime"); } + set { BackingStore?.Set("createdDateTime", value); } + } + /// The description property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Description + { + get { return BackingStore?.Get("description"); } + set { BackingStore?.Set("description", value); } + } +#nullable restore +#else + public string Description + { + get { return BackingStore?.Get("description"); } + set { BackingStore?.Set("description", value); } + } +#endif + /// The displayName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// The lastModifiedBy property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.IdentitySet? LastModifiedBy + { + get { return BackingStore?.Get("lastModifiedBy"); } + set { BackingStore?.Set("lastModifiedBy", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.IdentitySet LastModifiedBy + { + get { return BackingStore?.Get("lastModifiedBy"); } + set { BackingStore?.Set("lastModifiedBy", value); } + } +#endif + /// The lastModifiedDateTime property + public DateTimeOffset? LastModifiedDateTime + { + get { return BackingStore?.Get("lastModifiedDateTime"); } + set { BackingStore?.Set("lastModifiedDateTime", value); } + } + /// The tenantId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? TenantId + { + get { return BackingStore?.Get("tenantId"); } + set { BackingStore?.Set("tenantId", value); } + } +#nullable restore +#else + public string TenantId + { + get { return BackingStore?.Get("tenantId"); } + set { BackingStore?.Set("tenantId", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.ConfigurationApplication CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.ConfigurationApplication(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "appId", n => { AppId = n.GetStringValue(); } }, + { "clientCredentials", n => { ClientCredentials = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.ClientCredentials.CreateFromDiscriminatorValue); } }, + { "createdBy", n => { CreatedBy = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.IdentitySet.CreateFromDiscriminatorValue); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "lastModifiedBy", n => { LastModifiedBy = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.IdentitySet.CreateFromDiscriminatorValue); } }, + { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + { "tenantId", n => { TenantId = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteStringValue("appId", AppId); + writer.WriteObjectValue("clientCredentials", ClientCredentials); + writer.WriteObjectValue("createdBy", CreatedBy); + writer.WriteStringValue("description", Description); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteObjectValue("lastModifiedBy", LastModifiedBy); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ConfigurationApplicationCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/ConfigurationApplicationCollectionResponse.cs new file mode 100644 index 000000000000..3f26689fefc6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ConfigurationApplicationCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ConfigurationApplicationCollectionResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.ConfigurationApplicationCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.ConfigurationApplicationCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ConfigurationApplication.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ConfigurationBaseline.cs b/src/Microsoft.Graph/Generated/Models/ConfigurationBaseline.cs new file mode 100644 index 000000000000..6014e2c9292a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ConfigurationBaseline.cs @@ -0,0 +1,118 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ConfigurationBaseline : global::Microsoft.Graph.Beta.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The description property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Description + { + get { return BackingStore?.Get("description"); } + set { BackingStore?.Set("description", value); } + } +#nullable restore +#else + public string Description + { + get { return BackingStore?.Get("description"); } + set { BackingStore?.Set("description", value); } + } +#endif + /// The displayName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// The parameters property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Parameters + { + get { return BackingStore?.Get?>("parameters"); } + set { BackingStore?.Set("parameters", value); } + } +#nullable restore +#else + public List Parameters + { + get { return BackingStore?.Get>("parameters"); } + set { BackingStore?.Set("parameters", value); } + } +#endif + /// The resources property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Resources + { + get { return BackingStore?.Get?>("resources"); } + set { BackingStore?.Set("resources", value); } + } +#nullable restore +#else + public List Resources + { + get { return BackingStore?.Get>("resources"); } + set { BackingStore?.Set("resources", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.ConfigurationBaseline CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.ConfigurationBaseline(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "description", n => { Description = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "parameters", n => { Parameters = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.BaselineParameter.CreateFromDiscriminatorValue)?.AsList(); } }, + { "resources", n => { Resources = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.BaselineResource.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteStringValue("description", Description); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteCollectionOfObjectValues("parameters", Parameters); + writer.WriteCollectionOfObjectValues("resources", Resources); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ConfigurationBaselineCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/ConfigurationBaselineCollectionResponse.cs new file mode 100644 index 000000000000..9bb346c3fc37 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ConfigurationBaselineCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ConfigurationBaselineCollectionResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.ConfigurationBaselineCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.ConfigurationBaselineCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ConfigurationBaseline.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ConfigurationDrift.cs b/src/Microsoft.Graph/Generated/Models/ConfigurationDrift.cs new file mode 100644 index 000000000000..6f9ae18bcb49 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ConfigurationDrift.cs @@ -0,0 +1,164 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ConfigurationDrift : global::Microsoft.Graph.Beta.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The baselineResourceDisplayName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? BaselineResourceDisplayName + { + get { return BackingStore?.Get("baselineResourceDisplayName"); } + set { BackingStore?.Set("baselineResourceDisplayName", value); } + } +#nullable restore +#else + public string BaselineResourceDisplayName + { + get { return BackingStore?.Get("baselineResourceDisplayName"); } + set { BackingStore?.Set("baselineResourceDisplayName", value); } + } +#endif + /// The driftedProperties property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? DriftedProperties + { + get { return BackingStore?.Get?>("driftedProperties"); } + set { BackingStore?.Set("driftedProperties", value); } + } +#nullable restore +#else + public List DriftedProperties + { + get { return BackingStore?.Get>("driftedProperties"); } + set { BackingStore?.Set("driftedProperties", value); } + } +#endif + /// The firstReportedDateTime property + public DateTimeOffset? FirstReportedDateTime + { + get { return BackingStore?.Get("firstReportedDateTime"); } + set { BackingStore?.Set("firstReportedDateTime", value); } + } + /// The monitorId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? MonitorId + { + get { return BackingStore?.Get("monitorId"); } + set { BackingStore?.Set("monitorId", value); } + } +#nullable restore +#else + public string MonitorId + { + get { return BackingStore?.Get("monitorId"); } + set { BackingStore?.Set("monitorId", value); } + } +#endif + /// The resourceInstanceIdentifier property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.OpenComplexDictionaryType? ResourceInstanceIdentifier + { + get { return BackingStore?.Get("resourceInstanceIdentifier"); } + set { BackingStore?.Set("resourceInstanceIdentifier", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.OpenComplexDictionaryType ResourceInstanceIdentifier + { + get { return BackingStore?.Get("resourceInstanceIdentifier"); } + set { BackingStore?.Set("resourceInstanceIdentifier", value); } + } +#endif + /// The resourceType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ResourceType + { + get { return BackingStore?.Get("resourceType"); } + set { BackingStore?.Set("resourceType", value); } + } +#nullable restore +#else + public string ResourceType + { + get { return BackingStore?.Get("resourceType"); } + set { BackingStore?.Set("resourceType", value); } + } +#endif + /// The status property + public global::Microsoft.Graph.Beta.Models.DriftStatus? Status + { + get { return BackingStore?.Get("status"); } + set { BackingStore?.Set("status", value); } + } + /// The tenantId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? TenantId + { + get { return BackingStore?.Get("tenantId"); } + set { BackingStore?.Set("tenantId", value); } + } +#nullable restore +#else + public string TenantId + { + get { return BackingStore?.Get("tenantId"); } + set { BackingStore?.Set("tenantId", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.ConfigurationDrift CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.ConfigurationDrift(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "baselineResourceDisplayName", n => { BaselineResourceDisplayName = n.GetStringValue(); } }, + { "driftedProperties", n => { DriftedProperties = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.DriftedProperty.CreateFromDiscriminatorValue)?.AsList(); } }, + { "firstReportedDateTime", n => { FirstReportedDateTime = n.GetDateTimeOffsetValue(); } }, + { "monitorId", n => { MonitorId = n.GetStringValue(); } }, + { "resourceInstanceIdentifier", n => { ResourceInstanceIdentifier = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.OpenComplexDictionaryType.CreateFromDiscriminatorValue); } }, + { "resourceType", n => { ResourceType = n.GetStringValue(); } }, + { "status", n => { Status = n.GetEnumValue(); } }, + { "tenantId", n => { TenantId = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteObjectValue("resourceInstanceIdentifier", ResourceInstanceIdentifier); + writer.WriteEnumValue("status", Status); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ConfigurationDriftCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/ConfigurationDriftCollectionResponse.cs new file mode 100644 index 000000000000..428febfb8a72 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ConfigurationDriftCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ConfigurationDriftCollectionResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.ConfigurationDriftCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.ConfigurationDriftCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ConfigurationDrift.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ConfigurationManagement.cs b/src/Microsoft.Graph/Generated/Models/ConfigurationManagement.cs new file mode 100644 index 000000000000..18ccbe8f8afc --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ConfigurationManagement.cs @@ -0,0 +1,154 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ConfigurationManagement : global::Microsoft.Graph.Beta.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The configurationApplications property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ConfigurationApplications + { + get { return BackingStore?.Get?>("configurationApplications"); } + set { BackingStore?.Set("configurationApplications", value); } + } +#nullable restore +#else + public List ConfigurationApplications + { + get { return BackingStore?.Get>("configurationApplications"); } + set { BackingStore?.Set("configurationApplications", value); } + } +#endif + /// The configurationDrifts property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ConfigurationDrifts + { + get { return BackingStore?.Get?>("configurationDrifts"); } + set { BackingStore?.Set("configurationDrifts", value); } + } +#nullable restore +#else + public List ConfigurationDrifts + { + get { return BackingStore?.Get>("configurationDrifts"); } + set { BackingStore?.Set("configurationDrifts", value); } + } +#endif + /// The configurationMonitoringResults property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ConfigurationMonitoringResults + { + get { return BackingStore?.Get?>("configurationMonitoringResults"); } + set { BackingStore?.Set("configurationMonitoringResults", value); } + } +#nullable restore +#else + public List ConfigurationMonitoringResults + { + get { return BackingStore?.Get>("configurationMonitoringResults"); } + set { BackingStore?.Set("configurationMonitoringResults", value); } + } +#endif + /// The configurationMonitors property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ConfigurationMonitors + { + get { return BackingStore?.Get?>("configurationMonitors"); } + set { BackingStore?.Set("configurationMonitors", value); } + } +#nullable restore +#else + public List ConfigurationMonitors + { + get { return BackingStore?.Get>("configurationMonitors"); } + set { BackingStore?.Set("configurationMonitors", value); } + } +#endif + /// The configurationSnapshotJobs property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ConfigurationSnapshotJobs + { + get { return BackingStore?.Get?>("configurationSnapshotJobs"); } + set { BackingStore?.Set("configurationSnapshotJobs", value); } + } +#nullable restore +#else + public List ConfigurationSnapshotJobs + { + get { return BackingStore?.Get>("configurationSnapshotJobs"); } + set { BackingStore?.Set("configurationSnapshotJobs", value); } + } +#endif + /// The configurationSnapshots property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ConfigurationSnapshots + { + get { return BackingStore?.Get?>("configurationSnapshots"); } + set { BackingStore?.Set("configurationSnapshots", value); } + } +#nullable restore +#else + public List ConfigurationSnapshots + { + get { return BackingStore?.Get>("configurationSnapshots"); } + set { BackingStore?.Set("configurationSnapshots", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.ConfigurationManagement CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.ConfigurationManagement(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "configurationApplications", n => { ConfigurationApplications = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ConfigurationApplication.CreateFromDiscriminatorValue)?.AsList(); } }, + { "configurationDrifts", n => { ConfigurationDrifts = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ConfigurationDrift.CreateFromDiscriminatorValue)?.AsList(); } }, + { "configurationMonitoringResults", n => { ConfigurationMonitoringResults = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ConfigurationMonitoringResult.CreateFromDiscriminatorValue)?.AsList(); } }, + { "configurationMonitors", n => { ConfigurationMonitors = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ConfigurationMonitor.CreateFromDiscriminatorValue)?.AsList(); } }, + { "configurationSnapshotJobs", n => { ConfigurationSnapshotJobs = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ConfigurationSnapshotJob.CreateFromDiscriminatorValue)?.AsList(); } }, + { "configurationSnapshots", n => { ConfigurationSnapshots = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ConfigurationBaseline.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("configurationApplications", ConfigurationApplications); + writer.WriteCollectionOfObjectValues("configurationDrifts", ConfigurationDrifts); + writer.WriteCollectionOfObjectValues("configurationMonitoringResults", ConfigurationMonitoringResults); + writer.WriteCollectionOfObjectValues("configurationMonitors", ConfigurationMonitors); + writer.WriteCollectionOfObjectValues("configurationSnapshotJobs", ConfigurationSnapshotJobs); + writer.WriteCollectionOfObjectValues("configurationSnapshots", ConfigurationSnapshots); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ConfigurationMonitor.cs b/src/Microsoft.Graph/Generated/Models/ConfigurationMonitor.cs new file mode 100644 index 000000000000..d9fe1b7963f1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ConfigurationMonitor.cs @@ -0,0 +1,208 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ConfigurationMonitor : global::Microsoft.Graph.Beta.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The baseline property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.ConfigurationBaseline? Baseline + { + get { return BackingStore?.Get("baseline"); } + set { BackingStore?.Set("baseline", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.ConfigurationBaseline Baseline + { + get { return BackingStore?.Get("baseline"); } + set { BackingStore?.Set("baseline", value); } + } +#endif + /// The createdBy property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.IdentitySet? CreatedBy + { + get { return BackingStore?.Get("createdBy"); } + set { BackingStore?.Set("createdBy", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.IdentitySet CreatedBy + { + get { return BackingStore?.Get("createdBy"); } + set { BackingStore?.Set("createdBy", value); } + } +#endif + /// The createdDateTime property + public DateTimeOffset? CreatedDateTime + { + get { return BackingStore?.Get("createdDateTime"); } + set { BackingStore?.Set("createdDateTime", value); } + } + /// The description property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Description + { + get { return BackingStore?.Get("description"); } + set { BackingStore?.Set("description", value); } + } +#nullable restore +#else + public string Description + { + get { return BackingStore?.Get("description"); } + set { BackingStore?.Set("description", value); } + } +#endif + /// The displayName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// The lastModifiedDateTime property + public DateTimeOffset? LastModifiedDateTime + { + get { return BackingStore?.Get("lastModifiedDateTime"); } + set { BackingStore?.Set("lastModifiedDateTime", value); } + } + /// The mode property + public global::Microsoft.Graph.Beta.Models.MonitorMode? Mode + { + get { return BackingStore?.Get("mode"); } + set { BackingStore?.Set("mode", value); } + } + /// The monitorRunFrequencyInHours property + public int? MonitorRunFrequencyInHours + { + get { return BackingStore?.Get("monitorRunFrequencyInHours"); } + set { BackingStore?.Set("monitorRunFrequencyInHours", value); } + } + /// The parameters property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.OpenComplexDictionaryType? Parameters + { + get { return BackingStore?.Get("parameters"); } + set { BackingStore?.Set("parameters", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.OpenComplexDictionaryType Parameters + { + get { return BackingStore?.Get("parameters"); } + set { BackingStore?.Set("parameters", value); } + } +#endif + /// The runningOnBehalfOf property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.IdentitySet? RunningOnBehalfOf + { + get { return BackingStore?.Get("runningOnBehalfOf"); } + set { BackingStore?.Set("runningOnBehalfOf", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.IdentitySet RunningOnBehalfOf + { + get { return BackingStore?.Get("runningOnBehalfOf"); } + set { BackingStore?.Set("runningOnBehalfOf", value); } + } +#endif + /// The status property + public global::Microsoft.Graph.Beta.Models.MonitorStatus? Status + { + get { return BackingStore?.Get("status"); } + set { BackingStore?.Set("status", value); } + } + /// The tenantId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? TenantId + { + get { return BackingStore?.Get("tenantId"); } + set { BackingStore?.Set("tenantId", value); } + } +#nullable restore +#else + public string TenantId + { + get { return BackingStore?.Get("tenantId"); } + set { BackingStore?.Set("tenantId", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.ConfigurationMonitor CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.ConfigurationMonitor(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "baseline", n => { Baseline = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.ConfigurationBaseline.CreateFromDiscriminatorValue); } }, + { "createdBy", n => { CreatedBy = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.IdentitySet.CreateFromDiscriminatorValue); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + { "mode", n => { Mode = n.GetEnumValue(); } }, + { "monitorRunFrequencyInHours", n => { MonitorRunFrequencyInHours = n.GetIntValue(); } }, + { "parameters", n => { Parameters = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.OpenComplexDictionaryType.CreateFromDiscriminatorValue); } }, + { "runningOnBehalfOf", n => { RunningOnBehalfOf = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.IdentitySet.CreateFromDiscriminatorValue); } }, + { "status", n => { Status = n.GetEnumValue(); } }, + { "tenantId", n => { TenantId = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteObjectValue("baseline", Baseline); + writer.WriteObjectValue("createdBy", CreatedBy); + writer.WriteStringValue("description", Description); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteEnumValue("mode", Mode); + writer.WriteObjectValue("parameters", Parameters); + writer.WriteObjectValue("runningOnBehalfOf", RunningOnBehalfOf); + writer.WriteEnumValue("status", Status); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ConfigurationMonitorCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/ConfigurationMonitorCollectionResponse.cs new file mode 100644 index 000000000000..1ff832c8737e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ConfigurationMonitorCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ConfigurationMonitorCollectionResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.ConfigurationMonitorCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.ConfigurationMonitorCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ConfigurationMonitor.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ConfigurationMonitoringResult.cs b/src/Microsoft.Graph/Generated/Models/ConfigurationMonitoringResult.cs new file mode 100644 index 000000000000..f00f54c433d4 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ConfigurationMonitoringResult.cs @@ -0,0 +1,126 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ConfigurationMonitoringResult : global::Microsoft.Graph.Beta.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The driftsCount property + public int? DriftsCount + { + get { return BackingStore?.Get("driftsCount"); } + set { BackingStore?.Set("driftsCount", value); } + } + /// The errorDetails property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ErrorDetails + { + get { return BackingStore?.Get?>("errorDetails"); } + set { BackingStore?.Set("errorDetails", value); } + } +#nullable restore +#else + public List ErrorDetails + { + get { return BackingStore?.Get>("errorDetails"); } + set { BackingStore?.Set("errorDetails", value); } + } +#endif + /// The monitorId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? MonitorId + { + get { return BackingStore?.Get("monitorId"); } + set { BackingStore?.Set("monitorId", value); } + } +#nullable restore +#else + public string MonitorId + { + get { return BackingStore?.Get("monitorId"); } + set { BackingStore?.Set("monitorId", value); } + } +#endif + /// The runCompletionDateTime property + public DateTimeOffset? RunCompletionDateTime + { + get { return BackingStore?.Get("runCompletionDateTime"); } + set { BackingStore?.Set("runCompletionDateTime", value); } + } + /// The runInitiationDateTime property + public DateTimeOffset? RunInitiationDateTime + { + get { return BackingStore?.Get("runInitiationDateTime"); } + set { BackingStore?.Set("runInitiationDateTime", value); } + } + /// The runStatus property + public global::Microsoft.Graph.Beta.Models.MonitorRunStatus? RunStatus + { + get { return BackingStore?.Get("runStatus"); } + set { BackingStore?.Set("runStatus", value); } + } + /// The tenantId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? TenantId + { + get { return BackingStore?.Get("tenantId"); } + set { BackingStore?.Set("tenantId", value); } + } +#nullable restore +#else + public string TenantId + { + get { return BackingStore?.Get("tenantId"); } + set { BackingStore?.Set("tenantId", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.ConfigurationMonitoringResult CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.ConfigurationMonitoringResult(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "driftsCount", n => { DriftsCount = n.GetIntValue(); } }, + { "errorDetails", n => { ErrorDetails = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ErrorDetail.CreateFromDiscriminatorValue)?.AsList(); } }, + { "monitorId", n => { MonitorId = n.GetStringValue(); } }, + { "runCompletionDateTime", n => { RunCompletionDateTime = n.GetDateTimeOffsetValue(); } }, + { "runInitiationDateTime", n => { RunInitiationDateTime = n.GetDateTimeOffsetValue(); } }, + { "runStatus", n => { RunStatus = n.GetEnumValue(); } }, + { "tenantId", n => { TenantId = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteEnumValue("runStatus", RunStatus); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ConfigurationMonitoringResultCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/ConfigurationMonitoringResultCollectionResponse.cs new file mode 100644 index 000000000000..24c9c734a989 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ConfigurationMonitoringResultCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ConfigurationMonitoringResultCollectionResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.ConfigurationMonitoringResultCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.ConfigurationMonitoringResultCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ConfigurationMonitoringResult.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ConfigurationSnapshotJob.cs b/src/Microsoft.Graph/Generated/Models/ConfigurationSnapshotJob.cs new file mode 100644 index 000000000000..7393020bc9a9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ConfigurationSnapshotJob.cs @@ -0,0 +1,191 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ConfigurationSnapshotJob : global::Microsoft.Graph.Beta.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The completedDateTime property + public DateTimeOffset? CompletedDateTime + { + get { return BackingStore?.Get("completedDateTime"); } + set { BackingStore?.Set("completedDateTime", value); } + } + /// The createdBy property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.IdentitySet? CreatedBy + { + get { return BackingStore?.Get("createdBy"); } + set { BackingStore?.Set("createdBy", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.IdentitySet CreatedBy + { + get { return BackingStore?.Get("createdBy"); } + set { BackingStore?.Set("createdBy", value); } + } +#endif + /// The createdDateTime property + public DateTimeOffset? CreatedDateTime + { + get { return BackingStore?.Get("createdDateTime"); } + set { BackingStore?.Set("createdDateTime", value); } + } + /// The description property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Description + { + get { return BackingStore?.Get("description"); } + set { BackingStore?.Set("description", value); } + } +#nullable restore +#else + public string Description + { + get { return BackingStore?.Get("description"); } + set { BackingStore?.Set("description", value); } + } +#endif + /// The displayName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// The errorDetails property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ErrorDetails + { + get { return BackingStore?.Get?>("errorDetails"); } + set { BackingStore?.Set("errorDetails", value); } + } +#nullable restore +#else + public List ErrorDetails + { + get { return BackingStore?.Get>("errorDetails"); } + set { BackingStore?.Set("errorDetails", value); } + } +#endif + /// The resourceLocation property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ResourceLocation + { + get { return BackingStore?.Get("resourceLocation"); } + set { BackingStore?.Set("resourceLocation", value); } + } +#nullable restore +#else + public string ResourceLocation + { + get { return BackingStore?.Get("resourceLocation"); } + set { BackingStore?.Set("resourceLocation", value); } + } +#endif + /// The resources property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Resources + { + get { return BackingStore?.Get?>("resources"); } + set { BackingStore?.Set("resources", value); } + } +#nullable restore +#else + public List Resources + { + get { return BackingStore?.Get>("resources"); } + set { BackingStore?.Set("resources", value); } + } +#endif + /// The status property + public global::Microsoft.Graph.Beta.Models.SnapshotJobStatus? Status + { + get { return BackingStore?.Get("status"); } + set { BackingStore?.Set("status", value); } + } + /// The tenantId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? TenantId + { + get { return BackingStore?.Get("tenantId"); } + set { BackingStore?.Set("tenantId", value); } + } +#nullable restore +#else + public string TenantId + { + get { return BackingStore?.Get("tenantId"); } + set { BackingStore?.Set("tenantId", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.ConfigurationSnapshotJob CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.ConfigurationSnapshotJob(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "completedDateTime", n => { CompletedDateTime = n.GetDateTimeOffsetValue(); } }, + { "createdBy", n => { CreatedBy = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.IdentitySet.CreateFromDiscriminatorValue); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "errorDetails", n => { ErrorDetails = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "resourceLocation", n => { ResourceLocation = n.GetStringValue(); } }, + { "resources", n => { Resources = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "status", n => { Status = n.GetEnumValue(); } }, + { "tenantId", n => { TenantId = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteObjectValue("createdBy", CreatedBy); + writer.WriteStringValue("description", Description); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteCollectionOfPrimitiveValues("resources", Resources); + writer.WriteEnumValue("status", Status); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ConfigurationSnapshotJobCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/ConfigurationSnapshotJobCollectionResponse.cs new file mode 100644 index 000000000000..87be20aea8f3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ConfigurationSnapshotJobCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ConfigurationSnapshotJobCollectionResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.ConfigurationSnapshotJobCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.ConfigurationSnapshotJobCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ConfigurationSnapshotJob.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/DeviceCompliancePolicy.cs b/src/Microsoft.Graph/Generated/Models/DeviceCompliancePolicy.cs index d1090bda124f..ca9bcef92485 100644 --- a/src/Microsoft.Graph/Generated/Models/DeviceCompliancePolicy.cs +++ b/src/Microsoft.Graph/Generated/Models/DeviceCompliancePolicy.cs @@ -137,7 +137,7 @@ public List RoleScopeTagIds set { BackingStore?.Set("roleScopeTagIds", value); } } #endif - /// The list of scheduled action for this rule + /// The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ScheduledActionsForRule diff --git a/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationChoiceSettingCollectionDefinition.cs b/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationChoiceSettingCollectionDefinition.cs index 0d119f2ee8a7..5bf8a0af1cc9 100644 --- a/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationChoiceSettingCollectionDefinition.cs +++ b/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationChoiceSettingCollectionDefinition.cs @@ -12,13 +12,13 @@ namespace Microsoft.Graph.Beta.Models public partial class DeviceManagementConfigurationChoiceSettingCollectionDefinition : global::Microsoft.Graph.Beta.Models.DeviceManagementConfigurationChoiceSettingDefinition, IParsable #pragma warning restore CS1591 { - /// Maximum number of choices in the collection. Valid values 1 to 100 + /// Maximum number of choices in the collection public int? MaximumCount { get { return BackingStore?.Get("maximumCount"); } set { BackingStore?.Set("maximumCount", value); } } - /// Minimum number of choices in the collection. Valid values 1 to 100 + /// Minimum number of choices in the collection public int? MinimumCount { get { return BackingStore?.Get("minimumCount"); } diff --git a/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationChoiceSettingDefinition.cs b/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationChoiceSettingDefinition.cs index f52f86e1480c..3986995248ec 100644 --- a/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationChoiceSettingDefinition.cs +++ b/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationChoiceSettingDefinition.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Beta.Models public partial class DeviceManagementConfigurationChoiceSettingDefinition : global::Microsoft.Graph.Beta.Models.DeviceManagementConfigurationSettingDefinition, IParsable #pragma warning restore CS1591 { - /// Default option for the choice setting. + /// Default option for choice setting #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DefaultOptionId @@ -28,7 +28,7 @@ public string DefaultOptionId set { BackingStore?.Set("defaultOptionId", value); } } #endif - /// Options for the setting that can be selected. + /// Options for the setting that can be selected #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Options diff --git a/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationReferredSettingInformation.cs b/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationReferredSettingInformation.cs index bd4e27d3a4a1..3dfc5abe6dc2 100644 --- a/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationReferredSettingInformation.cs +++ b/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationReferredSettingInformation.cs @@ -38,7 +38,7 @@ public string OdataType set { BackingStore?.Set("@odata.type", value); } } #endif - /// Setting definition id that is being referred to a setting. Applicable for reusable setting + /// Setting definition id that is being referred to a setting. Applicable for reusable setting. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? SettingDefinitionId diff --git a/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationSettingDefinition.cs b/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationSettingDefinition.cs index 91668529470e..efa41520880a 100644 --- a/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationSettingDefinition.cs +++ b/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationSettingDefinition.cs @@ -18,7 +18,7 @@ public partial class DeviceManagementConfigurationSettingDefinition : global::Mi get { return BackingStore?.Get("accessTypes"); } set { BackingStore?.Set("accessTypes", value); } } - /// Details which device setting is applicable on. Supports: $filters. + /// Details which device setting is applicable on #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.DeviceManagementConfigurationSettingApplicability? Applicability @@ -50,7 +50,7 @@ public string BaseUri set { BackingStore?.Set("baseUri", value); } } #endif - /// Specify category in which the setting is under. Support $filters. + /// Specifies the area group under which the setting is configured in a specified configuration service provider (CSP) #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? CategoryId @@ -66,7 +66,7 @@ public string CategoryId set { BackingStore?.Set("categoryId", value); } } #endif - /// Description of the setting. + /// Description of the item #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Description @@ -82,7 +82,7 @@ public string Description set { BackingStore?.Set("description", value); } } #endif - /// Name of the setting. For example: Allow Toast. + /// Display name of the item #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DisplayName @@ -98,7 +98,7 @@ public string DisplayName set { BackingStore?.Set("displayName", value); } } #endif - /// Help text of the setting. Give more details of the setting. + /// Help text of the item #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? HelpText @@ -114,7 +114,7 @@ public string HelpText set { BackingStore?.Set("helpText", value); } } #endif - /// List of links more info for the setting can be found at. + /// List of links more info for the setting can be found at #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? InfoUrls @@ -216,7 +216,7 @@ public string OffsetUri get { return BackingStore?.Get("riskLevel"); } set { BackingStore?.Set("riskLevel", value); } } - /// Root setting definition id if the setting is a child setting. + /// Root setting definition if the setting is a child setting. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? RootDefinitionId diff --git a/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationSimpleSettingCollectionDefinition.cs b/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationSimpleSettingCollectionDefinition.cs index 1475e256b386..d404905af3fb 100644 --- a/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationSimpleSettingCollectionDefinition.cs +++ b/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationSimpleSettingCollectionDefinition.cs @@ -12,13 +12,13 @@ namespace Microsoft.Graph.Beta.Models public partial class DeviceManagementConfigurationSimpleSettingCollectionDefinition : global::Microsoft.Graph.Beta.Models.DeviceManagementConfigurationSimpleSettingDefinition, IParsable #pragma warning restore CS1591 { - /// Maximum number of simple settings in the collection + /// Maximum number of simple settings in the collection. Valid values 1 to 100 public int? MaximumCount { get { return BackingStore?.Get("maximumCount"); } set { BackingStore?.Set("maximumCount", value); } } - /// Minimum number of simple settings in the collection + /// Minimum number of simple settings in the collection. Valid values 1 to 100 public int? MinimumCount { get { return BackingStore?.Get("minimumCount"); } diff --git a/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationSimpleSettingDefinition.cs b/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationSimpleSettingDefinition.cs index 709accd708a9..9edac36a142c 100644 --- a/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationSimpleSettingDefinition.cs +++ b/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationSimpleSettingDefinition.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Beta.Models public partial class DeviceManagementConfigurationSimpleSettingDefinition : global::Microsoft.Graph.Beta.Models.DeviceManagementConfigurationSettingDefinition, IParsable #pragma warning restore CS1591 { - /// Default setting value for this setting + /// Default setting value for this setting. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.DeviceManagementConfigurationSettingValue? DefaultValue @@ -28,7 +28,7 @@ public partial class DeviceManagementConfigurationSimpleSettingDefinition : glob set { BackingStore?.Set("defaultValue", value); } } #endif - /// list of child settings that depend on this setting + /// list of child settings that depend on this setting. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? DependedOnBy @@ -44,7 +44,7 @@ public partial class DeviceManagementConfigurationSimpleSettingDefinition : glob set { BackingStore?.Set("dependedOnBy", value); } } #endif - /// list of parent settings this setting is dependent on + /// list of parent settings this setting is dependent on. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? DependentOn @@ -60,7 +60,7 @@ public partial class DeviceManagementConfigurationSimpleSettingDefinition : glob set { BackingStore?.Set("dependentOn", value); } } #endif - /// Definition of the value for this setting + /// Definition of the value for this setting. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.DeviceManagementConfigurationSettingValueDefinition? ValueDefinition diff --git a/src/Microsoft.Graph/Generated/Models/DeviceMetadata.cs b/src/Microsoft.Graph/Generated/Models/DeviceMetadata.cs new file mode 100644 index 000000000000..285f980600be --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/DeviceMetadata.cs @@ -0,0 +1,117 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DeviceMetadata : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// Optional. The general type of the device (for example, 'Managed', 'Unmanaged'). +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DeviceType + { + get { return BackingStore?.Get("deviceType"); } + set { BackingStore?.Set("deviceType", value); } + } +#nullable restore +#else + public string DeviceType + { + get { return BackingStore?.Get("deviceType"); } + set { BackingStore?.Set("deviceType", value); } + } +#endif + /// The Internet Protocol (IP) address of the device. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? IpAddress + { + get { return BackingStore?.Get("ipAddress"); } + set { BackingStore?.Set("ipAddress", value); } + } +#nullable restore +#else + public string IpAddress + { + get { return BackingStore?.Get("ipAddress"); } + set { BackingStore?.Set("ipAddress", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public DeviceMetadata() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.DeviceMetadata CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.DeviceMetadata(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "deviceType", n => { DeviceType = n.GetStringValue(); } }, + { "ipAddress", n => { IpAddress = 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("deviceType", DeviceType); + writer.WriteStringValue("ipAddress", IpAddress); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Dictionary.cs b/src/Microsoft.Graph/Generated/Models/Dictionary.cs index 116104c01c9b..b80f143a0658 100644 --- a/src/Microsoft.Graph/Generated/Models/Dictionary.cs +++ b/src/Microsoft.Graph/Generated/Models/Dictionary.cs @@ -60,6 +60,7 @@ public Dictionary() "#microsoft.graph.customAppScopeAttributesDictionary" => new global::Microsoft.Graph.Beta.Models.CustomAppScopeAttributesDictionary(), "#microsoft.graph.customMetadataDictionary" => new global::Microsoft.Graph.Beta.Models.CustomMetadataDictionary(), "#microsoft.graph.fileStorageContainerCustomPropertyDictionary" => new global::Microsoft.Graph.Beta.Models.FileStorageContainerCustomPropertyDictionary(), + "#microsoft.graph.openComplexDictionaryType" => new global::Microsoft.Graph.Beta.Models.OpenComplexDictionaryType(), "#microsoft.graph.partner.security.additionalDataDictionary" => new global::Microsoft.Graph.Beta.Models.Partner.Security.AdditionalDataDictionary(), "#microsoft.graph.plannerFormsDictionary" => new global::Microsoft.Graph.Beta.Models.PlannerFormsDictionary(), "#microsoft.graph.resultTemplateDictionary" => new global::Microsoft.Graph.Beta.Models.ResultTemplateDictionary(), diff --git a/src/Microsoft.Graph/Generated/Models/DriftStatus.cs b/src/Microsoft.Graph/Generated/Models/DriftStatus.cs new file mode 100644 index 000000000000..1bc7e59d0c5e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/DriftStatus.cs @@ -0,0 +1,23 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum DriftStatus + #pragma warning restore CS1591 + { + [EnumMember(Value = "active")] + #pragma warning disable CS1591 + Active, + #pragma warning restore CS1591 + [EnumMember(Value = "fixed")] + #pragma warning disable CS1591 + Fixed, + #pragma warning restore CS1591 + /// A marker value for members added after the release of this API. + [EnumMember(Value = "unknownFutureValue")] + UnknownFutureValue, + } +} diff --git a/src/Microsoft.Graph/Generated/Models/DriftedProperty.cs b/src/Microsoft.Graph/Generated/Models/DriftedProperty.cs new file mode 100644 index 000000000000..cde98af9ce11 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/DriftedProperty.cs @@ -0,0 +1,132 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DriftedProperty : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The currentValue property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public UntypedNode? CurrentValue + { + get { return BackingStore?.Get("currentValue"); } + set { BackingStore?.Set("currentValue", value); } + } +#nullable restore +#else + public UntypedNode CurrentValue + { + get { return BackingStore?.Get("currentValue"); } + set { BackingStore?.Set("currentValue", value); } + } +#endif + /// The desiredValue property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public UntypedNode? DesiredValue + { + get { return BackingStore?.Get("desiredValue"); } + set { BackingStore?.Set("desiredValue", value); } + } +#nullable restore +#else + public UntypedNode DesiredValue + { + get { return BackingStore?.Get("desiredValue"); } + set { BackingStore?.Set("desiredValue", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The propertyName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? PropertyName + { + get { return BackingStore?.Get("propertyName"); } + set { BackingStore?.Set("propertyName", value); } + } +#nullable restore +#else + public string PropertyName + { + get { return BackingStore?.Get("propertyName"); } + set { BackingStore?.Set("propertyName", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public DriftedProperty() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.DriftedProperty CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.DriftedProperty(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "currentValue", n => { CurrentValue = n.GetObjectValue(UntypedNode.CreateFromDiscriminatorValue); } }, + { "desiredValue", n => { DesiredValue = n.GetObjectValue(UntypedNode.CreateFromDiscriminatorValue); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "propertyName", n => { PropertyName = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/EmailNotificationsSetting.cs b/src/Microsoft.Graph/Generated/Models/EmailNotificationsSetting.cs new file mode 100644 index 000000000000..7071fa9f2d74 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/EmailNotificationsSetting.cs @@ -0,0 +1,80 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class EmailNotificationsSetting : global::Microsoft.Graph.Beta.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The additionalEvents property + public global::Microsoft.Graph.Beta.Models.NotificationEventsType? AdditionalEvents + { + get { return BackingStore?.Get("additionalEvents"); } + set { BackingStore?.Set("additionalEvents", value); } + } + /// Indicates whether notifications are enabled. + public bool? IsEnabled + { + get { return BackingStore?.Get("isEnabled"); } + set { BackingStore?.Set("isEnabled", value); } + } + /// The recipients property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.NotificationRecipients? Recipients + { + get { return BackingStore?.Get("recipients"); } + set { BackingStore?.Set("recipients", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.NotificationRecipients Recipients + { + get { return BackingStore?.Get("recipients"); } + set { BackingStore?.Set("recipients", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.EmailNotificationsSetting CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.EmailNotificationsSetting(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "additionalEvents", n => { AdditionalEvents = n.GetEnumValue(); } }, + { "isEnabled", n => { IsEnabled = n.GetBoolValue(); } }, + { "recipients", n => { Recipients = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.NotificationRecipients.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.WriteEnumValue("additionalEvents", AdditionalEvents); + writer.WriteBoolValue("isEnabled", IsEnabled); + writer.WriteObjectValue("recipients", Recipients); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Entity.cs b/src/Microsoft.Graph/Generated/Models/Entity.cs index 398613d47b5d..8362bcb9e45b 100644 --- a/src/Microsoft.Graph/Generated/Models/Entity.cs +++ b/src/Microsoft.Graph/Generated/Models/Entity.cs @@ -447,6 +447,13 @@ public Entity() "#microsoft.graph.conditionalAccessRoot" => new global::Microsoft.Graph.Beta.Models.ConditionalAccessRoot(), "#microsoft.graph.conditionalAccessTemplate" => new global::Microsoft.Graph.Beta.Models.ConditionalAccessTemplate(), "#microsoft.graph.configManagerCollection" => new global::Microsoft.Graph.Beta.Models.ConfigManagerCollection(), + "#microsoft.graph.configurationApplication" => new global::Microsoft.Graph.Beta.Models.ConfigurationApplication(), + "#microsoft.graph.configurationBaseline" => new global::Microsoft.Graph.Beta.Models.ConfigurationBaseline(), + "#microsoft.graph.configurationDrift" => new global::Microsoft.Graph.Beta.Models.ConfigurationDrift(), + "#microsoft.graph.configurationManagement" => new global::Microsoft.Graph.Beta.Models.ConfigurationManagement(), + "#microsoft.graph.configurationMonitor" => new global::Microsoft.Graph.Beta.Models.ConfigurationMonitor(), + "#microsoft.graph.configurationMonitoringResult" => new global::Microsoft.Graph.Beta.Models.ConfigurationMonitoringResult(), + "#microsoft.graph.configurationSnapshotJob" => new global::Microsoft.Graph.Beta.Models.ConfigurationSnapshotJob(), "#microsoft.graph.connectedOrganization" => new global::Microsoft.Graph.Beta.Models.ConnectedOrganization(), "#microsoft.graph.connectionOperation" => new global::Microsoft.Graph.Beta.Models.ConnectionOperation(), "#microsoft.graph.connector" => new global::Microsoft.Graph.Beta.Models.Connector(), @@ -724,6 +731,7 @@ public Entity() "#microsoft.graph.emailAuthenticationMethod" => new global::Microsoft.Graph.Beta.Models.EmailAuthenticationMethod(), "#microsoft.graph.emailAuthenticationMethodConfiguration" => new global::Microsoft.Graph.Beta.Models.EmailAuthenticationMethodConfiguration(), "#microsoft.graph.emailFileAssessmentRequest" => new global::Microsoft.Graph.Beta.Models.EmailFileAssessmentRequest(), + "#microsoft.graph.emailNotificationsSetting" => new global::Microsoft.Graph.Beta.Models.EmailNotificationsSetting(), "#microsoft.graph.embeddedSIMActivationCodePool" => new global::Microsoft.Graph.Beta.Models.EmbeddedSIMActivationCodePool(), "#microsoft.graph.embeddedSIMActivationCodePoolAssignment" => new global::Microsoft.Graph.Beta.Models.EmbeddedSIMActivationCodePoolAssignment(), "#microsoft.graph.embeddedSIMDeviceState" => new global::Microsoft.Graph.Beta.Models.EmbeddedSIMDeviceState(), diff --git a/src/Microsoft.Graph/Generated/Models/ErrorDetail.cs b/src/Microsoft.Graph/Generated/Models/ErrorDetail.cs new file mode 100644 index 000000000000..470149165145 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ErrorDetail.cs @@ -0,0 +1,132 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ErrorDetail : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The errorMessage property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ErrorMessage + { + get { return BackingStore?.Get("errorMessage"); } + set { BackingStore?.Set("errorMessage", value); } + } +#nullable restore +#else + public string ErrorMessage + { + get { return BackingStore?.Get("errorMessage"); } + set { BackingStore?.Set("errorMessage", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The resourceInstanceName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ResourceInstanceName + { + get { return BackingStore?.Get("resourceInstanceName"); } + set { BackingStore?.Set("resourceInstanceName", value); } + } +#nullable restore +#else + public string ResourceInstanceName + { + get { return BackingStore?.Get("resourceInstanceName"); } + set { BackingStore?.Set("resourceInstanceName", value); } + } +#endif + /// The resourceType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ResourceType + { + get { return BackingStore?.Get("resourceType"); } + set { BackingStore?.Set("resourceType", value); } + } +#nullable restore +#else + public string ResourceType + { + get { return BackingStore?.Get("resourceType"); } + set { BackingStore?.Set("resourceType", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ErrorDetail() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.ErrorDetail CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.ErrorDetail(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "errorMessage", n => { ErrorMessage = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "resourceInstanceName", n => { ResourceInstanceName = n.GetStringValue(); } }, + { "resourceType", n => { ResourceType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ExecutionMode.cs b/src/Microsoft.Graph/Generated/Models/ExecutionMode.cs new file mode 100644 index 000000000000..f5b780fbdbd0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ExecutionMode.cs @@ -0,0 +1,24 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum ExecutionMode + #pragma warning restore CS1591 + { + [EnumMember(Value = "evaluateInline")] + #pragma warning disable CS1591 + EvaluateInline, + #pragma warning restore CS1591 + [EnumMember(Value = "evaluateOffline")] + #pragma warning disable CS1591 + EvaluateOffline, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/GroupScope.cs b/src/Microsoft.Graph/Generated/Models/GroupScope.cs new file mode 100644 index 000000000000..7c31be350ff7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/GroupScope.cs @@ -0,0 +1,53 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class GroupScope : global::Microsoft.Graph.Beta.Models.ScopeBase, IParsable + #pragma warning restore CS1591 + { + /// + /// Instantiates a new and sets the default values. + /// + public GroupScope() : base() + { + OdataType = "#microsoft.graph.groupScope"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.GroupScope CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.GroupScope(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Identity.cs b/src/Microsoft.Graph/Generated/Models/Identity.cs index 9d31146a14d1..3d1367841861 100644 --- a/src/Microsoft.Graph/Generated/Models/Identity.cs +++ b/src/Microsoft.Graph/Generated/Models/Identity.cs @@ -23,7 +23,7 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The display name of the identity. This property is read-only. + /// The display name of the identity. For drive items, the display name might not always be available or up to date. For example, if a user changes their display name the API might show the new value in a future response, but the items associated with the user don't show up as changed when using delta. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DisplayName @@ -39,7 +39,7 @@ public string DisplayName set { BackingStore?.Set("displayName", value); } } #endif - /// The identifier of the identity. This property is read-only. + /// Unique identifier for the identity or actor. For example, in the access reviews decisions API, this property might record the id of the principal, that is, the group, user, or application that's subject to review. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Id diff --git a/src/Microsoft.Graph/Generated/Models/IdentitySet.cs b/src/Microsoft.Graph/Generated/Models/IdentitySet.cs index c08d9323faee..e83f60f1394a 100644 --- a/src/Microsoft.Graph/Generated/Models/IdentitySet.cs +++ b/src/Microsoft.Graph/Generated/Models/IdentitySet.cs @@ -19,7 +19,7 @@ public IDictionary AdditionalData get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } set { BackingStore.Set("AdditionalData", value); } } - /// The Identity of the Application. This property is read-only. + /// Optional. The application associated with this action. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.Identity? Application @@ -37,7 +37,7 @@ public IDictionary AdditionalData #endif /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The Identity of the Device. This property is read-only. + /// Optional. The device associated with this action. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.Identity? Device @@ -69,7 +69,7 @@ public string OdataType set { BackingStore?.Set("@odata.type", value); } } #endif - /// The Identity of the User. This property is read-only. + /// Optional. The user associated with this action. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.Identity? User diff --git a/src/Microsoft.Graph/Generated/Models/IosLobAppProvisioningConfiguration.cs b/src/Microsoft.Graph/Generated/Models/IosLobAppProvisioningConfiguration.cs index e9016e01e014..2b513be40e6f 100644 --- a/src/Microsoft.Graph/Generated/Models/IosLobAppProvisioningConfiguration.cs +++ b/src/Microsoft.Graph/Generated/Models/IosLobAppProvisioningConfiguration.cs @@ -13,7 +13,7 @@ namespace Microsoft.Graph.Beta.Models [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class IosLobAppProvisioningConfiguration : global::Microsoft.Graph.Beta.Models.Entity, IParsable { - /// The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. + /// The associated group assignments for IosLobAppProvisioningConfiguration. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Assignments @@ -83,7 +83,7 @@ public string DisplayName set { BackingStore?.Set("displayName", value); } } #endif - /// Optional profile expiration date and time. 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 would look like this: '2014-01-01T00:00:00Z'. Returned by default. + /// Optional profile expiration date and time. public DateTimeOffset? ExpirationDateTime { get { return BackingStore?.Get("expirationDateTime"); } diff --git a/src/Microsoft.Graph/Generated/Models/KeyValue.cs b/src/Microsoft.Graph/Generated/Models/KeyValue.cs index 885de6a108cb..78ddab06a5ba 100644 --- a/src/Microsoft.Graph/Generated/Models/KeyValue.cs +++ b/src/Microsoft.Graph/Generated/Models/KeyValue.cs @@ -21,7 +21,7 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// Key. + /// Contains the name of the field that a value is associated with. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Key @@ -53,7 +53,7 @@ public string OdataType set { BackingStore?.Set("@odata.type", value); } } #endif - /// Value. + /// Contains the corresponding value for the specified key. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Value diff --git a/src/Microsoft.Graph/Generated/Models/KeyValuePair.cs b/src/Microsoft.Graph/Generated/Models/KeyValuePair.cs index 39fc2864fd1f..1aa08145d6b4 100644 --- a/src/Microsoft.Graph/Generated/Models/KeyValuePair.cs +++ b/src/Microsoft.Graph/Generated/Models/KeyValuePair.cs @@ -21,7 +21,7 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// Name for this key-value pair + /// Name for this key-value pair. For more information about possible names for each resource type that uses this configuration, see keyValuePair names and values. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Name @@ -53,7 +53,7 @@ public string OdataType set { BackingStore?.Set("@odata.type", value); } } #endif - /// Value for this key-value pair + /// Value for this key-value pair. For more information about possible values for each resource type that uses this configuration, see keyValuePair names and values. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Value diff --git a/src/Microsoft.Graph/Generated/Models/MobileAppTroubleshootingEvent.cs b/src/Microsoft.Graph/Generated/Models/MobileAppTroubleshootingEvent.cs index 6c0cc82d5ea5..9011e830be59 100644 --- a/src/Microsoft.Graph/Generated/Models/MobileAppTroubleshootingEvent.cs +++ b/src/Microsoft.Graph/Generated/Models/MobileAppTroubleshootingEvent.cs @@ -29,7 +29,7 @@ public string ApplicationId set { BackingStore?.Set("applicationId", value); } } #endif - /// The collection property of AppLogUploadRequest. + /// Indicates collection of App Log Upload Request. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? AppLogCollectionRequests diff --git a/src/Microsoft.Graph/Generated/Models/MonitorMode.cs b/src/Microsoft.Graph/Generated/Models/MonitorMode.cs new file mode 100644 index 000000000000..769944334fbf --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/MonitorMode.cs @@ -0,0 +1,19 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum MonitorMode + #pragma warning restore CS1591 + { + [EnumMember(Value = "monitorOnly")] + #pragma warning disable CS1591 + MonitorOnly, + #pragma warning restore CS1591 + /// A marker value for members added after the release of this API. + [EnumMember(Value = "unknownFutureValue")] + UnknownFutureValue, + } +} diff --git a/src/Microsoft.Graph/Generated/Models/MonitorRunStatus.cs b/src/Microsoft.Graph/Generated/Models/MonitorRunStatus.cs new file mode 100644 index 000000000000..ced9eba85d98 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/MonitorRunStatus.cs @@ -0,0 +1,27 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum MonitorRunStatus + #pragma warning restore CS1591 + { + [EnumMember(Value = "successful")] + #pragma warning disable CS1591 + Successful, + #pragma warning restore CS1591 + [EnumMember(Value = "partiallySuccessful")] + #pragma warning disable CS1591 + PartiallySuccessful, + #pragma warning restore CS1591 + [EnumMember(Value = "failed")] + #pragma warning disable CS1591 + Failed, + #pragma warning restore CS1591 + /// A marker value for members added after the release of this API. + [EnumMember(Value = "unknownFutureValue")] + UnknownFutureValue, + } +} diff --git a/src/Microsoft.Graph/Generated/Models/MonitorStatus.cs b/src/Microsoft.Graph/Generated/Models/MonitorStatus.cs new file mode 100644 index 000000000000..b31cafe32140 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/MonitorStatus.cs @@ -0,0 +1,27 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum MonitorStatus + #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 = "inactivatedBySystem")] + #pragma warning disable CS1591 + InactivatedBySystem, + #pragma warning restore CS1591 + /// A marker value for members added after the release of this API. + [EnumMember(Value = "unknownFutureValue")] + UnknownFutureValue, + } +} diff --git a/src/Microsoft.Graph/Generated/Models/NotificationEventsType.cs b/src/Microsoft.Graph/Generated/Models/NotificationEventsType.cs new file mode 100644 index 000000000000..a67bc7dee297 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/NotificationEventsType.cs @@ -0,0 +1,25 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + [Flags] + #pragma warning disable CS1591 + public enum NotificationEventsType + #pragma warning restore CS1591 + { + [EnumMember(Value = "none")] + #pragma warning disable CS1591 + None = 1, + #pragma warning restore CS1591 + [EnumMember(Value = "restoreAndPolicyUpdates")] + #pragma warning disable CS1591 + RestoreAndPolicyUpdates = 2, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue = 4, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/NotificationRecipients.cs b/src/Microsoft.Graph/Generated/Models/NotificationRecipients.cs new file mode 100644 index 000000000000..b9b04f699164 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/NotificationRecipients.cs @@ -0,0 +1,107 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class NotificationRecipients : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// A list of users or groups that receive notifications. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? CustomRecipients + { + get { return BackingStore?.Get?>("customRecipients"); } + set { BackingStore?.Set("customRecipients", value); } + } +#nullable restore +#else + public List CustomRecipients + { + get { return BackingStore?.Get>("customRecipients"); } + set { BackingStore?.Set("customRecipients", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The role property + public global::Microsoft.Graph.Beta.Models.NotificationRecipientsType? Role + { + get { return BackingStore?.Get("role"); } + set { BackingStore?.Set("role", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public NotificationRecipients() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.NotificationRecipients CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.NotificationRecipients(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "customRecipients", n => { CustomRecipients = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.EmailIdentity.CreateFromDiscriminatorValue)?.AsList(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "role", n => { Role = n.GetEnumValue(); } }, + }; + } + /// + /// 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("customRecipients", CustomRecipients); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteEnumValue("role", Role); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/NotificationRecipientsType.cs b/src/Microsoft.Graph/Generated/Models/NotificationRecipientsType.cs new file mode 100644 index 000000000000..87cba9a982b0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/NotificationRecipientsType.cs @@ -0,0 +1,37 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + [Flags] + #pragma warning disable CS1591 + public enum NotificationRecipientsType + #pragma warning restore CS1591 + { + [EnumMember(Value = "none")] + #pragma warning disable CS1591 + None = 1, + #pragma warning restore CS1591 + [EnumMember(Value = "globalAdmins")] + #pragma warning disable CS1591 + GlobalAdmins = 2, + #pragma warning restore CS1591 + [EnumMember(Value = "backupAdmins")] + #pragma warning disable CS1591 + BackupAdmins = 4, + #pragma warning restore CS1591 + [EnumMember(Value = "custom")] + #pragma warning disable CS1591 + Custom = 8, + #pragma warning restore CS1591 + [EnumMember(Value = "allAdmins")] + #pragma warning disable CS1591 + AllAdmins = 16, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue = 32, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/OpenComplexDictionaryType.cs b/src/Microsoft.Graph/Generated/Models/OpenComplexDictionaryType.cs new file mode 100644 index 000000000000..baa3b1c3cccd --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/OpenComplexDictionaryType.cs @@ -0,0 +1,46 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class OpenComplexDictionaryType : global::Microsoft.Graph.Beta.Models.Dictionary, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.OpenComplexDictionaryType CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.OpenComplexDictionaryType(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/PolicyBinding.cs b/src/Microsoft.Graph/Generated/Models/PolicyBinding.cs new file mode 100644 index 000000000000..529de1f99ca9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/PolicyBinding.cs @@ -0,0 +1,117 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class PolicyBinding : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// Specifies the users or groups to be explicitly excluded from this policy scope. Can be null or empty. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Exclusions + { + get { return BackingStore?.Get?>("exclusions"); } + set { BackingStore?.Set("exclusions", value); } + } +#nullable restore +#else + public List Exclusions + { + get { return BackingStore?.Get>("exclusions"); } + set { BackingStore?.Set("exclusions", value); } + } +#endif + /// Specifies the users or groups to be included in this policy scope. Often set to tenantScope for 'All users'. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Inclusions + { + get { return BackingStore?.Get?>("inclusions"); } + set { BackingStore?.Set("inclusions", value); } + } +#nullable restore +#else + public List Inclusions + { + get { return BackingStore?.Get>("inclusions"); } + set { BackingStore?.Set("inclusions", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public PolicyBinding() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.PolicyBinding CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.PolicyBinding(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "exclusions", n => { Exclusions = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ScopeBase.CreateFromDiscriminatorValue)?.AsList(); } }, + { "inclusions", n => { Inclusions = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ScopeBase.CreateFromDiscriminatorValue)?.AsList(); } }, + { "@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("exclusions", Exclusions); + writer.WriteCollectionOfObjectValues("inclusions", Inclusions); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/PolicyPivotProperty.cs b/src/Microsoft.Graph/Generated/Models/PolicyPivotProperty.cs new file mode 100644 index 000000000000..1c19227cf63d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/PolicyPivotProperty.cs @@ -0,0 +1,28 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum PolicyPivotProperty + #pragma warning restore CS1591 + { + [EnumMember(Value = "none")] + #pragma warning disable CS1591 + None, + #pragma warning restore CS1591 + [EnumMember(Value = "activity")] + #pragma warning disable CS1591 + Activity, + #pragma warning restore CS1591 + [EnumMember(Value = "location")] + #pragma warning disable CS1591 + Location, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/PolicyScopeBase.cs b/src/Microsoft.Graph/Generated/Models/PolicyScopeBase.cs new file mode 100644 index 000000000000..7bb6495ab058 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/PolicyScopeBase.cs @@ -0,0 +1,139 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class PolicyScopeBase : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// The activities property + public global::Microsoft.Graph.Beta.Models.UserActivityTypes? Activities + { + get { return BackingStore?.Get("activities"); } + set { BackingStore?.Set("activities", value); } + } + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The executionMode property + public global::Microsoft.Graph.Beta.Models.ExecutionMode? ExecutionMode + { + get { return BackingStore?.Get("executionMode"); } + set { BackingStore?.Set("executionMode", value); } + } + /// The locations (like domains or URLs) to be protected. Required. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Locations + { + get { return BackingStore?.Get?>("locations"); } + set { BackingStore?.Set("locations", value); } + } +#nullable restore +#else + public List Locations + { + get { return BackingStore?.Get>("locations"); } + set { BackingStore?.Set("locations", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The enforcement actions to take if the policy conditions are met within this scope. Required. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? PolicyActions + { + get { return BackingStore?.Get?>("policyActions"); } + set { BackingStore?.Set("policyActions", value); } + } +#nullable restore +#else + public List PolicyActions + { + get { return BackingStore?.Get>("policyActions"); } + set { BackingStore?.Set("policyActions", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public PolicyScopeBase() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.PolicyScopeBase CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.policyTenantScope" => new global::Microsoft.Graph.Beta.Models.PolicyTenantScope(), + "#microsoft.graph.policyUserScope" => new global::Microsoft.Graph.Beta.Models.PolicyUserScope(), + _ => new global::Microsoft.Graph.Beta.Models.PolicyScopeBase(), + }; + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "activities", n => { Activities = n.GetEnumValue(); } }, + { "executionMode", n => { ExecutionMode = n.GetEnumValue(); } }, + { "locations", n => { Locations = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.PolicyLocation.CreateFromDiscriminatorValue)?.AsList(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "policyActions", n => { PolicyActions = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.DlpActionInfo.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteEnumValue("activities", Activities); + writer.WriteEnumValue("executionMode", ExecutionMode); + writer.WriteCollectionOfObjectValues("locations", Locations); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteCollectionOfObjectValues("policyActions", PolicyActions); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/PolicyTenantScope.cs b/src/Microsoft.Graph/Generated/Models/PolicyTenantScope.cs new file mode 100644 index 000000000000..72c5e5c9d299 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/PolicyTenantScope.cs @@ -0,0 +1,71 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class PolicyTenantScope : global::Microsoft.Graph.Beta.Models.PolicyScopeBase, IParsable + #pragma warning restore CS1591 + { + /// Specifies the users and groups included in or excluded from this tenant-level policy scope. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.PolicyBinding? PolicyScope + { + get { return BackingStore?.Get("policyScope"); } + set { BackingStore?.Set("policyScope", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.PolicyBinding PolicyScope + { + get { return BackingStore?.Get("policyScope"); } + set { BackingStore?.Set("policyScope", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public PolicyTenantScope() : base() + { + OdataType = "#microsoft.graph.policyTenantScope"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.PolicyTenantScope CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.PolicyTenantScope(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "policyScope", n => { PolicyScope = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.PolicyBinding.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteObjectValue("policyScope", PolicyScope); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/PolicyUserScope.cs b/src/Microsoft.Graph/Generated/Models/PolicyUserScope.cs new file mode 100644 index 000000000000..c67f7dc4f241 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/PolicyUserScope.cs @@ -0,0 +1,53 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class PolicyUserScope : global::Microsoft.Graph.Beta.Models.PolicyScopeBase, IParsable + #pragma warning restore CS1591 + { + /// + /// Instantiates a new and sets the default values. + /// + public PolicyUserScope() : base() + { + OdataType = "#microsoft.graph.policyUserScope"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.PolicyUserScope CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.PolicyUserScope(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/PrivilegedAccessGroupAssignmentSchedule.cs b/src/Microsoft.Graph/Generated/Models/PrivilegedAccessGroupAssignmentSchedule.cs index 96c0704249d4..e2d2ef33e5f2 100644 --- a/src/Microsoft.Graph/Generated/Models/PrivilegedAccessGroupAssignmentSchedule.cs +++ b/src/Microsoft.Graph/Generated/Models/PrivilegedAccessGroupAssignmentSchedule.cs @@ -18,7 +18,7 @@ public partial class PrivilegedAccessGroupAssignmentSchedule : global::Microsoft get { return BackingStore?.Get("accessId"); } set { BackingStore?.Set("accessId", value); } } - /// 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. + /// 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. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.PrivilegedAccessGroupEligibilitySchedule? ActivatedUsing @@ -40,7 +40,7 @@ public partial class PrivilegedAccessGroupAssignmentSchedule : global::Microsoft get { return BackingStore?.Get("assignmentType"); } set { BackingStore?.Set("assignmentType", value); } } - /// 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. + /// 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. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.Group? Group @@ -56,7 +56,7 @@ public partial class PrivilegedAccessGroupAssignmentSchedule : global::Microsoft set { BackingStore?.Set("group", value); } } #endif - /// The identifier of the group representing the scope of the membership or ownership assignment through PIM for groups. Required. Supports $filter (eq). + /// The identifier of the group representing the scope of the membership or ownership assignment through PIM for Groups. Required. Supports $filter (eq). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? GroupId @@ -94,7 +94,7 @@ public string GroupId set { BackingStore?.Set("principal", value); } } #endif - /// The identifier of the principal whose membership or ownership assignment is granted through PIM for groups. Required. Supports $filter (eq). + /// The identifier of the principal whose membership or ownership assignment is granted through PIM for Groups. Required. Supports $filter (eq). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? PrincipalId diff --git a/src/Microsoft.Graph/Generated/Models/PrivilegedAccessGroupAssignmentScheduleInstance.cs b/src/Microsoft.Graph/Generated/Models/PrivilegedAccessGroupAssignmentScheduleInstance.cs index 414dd3c07ecb..831df66d41a8 100644 --- a/src/Microsoft.Graph/Generated/Models/PrivilegedAccessGroupAssignmentScheduleInstance.cs +++ b/src/Microsoft.Graph/Generated/Models/PrivilegedAccessGroupAssignmentScheduleInstance.cs @@ -18,7 +18,7 @@ public partial class PrivilegedAccessGroupAssignmentScheduleInstance : global::M get { return BackingStore?.Get("accessId"); } set { BackingStore?.Set("accessId", value); } } - /// When the request activates a membership or ownership in PIM for groups, this object represents the eligibility request for the group. Otherwise, it's null. + /// When the request activates a membership or ownership in PIM for Groups, this object represents the eligibility request for the group. Otherwise, it's null. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.PrivilegedAccessGroupEligibilityScheduleInstance? ActivatedUsing @@ -56,7 +56,7 @@ public string AssignmentScheduleId get { return BackingStore?.Get("assignmentType"); } set { BackingStore?.Set("assignmentType", value); } } - /// References the group that is the scope of the membership or ownership assignment through PIM for groups. Supports $expand. + /// References the group that is the scope of the membership or ownership assignment through PIM for Groups. Supports $expand. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.Group? Group @@ -72,7 +72,7 @@ public string AssignmentScheduleId set { BackingStore?.Set("group", value); } } #endif - /// The identifier of the group representing the scope of the membership or ownership assignment through PIM for groups. Optional. Supports $filter (eq). + /// The identifier of the group representing the scope of the membership or ownership assignment through PIM for Groups. Optional. Supports $filter (eq). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? GroupId @@ -110,7 +110,7 @@ public string GroupId set { BackingStore?.Set("principal", value); } } #endif - /// The identifier of the principal whose membership or ownership assignment to the group is managed through PIM for groups. Required. Supports $filter (eq). + /// The identifier of the principal whose membership or ownership assignment to the group is managed through PIM for Groups. Required. Supports $filter (eq). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? PrincipalId diff --git a/src/Microsoft.Graph/Generated/Models/PrivilegedAccessGroupAssignmentScheduleRequest.cs b/src/Microsoft.Graph/Generated/Models/PrivilegedAccessGroupAssignmentScheduleRequest.cs index e3df4eb3c321..ab35a22acf48 100644 --- a/src/Microsoft.Graph/Generated/Models/PrivilegedAccessGroupAssignmentScheduleRequest.cs +++ b/src/Microsoft.Graph/Generated/Models/PrivilegedAccessGroupAssignmentScheduleRequest.cs @@ -18,7 +18,7 @@ public partial class PrivilegedAccessGroupAssignmentScheduleRequest : global::Mi get { return BackingStore?.Get("accessId"); } set { BackingStore?.Set("accessId", value); } } - /// 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. + /// 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. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.PrivilegedAccessGroupEligibilitySchedule? ActivatedUsing @@ -34,7 +34,7 @@ public partial class PrivilegedAccessGroupAssignmentScheduleRequest : global::Mi set { BackingStore?.Set("activatedUsing", value); } } #endif - /// 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. + /// 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. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.Group? Group @@ -50,7 +50,7 @@ public partial class PrivilegedAccessGroupAssignmentScheduleRequest : global::Mi set { BackingStore?.Set("group", value); } } #endif - /// The identifier of the group representing the scope of the membership or ownership assignment through PIM for groups. Required. + /// The identifier of the group representing the scope of the membership or ownership assignment through PIM for Groups. Required. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? GroupId @@ -82,7 +82,7 @@ public string GroupId set { BackingStore?.Set("principal", value); } } #endif - /// The identifier of the principal whose membership or ownership assignment to the group is managed through PIM for groups. Supports $filter (eq, ne). + /// The identifier of the principal whose membership or ownership assignment to the group is managed through PIM for Groups. Supports $filter (eq, ne). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? PrincipalId diff --git a/src/Microsoft.Graph/Generated/Models/PrivilegedAccessGroupEligibilitySchedule.cs b/src/Microsoft.Graph/Generated/Models/PrivilegedAccessGroupEligibilitySchedule.cs index 0d65a7611964..5d52768adfee 100644 --- a/src/Microsoft.Graph/Generated/Models/PrivilegedAccessGroupEligibilitySchedule.cs +++ b/src/Microsoft.Graph/Generated/Models/PrivilegedAccessGroupEligibilitySchedule.cs @@ -18,7 +18,7 @@ public partial class PrivilegedAccessGroupEligibilitySchedule : global::Microsof get { return BackingStore?.Get("accessId"); } set { BackingStore?.Set("accessId", value); } } - /// References the group that is the scope of the membership or ownership eligibility through PIM for groups. Supports $expand. + /// References the group that is the scope of the membership or ownership eligibility through PIM for Groups. Supports $expand. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.Group? Group @@ -34,7 +34,7 @@ public partial class PrivilegedAccessGroupEligibilitySchedule : global::Microsof set { BackingStore?.Set("group", value); } } #endif - /// The identifier of the group representing the scope of the membership or ownership eligibility through PIM for groups. Required. Supports $filter (eq). + /// The identifier of the group representing the scope of the membership or ownership eligibility through PIM for Groups. Required. Supports $filter (eq). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? GroupId @@ -72,7 +72,7 @@ public string GroupId set { BackingStore?.Set("principal", value); } } #endif - /// The identifier of the principal whose membership or ownership eligibility is granted through PIM for groups. Required. Supports $filter (eq). + /// The identifier of the principal whose membership or ownership eligibility is granted through PIM for Groups. Required. Supports $filter (eq). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? PrincipalId diff --git a/src/Microsoft.Graph/Generated/Models/PrivilegedAccessGroupEligibilityScheduleInstance.cs b/src/Microsoft.Graph/Generated/Models/PrivilegedAccessGroupEligibilityScheduleInstance.cs index f1c822e26e0a..57a89570489c 100644 --- a/src/Microsoft.Graph/Generated/Models/PrivilegedAccessGroupEligibilityScheduleInstance.cs +++ b/src/Microsoft.Graph/Generated/Models/PrivilegedAccessGroupEligibilityScheduleInstance.cs @@ -34,7 +34,7 @@ public string EligibilityScheduleId set { BackingStore?.Set("eligibilityScheduleId", value); } } #endif - /// References the group that is the scope of the membership or ownership eligibility through PIM for groups. Supports $expand. + /// References the group that is the scope of the membership or ownership eligibility through PIM for Groups. Supports $expand. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.Group? Group @@ -50,7 +50,7 @@ public string EligibilityScheduleId set { BackingStore?.Set("group", value); } } #endif - /// The identifier of the group representing the scope of the membership or ownership eligibility through PIM for groups. Required. Supports $filter (eq). + /// The identifier of the group representing the scope of the membership or ownership eligibility through PIM for Groups. Required. Supports $filter (eq). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? GroupId @@ -88,7 +88,7 @@ public string GroupId set { BackingStore?.Set("principal", value); } } #endif - /// The identifier of the principal whose membership or ownership eligibility to the group is managed through PIM for groups. Required. Supports $filter (eq). + /// The identifier of the principal whose membership or ownership eligibility to the group is managed through PIM for Groups. Required. Supports $filter (eq). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? PrincipalId diff --git a/src/Microsoft.Graph/Generated/Models/PrivilegedAccessGroupEligibilityScheduleRequest.cs b/src/Microsoft.Graph/Generated/Models/PrivilegedAccessGroupEligibilityScheduleRequest.cs index 5f5fc4b7da5f..f5d7bcffa8b4 100644 --- a/src/Microsoft.Graph/Generated/Models/PrivilegedAccessGroupEligibilityScheduleRequest.cs +++ b/src/Microsoft.Graph/Generated/Models/PrivilegedAccessGroupEligibilityScheduleRequest.cs @@ -18,7 +18,7 @@ public partial class PrivilegedAccessGroupEligibilityScheduleRequest : global::M get { return BackingStore?.Get("accessId"); } set { BackingStore?.Set("accessId", value); } } - /// 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. + /// 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. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.Group? Group @@ -34,7 +34,7 @@ public partial class PrivilegedAccessGroupEligibilityScheduleRequest : global::M set { BackingStore?.Set("group", value); } } #endif - /// The identifier of the group representing the scope of the membership and ownership eligibility through PIM for groups. Required. + /// The identifier of the group representing the scope of the membership and ownership eligibility through PIM for Groups. Required. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? GroupId @@ -66,7 +66,7 @@ public string GroupId set { BackingStore?.Set("principal", value); } } #endif - /// The identifier of the principal whose membership or ownership eligibility to the group is managed through PIM for groups. Required. + /// The identifier of the principal whose membership or ownership eligibility to the group is managed through PIM for Groups. Required. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? PrincipalId diff --git a/src/Microsoft.Graph/Generated/Models/ProcessContentRequest.cs b/src/Microsoft.Graph/Generated/Models/ProcessContentRequest.cs index 68e7ca51f505..e1e79766cd09 100644 --- a/src/Microsoft.Graph/Generated/Models/ProcessContentRequest.cs +++ b/src/Microsoft.Graph/Generated/Models/ProcessContentRequest.cs @@ -52,6 +52,22 @@ public IDictionary AdditionalData get { return BackingStore?.Get>("contentEntries"); } set { BackingStore?.Set("contentEntries", value); } } +#endif + /// The deviceMetadata property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.DeviceMetadata? DeviceMetadata + { + get { return BackingStore?.Get("deviceMetadata"); } + set { BackingStore?.Set("deviceMetadata", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.DeviceMetadata DeviceMetadata + { + get { return BackingStore?.Get("deviceMetadata"); } + set { BackingStore?.Set("deviceMetadata", value); } + } #endif /// The integratedAppMetadata property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -129,6 +145,7 @@ public virtual IDictionary> GetFieldDeserializers() { { "activityMetadata", n => { ActivityMetadata = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.ActivityMetadata.CreateFromDiscriminatorValue); } }, { "contentEntries", n => { ContentEntries = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ProcessContentMetadataBase.CreateFromDiscriminatorValue)?.AsList(); } }, + { "deviceMetadata", n => { DeviceMetadata = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.DeviceMetadata.CreateFromDiscriminatorValue); } }, { "integratedAppMetadata", n => { IntegratedAppMetadata = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.IntegratedApplicationMetadata.CreateFromDiscriminatorValue); } }, { "@odata.type", n => { OdataType = n.GetStringValue(); } }, { "protectedAppMetadata", n => { ProtectedAppMetadata = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.ProtectedApplicationMetadata.CreateFromDiscriminatorValue); } }, @@ -143,6 +160,7 @@ public virtual void Serialize(ISerializationWriter writer) _ = writer ?? throw new ArgumentNullException(nameof(writer)); writer.WriteObjectValue("activityMetadata", ActivityMetadata); writer.WriteCollectionOfObjectValues("contentEntries", ContentEntries); + writer.WriteObjectValue("deviceMetadata", DeviceMetadata); writer.WriteObjectValue("integratedAppMetadata", IntegratedAppMetadata); writer.WriteStringValue("@odata.type", OdataType); writer.WriteObjectValue("protectedAppMetadata", ProtectedAppMetadata); diff --git a/src/Microsoft.Graph/Generated/Models/Report.cs b/src/Microsoft.Graph/Generated/Models/Report.cs index 671ff1089cbf..e0e6ffe84f58 100644 --- a/src/Microsoft.Graph/Generated/Models/Report.cs +++ b/src/Microsoft.Graph/Generated/Models/Report.cs @@ -22,7 +22,7 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The http content that has the data + /// Report content; details vary by report type. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public byte[]? Content diff --git a/src/Microsoft.Graph/Generated/Models/ScopeBase.cs b/src/Microsoft.Graph/Generated/Models/ScopeBase.cs new file mode 100644 index 000000000000..8ad2e0e6ecd7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ScopeBase.cs @@ -0,0 +1,106 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ScopeBase : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The identifier for the scope. This could be a user ID, group ID, or a keyword like 'All' for tenant scope. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Identity + { + get { return BackingStore?.Get("identity"); } + set { BackingStore?.Set("identity", value); } + } +#nullable restore +#else + public string Identity + { + get { return BackingStore?.Get("identity"); } + set { BackingStore?.Set("identity", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ScopeBase() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.ScopeBase CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.groupScope" => new global::Microsoft.Graph.Beta.Models.GroupScope(), + "#microsoft.graph.tenantScope" => new global::Microsoft.Graph.Beta.Models.TenantScope(), + "#microsoft.graph.userScope" => new global::Microsoft.Graph.Beta.Models.UserScope(), + _ => new global::Microsoft.Graph.Beta.Models.ScopeBase(), + }; + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "identity", n => { Identity = 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("identity", Identity); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/SelfServiceSignUp.cs b/src/Microsoft.Graph/Generated/Models/SelfServiceSignUp.cs index 52d9013993cf..92f2726cd232 100644 --- a/src/Microsoft.Graph/Generated/Models/SelfServiceSignUp.cs +++ b/src/Microsoft.Graph/Generated/Models/SelfServiceSignUp.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Beta.Models public partial class SelfServiceSignUp : global::Microsoft.Graph.Beta.Models.Entity, IParsable #pragma warning restore CS1591 { - /// The appDisplayName property + /// App name displayed in the Microsoft Entra admin center. Supports $filter (eq, startsWith). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? AppDisplayName @@ -28,7 +28,7 @@ public string AppDisplayName set { BackingStore?.Set("appDisplayName", value); } } #endif - /// The appId property + /// Unique GUID that represents the app ID in the Microsoft Entra ID. Supports $filter (eq). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? AppId @@ -44,7 +44,7 @@ public string AppId set { BackingStore?.Set("appId", value); } } #endif - /// The appliedEventListeners property + /// Detailed information about the listeners, such as Azure Logic Apps and Azure Functions, which the corresponding events in the sign-up event triggered. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? AppliedEventListeners @@ -60,7 +60,7 @@ public string AppId set { BackingStore?.Set("appliedEventListeners", value); } } #endif - /// The correlationId property + /// The request ID sent from the client when the sign-up is initiated. Used to troubleshoot sign-up activity. Supports $filter (eq). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? CorrelationId @@ -76,13 +76,13 @@ public string CorrelationId set { BackingStore?.Set("correlationId", value); } } #endif - /// The createdDateTime property + /// Date and time (UTC) the sign-up was initiated. Example: midnight on Jan 1, 2014 is reported as 2014-01-01T00:00:00Z. Supports $orderby, $filter (eq, le, and ge). public DateTimeOffset? CreatedDateTime { get { return BackingStore?.Get("createdDateTime"); } set { BackingStore?.Set("createdDateTime", value); } } - /// The signUpIdentity property + /// Unique identifier for self-service sign-up user. Supports $filter (eq) on the signUpIdentifierType. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.SignUpIdentity? SignUpIdentity @@ -98,7 +98,7 @@ public DateTimeOffset? CreatedDateTime set { BackingStore?.Set("signUpIdentity", value); } } #endif - /// The signUpIdentityProvider property + /// Describes the type of account for which the user registered. Values include Email OTP, Email Password, Google. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? SignUpIdentityProvider @@ -120,7 +120,7 @@ public string SignUpIdentityProvider get { return BackingStore?.Get("signUpStage"); } set { BackingStore?.Set("signUpStage", value); } } - /// The status property + /// Sign-up status. Includes the error code and description of the error (if a sign-up failure or interrupt occurs). Supports $filter (eq) on errorCode property. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.SignUpStatus? Status diff --git a/src/Microsoft.Graph/Generated/Models/SignUpIdentity.cs b/src/Microsoft.Graph/Generated/Models/SignUpIdentity.cs index 783233901760..07c7655b4859 100644 --- a/src/Microsoft.Graph/Generated/Models/SignUpIdentity.cs +++ b/src/Microsoft.Graph/Generated/Models/SignUpIdentity.cs @@ -37,7 +37,7 @@ public string OdataType set { BackingStore?.Set("@odata.type", value); } } #endif - /// The signUpIdentifier property + /// The identification that the user is trying to utilize to sign up. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? SignUpIdentifier @@ -53,7 +53,7 @@ public string SignUpIdentifier set { BackingStore?.Set("signUpIdentifier", value); } } #endif - /// The signUpIdentifierType property + /// The type of sign-up the user initiated. Possible values include: emailAddress, unknownFutureValue. Supports $filter (eq) on the emailAddress. public global::Microsoft.Graph.Beta.Models.SignUpIdentifierType? SignUpIdentifierType { get { return BackingStore?.Get("signUpIdentifierType"); } diff --git a/src/Microsoft.Graph/Generated/Models/SignUpStatus.cs b/src/Microsoft.Graph/Generated/Models/SignUpStatus.cs index afc3cf3d8204..cabbbbd4d061 100644 --- a/src/Microsoft.Graph/Generated/Models/SignUpStatus.cs +++ b/src/Microsoft.Graph/Generated/Models/SignUpStatus.cs @@ -19,7 +19,7 @@ public IDictionary AdditionalData get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } set { BackingStore.Set("AdditionalData", value); } } - /// The additionalDetails property + /// Provides additional details on the sign-up activity. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? AdditionalDetails @@ -37,13 +37,13 @@ public string AdditionalDetails #endif /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The errorCode property + /// Provides the 5-6 digit error code that's generated during a sign-up failure. public int? ErrorCode { get { return BackingStore?.Get("errorCode"); } set { BackingStore?.Set("errorCode", value); } } - /// The failureReason property + /// Provides the error message or the reason for failure for the corresponding sign-up activity. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? FailureReason diff --git a/src/Microsoft.Graph/Generated/Models/SnapshotJobStatus.cs b/src/Microsoft.Graph/Generated/Models/SnapshotJobStatus.cs new file mode 100644 index 000000000000..ebcfd70e717c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/SnapshotJobStatus.cs @@ -0,0 +1,35 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum SnapshotJobStatus + #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 = "succeeded")] + #pragma warning disable CS1591 + Succeeded, + #pragma warning restore CS1591 + [EnumMember(Value = "failed")] + #pragma warning disable CS1591 + Failed, + #pragma warning restore CS1591 + /// A marker value for members added after the release of this API. + [EnumMember(Value = "unknownFutureValue")] + UnknownFutureValue, + [EnumMember(Value = "partiallySuccessful")] + #pragma warning disable CS1591 + PartiallySuccessful, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/TenantScope.cs b/src/Microsoft.Graph/Generated/Models/TenantScope.cs new file mode 100644 index 000000000000..9b6d952ac76e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/TenantScope.cs @@ -0,0 +1,53 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class TenantScope : global::Microsoft.Graph.Beta.Models.ScopeBase, IParsable + #pragma warning restore CS1591 + { + /// + /// Instantiates a new and sets the default values. + /// + public TenantScope() : base() + { + OdataType = "#microsoft.graph.tenantScope"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.TenantScope CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.TenantScope(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/UnifiedRoleManagementPolicyAssignment.cs b/src/Microsoft.Graph/Generated/Models/UnifiedRoleManagementPolicyAssignment.cs index 085a56ef2d69..d36777b6657d 100644 --- a/src/Microsoft.Graph/Generated/Models/UnifiedRoleManagementPolicyAssignment.cs +++ b/src/Microsoft.Graph/Generated/Models/UnifiedRoleManagementPolicyAssignment.cs @@ -44,7 +44,7 @@ public string PolicyId set { BackingStore?.Set("policyId", value); } } #endif - /// For Microsoft Entra roles policy, it's the identifier of the role definition object where the policy applies. For PIM for groups membership and ownership, it's either member or owner. Supports $filter (eq). + /// For Microsoft Entra roles policy, it's the identifier of the role definition object where the policy applies. For PIM for Groups membership and ownership, it's either member or owner. Supports $filter (eq). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? RoleDefinitionId @@ -60,7 +60,7 @@ public string RoleDefinitionId set { BackingStore?.Set("roleDefinitionId", value); } } #endif - /// The identifier of the scope where the policy is assigned. Can be / for the tenant or a group ID. Required. + /// The identifier of the scope where the policy is assigned. Can be / for the tenant or a group ID. Required. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? ScopeId diff --git a/src/Microsoft.Graph/Generated/Models/UserActivityTypes.cs b/src/Microsoft.Graph/Generated/Models/UserActivityTypes.cs new file mode 100644 index 000000000000..c12f6c33fdbb --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/UserActivityTypes.cs @@ -0,0 +1,37 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + [Flags] + #pragma warning disable CS1591 + public enum UserActivityTypes + #pragma warning restore CS1591 + { + [EnumMember(Value = "none")] + #pragma warning disable CS1591 + None = 1, + #pragma warning restore CS1591 + [EnumMember(Value = "uploadText")] + #pragma warning disable CS1591 + UploadText = 2, + #pragma warning restore CS1591 + [EnumMember(Value = "uploadFile")] + #pragma warning disable CS1591 + UploadFile = 4, + #pragma warning restore CS1591 + [EnumMember(Value = "downloadText")] + #pragma warning disable CS1591 + DownloadText = 8, + #pragma warning restore CS1591 + [EnumMember(Value = "downloadFile")] + #pragma warning disable CS1591 + DownloadFile = 16, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue = 32, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/UserScope.cs b/src/Microsoft.Graph/Generated/Models/UserScope.cs new file mode 100644 index 000000000000..d829931b63cc --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/UserScope.cs @@ -0,0 +1,53 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class UserScope : global::Microsoft.Graph.Beta.Models.ScopeBase, IParsable + #pragma warning restore CS1591 + { + /// + /// Instantiates a new and sets the default values. + /// + public UserScope() : base() + { + OdataType = "#microsoft.graph.userScope"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.UserScope CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.UserScope(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/WindowsUniversalAppXAppAssignmentSettings.cs b/src/Microsoft.Graph/Generated/Models/WindowsUniversalAppXAppAssignmentSettings.cs index 8cc1dab1237a..66edc6980bb4 100644 --- a/src/Microsoft.Graph/Generated/Models/WindowsUniversalAppXAppAssignmentSettings.cs +++ b/src/Microsoft.Graph/Generated/Models/WindowsUniversalAppXAppAssignmentSettings.cs @@ -13,7 +13,7 @@ namespace Microsoft.Graph.Beta.Models [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class WindowsUniversalAppXAppAssignmentSettings : global::Microsoft.Graph.Beta.Models.MobileAppAssignmentSettings, IParsable { - /// If true, uses device execution context for Windows Universal AppX mobile app. Device-context install is not allowed when this type of app is targeted with Available intent. Defaults to false. + /// Whether or not to use device execution context for Windows Universal AppX mobile app. public bool? UseDeviceContext { get { return BackingStore?.Get("useDeviceContext"); } diff --git a/src/Microsoft.Graph/Generated/Policies/FederatedTokenValidationPolicy/FederatedTokenValidationPolicyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/FederatedTokenValidationPolicy/FederatedTokenValidationPolicyRequestBuilder.cs index 97026ccdf888..4fe750e47cc3 100644 --- a/src/Microsoft.Graph/Generated/Policies/FederatedTokenValidationPolicy/FederatedTokenValidationPolicyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/FederatedTokenValidationPolicy/FederatedTokenValidationPolicyRequestBuilder.cs @@ -57,8 +57,8 @@ public async Task DeleteAsync(Action - /// Read the properties and relationships of a federatedTokenValidationPolicy object. - /// Find more info here + /// Get a list of the federatedTokenValidationPolicy objects and their properties. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -126,7 +126,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read the properties and relationships of a federatedTokenValidationPolicy object. + /// Get a list of the federatedTokenValidationPolicy objects and their properties. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -184,7 +184,7 @@ public partial class FederatedTokenValidationPolicyRequestBuilderDeleteRequestCo { } /// - /// Read the properties and relationships of a federatedTokenValidationPolicy object. + /// Get a list of the federatedTokenValidationPolicy objects and their properties. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class FederatedTokenValidationPolicyRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Policies/RoleManagementPolicyAssignments/RoleManagementPolicyAssignmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/RoleManagementPolicyAssignments/RoleManagementPolicyAssignmentsRequestBuilder.cs index 215a3519e89e..49aa4221b7f1 100644 --- a/src/Microsoft.Graph/Generated/Policies/RoleManagementPolicyAssignments/RoleManagementPolicyAssignmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/RoleManagementPolicyAssignments/RoleManagementPolicyAssignmentsRequestBuilder.cs @@ -54,7 +54,7 @@ public RoleManagementPolicyAssignmentsRequestBuilder(string rawUrl, IRequestAdap { } /// - /// Get the details of all role management policy assignments made in PIM for Microsoft Entra roles and PIM for groups. + /// Get the details of all role management policy assignments made in PIM for Microsoft Entra roles and PIM for Groups. /// Find more info here /// /// A @@ -103,7 +103,7 @@ public RoleManagementPolicyAssignmentsRequestBuilder(string rawUrl, IRequestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.UnifiedRoleManagementPolicyAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get the details of all role management policy assignments made in PIM for Microsoft Entra roles and PIM for groups. + /// Get the details of all role management policy assignments made in PIM for Microsoft Entra roles and PIM for Groups. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -153,7 +153,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.Policies.RoleManagementPolicyAssignments.RoleManagementPolicyAssignmentsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get the details of all role management policy assignments made in PIM for Microsoft Entra roles and PIM for groups. + /// Get the details of all role management policy assignments made in PIM for Microsoft Entra roles and PIM for Groups. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RoleManagementPolicyAssignmentsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/RiskDetections/RiskDetectionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/RiskDetections/RiskDetectionsRequestBuilder.cs index fabc71343544..e74b3c0eadd5 100644 --- a/src/Microsoft.Graph/Generated/RiskDetections/RiskDetectionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RiskDetections/RiskDetectionsRequestBuilder.cs @@ -48,8 +48,8 @@ public RiskDetectionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapte { } /// - /// Retrieve the properties of a riskDetection object. - /// Find more info here + /// Retrieve the properties of a collection of riskDetection objects. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -97,7 +97,7 @@ public RiskDetectionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapte return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.RiskDetection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve the properties of a riskDetection object. + /// Retrieve the properties of a collection of riskDetection objects. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -147,7 +147,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.RiskDetections.RiskDetectionsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Retrieve the properties of a riskDetection object. + /// Retrieve the properties of a collection of riskDetection objects. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RiskDetectionsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentApprovals/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentApprovals/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs index ed00222bc4fa..b25bdacc2daa 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentApprovals/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentApprovals/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs @@ -36,7 +36,7 @@ public FilterByCurrentUserWithOnRequestBuilder(string rawUrl, IRequestAdapter re { } /// - /// 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. + /// 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 @@ -61,7 +61,7 @@ public FilterByCurrentUserWithOnRequestBuilder(string rawUrl, IRequestAdapter re return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleAssignmentApprovals.FilterByCurrentUserWithOn.FilterByCurrentUserWithOnGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// 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. + /// 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 @@ -86,7 +86,7 @@ public FilterByCurrentUserWithOnRequestBuilder(string rawUrl, IRequestAdapter re return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleAssignmentApprovals.FilterByCurrentUserWithOn.FilterByCurrentUserWithOnResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// 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. + /// 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. @@ -116,7 +116,7 @@ public RequestInformation ToGetRequestInformation(Action - /// 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. + /// 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. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class FilterByCurrentUserWithOnRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/RoleAssignmentApprovals/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/RoleAssignmentApprovals/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs index 1d1d80c8e74d..9796daa39102 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/RoleAssignmentApprovals/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/RoleAssignmentApprovals/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs @@ -36,7 +36,7 @@ public FilterByCurrentUserWithOnRequestBuilder(string rawUrl, IRequestAdapter re { } /// - /// 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. + /// 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 @@ -61,7 +61,7 @@ public FilterByCurrentUserWithOnRequestBuilder(string rawUrl, IRequestAdapter re return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleAssignmentApprovals.FilterByCurrentUserWithOn.FilterByCurrentUserWithOnGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// 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. + /// 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 @@ -86,7 +86,7 @@ public FilterByCurrentUserWithOnRequestBuilder(string rawUrl, IRequestAdapter re return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleAssignmentApprovals.FilterByCurrentUserWithOn.FilterByCurrentUserWithOnResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// 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. + /// 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. @@ -116,7 +116,7 @@ public RequestInformation ToGetRequestInformation(Action - /// 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. + /// 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. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class FilterByCurrentUserWithOnRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentApprovals/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentApprovals/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs index 0ea6a304f25d..daf867d12df9 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentApprovals/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentApprovals/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs @@ -36,7 +36,7 @@ public FilterByCurrentUserWithOnRequestBuilder(string rawUrl, IRequestAdapter re { } /// - /// 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. + /// 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 @@ -61,7 +61,7 @@ public FilterByCurrentUserWithOnRequestBuilder(string rawUrl, IRequestAdapter re return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleAssignmentApprovals.FilterByCurrentUserWithOn.FilterByCurrentUserWithOnGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// 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. + /// 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 @@ -86,7 +86,7 @@ public FilterByCurrentUserWithOnRequestBuilder(string rawUrl, IRequestAdapter re return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleAssignmentApprovals.FilterByCurrentUserWithOn.FilterByCurrentUserWithOnResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// 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. + /// 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. @@ -116,7 +116,7 @@ public RequestInformation ToGetRequestInformation(Action - /// 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. + /// 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. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class FilterByCurrentUserWithOnRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputePostRequestBody.cs b/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputePostRequestBody.cs new file mode 100644 index 000000000000..99443852bb5a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputePostRequestBody.cs @@ -0,0 +1,134 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProtectionScopes.Compute +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ComputePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// The activities property + public global::Microsoft.Graph.Beta.Models.UserActivityTypes? Activities + { + get { return BackingStore?.Get("activities"); } + set { BackingStore?.Set("activities", value); } + } + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The deviceMetadata property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.DeviceMetadata? DeviceMetadata + { + get { return BackingStore?.Get("deviceMetadata"); } + set { BackingStore?.Set("deviceMetadata", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.DeviceMetadata DeviceMetadata + { + get { return BackingStore?.Get("deviceMetadata"); } + set { BackingStore?.Set("deviceMetadata", value); } + } +#endif + /// The integratedAppMetadata property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.IntegratedApplicationMetadata? IntegratedAppMetadata + { + get { return BackingStore?.Get("integratedAppMetadata"); } + set { BackingStore?.Set("integratedAppMetadata", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.IntegratedApplicationMetadata IntegratedAppMetadata + { + get { return BackingStore?.Get("integratedAppMetadata"); } + set { BackingStore?.Set("integratedAppMetadata", value); } + } +#endif + /// The locations property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Locations + { + get { return BackingStore?.Get?>("locations"); } + set { BackingStore?.Set("locations", value); } + } +#nullable restore +#else + public List Locations + { + get { return BackingStore?.Get>("locations"); } + set { BackingStore?.Set("locations", value); } + } +#endif + /// The pivotOn property + public global::Microsoft.Graph.Beta.Models.PolicyPivotProperty? PivotOn + { + get { return BackingStore?.Get("pivotOn"); } + set { BackingStore?.Set("pivotOn", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public ComputePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "activities", n => { Activities = n.GetEnumValue(); } }, + { "deviceMetadata", n => { DeviceMetadata = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.DeviceMetadata.CreateFromDiscriminatorValue); } }, + { "integratedAppMetadata", n => { IntegratedAppMetadata = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.IntegratedApplicationMetadata.CreateFromDiscriminatorValue); } }, + { "locations", n => { Locations = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.PolicyLocation.CreateFromDiscriminatorValue)?.AsList(); } }, + { "pivotOn", n => { PivotOn = n.GetEnumValue(); } }, + }; + } + /// + /// 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.WriteEnumValue("activities", Activities); + writer.WriteObjectValue("deviceMetadata", DeviceMetadata); + writer.WriteObjectValue("integratedAppMetadata", IntegratedAppMetadata); + writer.WriteCollectionOfObjectValues("locations", Locations); + writer.WriteEnumValue("pivotOn", PivotOn); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputePostResponse.cs b/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputePostResponse.cs new file mode 100644 index 000000000000..cd6d1c41af4b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputePostResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProtectionScopes.Compute +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ComputePostResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.PolicyTenantScope.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputeRequestBuilder.cs new file mode 100644 index 000000000000..88c68b7514d5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputeRequestBuilder.cs @@ -0,0 +1,128 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProtectionScopes.Compute +{ + /// + /// Provides operations to call the compute method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComputeRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ComputeRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/dataSecurityAndGovernance/protectionScopes/compute", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ComputeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/dataSecurityAndGovernance/protectionScopes/compute", rawUrl) + { + } + /// + /// Invoke action compute + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsComputePostResponseAsync(global::Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsComputePostResponseAsync(global::Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action compute + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("This method is obsolete. Use PostAsComputePostResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputeResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action compute + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputeRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputeRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComputeRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputeResponse.cs b/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputeResponse.cs new file mode 100644 index 000000000000..4d2691a2e793 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputeResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProtectionScopes.Compute +{ + [Obsolete("This class is obsolete. Use ComputePostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ComputeResponse : global::Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputeResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputeResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilder.cs index 99a52cea4563..ba546f4de12e 100644 --- a/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilder.cs @@ -2,6 +2,7 @@ #pragma warning disable CS0618 using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProtectionScopes.Compute; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -18,6 +19,11 @@ namespace Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProtectionScop [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ProtectionScopesRequestBuilder : BaseRequestBuilder { + /// Provides operations to call the compute method. + public global::Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputeRequestBuilder Compute + { + get => new global::Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputeRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/SensitivityLabelsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/SensitivityLabelsRequestBuilder.cs index 458a94fd74d4..5410c03fa0b7 100644 --- a/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/SensitivityLabelsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/SensitivityLabelsRequestBuilder.cs @@ -81,8 +81,8 @@ public SensitivityLabelsRequestBuilder(string rawUrl, IRequestAdapter requestAda { } /// - /// List the sensitivity labels available for the entire tenant. - /// Find more info here + /// List the sensitivity labels available to a specific user. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -130,7 +130,7 @@ public SensitivityLabelsRequestBuilder(string rawUrl, IRequestAdapter requestAda return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.SensitivityLabel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List the sensitivity labels available for the entire tenant. + /// List the sensitivity labels available to a specific user. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -180,7 +180,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.SensitivityLabelsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List the sensitivity labels available for the entire tenant. + /// List the sensitivity labels available to a specific user. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SensitivityLabelsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Pages/PagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Pages/PagesRequestBuilder.cs index 591f0697f310..c6bb7aafd1f5 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Pages/PagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Pages/PagesRequestBuilder.cs @@ -84,8 +84,8 @@ public PagesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.BaseSitePageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new sitePage in the site pages list in a site. - /// Find more info here + /// Create a new newsLinkPage in the site pages list of a site. + /// Find more info here /// /// A /// The request body @@ -129,7 +129,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new sitePage in the site pages list in a site. + /// Create a new newsLinkPage in the site pages list of a site. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Sites/SitesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/SitesRequestBuilder.cs index d0e588dfc9d5..92dac91f6517 100644 --- a/src/Microsoft.Graph/Generated/Sites/SitesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/SitesRequestBuilder.cs @@ -78,8 +78,8 @@ public SitesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base { } /// - /// List all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale. - /// Find more info here + /// Search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public SitesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.SiteCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale. + /// Search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -130,7 +130,7 @@ public RequestInformation ToGetRequestInformation(Action - /// List all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale. + /// Search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SitesRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BackupRestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BackupRestoreRequestBuilder.cs index afec7ea574ba..d5da52af5121 100644 --- a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BackupRestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BackupRestoreRequestBuilder.cs @@ -5,6 +5,7 @@ using Microsoft.Graph.Beta.Solutions.BackupRestore.DriveInclusionRules; using Microsoft.Graph.Beta.Solutions.BackupRestore.DriveProtectionUnits; using Microsoft.Graph.Beta.Solutions.BackupRestore.DriveProtectionUnitsBulkAdditionJobs; +using Microsoft.Graph.Beta.Solutions.BackupRestore.EmailNotificationsSetting; using Microsoft.Graph.Beta.Solutions.BackupRestore.Enable; using Microsoft.Graph.Beta.Solutions.BackupRestore.ExchangeProtectionPolicies; using Microsoft.Graph.Beta.Solutions.BackupRestore.ExchangeRestoreSessions; @@ -54,6 +55,11 @@ public partial class BackupRestoreRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Solutions.BackupRestore.DriveProtectionUnitsBulkAdditionJobs.DriveProtectionUnitsBulkAdditionJobsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the emailNotificationsSetting property of the microsoft.graph.backupRestoreRoot entity. + public global::Microsoft.Graph.Beta.Solutions.BackupRestore.EmailNotificationsSetting.EmailNotificationsSettingRequestBuilder EmailNotificationsSetting + { + get => new global::Microsoft.Graph.Beta.Solutions.BackupRestore.EmailNotificationsSetting.EmailNotificationsSettingRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the enable method. public global::Microsoft.Graph.Beta.Solutions.BackupRestore.Enable.EnableRequestBuilder Enable { diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/EmailNotificationsSetting/EmailNotificationsSettingRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/EmailNotificationsSetting/EmailNotificationsSettingRequestBuilder.cs new file mode 100644 index 000000000000..6b7a0f830fb4 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/EmailNotificationsSetting/EmailNotificationsSettingRequestBuilder.cs @@ -0,0 +1,231 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Solutions.BackupRestore.EmailNotificationsSetting +{ + /// + /// Provides operations to manage the emailNotificationsSetting property of the microsoft.graph.backupRestoreRoot entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EmailNotificationsSettingRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public EmailNotificationsSettingRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/emailNotificationsSetting{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public EmailNotificationsSettingRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/emailNotificationsSetting{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property emailNotificationsSetting for solutions + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read the properties and relationships of an emailNotificationsSetting object. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.EmailNotificationsSetting.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the properties of an emailNotificationsSetting object. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.EmailNotificationsSetting body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.EmailNotificationsSetting body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.EmailNotificationsSetting.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property emailNotificationsSetting for solutions + /// + /// 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 emailNotificationsSetting 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 emailNotificationsSetting 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(global::Microsoft.Graph.Beta.Models.EmailNotificationsSetting body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.EmailNotificationsSetting body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Solutions.BackupRestore.EmailNotificationsSetting.EmailNotificationsSettingRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Solutions.BackupRestore.EmailNotificationsSetting.EmailNotificationsSettingRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EmailNotificationsSettingRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Read the properties and relationships of an emailNotificationsSetting object. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EmailNotificationsSettingRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EmailNotificationsSettingRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EmailNotificationsSettingRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs index 7b1be276673a..d22706694d24 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs @@ -82,8 +82,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the role of a conversationMember in a team.or channel. - /// Find more info here + /// Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. + /// Find more info here /// /// A /// The request body @@ -146,7 +146,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the role of a conversationMember in a team.or channel. + /// Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Users/Item/Approvals/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Approvals/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs index 6081f9adcc5d..82f722f5d77d 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Approvals/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Approvals/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs @@ -36,7 +36,7 @@ public FilterByCurrentUserWithOnRequestBuilder(string rawUrl, IRequestAdapter re { } /// - /// 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. + /// 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 @@ -60,7 +60,7 @@ public FilterByCurrentUserWithOnRequestBuilder(string rawUrl, IRequestAdapter re return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Users.Item.Approvals.FilterByCurrentUserWithOn.FilterByCurrentUserWithOnGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// 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. + /// 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 @@ -85,7 +85,7 @@ public FilterByCurrentUserWithOnRequestBuilder(string rawUrl, IRequestAdapter re return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Users.Item.Approvals.FilterByCurrentUserWithOn.FilterByCurrentUserWithOnResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// 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. + /// 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. @@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action - /// 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. + /// 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. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class FilterByCurrentUserWithOnRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputePostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputePostRequestBody.cs new file mode 100644 index 000000000000..13ca2871da0c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputePostRequestBody.cs @@ -0,0 +1,134 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ComputePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// The activities property + public global::Microsoft.Graph.Beta.Models.UserActivityTypes? Activities + { + get { return BackingStore?.Get("activities"); } + set { BackingStore?.Set("activities", value); } + } + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The deviceMetadata property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.DeviceMetadata? DeviceMetadata + { + get { return BackingStore?.Get("deviceMetadata"); } + set { BackingStore?.Set("deviceMetadata", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.DeviceMetadata DeviceMetadata + { + get { return BackingStore?.Get("deviceMetadata"); } + set { BackingStore?.Set("deviceMetadata", value); } + } +#endif + /// The integratedAppMetadata property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.IntegratedApplicationMetadata? IntegratedAppMetadata + { + get { return BackingStore?.Get("integratedAppMetadata"); } + set { BackingStore?.Set("integratedAppMetadata", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.IntegratedApplicationMetadata IntegratedAppMetadata + { + get { return BackingStore?.Get("integratedAppMetadata"); } + set { BackingStore?.Set("integratedAppMetadata", value); } + } +#endif + /// The locations property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Locations + { + get { return BackingStore?.Get?>("locations"); } + set { BackingStore?.Set("locations", value); } + } +#nullable restore +#else + public List Locations + { + get { return BackingStore?.Get>("locations"); } + set { BackingStore?.Set("locations", value); } + } +#endif + /// The pivotOn property + public global::Microsoft.Graph.Beta.Models.PolicyPivotProperty? PivotOn + { + get { return BackingStore?.Get("pivotOn"); } + set { BackingStore?.Set("pivotOn", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public ComputePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "activities", n => { Activities = n.GetEnumValue(); } }, + { "deviceMetadata", n => { DeviceMetadata = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.DeviceMetadata.CreateFromDiscriminatorValue); } }, + { "integratedAppMetadata", n => { IntegratedAppMetadata = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.IntegratedApplicationMetadata.CreateFromDiscriminatorValue); } }, + { "locations", n => { Locations = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.PolicyLocation.CreateFromDiscriminatorValue)?.AsList(); } }, + { "pivotOn", n => { PivotOn = n.GetEnumValue(); } }, + }; + } + /// + /// 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.WriteEnumValue("activities", Activities); + writer.WriteObjectValue("deviceMetadata", DeviceMetadata); + writer.WriteObjectValue("integratedAppMetadata", IntegratedAppMetadata); + writer.WriteCollectionOfObjectValues("locations", Locations); + writer.WriteEnumValue("pivotOn", PivotOn); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputePostResponse.cs b/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputePostResponse.cs new file mode 100644 index 000000000000..0371b43d45af --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputePostResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ComputePostResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.PolicyUserScope.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputeRequestBuilder.cs new file mode 100644 index 000000000000..30f29b92600b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputeRequestBuilder.cs @@ -0,0 +1,128 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute +{ + /// + /// Provides operations to call the compute method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComputeRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ComputeRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/protectionScopes/compute", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ComputeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/protectionScopes/compute", rawUrl) + { + } + /// + /// Invoke action compute + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsComputePostResponseAsync(global::Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsComputePostResponseAsync(global::Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action compute + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("This method is obsolete. Use PostAsComputePostResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputeResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action compute + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputeRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputeRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComputeRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputeResponse.cs b/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputeResponse.cs new file mode 100644 index 000000000000..9d5a0b9425e4 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputeResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute +{ + [Obsolete("This class is obsolete. Use ComputePostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ComputeResponse : global::Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputeResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputeResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilder.cs index e0acede0b492..a373ae66e791 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilder.cs @@ -2,6 +2,7 @@ #pragma warning disable CS0618 using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -18,6 +19,11 @@ namespace Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProtectionSc [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ProtectionScopesRequestBuilder : BaseRequestBuilder { + /// Provides operations to call the compute method. + public global::Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputeRequestBuilder Compute + { + get => new global::Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputeRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/Users/Item/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/AppLogCollectionRequestsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/AppLogCollectionRequestsRequestBuilder.cs index fbfaf6ffb484..fafb540769c7 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/AppLogCollectionRequestsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/AppLogCollectionRequestsRequestBuilder.cs @@ -54,7 +54,7 @@ public AppLogCollectionRequestsRequestBuilder(string rawUrl, IRequestAdapter req { } /// - /// The collection property of AppLogUploadRequest. + /// Indicates collection of App Log Upload Request. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public AppLogCollectionRequestsRequestBuilder(string rawUrl, IRequestAdapter req return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.AppLogCollectionRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// The collection property of AppLogUploadRequest. + /// Indicates collection of App Log Upload Request. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.Users.Item.MobileAppTroubleshootingEvents.Item.AppLogCollectionRequests.AppLogCollectionRequestsRequestBuilder(rawUrl, RequestAdapter); } /// - /// The collection property of AppLogUploadRequest. + /// Indicates collection of App Log Upload Request. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class AppLogCollectionRequestsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Users/Item/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Item/AppLogCollectionRequestItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Item/AppLogCollectionRequestItemRequestBuilder.cs index 8daeb75441a2..962f5df3791f 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Item/AppLogCollectionRequestItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Item/AppLogCollectionRequestItemRequestBuilder.cs @@ -63,7 +63,7 @@ public async Task DeleteAsync(Action - /// The collection property of AppLogUploadRequest. + /// Indicates collection of App Log Upload Request. /// /// A /// Cancellation token to use when cancelling requests @@ -130,7 +130,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// The collection property of AppLogUploadRequest. + /// Indicates collection of App Log Upload Request. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -188,7 +188,7 @@ public partial class AppLogCollectionRequestItemRequestBuilderDeleteRequestConfi { } /// - /// The collection property of AppLogUploadRequest. + /// Indicates collection of App Log Upload Request. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class AppLogCollectionRequestItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/kiota-dom-export.txt b/src/Microsoft.Graph/Generated/kiota-dom-export.txt index c286ed1a69e8..305b659249f8 100644 --- a/src/Microsoft.Graph/Generated/kiota-dom-export.txt +++ b/src/Microsoft.Graph/Generated/kiota-dom-export.txt @@ -514,6 +514,7 @@ Microsoft.Graph.Beta.Admin.adminRequestBuilder.adminRequestBuilderGetQueryParame Microsoft.Graph.Beta.Admin.adminRequestBuilder.adminRequestBuilderGetRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Admin.adminRequestBuilder.adminRequestBuilderPatchRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Admin.adminRequestBuilder::|public|appsAndServices:global.Microsoft.Graph.Beta.Admin.AppsAndServices.AppsAndServicesRequestBuilder +Microsoft.Graph.Beta.Admin.adminRequestBuilder::|public|configurationManagement:global.Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationManagementRequestBuilder Microsoft.Graph.Beta.Admin.adminRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Admin.adminRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Admin.adminRequestBuilder::|public|dynamics:global.Microsoft.Graph.Beta.Admin.Dynamics.DynamicsRequestBuilder @@ -549,6 +550,307 @@ Microsoft.Graph.Beta.Admin.AppsAndServices.appsAndServicesRequestBuilder::|publi Microsoft.Graph.Beta.Admin.AppsAndServices.appsAndServicesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Admin.AppsAndServices.appsAndServicesRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.AdminAppsAndServices; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Admin.AppsAndServices.appsAndServicesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.AppsAndServices.AppsAndServicesRequestBuilder +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.configurationApplicationsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.configurationApplicationsRequestBuilder.configurationApplicationsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.configurationApplicationsRequestBuilder.configurationApplicationsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.configurationApplicationsRequestBuilder.configurationApplicationsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.configurationApplicationsRequestBuilder.configurationApplicationsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.configurationApplicationsRequestBuilder.configurationApplicationsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.configurationApplicationsRequestBuilder.configurationApplicationsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.configurationApplicationsRequestBuilder.configurationApplicationsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.configurationApplicationsRequestBuilder.configurationApplicationsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.configurationApplicationsRequestBuilder.configurationApplicationsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.configurationApplicationsRequestBuilder.configurationApplicationsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.configurationApplicationsRequestBuilder::[ConfigurationApplicationId:string]:global.Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.Item.ConfigurationApplicationItemRequestBuilder +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.configurationApplicationsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.configurationApplicationsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.configurationApplicationsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.Count.CountRequestBuilder +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.configurationApplicationsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConfigurationApplicationCollectionResponse +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.configurationApplicationsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.ConfigurationApplication; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConfigurationApplication +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.configurationApplicationsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.configurationApplicationsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.ConfigurationApplication; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.configurationApplicationsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.ConfigurationApplicationsRequestBuilder +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.Count.CountRequestBuilder +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.Item.ConfigurationApplicationItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.Item.ConfigurationApplicationItemRequestBuilder.ConfigurationApplicationItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.Item.ConfigurationApplicationItemRequestBuilder.ConfigurationApplicationItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.Item.ConfigurationApplicationItemRequestBuilder.ConfigurationApplicationItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.Item.ConfigurationApplicationItemRequestBuilder.ConfigurationApplicationItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.Item.ConfigurationApplicationItemRequestBuilder.ConfigurationApplicationItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.Item.ConfigurationApplicationItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.Item.ConfigurationApplicationItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.Item.ConfigurationApplicationItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.Item.ConfigurationApplicationItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConfigurationApplication +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.Item.ConfigurationApplicationItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.ConfigurationApplication; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConfigurationApplication +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.Item.ConfigurationApplicationItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.Item.ConfigurationApplicationItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.Item.ConfigurationApplicationItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.ConfigurationApplication; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.Item.ConfigurationApplicationItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.Item.ConfigurationApplicationItemRequestBuilder +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationDrifts.configurationDriftsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationDrifts.configurationDriftsRequestBuilder.configurationDriftsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationDrifts.configurationDriftsRequestBuilder.configurationDriftsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationDrifts.configurationDriftsRequestBuilder.configurationDriftsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationDrifts.configurationDriftsRequestBuilder.configurationDriftsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationDrifts.configurationDriftsRequestBuilder.configurationDriftsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationDrifts.configurationDriftsRequestBuilder.configurationDriftsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationDrifts.configurationDriftsRequestBuilder.configurationDriftsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationDrifts.configurationDriftsRequestBuilder.configurationDriftsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationDrifts.configurationDriftsRequestBuilder.configurationDriftsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationDrifts.configurationDriftsRequestBuilder.configurationDriftsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationDrifts.configurationDriftsRequestBuilder::[ConfigurationDriftId:string]:global.Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationDrifts.Item.ConfigurationDriftItemRequestBuilder +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationDrifts.configurationDriftsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationDrifts.configurationDriftsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationDrifts.configurationDriftsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationDrifts.Count.CountRequestBuilder +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationDrifts.configurationDriftsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConfigurationDriftCollectionResponse +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationDrifts.configurationDriftsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.ConfigurationDrift; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConfigurationDrift +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationDrifts.configurationDriftsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationDrifts.configurationDriftsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.ConfigurationDrift; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationDrifts.configurationDriftsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationDrifts.ConfigurationDriftsRequestBuilder +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationDrifts.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationDrifts.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationDrifts.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationDrifts.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationDrifts.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationDrifts.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationDrifts.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationDrifts.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationDrifts.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationDrifts.Count.CountRequestBuilder +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationDrifts.Item.ConfigurationDriftItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationDrifts.Item.ConfigurationDriftItemRequestBuilder.ConfigurationDriftItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationDrifts.Item.ConfigurationDriftItemRequestBuilder.ConfigurationDriftItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationDrifts.Item.ConfigurationDriftItemRequestBuilder.ConfigurationDriftItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationDrifts.Item.ConfigurationDriftItemRequestBuilder.ConfigurationDriftItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationDrifts.Item.ConfigurationDriftItemRequestBuilder.ConfigurationDriftItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationDrifts.Item.ConfigurationDriftItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationDrifts.Item.ConfigurationDriftItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationDrifts.Item.ConfigurationDriftItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationDrifts.Item.ConfigurationDriftItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConfigurationDrift +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationDrifts.Item.ConfigurationDriftItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.ConfigurationDrift; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConfigurationDrift +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationDrifts.Item.ConfigurationDriftItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationDrifts.Item.ConfigurationDriftItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationDrifts.Item.ConfigurationDriftItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.ConfigurationDrift; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationDrifts.Item.ConfigurationDriftItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationDrifts.Item.ConfigurationDriftItemRequestBuilder +Microsoft.Graph.Beta.Admin.ConfigurationManagement.configurationManagementRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.ConfigurationManagement.configurationManagementRequestBuilder.configurationManagementRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.ConfigurationManagement.configurationManagementRequestBuilder.configurationManagementRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Admin.ConfigurationManagement.configurationManagementRequestBuilder.configurationManagementRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Admin.ConfigurationManagement.configurationManagementRequestBuilder.configurationManagementRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.ConfigurationManagement.configurationManagementRequestBuilder.configurationManagementRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.ConfigurationManagement.configurationManagementRequestBuilder::|public|configurationApplications:global.Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.ConfigurationApplicationsRequestBuilder +Microsoft.Graph.Beta.Admin.ConfigurationManagement.configurationManagementRequestBuilder::|public|configurationDrifts:global.Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationDrifts.ConfigurationDriftsRequestBuilder +Microsoft.Graph.Beta.Admin.ConfigurationManagement.configurationManagementRequestBuilder::|public|configurationMonitoringResults:global.Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitoringResults.ConfigurationMonitoringResultsRequestBuilder +Microsoft.Graph.Beta.Admin.ConfigurationManagement.configurationManagementRequestBuilder::|public|configurationMonitors:global.Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.ConfigurationMonitorsRequestBuilder +Microsoft.Graph.Beta.Admin.ConfigurationManagement.configurationManagementRequestBuilder::|public|configurationSnapshotJobs:global.Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.ConfigurationSnapshotJobsRequestBuilder +Microsoft.Graph.Beta.Admin.ConfigurationManagement.configurationManagementRequestBuilder::|public|configurationSnapshots:global.Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshots.ConfigurationSnapshotsRequestBuilder +Microsoft.Graph.Beta.Admin.ConfigurationManagement.configurationManagementRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.ConfigurationManagement.configurationManagementRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.ConfigurationManagement.configurationManagementRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Admin.ConfigurationManagement.configurationManagementRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConfigurationManagement +Microsoft.Graph.Beta.Admin.ConfigurationManagement.configurationManagementRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.ConfigurationManagement; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConfigurationManagement +Microsoft.Graph.Beta.Admin.ConfigurationManagement.configurationManagementRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.ConfigurationManagement.configurationManagementRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.ConfigurationManagement.configurationManagementRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.ConfigurationManagement; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.ConfigurationManagement.configurationManagementRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationManagementRequestBuilder +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitoringResults.configurationMonitoringResultsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitoringResults.configurationMonitoringResultsRequestBuilder.configurationMonitoringResultsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitoringResults.configurationMonitoringResultsRequestBuilder.configurationMonitoringResultsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitoringResults.configurationMonitoringResultsRequestBuilder.configurationMonitoringResultsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitoringResults.configurationMonitoringResultsRequestBuilder.configurationMonitoringResultsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitoringResults.configurationMonitoringResultsRequestBuilder.configurationMonitoringResultsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitoringResults.configurationMonitoringResultsRequestBuilder.configurationMonitoringResultsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitoringResults.configurationMonitoringResultsRequestBuilder.configurationMonitoringResultsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitoringResults.configurationMonitoringResultsRequestBuilder.configurationMonitoringResultsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitoringResults.configurationMonitoringResultsRequestBuilder.configurationMonitoringResultsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitoringResults.configurationMonitoringResultsRequestBuilder.configurationMonitoringResultsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitoringResults.configurationMonitoringResultsRequestBuilder::[ConfigurationMonitoringResultId:string]:global.Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Item.ConfigurationMonitoringResultItemRequestBuilder +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitoringResults.configurationMonitoringResultsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitoringResults.configurationMonitoringResultsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitoringResults.configurationMonitoringResultsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Count.CountRequestBuilder +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitoringResults.configurationMonitoringResultsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConfigurationMonitoringResultCollectionResponse +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitoringResults.configurationMonitoringResultsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.ConfigurationMonitoringResult; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConfigurationMonitoringResult +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitoringResults.configurationMonitoringResultsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitoringResults.configurationMonitoringResultsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.ConfigurationMonitoringResult; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitoringResults.configurationMonitoringResultsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitoringResults.ConfigurationMonitoringResultsRequestBuilder +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Count.CountRequestBuilder +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Item.ConfigurationMonitoringResultItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Item.ConfigurationMonitoringResultItemRequestBuilder.ConfigurationMonitoringResultItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Item.ConfigurationMonitoringResultItemRequestBuilder.ConfigurationMonitoringResultItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Item.ConfigurationMonitoringResultItemRequestBuilder.ConfigurationMonitoringResultItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Item.ConfigurationMonitoringResultItemRequestBuilder.ConfigurationMonitoringResultItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Item.ConfigurationMonitoringResultItemRequestBuilder.ConfigurationMonitoringResultItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Item.ConfigurationMonitoringResultItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Item.ConfigurationMonitoringResultItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Item.ConfigurationMonitoringResultItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Item.ConfigurationMonitoringResultItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConfigurationMonitoringResult +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Item.ConfigurationMonitoringResultItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.ConfigurationMonitoringResult; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConfigurationMonitoringResult +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Item.ConfigurationMonitoringResultItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Item.ConfigurationMonitoringResultItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Item.ConfigurationMonitoringResultItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.ConfigurationMonitoringResult; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Item.ConfigurationMonitoringResultItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Item.ConfigurationMonitoringResultItemRequestBuilder +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.configurationMonitorsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.configurationMonitorsRequestBuilder.configurationMonitorsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.configurationMonitorsRequestBuilder.configurationMonitorsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.configurationMonitorsRequestBuilder.configurationMonitorsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.configurationMonitorsRequestBuilder.configurationMonitorsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.configurationMonitorsRequestBuilder.configurationMonitorsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.configurationMonitorsRequestBuilder.configurationMonitorsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.configurationMonitorsRequestBuilder.configurationMonitorsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.configurationMonitorsRequestBuilder.configurationMonitorsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.configurationMonitorsRequestBuilder.configurationMonitorsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.configurationMonitorsRequestBuilder.configurationMonitorsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.configurationMonitorsRequestBuilder::[ConfigurationMonitorId:string]:global.Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.Item.ConfigurationMonitorItemRequestBuilder +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.configurationMonitorsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.configurationMonitorsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.configurationMonitorsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.Count.CountRequestBuilder +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.configurationMonitorsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConfigurationMonitorCollectionResponse +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.configurationMonitorsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.ConfigurationMonitor; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConfigurationMonitor +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.configurationMonitorsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.configurationMonitorsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.ConfigurationMonitor; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.configurationMonitorsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.ConfigurationMonitorsRequestBuilder +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.Count.CountRequestBuilder +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.Item.Baseline.baselineRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.Item.Baseline.baselineRequestBuilder.baselineRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.Item.Baseline.baselineRequestBuilder.baselineRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.Item.Baseline.baselineRequestBuilder.baselineRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.Item.Baseline.baselineRequestBuilder.baselineRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.Item.Baseline.baselineRequestBuilder.baselineRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.Item.Baseline.baselineRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.Item.Baseline.baselineRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.Item.Baseline.baselineRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.Item.Baseline.baselineRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConfigurationBaseline +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.Item.Baseline.baselineRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.ConfigurationBaseline; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConfigurationBaseline +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.Item.Baseline.baselineRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.Item.Baseline.baselineRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.Item.Baseline.baselineRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.ConfigurationBaseline; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.Item.Baseline.baselineRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.Item.Baseline.BaselineRequestBuilder +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.Item.ConfigurationMonitorItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.Item.ConfigurationMonitorItemRequestBuilder.ConfigurationMonitorItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.Item.ConfigurationMonitorItemRequestBuilder.ConfigurationMonitorItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.Item.ConfigurationMonitorItemRequestBuilder.ConfigurationMonitorItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.Item.ConfigurationMonitorItemRequestBuilder.ConfigurationMonitorItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.Item.ConfigurationMonitorItemRequestBuilder.ConfigurationMonitorItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.Item.ConfigurationMonitorItemRequestBuilder::|public|baseline:global.Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.Item.Baseline.BaselineRequestBuilder +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.Item.ConfigurationMonitorItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.Item.ConfigurationMonitorItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.Item.ConfigurationMonitorItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.Item.ConfigurationMonitorItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConfigurationMonitor +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.Item.ConfigurationMonitorItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.ConfigurationMonitor; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConfigurationMonitor +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.Item.ConfigurationMonitorItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.Item.ConfigurationMonitorItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.Item.ConfigurationMonitorItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.ConfigurationMonitor; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.Item.ConfigurationMonitorItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.Item.ConfigurationMonitorItemRequestBuilder +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.configurationSnapshotJobsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.configurationSnapshotJobsRequestBuilder.configurationSnapshotJobsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.configurationSnapshotJobsRequestBuilder.configurationSnapshotJobsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.configurationSnapshotJobsRequestBuilder.configurationSnapshotJobsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.configurationSnapshotJobsRequestBuilder.configurationSnapshotJobsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.configurationSnapshotJobsRequestBuilder.configurationSnapshotJobsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.configurationSnapshotJobsRequestBuilder.configurationSnapshotJobsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.configurationSnapshotJobsRequestBuilder.configurationSnapshotJobsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.configurationSnapshotJobsRequestBuilder.configurationSnapshotJobsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.configurationSnapshotJobsRequestBuilder.configurationSnapshotJobsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.configurationSnapshotJobsRequestBuilder.configurationSnapshotJobsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.configurationSnapshotJobsRequestBuilder::[ConfigurationSnapshotJobId:string]:global.Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Item.ConfigurationSnapshotJobItemRequestBuilder +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.configurationSnapshotJobsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.configurationSnapshotJobsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.configurationSnapshotJobsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Count.CountRequestBuilder +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.configurationSnapshotJobsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConfigurationSnapshotJobCollectionResponse +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.configurationSnapshotJobsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.ConfigurationSnapshotJob; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConfigurationSnapshotJob +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.configurationSnapshotJobsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.configurationSnapshotJobsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.ConfigurationSnapshotJob; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.configurationSnapshotJobsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.ConfigurationSnapshotJobsRequestBuilder +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Count.CountRequestBuilder +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Item.ConfigurationSnapshotJobItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Item.ConfigurationSnapshotJobItemRequestBuilder.ConfigurationSnapshotJobItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Item.ConfigurationSnapshotJobItemRequestBuilder.ConfigurationSnapshotJobItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Item.ConfigurationSnapshotJobItemRequestBuilder.ConfigurationSnapshotJobItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Item.ConfigurationSnapshotJobItemRequestBuilder.ConfigurationSnapshotJobItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Item.ConfigurationSnapshotJobItemRequestBuilder.ConfigurationSnapshotJobItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Item.ConfigurationSnapshotJobItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Item.ConfigurationSnapshotJobItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Item.ConfigurationSnapshotJobItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Item.ConfigurationSnapshotJobItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConfigurationSnapshotJob +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Item.ConfigurationSnapshotJobItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.ConfigurationSnapshotJob; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConfigurationSnapshotJob +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Item.ConfigurationSnapshotJobItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Item.ConfigurationSnapshotJobItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Item.ConfigurationSnapshotJobItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.ConfigurationSnapshotJob; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Item.ConfigurationSnapshotJobItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Item.ConfigurationSnapshotJobItemRequestBuilder +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshots.configurationSnapshotsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshots.configurationSnapshotsRequestBuilder.configurationSnapshotsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshots.configurationSnapshotsRequestBuilder.configurationSnapshotsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshots.configurationSnapshotsRequestBuilder.configurationSnapshotsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshots.configurationSnapshotsRequestBuilder.configurationSnapshotsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshots.configurationSnapshotsRequestBuilder.configurationSnapshotsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshots.configurationSnapshotsRequestBuilder.configurationSnapshotsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshots.configurationSnapshotsRequestBuilder.configurationSnapshotsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshots.configurationSnapshotsRequestBuilder.configurationSnapshotsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshots.configurationSnapshotsRequestBuilder.configurationSnapshotsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshots.configurationSnapshotsRequestBuilder.configurationSnapshotsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshots.configurationSnapshotsRequestBuilder::[ConfigurationBaselineId:string]:global.Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshots.Item.ConfigurationBaselineItemRequestBuilder +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshots.configurationSnapshotsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshots.configurationSnapshotsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshots.configurationSnapshotsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshots.Count.CountRequestBuilder +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshots.configurationSnapshotsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConfigurationBaselineCollectionResponse +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshots.configurationSnapshotsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.ConfigurationBaseline; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConfigurationBaseline +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshots.configurationSnapshotsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshots.configurationSnapshotsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.ConfigurationBaseline; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshots.configurationSnapshotsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshots.ConfigurationSnapshotsRequestBuilder +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshots.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshots.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshots.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshots.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshots.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshots.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshots.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshots.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshots.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshots.Count.CountRequestBuilder +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshots.Item.ConfigurationBaselineItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshots.Item.ConfigurationBaselineItemRequestBuilder.ConfigurationBaselineItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshots.Item.ConfigurationBaselineItemRequestBuilder.ConfigurationBaselineItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshots.Item.ConfigurationBaselineItemRequestBuilder.ConfigurationBaselineItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshots.Item.ConfigurationBaselineItemRequestBuilder.ConfigurationBaselineItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshots.Item.ConfigurationBaselineItemRequestBuilder.ConfigurationBaselineItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshots.Item.ConfigurationBaselineItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshots.Item.ConfigurationBaselineItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshots.Item.ConfigurationBaselineItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshots.Item.ConfigurationBaselineItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConfigurationBaseline +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshots.Item.ConfigurationBaselineItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.ConfigurationBaseline; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConfigurationBaseline +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshots.Item.ConfigurationBaselineItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshots.Item.ConfigurationBaselineItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshots.Item.ConfigurationBaselineItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.ConfigurationBaseline; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshots.Item.ConfigurationBaselineItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshots.Item.ConfigurationBaselineItemRequestBuilder Microsoft.Graph.Beta.Admin.Dynamics.dynamicsRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Admin.Dynamics.dynamicsRequestBuilder.dynamicsRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Admin.Dynamics.dynamicsRequestBuilder.dynamicsRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -128169,12 +128471,40 @@ Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProcessContent.processContentR Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProcessContent.processContentRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProcessContent.ProcessContentPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ProcessContentResponse Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProcessContent.processContentRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProcessContent.ProcessContentPostRequestBody; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProcessContent.processContentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProcessContent.ProcessContentRequestBuilder +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody::|public|Activities:global.Microsoft.Graph.Beta.Models.UserActivityTypes? +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody::|public|DeviceMetadata:global.Microsoft.Graph.Beta.Models.DeviceMetadata +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody::|public|IntegratedAppMetadata:global.Microsoft.Graph.Beta.Models.IntegratedApplicationMetadata +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody::|public|Locations:List +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody::|public|PivotOn:global.Microsoft.Graph.Beta.Models.PolicyPivotProperty? +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostResponse::|public|Value:List +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostResponse +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.computeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.computeRequestBuilder.computeRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.computeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.computeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.computeRequestBuilder::|public|PostAsComputePostResponseAsync(body:global.Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostResponse +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.computeRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputeResponse +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.computeRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.computeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputeRequestBuilder +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.computeResponse-->global.Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostResponse +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.computeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputeResponse Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder.protectionScopesRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder.protectionScopesRequestBuilderGetQueryParameters::|public|Expand:string[] Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder.protectionScopesRequestBuilderGetQueryParameters::|public|Select:string[] Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder.protectionScopesRequestBuilderGetRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder.protectionScopesRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder::|public|compute:global.Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputeRequestBuilder Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void @@ -145062,6 +145392,7 @@ Microsoft.Graph.Beta.Models.addWatermarkAction::|static|public|CreateFromDiscrim Microsoft.Graph.Beta.Models.admin::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.admin::|public|AppsAndServices:global.Microsoft.Graph.Beta.Models.AdminAppsAndServices Microsoft.Graph.Beta.Models.admin::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.admin::|public|ConfigurationManagement:global.Microsoft.Graph.Beta.Models.ConfigurationManagement Microsoft.Graph.Beta.Models.admin::|public|constructor():void Microsoft.Graph.Beta.Models.admin::|public|Dynamics:global.Microsoft.Graph.Beta.Models.AdminDynamics Microsoft.Graph.Beta.Models.admin::|public|Edge:global.Microsoft.Graph.Beta.Models.Edge @@ -150667,6 +150998,7 @@ Microsoft.Graph.Beta.Models.backupRestoreRoot-->global.Microsoft.Graph.Beta.Mode Microsoft.Graph.Beta.Models.backupRestoreRoot::|public|DriveInclusionRules:List Microsoft.Graph.Beta.Models.backupRestoreRoot::|public|DriveProtectionUnits:List Microsoft.Graph.Beta.Models.backupRestoreRoot::|public|DriveProtectionUnitsBulkAdditionJobs:List +Microsoft.Graph.Beta.Models.backupRestoreRoot::|public|EmailNotificationsSetting:global.Microsoft.Graph.Beta.Models.EmailNotificationsSetting Microsoft.Graph.Beta.Models.backupRestoreRoot::|public|ExchangeProtectionPolicies:List Microsoft.Graph.Beta.Models.backupRestoreRoot::|public|ExchangeRestoreSessions:List Microsoft.Graph.Beta.Models.backupRestoreRoot::|public|GetFieldDeserializers():IDictionary> @@ -150769,6 +151101,32 @@ Microsoft.Graph.Beta.Models.baseItemVersion::|public|OdataType:string Microsoft.Graph.Beta.Models.baseItemVersion::|public|Publication:global.Microsoft.Graph.Beta.Models.PublicationFacet Microsoft.Graph.Beta.Models.baseItemVersion::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.baseItemVersion::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.BaseItemVersion +Microsoft.Graph.Beta.Models.baselineParameter::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.baselineParameter::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.baselineParameter::|public|constructor():void +Microsoft.Graph.Beta.Models.baselineParameter::|public|Description:string +Microsoft.Graph.Beta.Models.baselineParameter::|public|DisplayName:string +Microsoft.Graph.Beta.Models.baselineParameter::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.baselineParameter::|public|OdataType:string +Microsoft.Graph.Beta.Models.baselineParameter::|public|ParameterType:global.Microsoft.Graph.Beta.Models.BaselineParameterType? +Microsoft.Graph.Beta.Models.baselineParameter::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.baselineParameter::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.BaselineParameter +Microsoft.Graph.Beta.Models.baselineParameterType::0000-string +Microsoft.Graph.Beta.Models.baselineParameterType::0001-integer +Microsoft.Graph.Beta.Models.baselineParameterType::0002-boolean +Microsoft.Graph.Beta.Models.baselineParameterType::0003-unknownFutureValue +Microsoft.Graph.Beta.Models.baselineParameter~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.baselineResource::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.baselineResource::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.baselineResource::|public|constructor():void +Microsoft.Graph.Beta.Models.baselineResource::|public|DisplayName:string +Microsoft.Graph.Beta.Models.baselineResource::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.baselineResource::|public|OdataType:string +Microsoft.Graph.Beta.Models.baselineResource::|public|Properties:global.Microsoft.Graph.Beta.Models.OpenComplexDictionaryType +Microsoft.Graph.Beta.Models.baselineResource::|public|ResourceType:string +Microsoft.Graph.Beta.Models.baselineResource::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.baselineResource::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.BaselineResource +Microsoft.Graph.Beta.Models.baselineResource~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.baseSitePage-->global.Microsoft.Graph.Beta.Models.BaseItem Microsoft.Graph.Beta.Models.baseSitePage::|public|constructor():void Microsoft.Graph.Beta.Models.baseSitePage::|public|GetFieldDeserializers():IDictionary> @@ -153443,6 +153801,16 @@ Microsoft.Graph.Beta.Models.clientCertificateAuthentication::|public|GetFieldDes Microsoft.Graph.Beta.Models.clientCertificateAuthentication::|public|OdataType:string Microsoft.Graph.Beta.Models.clientCertificateAuthentication::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.clientCertificateAuthentication::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ClientCertificateAuthentication +Microsoft.Graph.Beta.Models.clientCredentials::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.clientCredentials::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.clientCredentials::|public|CertificateName:string +Microsoft.Graph.Beta.Models.clientCredentials::|public|constructor():void +Microsoft.Graph.Beta.Models.clientCredentials::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.clientCredentials::|public|KeyVaultUri:string +Microsoft.Graph.Beta.Models.clientCredentials::|public|OdataType:string +Microsoft.Graph.Beta.Models.clientCredentials::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.clientCredentials::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ClientCredentials +Microsoft.Graph.Beta.Models.clientCredentials~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.clientCredentialType::0000-none Microsoft.Graph.Beta.Models.clientCredentialType::0001-clientSecret Microsoft.Graph.Beta.Models.clientCredentialType::0002-clientAssertion @@ -156015,6 +156383,68 @@ Microsoft.Graph.Beta.Models.configuration::|public|GetFieldDeserializers():IDict Microsoft.Graph.Beta.Models.configuration::|public|OdataType:string Microsoft.Graph.Beta.Models.configuration::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.configuration::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Configuration +Microsoft.Graph.Beta.Models.configurationApplication-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.configurationApplication::|public|AppId:string +Microsoft.Graph.Beta.Models.configurationApplication::|public|ClientCredentials:global.Microsoft.Graph.Beta.Models.ClientCredentials +Microsoft.Graph.Beta.Models.configurationApplication::|public|CreatedBy:global.Microsoft.Graph.Beta.Models.IdentitySet +Microsoft.Graph.Beta.Models.configurationApplication::|public|CreatedDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.configurationApplication::|public|Description:string +Microsoft.Graph.Beta.Models.configurationApplication::|public|DisplayName:string +Microsoft.Graph.Beta.Models.configurationApplication::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.configurationApplication::|public|LastModifiedBy:global.Microsoft.Graph.Beta.Models.IdentitySet +Microsoft.Graph.Beta.Models.configurationApplication::|public|LastModifiedDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.configurationApplication::|public|OdataType:string +Microsoft.Graph.Beta.Models.configurationApplication::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.configurationApplication::|public|TenantId:string +Microsoft.Graph.Beta.Models.configurationApplication::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ConfigurationApplication +Microsoft.Graph.Beta.Models.configurationApplicationCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Models.configurationApplicationCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.configurationApplicationCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.configurationApplicationCollectionResponse::|public|Value:List +Microsoft.Graph.Beta.Models.configurationApplicationCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ConfigurationApplicationCollectionResponse +Microsoft.Graph.Beta.Models.configurationBaseline-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.configurationBaseline::|public|Description:string +Microsoft.Graph.Beta.Models.configurationBaseline::|public|DisplayName:string +Microsoft.Graph.Beta.Models.configurationBaseline::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.configurationBaseline::|public|OdataType:string +Microsoft.Graph.Beta.Models.configurationBaseline::|public|Parameters:List +Microsoft.Graph.Beta.Models.configurationBaseline::|public|Resources:List +Microsoft.Graph.Beta.Models.configurationBaseline::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.configurationBaseline::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ConfigurationBaseline +Microsoft.Graph.Beta.Models.configurationBaselineCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Models.configurationBaselineCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.configurationBaselineCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.configurationBaselineCollectionResponse::|public|Value:List +Microsoft.Graph.Beta.Models.configurationBaselineCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ConfigurationBaselineCollectionResponse +Microsoft.Graph.Beta.Models.configurationDrift-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.configurationDrift::|public|BaselineResourceDisplayName:string +Microsoft.Graph.Beta.Models.configurationDrift::|public|DriftedProperties:List +Microsoft.Graph.Beta.Models.configurationDrift::|public|FirstReportedDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.configurationDrift::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.configurationDrift::|public|MonitorId:string +Microsoft.Graph.Beta.Models.configurationDrift::|public|OdataType:string +Microsoft.Graph.Beta.Models.configurationDrift::|public|ResourceInstanceIdentifier:global.Microsoft.Graph.Beta.Models.OpenComplexDictionaryType +Microsoft.Graph.Beta.Models.configurationDrift::|public|ResourceType:string +Microsoft.Graph.Beta.Models.configurationDrift::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.configurationDrift::|public|Status:global.Microsoft.Graph.Beta.Models.DriftStatus? +Microsoft.Graph.Beta.Models.configurationDrift::|public|TenantId:string +Microsoft.Graph.Beta.Models.configurationDrift::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ConfigurationDrift +Microsoft.Graph.Beta.Models.configurationDriftCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Models.configurationDriftCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.configurationDriftCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.configurationDriftCollectionResponse::|public|Value:List +Microsoft.Graph.Beta.Models.configurationDriftCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ConfigurationDriftCollectionResponse +Microsoft.Graph.Beta.Models.configurationManagement-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.configurationManagement::|public|ConfigurationApplications:List +Microsoft.Graph.Beta.Models.configurationManagement::|public|ConfigurationDrifts:List +Microsoft.Graph.Beta.Models.configurationManagement::|public|ConfigurationMonitoringResults:List +Microsoft.Graph.Beta.Models.configurationManagement::|public|ConfigurationMonitors:List +Microsoft.Graph.Beta.Models.configurationManagement::|public|ConfigurationSnapshotJobs:List +Microsoft.Graph.Beta.Models.configurationManagement::|public|ConfigurationSnapshots:List +Microsoft.Graph.Beta.Models.configurationManagement::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.configurationManagement::|public|OdataType:string +Microsoft.Graph.Beta.Models.configurationManagement::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.configurationManagement::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ConfigurationManagement Microsoft.Graph.Beta.Models.configurationManagerAction::|public|Action:global.Microsoft.Graph.Beta.Models.ConfigurationManagerActionType? Microsoft.Graph.Beta.Models.configurationManagerAction::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.configurationManagerAction::|public|BackingStore:IBackingStore @@ -156094,6 +156524,65 @@ Microsoft.Graph.Beta.Models.configurationManagerCollectionAssignmentTarget::|pub Microsoft.Graph.Beta.Models.configurationManagerCollectionAssignmentTarget::|public|OdataType:string Microsoft.Graph.Beta.Models.configurationManagerCollectionAssignmentTarget::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.configurationManagerCollectionAssignmentTarget::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ConfigurationManagerCollectionAssignmentTarget +Microsoft.Graph.Beta.Models.configurationMonitor-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.configurationMonitor::|public|Baseline:global.Microsoft.Graph.Beta.Models.ConfigurationBaseline +Microsoft.Graph.Beta.Models.configurationMonitor::|public|CreatedBy:global.Microsoft.Graph.Beta.Models.IdentitySet +Microsoft.Graph.Beta.Models.configurationMonitor::|public|CreatedDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.configurationMonitor::|public|Description:string +Microsoft.Graph.Beta.Models.configurationMonitor::|public|DisplayName:string +Microsoft.Graph.Beta.Models.configurationMonitor::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.configurationMonitor::|public|LastModifiedDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.configurationMonitor::|public|Mode:global.Microsoft.Graph.Beta.Models.MonitorMode? +Microsoft.Graph.Beta.Models.configurationMonitor::|public|MonitorRunFrequencyInHours:int? +Microsoft.Graph.Beta.Models.configurationMonitor::|public|OdataType:string +Microsoft.Graph.Beta.Models.configurationMonitor::|public|Parameters:global.Microsoft.Graph.Beta.Models.OpenComplexDictionaryType +Microsoft.Graph.Beta.Models.configurationMonitor::|public|RunningOnBehalfOf:global.Microsoft.Graph.Beta.Models.IdentitySet +Microsoft.Graph.Beta.Models.configurationMonitor::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.configurationMonitor::|public|Status:global.Microsoft.Graph.Beta.Models.MonitorStatus? +Microsoft.Graph.Beta.Models.configurationMonitor::|public|TenantId:string +Microsoft.Graph.Beta.Models.configurationMonitor::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ConfigurationMonitor +Microsoft.Graph.Beta.Models.configurationMonitorCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Models.configurationMonitorCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.configurationMonitorCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.configurationMonitorCollectionResponse::|public|Value:List +Microsoft.Graph.Beta.Models.configurationMonitorCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ConfigurationMonitorCollectionResponse +Microsoft.Graph.Beta.Models.configurationMonitoringResult-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.configurationMonitoringResult::|public|DriftsCount:int? +Microsoft.Graph.Beta.Models.configurationMonitoringResult::|public|ErrorDetails:List +Microsoft.Graph.Beta.Models.configurationMonitoringResult::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.configurationMonitoringResult::|public|MonitorId:string +Microsoft.Graph.Beta.Models.configurationMonitoringResult::|public|OdataType:string +Microsoft.Graph.Beta.Models.configurationMonitoringResult::|public|RunCompletionDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.configurationMonitoringResult::|public|RunInitiationDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.configurationMonitoringResult::|public|RunStatus:global.Microsoft.Graph.Beta.Models.MonitorRunStatus? +Microsoft.Graph.Beta.Models.configurationMonitoringResult::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.configurationMonitoringResult::|public|TenantId:string +Microsoft.Graph.Beta.Models.configurationMonitoringResult::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ConfigurationMonitoringResult +Microsoft.Graph.Beta.Models.configurationMonitoringResultCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Models.configurationMonitoringResultCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.configurationMonitoringResultCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.configurationMonitoringResultCollectionResponse::|public|Value:List +Microsoft.Graph.Beta.Models.configurationMonitoringResultCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ConfigurationMonitoringResultCollectionResponse +Microsoft.Graph.Beta.Models.configurationSnapshotJob-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.configurationSnapshotJob::|public|CompletedDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.configurationSnapshotJob::|public|CreatedBy:global.Microsoft.Graph.Beta.Models.IdentitySet +Microsoft.Graph.Beta.Models.configurationSnapshotJob::|public|CreatedDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.configurationSnapshotJob::|public|Description:string +Microsoft.Graph.Beta.Models.configurationSnapshotJob::|public|DisplayName:string +Microsoft.Graph.Beta.Models.configurationSnapshotJob::|public|ErrorDetails:List +Microsoft.Graph.Beta.Models.configurationSnapshotJob::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.configurationSnapshotJob::|public|OdataType:string +Microsoft.Graph.Beta.Models.configurationSnapshotJob::|public|ResourceLocation:string +Microsoft.Graph.Beta.Models.configurationSnapshotJob::|public|Resources:List +Microsoft.Graph.Beta.Models.configurationSnapshotJob::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.configurationSnapshotJob::|public|Status:global.Microsoft.Graph.Beta.Models.SnapshotJobStatus? +Microsoft.Graph.Beta.Models.configurationSnapshotJob::|public|TenantId:string +Microsoft.Graph.Beta.Models.configurationSnapshotJob::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ConfigurationSnapshotJob +Microsoft.Graph.Beta.Models.configurationSnapshotJobCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Models.configurationSnapshotJobCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.configurationSnapshotJobCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.configurationSnapshotJobCollectionResponse::|public|Value:List +Microsoft.Graph.Beta.Models.configurationSnapshotJobCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ConfigurationSnapshotJobCollectionResponse Microsoft.Graph.Beta.Models.configurationUri::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.configurationUri::|public|AppliesToSingleSignOnMode:string Microsoft.Graph.Beta.Models.configurationUri::|public|BackingStore:IBackingStore @@ -162295,6 +162784,16 @@ Microsoft.Graph.Beta.Models.deviceManangementIntentValueType::0002-string Microsoft.Graph.Beta.Models.deviceManangementIntentValueType::0003-complex Microsoft.Graph.Beta.Models.deviceManangementIntentValueType::0004-collection Microsoft.Graph.Beta.Models.deviceManangementIntentValueType::0005-abstractComplex +Microsoft.Graph.Beta.Models.deviceMetadata::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.deviceMetadata::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.deviceMetadata::|public|constructor():void +Microsoft.Graph.Beta.Models.deviceMetadata::|public|DeviceType:string +Microsoft.Graph.Beta.Models.deviceMetadata::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.deviceMetadata::|public|IpAddress:string +Microsoft.Graph.Beta.Models.deviceMetadata::|public|OdataType:string +Microsoft.Graph.Beta.Models.deviceMetadata::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.deviceMetadata::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.DeviceMetadata +Microsoft.Graph.Beta.Models.deviceMetadata~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.deviceOperatingSystemSummary::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.deviceOperatingSystemSummary::|public|AndroidCorporateWorkProfileCount:int? Microsoft.Graph.Beta.Models.deviceOperatingSystemSummary::|public|AndroidCount:int? @@ -163105,6 +163604,20 @@ Microsoft.Graph.Beta.Models.downgradeJustification::|public|OdataType:string Microsoft.Graph.Beta.Models.downgradeJustification::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.downgradeJustification::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.DowngradeJustification Microsoft.Graph.Beta.Models.downgradeJustification~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.driftedProperty::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.driftedProperty::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.driftedProperty::|public|constructor():void +Microsoft.Graph.Beta.Models.driftedProperty::|public|CurrentValue:UntypedNode +Microsoft.Graph.Beta.Models.driftedProperty::|public|DesiredValue:UntypedNode +Microsoft.Graph.Beta.Models.driftedProperty::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.driftedProperty::|public|OdataType:string +Microsoft.Graph.Beta.Models.driftedProperty::|public|PropertyName:string +Microsoft.Graph.Beta.Models.driftedProperty::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.driftedProperty::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.DriftedProperty +Microsoft.Graph.Beta.Models.driftedProperty~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.driftStatus::0000-active +Microsoft.Graph.Beta.Models.driftStatus::0001-fixed +Microsoft.Graph.Beta.Models.driftStatus::0002-unknownFutureValue Microsoft.Graph.Beta.Models.drive-->global.Microsoft.Graph.Beta.Models.BaseItem Microsoft.Graph.Beta.Models.drive::|public|Activities:List Microsoft.Graph.Beta.Models.drive::|public|Bundles:List @@ -164784,6 +165297,14 @@ Microsoft.Graph.Beta.Models.emailIdentity::|public|GetFieldDeserializers():IDict Microsoft.Graph.Beta.Models.emailIdentity::|public|OdataType:string Microsoft.Graph.Beta.Models.emailIdentity::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.emailIdentity::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.EmailIdentity +Microsoft.Graph.Beta.Models.emailNotificationsSetting-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.emailNotificationsSetting::|public|AdditionalEvents:global.Microsoft.Graph.Beta.Models.NotificationEventsType? +Microsoft.Graph.Beta.Models.emailNotificationsSetting::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.emailNotificationsSetting::|public|IsEnabled:bool? +Microsoft.Graph.Beta.Models.emailNotificationsSetting::|public|OdataType:string +Microsoft.Graph.Beta.Models.emailNotificationsSetting::|public|Recipients:global.Microsoft.Graph.Beta.Models.NotificationRecipients +Microsoft.Graph.Beta.Models.emailNotificationsSetting::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.emailNotificationsSetting::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.EmailNotificationsSetting Microsoft.Graph.Beta.Models.emailPayloadDetail-->global.Microsoft.Graph.Beta.Models.PayloadDetail Microsoft.Graph.Beta.Models.emailPayloadDetail::|public|constructor():void Microsoft.Graph.Beta.Models.emailPayloadDetail::|public|FromEmail:string @@ -165485,6 +166006,17 @@ Microsoft.Graph.Beta.Models.errorCorrectionLevel::0001-m Microsoft.Graph.Beta.Models.errorCorrectionLevel::0002-q Microsoft.Graph.Beta.Models.errorCorrectionLevel::0003-h Microsoft.Graph.Beta.Models.errorCorrectionLevel::0004-unknownFutureValue +Microsoft.Graph.Beta.Models.errorDetail::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.errorDetail::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.errorDetail::|public|constructor():void +Microsoft.Graph.Beta.Models.errorDetail::|public|ErrorMessage:string +Microsoft.Graph.Beta.Models.errorDetail::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.errorDetail::|public|OdataType:string +Microsoft.Graph.Beta.Models.errorDetail::|public|ResourceInstanceName:string +Microsoft.Graph.Beta.Models.errorDetail::|public|ResourceType:string +Microsoft.Graph.Beta.Models.errorDetail::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.errorDetail::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ErrorDetail +Microsoft.Graph.Beta.Models.errorDetail~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.evaluateDynamicMembershipResult::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.evaluateDynamicMembershipResult::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.evaluateDynamicMembershipResult::|public|constructor():void @@ -165824,6 +166356,9 @@ Microsoft.Graph.Beta.Models.exclusionGroupAssignmentTarget::|public|GetFieldDese Microsoft.Graph.Beta.Models.exclusionGroupAssignmentTarget::|public|OdataType:string Microsoft.Graph.Beta.Models.exclusionGroupAssignmentTarget::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.exclusionGroupAssignmentTarget::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ExclusionGroupAssignmentTarget +Microsoft.Graph.Beta.Models.executionMode::0000-evaluateInline +Microsoft.Graph.Beta.Models.executionMode::0001-evaluateOffline +Microsoft.Graph.Beta.Models.executionMode::0002-unknownFutureValue Microsoft.Graph.Beta.Models.expeditedWindowsQualityUpdateSettings::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.expeditedWindowsQualityUpdateSettings::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.expeditedWindowsQualityUpdateSettings::|public|constructor():void @@ -168050,6 +168585,12 @@ Microsoft.Graph.Beta.Models.groupPrivacy::0000-unspecified Microsoft.Graph.Beta.Models.groupPrivacy::0001-public Microsoft.Graph.Beta.Models.groupPrivacy::0002-private Microsoft.Graph.Beta.Models.groupPrivacy::0003-unknownFutureValue +Microsoft.Graph.Beta.Models.groupScope-->global.Microsoft.Graph.Beta.Models.ScopeBase +Microsoft.Graph.Beta.Models.groupScope::|public|constructor():void +Microsoft.Graph.Beta.Models.groupScope::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.groupScope::|public|OdataType:string +Microsoft.Graph.Beta.Models.groupScope::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.groupScope::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.GroupScope Microsoft.Graph.Beta.Models.groupType::0000-unifiedGroups Microsoft.Graph.Beta.Models.groupType::0001-azureAD Microsoft.Graph.Beta.Models.groupType::0002-unknownFutureValue @@ -178058,6 +178599,16 @@ Microsoft.Graph.Beta.Models.modifiedProperty::|public|OldValue:string Microsoft.Graph.Beta.Models.modifiedProperty::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.modifiedProperty::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ModifiedProperty Microsoft.Graph.Beta.Models.modifiedProperty~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.monitorMode::0000-monitorOnly +Microsoft.Graph.Beta.Models.monitorMode::0001-unknownFutureValue +Microsoft.Graph.Beta.Models.monitorRunStatus::0000-successful +Microsoft.Graph.Beta.Models.monitorRunStatus::0001-partiallySuccessful +Microsoft.Graph.Beta.Models.monitorRunStatus::0002-failed +Microsoft.Graph.Beta.Models.monitorRunStatus::0003-unknownFutureValue +Microsoft.Graph.Beta.Models.monitorStatus::0000-active +Microsoft.Graph.Beta.Models.monitorStatus::0001-inactive +Microsoft.Graph.Beta.Models.monitorStatus::0002-inactivatedBySystem +Microsoft.Graph.Beta.Models.monitorStatus::0003-unknownFutureValue Microsoft.Graph.Beta.Models.monthlyInactiveUsersByApplicationMetric-->global.Microsoft.Graph.Beta.Models.InactiveUsersByApplicationMetricBase Microsoft.Graph.Beta.Models.monthlyInactiveUsersByApplicationMetric::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.monthlyInactiveUsersByApplicationMetric::|public|InactiveCalendarMonthCount:long? @@ -179747,6 +180298,9 @@ Microsoft.Graph.Beta.Models.notificationDeliveryPreference::0000-unknown Microsoft.Graph.Beta.Models.notificationDeliveryPreference::0001-deliverImmedietly Microsoft.Graph.Beta.Models.notificationDeliveryPreference::0002-deliverAfterCampaignEnd Microsoft.Graph.Beta.Models.notificationDeliveryPreference::0003-unknownFutureValue +Microsoft.Graph.Beta.Models.notificationEventsType::0000-none +Microsoft.Graph.Beta.Models.notificationEventsType::0001-restoreAndPolicyUpdates +Microsoft.Graph.Beta.Models.notificationEventsType::0002-unknownFutureValue Microsoft.Graph.Beta.Models.notificationMessageTemplate-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.notificationMessageTemplate::|public|BrandingOptions:global.Microsoft.Graph.Beta.Models.NotificationTemplateBrandingOptions? Microsoft.Graph.Beta.Models.notificationMessageTemplate::|public|DefaultLocale:string @@ -179764,6 +180318,22 @@ Microsoft.Graph.Beta.Models.notificationMessageTemplateCollectionResponse::|publ Microsoft.Graph.Beta.Models.notificationMessageTemplateCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.notificationMessageTemplateCollectionResponse::|public|Value:List Microsoft.Graph.Beta.Models.notificationMessageTemplateCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.NotificationMessageTemplateCollectionResponse +Microsoft.Graph.Beta.Models.notificationRecipients::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.notificationRecipients::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.notificationRecipients::|public|constructor():void +Microsoft.Graph.Beta.Models.notificationRecipients::|public|CustomRecipients:List +Microsoft.Graph.Beta.Models.notificationRecipients::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.notificationRecipients::|public|OdataType:string +Microsoft.Graph.Beta.Models.notificationRecipients::|public|Role:global.Microsoft.Graph.Beta.Models.NotificationRecipientsType? +Microsoft.Graph.Beta.Models.notificationRecipients::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.notificationRecipients::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.NotificationRecipients +Microsoft.Graph.Beta.Models.notificationRecipientsType::0000-none +Microsoft.Graph.Beta.Models.notificationRecipientsType::0001-globalAdmins +Microsoft.Graph.Beta.Models.notificationRecipientsType::0002-backupAdmins +Microsoft.Graph.Beta.Models.notificationRecipientsType::0003-custom +Microsoft.Graph.Beta.Models.notificationRecipientsType::0004-allAdmins +Microsoft.Graph.Beta.Models.notificationRecipientsType::0005-unknownFutureValue +Microsoft.Graph.Beta.Models.notificationRecipients~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.notificationTemplateBrandingOptions::0000-none Microsoft.Graph.Beta.Models.notificationTemplateBrandingOptions::0001-includeCompanyLogo Microsoft.Graph.Beta.Models.notificationTemplateBrandingOptions::0002-includeCompanyName @@ -181123,6 +181693,11 @@ Microsoft.Graph.Beta.Models.openAwsSecurityGroupFinding::|public|SecurityGroup:g Microsoft.Graph.Beta.Models.openAwsSecurityGroupFinding::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.openAwsSecurityGroupFinding::|public|TotalStorageBucketCount:int? Microsoft.Graph.Beta.Models.openAwsSecurityGroupFinding::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.OpenAwsSecurityGroupFinding +Microsoft.Graph.Beta.Models.openComplexDictionaryType-->global.Microsoft.Graph.Beta.Models.Dictionary +Microsoft.Graph.Beta.Models.openComplexDictionaryType::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.openComplexDictionaryType::|public|OdataType:string +Microsoft.Graph.Beta.Models.openComplexDictionaryType::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.openComplexDictionaryType::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.OpenComplexDictionaryType Microsoft.Graph.Beta.Models.openIdConnectIdentityProvider-->global.Microsoft.Graph.Beta.Models.IdentityProviderBase Microsoft.Graph.Beta.Models.openIdConnectIdentityProvider::|public|ClaimsMapping:global.Microsoft.Graph.Beta.Models.ClaimsMapping Microsoft.Graph.Beta.Models.openIdConnectIdentityProvider::|public|ClientId:string @@ -184006,6 +184581,16 @@ Microsoft.Graph.Beta.Models.policyBase::|public|GetFieldDeserializers():IDiction Microsoft.Graph.Beta.Models.policyBase::|public|OdataType:string Microsoft.Graph.Beta.Models.policyBase::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.policyBase::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.PolicyBase +Microsoft.Graph.Beta.Models.policyBinding::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.policyBinding::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.policyBinding::|public|constructor():void +Microsoft.Graph.Beta.Models.policyBinding::|public|Exclusions:List +Microsoft.Graph.Beta.Models.policyBinding::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.policyBinding::|public|Inclusions:List +Microsoft.Graph.Beta.Models.policyBinding::|public|OdataType:string +Microsoft.Graph.Beta.Models.policyBinding::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.policyBinding::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.PolicyBinding +Microsoft.Graph.Beta.Models.policyBinding~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.policyLocation::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.policyLocation::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.policyLocation::|public|constructor():void @@ -184033,6 +184618,10 @@ Microsoft.Graph.Beta.Models.policyLocationUrl::|public|OdataType:string Microsoft.Graph.Beta.Models.policyLocationUrl::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.policyLocationUrl::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.PolicyLocationUrl Microsoft.Graph.Beta.Models.policyLocation~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.policyPivotProperty::0000-none +Microsoft.Graph.Beta.Models.policyPivotProperty::0001-activity +Microsoft.Graph.Beta.Models.policyPivotProperty::0002-location +Microsoft.Graph.Beta.Models.policyPivotProperty::0003-unknownFutureValue Microsoft.Graph.Beta.Models.policyPlatformType::0000-android Microsoft.Graph.Beta.Models.policyPlatformType::0001-androidForWork Microsoft.Graph.Beta.Models.policyPlatformType::0002-iOS @@ -184081,6 +184670,18 @@ Microsoft.Graph.Beta.Models.policyScope::0000-none Microsoft.Graph.Beta.Models.policyScope::0001-all Microsoft.Graph.Beta.Models.policyScope::0002-selected Microsoft.Graph.Beta.Models.policyScope::0003-unknownFutureValue +Microsoft.Graph.Beta.Models.policyScopeBase::|public|Activities:global.Microsoft.Graph.Beta.Models.UserActivityTypes? +Microsoft.Graph.Beta.Models.policyScopeBase::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.policyScopeBase::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.policyScopeBase::|public|constructor():void +Microsoft.Graph.Beta.Models.policyScopeBase::|public|ExecutionMode:global.Microsoft.Graph.Beta.Models.ExecutionMode? +Microsoft.Graph.Beta.Models.policyScopeBase::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.policyScopeBase::|public|Locations:List +Microsoft.Graph.Beta.Models.policyScopeBase::|public|OdataType:string +Microsoft.Graph.Beta.Models.policyScopeBase::|public|PolicyActions:List +Microsoft.Graph.Beta.Models.policyScopeBase::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.policyScopeBase::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.PolicyScopeBase +Microsoft.Graph.Beta.Models.policyScopeBase~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.policySet-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.policySet::|public|Assignments:List Microsoft.Graph.Beta.Models.policySet::|public|CreatedDateTime:DateTimeOffset? @@ -184144,6 +184745,19 @@ Microsoft.Graph.Beta.Models.policyTemplate::|public|MultiTenantOrganizationPartn Microsoft.Graph.Beta.Models.policyTemplate::|public|OdataType:string Microsoft.Graph.Beta.Models.policyTemplate::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.policyTemplate::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.PolicyTemplate +Microsoft.Graph.Beta.Models.policyTenantScope-->global.Microsoft.Graph.Beta.Models.PolicyScopeBase +Microsoft.Graph.Beta.Models.policyTenantScope::|public|constructor():void +Microsoft.Graph.Beta.Models.policyTenantScope::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.policyTenantScope::|public|OdataType:string +Microsoft.Graph.Beta.Models.policyTenantScope::|public|PolicyScope:global.Microsoft.Graph.Beta.Models.PolicyBinding +Microsoft.Graph.Beta.Models.policyTenantScope::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.policyTenantScope::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.PolicyTenantScope +Microsoft.Graph.Beta.Models.policyUserScope-->global.Microsoft.Graph.Beta.Models.PolicyScopeBase +Microsoft.Graph.Beta.Models.policyUserScope::|public|constructor():void +Microsoft.Graph.Beta.Models.policyUserScope::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.policyUserScope::|public|OdataType:string +Microsoft.Graph.Beta.Models.policyUserScope::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.policyUserScope::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.PolicyUserScope Microsoft.Graph.Beta.Models.positionDetail::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.positionDetail::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.positionDetail::|public|Company:global.Microsoft.Graph.Beta.Models.CompanyDetail @@ -186413,6 +187027,7 @@ Microsoft.Graph.Beta.Models.processContentRequest::|public|AdditionalData:IDicti Microsoft.Graph.Beta.Models.processContentRequest::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.processContentRequest::|public|constructor():void Microsoft.Graph.Beta.Models.processContentRequest::|public|ContentEntries:List +Microsoft.Graph.Beta.Models.processContentRequest::|public|DeviceMetadata:global.Microsoft.Graph.Beta.Models.DeviceMetadata Microsoft.Graph.Beta.Models.processContentRequest::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.processContentRequest::|public|IntegratedAppMetadata:global.Microsoft.Graph.Beta.Models.IntegratedApplicationMetadata Microsoft.Graph.Beta.Models.processContentRequest::|public|OdataType:string @@ -189929,6 +190544,15 @@ Microsoft.Graph.Beta.Models.schemaExtensionCollectionResponse::|public|GetFieldD Microsoft.Graph.Beta.Models.schemaExtensionCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.schemaExtensionCollectionResponse::|public|Value:List Microsoft.Graph.Beta.Models.schemaExtensionCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.SchemaExtensionCollectionResponse +Microsoft.Graph.Beta.Models.scopeBase::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.scopeBase::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.scopeBase::|public|constructor():void +Microsoft.Graph.Beta.Models.scopeBase::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.scopeBase::|public|Identity:string +Microsoft.Graph.Beta.Models.scopeBase::|public|OdataType:string +Microsoft.Graph.Beta.Models.scopeBase::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.scopeBase::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ScopeBase +Microsoft.Graph.Beta.Models.scopeBase~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.scopedRoleMembership-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.scopedRoleMembership::|public|AdministrativeUnitId:string Microsoft.Graph.Beta.Models.scopedRoleMembership::|public|GetFieldDeserializers():IDictionary> @@ -198760,6 +199384,12 @@ Microsoft.Graph.Beta.Models.smsAuthenticationMethodTarget::|public|IsUsableForSi Microsoft.Graph.Beta.Models.smsAuthenticationMethodTarget::|public|OdataType:string Microsoft.Graph.Beta.Models.smsAuthenticationMethodTarget::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.smsAuthenticationMethodTarget::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.SmsAuthenticationMethodTarget +Microsoft.Graph.Beta.Models.snapshotJobStatus::0000-notStarted +Microsoft.Graph.Beta.Models.snapshotJobStatus::0001-running +Microsoft.Graph.Beta.Models.snapshotJobStatus::0002-succeeded +Microsoft.Graph.Beta.Models.snapshotJobStatus::0003-failed +Microsoft.Graph.Beta.Models.snapshotJobStatus::0004-unknownFutureValue +Microsoft.Graph.Beta.Models.snapshotJobStatus::0005-partiallySuccessful Microsoft.Graph.Beta.Models.socialIdentityProvider-->global.Microsoft.Graph.Beta.Models.IdentityProviderBase Microsoft.Graph.Beta.Models.socialIdentityProvider::|public|ClientId:string Microsoft.Graph.Beta.Models.socialIdentityProvider::|public|ClientSecret:string @@ -201307,6 +201937,12 @@ Microsoft.Graph.Beta.Models.tenantRelationshipAccessPolicyBase::|public|OdataTyp Microsoft.Graph.Beta.Models.tenantRelationshipAccessPolicyBase::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.tenantRelationshipAccessPolicyBase::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.TenantRelationshipAccessPolicyBase Microsoft.Graph.Beta.Models.tenantRelationship~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.tenantScope-->global.Microsoft.Graph.Beta.Models.ScopeBase +Microsoft.Graph.Beta.Models.tenantScope::|public|constructor():void +Microsoft.Graph.Beta.Models.tenantScope::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.tenantScope::|public|OdataType:string +Microsoft.Graph.Beta.Models.tenantScope::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.tenantScope::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.TenantScope Microsoft.Graph.Beta.Models.tenantSetupInfo-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.tenantSetupInfo::|public|DefaultRolesSettings:global.Microsoft.Graph.Beta.Models.PrivilegedRoleSettings Microsoft.Graph.Beta.Models.tenantSetupInfo::|public|FirstTimeSetup:bool? @@ -203454,6 +204090,12 @@ Microsoft.Graph.Beta.Models.userActivityType::0001-uploadFile Microsoft.Graph.Beta.Models.userActivityType::0002-downloadText Microsoft.Graph.Beta.Models.userActivityType::0003-downloadFile Microsoft.Graph.Beta.Models.userActivityType::0004-unknownFutureValue +Microsoft.Graph.Beta.Models.userActivityTypes::0000-none +Microsoft.Graph.Beta.Models.userActivityTypes::0001-uploadText +Microsoft.Graph.Beta.Models.userActivityTypes::0002-uploadFile +Microsoft.Graph.Beta.Models.userActivityTypes::0003-downloadText +Microsoft.Graph.Beta.Models.userActivityTypes::0004-downloadFile +Microsoft.Graph.Beta.Models.userActivityTypes::0005-unknownFutureValue Microsoft.Graph.Beta.Models.userAnalytics-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.userAnalytics::|public|ActivityStatistics:List Microsoft.Graph.Beta.Models.userAnalytics::|public|GetFieldDeserializers():IDictionary> @@ -204806,6 +205448,12 @@ Microsoft.Graph.Beta.Models.userRequestsMetricCollectionResponse::|public|GetFie Microsoft.Graph.Beta.Models.userRequestsMetricCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.userRequestsMetricCollectionResponse::|public|Value:List Microsoft.Graph.Beta.Models.userRequestsMetricCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.UserRequestsMetricCollectionResponse +Microsoft.Graph.Beta.Models.userScope-->global.Microsoft.Graph.Beta.Models.ScopeBase +Microsoft.Graph.Beta.Models.userScope::|public|constructor():void +Microsoft.Graph.Beta.Models.userScope::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.userScope::|public|OdataType:string +Microsoft.Graph.Beta.Models.userScope::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.userScope::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.UserScope Microsoft.Graph.Beta.Models.userScopeTeamsAppInstallation-->global.Microsoft.Graph.Beta.Models.TeamsAppInstallation Microsoft.Graph.Beta.Models.userScopeTeamsAppInstallation::|public|Chat:global.Microsoft.Graph.Beta.Models.Chat Microsoft.Graph.Beta.Models.userScopeTeamsAppInstallation::|public|constructor():void @@ -235369,12 +236017,40 @@ Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProcessContentAsync.proc Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProcessContentAsync.processContentAsyncRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProcessContentAsync.ProcessContentAsyncRequestBuilder Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProcessContentAsync.processContentAsyncResponse-->global.Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProcessContentAsync.ProcessContentAsyncPostResponse Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProcessContentAsync.processContentAsyncResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProcessContentAsync.ProcessContentAsyncResponse +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody::|public|Activities:global.Microsoft.Graph.Beta.Models.UserActivityTypes? +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody::|public|DeviceMetadata:global.Microsoft.Graph.Beta.Models.DeviceMetadata +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody::|public|IntegratedAppMetadata:global.Microsoft.Graph.Beta.Models.IntegratedApplicationMetadata +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody::|public|Locations:List +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody::|public|PivotOn:global.Microsoft.Graph.Beta.Models.PolicyPivotProperty? +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostResponse::|public|Value:List +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostResponse +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.computeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.computeRequestBuilder.computeRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.computeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.computeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.computeRequestBuilder::|public|PostAsComputePostResponseAsync(body:global.Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostResponse +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.computeRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputeResponse +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.computeRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.computeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputeRequestBuilder +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.computeResponse-->global.Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostResponse +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.computeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputeResponse Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder.protectionScopesRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder.protectionScopesRequestBuilderGetQueryParameters::|public|Expand:string[] Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder.protectionScopesRequestBuilderGetQueryParameters::|public|Select:string[] Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder.protectionScopesRequestBuilderGetRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder.protectionScopesRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder::|public|compute:global.Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputeRequestBuilder Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void @@ -252418,6 +253094,7 @@ Microsoft.Graph.Beta.Solutions.BackupRestore.backupRestoreRequestBuilder::|publi Microsoft.Graph.Beta.Solutions.BackupRestore.backupRestoreRequestBuilder::|public|driveInclusionRules:global.Microsoft.Graph.Beta.Solutions.BackupRestore.DriveInclusionRules.DriveInclusionRulesRequestBuilder Microsoft.Graph.Beta.Solutions.BackupRestore.backupRestoreRequestBuilder::|public|driveProtectionUnits:global.Microsoft.Graph.Beta.Solutions.BackupRestore.DriveProtectionUnits.DriveProtectionUnitsRequestBuilder Microsoft.Graph.Beta.Solutions.BackupRestore.backupRestoreRequestBuilder::|public|driveProtectionUnitsBulkAdditionJobs:global.Microsoft.Graph.Beta.Solutions.BackupRestore.DriveProtectionUnitsBulkAdditionJobs.DriveProtectionUnitsBulkAdditionJobsRequestBuilder +Microsoft.Graph.Beta.Solutions.BackupRestore.backupRestoreRequestBuilder::|public|emailNotificationsSetting:global.Microsoft.Graph.Beta.Solutions.BackupRestore.EmailNotificationsSetting.EmailNotificationsSettingRequestBuilder Microsoft.Graph.Beta.Solutions.BackupRestore.backupRestoreRequestBuilder::|public|enable:global.Microsoft.Graph.Beta.Solutions.BackupRestore.Enable.EnableRequestBuilder Microsoft.Graph.Beta.Solutions.BackupRestore.backupRestoreRequestBuilder::|public|exchangeProtectionPolicies:global.Microsoft.Graph.Beta.Solutions.BackupRestore.ExchangeProtectionPolicies.ExchangeProtectionPoliciesRequestBuilder Microsoft.Graph.Beta.Solutions.BackupRestore.backupRestoreRequestBuilder::|public|exchangeRestoreSessions:global.Microsoft.Graph.Beta.Solutions.BackupRestore.ExchangeRestoreSessions.ExchangeRestoreSessionsRequestBuilder @@ -252574,6 +253251,21 @@ Microsoft.Graph.Beta.Solutions.BackupRestore.DriveProtectionUnitsBulkAdditionJob Microsoft.Graph.Beta.Solutions.BackupRestore.DriveProtectionUnitsBulkAdditionJobs.Item.DriveProtectionUnitsBulkAdditionJobItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Solutions.BackupRestore.DriveProtectionUnitsBulkAdditionJobs.Item.DriveProtectionUnitsBulkAdditionJobItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.DriveProtectionUnitsBulkAdditionJob; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Solutions.BackupRestore.DriveProtectionUnitsBulkAdditionJobs.Item.DriveProtectionUnitsBulkAdditionJobItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Solutions.BackupRestore.DriveProtectionUnitsBulkAdditionJobs.Item.DriveProtectionUnitsBulkAdditionJobItemRequestBuilder +Microsoft.Graph.Beta.Solutions.BackupRestore.EmailNotificationsSetting.emailNotificationsSettingRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Solutions.BackupRestore.EmailNotificationsSetting.emailNotificationsSettingRequestBuilder.emailNotificationsSettingRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Solutions.BackupRestore.EmailNotificationsSetting.emailNotificationsSettingRequestBuilder.emailNotificationsSettingRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Solutions.BackupRestore.EmailNotificationsSetting.emailNotificationsSettingRequestBuilder.emailNotificationsSettingRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Solutions.BackupRestore.EmailNotificationsSetting.emailNotificationsSettingRequestBuilder.emailNotificationsSettingRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Solutions.BackupRestore.EmailNotificationsSetting.emailNotificationsSettingRequestBuilder.emailNotificationsSettingRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Solutions.BackupRestore.EmailNotificationsSetting.emailNotificationsSettingRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Solutions.BackupRestore.EmailNotificationsSetting.emailNotificationsSettingRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Solutions.BackupRestore.EmailNotificationsSetting.emailNotificationsSettingRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Solutions.BackupRestore.EmailNotificationsSetting.emailNotificationsSettingRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.EmailNotificationsSetting +Microsoft.Graph.Beta.Solutions.BackupRestore.EmailNotificationsSetting.emailNotificationsSettingRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.EmailNotificationsSetting; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.EmailNotificationsSetting +Microsoft.Graph.Beta.Solutions.BackupRestore.EmailNotificationsSetting.emailNotificationsSettingRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Solutions.BackupRestore.EmailNotificationsSetting.emailNotificationsSettingRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Solutions.BackupRestore.EmailNotificationsSetting.emailNotificationsSettingRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.EmailNotificationsSetting; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Solutions.BackupRestore.EmailNotificationsSetting.emailNotificationsSettingRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Solutions.BackupRestore.EmailNotificationsSetting.EmailNotificationsSettingRequestBuilder Microsoft.Graph.Beta.Solutions.BackupRestore.Enable.enablePostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Solutions.BackupRestore.Enable.enablePostRequestBody::|public|AppOwnerTenantId:string Microsoft.Graph.Beta.Solutions.BackupRestore.Enable.enablePostRequestBody::|public|BackingStore:IBackingStore @@ -283845,12 +284537,40 @@ Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProcessContent.process Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProcessContent.processContentRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProcessContent.ProcessContentPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ProcessContentResponse Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProcessContent.processContentRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProcessContent.ProcessContentPostRequestBody; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProcessContent.processContentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProcessContent.ProcessContentRequestBuilder +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody::|public|Activities:global.Microsoft.Graph.Beta.Models.UserActivityTypes? +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody::|public|DeviceMetadata:global.Microsoft.Graph.Beta.Models.DeviceMetadata +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody::|public|IntegratedAppMetadata:global.Microsoft.Graph.Beta.Models.IntegratedApplicationMetadata +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody::|public|Locations:List +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody::|public|PivotOn:global.Microsoft.Graph.Beta.Models.PolicyPivotProperty? +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostResponse::|public|Value:List +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostResponse +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.computeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.computeRequestBuilder.computeRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.computeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.computeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.computeRequestBuilder::|public|PostAsComputePostResponseAsync(body:global.Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostResponse +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.computeRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputeResponse +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.computeRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.computeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputeRequestBuilder +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.computeResponse-->global.Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostResponse +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.computeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputeResponse Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder.protectionScopesRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder.protectionScopesRequestBuilderGetQueryParameters::|public|Expand:string[] Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder.protectionScopesRequestBuilderGetQueryParameters::|public|Select:string[] Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder.protectionScopesRequestBuilderGetRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder.protectionScopesRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder::|public|compute:global.Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputeRequestBuilder Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void diff --git a/src/Microsoft.Graph/Generated/kiota-lock.json b/src/Microsoft.Graph/Generated/kiota-lock.json index 21d565830221..b671bc6a784a 100644 --- a/src/Microsoft.Graph/Generated/kiota-lock.json +++ b/src/Microsoft.Graph/Generated/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "CC6695AD66F6378F08979014D7A01A3AF02675353D9D953C6D0FB4A61204E5A277B4BE660E18082F1817D950054B8EEB2D55813CFFB59897646F70DEB7EEB5A7", + "descriptionHash": "DE38875452EFA2CE4C8A08EF0E5FFDE267D6155493E005520899E7297F4B456375BE87555BC682F2F0E9FAE30C7B3C1EB7D7A74220530F185A7EAD9029A92831", "descriptionLocation": "../../msgraph-metadata/clean_beta_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.28.0",