diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/ApplicableCatalogSummaries/ApplicableCatalogSummariesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/ApplicableCatalogSummaries/ApplicableCatalogSummariesRequestBuilder.cs new file mode 100644 index 000000000000..ea7fb7c86894 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/ApplicableCatalogSummaries/ApplicableCatalogSummariesRequestBuilder.cs @@ -0,0 +1,184 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Count; +using Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models.WindowsUpdates; +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.Windows.Updates.Data.ApplicableCatalogSummaries +{ + /// + /// Provides operations to manage the applicableCatalogSummaries property of the microsoft.graph.windowsUpdates.updateData entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ApplicableCatalogSummariesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the applicableCatalogSummaries property of the microsoft.graph.windowsUpdates.updateData entity. + /// The unique identifier of applicableCatalogSummary + /// A + public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.ApplicableCatalogSummaryItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("applicableCatalogSummary%2Did", position); + return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.ApplicableCatalogSummaryItemRequestBuilder(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 ApplicableCatalogSummariesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/data/applicableCatalogSummaries{?%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 ApplicableCatalogSummariesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/data/applicableCatalogSummaries{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get a list of applicableCatalogSummary resources aggregated across Windows Autopatch policies. + /// 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.WindowsUpdates.ApplicableCatalogSummaryCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get a list of applicableCatalogSummary resources aggregated across Windows Autopatch policies. + /// + /// 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; + } + /// + /// 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.Windows.Updates.Data.ApplicableCatalogSummaries.ApplicableCatalogSummariesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.ApplicableCatalogSummariesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get a list of applicableCatalogSummary resources aggregated across Windows Autopatch policies. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ApplicableCatalogSummariesRequestBuilderGetQueryParameters + { + /// 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 ApplicableCatalogSummariesRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/ApplicableCatalogSummaries/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/ApplicableCatalogSummaries/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..174bd2ed0f32 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/ApplicableCatalogSummaries/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.Windows.Updates.Data.ApplicableCatalogSummaries.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/windows/updates/data/applicableCatalogSummaries/$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/windows/updates/data/applicableCatalogSummaries/$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.Windows.Updates.Data.ApplicableCatalogSummaries.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.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/Windows/Updates/Data/ApplicableCatalogSummaries/Item/AggregatedDevices/AggregatedDevicesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/ApplicableCatalogSummaries/Item/AggregatedDevices/AggregatedDevicesRequestBuilder.cs new file mode 100644 index 000000000000..6430460a8e4f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/ApplicableCatalogSummaries/Item/AggregatedDevices/AggregatedDevicesRequestBuilder.cs @@ -0,0 +1,184 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.AggregatedDevices.Count; +using Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.AggregatedDevices.Item; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models.WindowsUpdates; +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.Windows.Updates.Data.ApplicableCatalogSummaries.Item.AggregatedDevices +{ + /// + /// Provides operations to manage the aggregatedDevices property of the microsoft.graph.windowsUpdates.applicableCatalogSummary entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AggregatedDevicesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.AggregatedDevices.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.AggregatedDevices.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the aggregatedDevices property of the microsoft.graph.windowsUpdates.applicableCatalogSummary entity. + /// The unique identifier of applicableDevice + /// A + public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.AggregatedDevices.Item.ApplicableDeviceItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("applicableDevice%2Did", position); + return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.AggregatedDevices.Item.ApplicableDeviceItemRequestBuilder(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 AggregatedDevicesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/data/applicableCatalogSummaries/{applicableCatalogSummary%2Did}/aggregatedDevices{?%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 AggregatedDevicesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/data/applicableCatalogSummaries/{applicableCatalogSummary%2Did}/aggregatedDevices{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get the applicableDevice resources included in an update applicability summary. + /// 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.WindowsUpdates.ApplicableDeviceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the applicableDevice resources included in an update applicability summary. + /// + /// 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; + } + /// + /// 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.Windows.Updates.Data.ApplicableCatalogSummaries.Item.AggregatedDevices.AggregatedDevicesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.AggregatedDevices.AggregatedDevicesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the applicableDevice resources included in an update applicability summary. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AggregatedDevicesRequestBuilderGetQueryParameters + { + /// 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 AggregatedDevicesRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/ApplicableCatalogSummaries/Item/AggregatedDevices/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/ApplicableCatalogSummaries/Item/AggregatedDevices/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..34ad09ba4f00 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/ApplicableCatalogSummaries/Item/AggregatedDevices/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.Windows.Updates.Data.ApplicableCatalogSummaries.Item.AggregatedDevices.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/windows/updates/data/applicableCatalogSummaries/{applicableCatalogSummary%2Did}/aggregatedDevices/$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/windows/updates/data/applicableCatalogSummaries/{applicableCatalogSummary%2Did}/aggregatedDevices/$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.Windows.Updates.Data.ApplicableCatalogSummaries.Item.AggregatedDevices.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.AggregatedDevices.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/Windows/Updates/Data/ApplicableCatalogSummaries/Item/AggregatedDevices/Item/ApplicableDeviceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/ApplicableCatalogSummaries/Item/AggregatedDevices/Item/ApplicableDeviceItemRequestBuilder.cs new file mode 100644 index 000000000000..3dd5005f4add --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/ApplicableCatalogSummaries/Item/AggregatedDevices/Item/ApplicableDeviceItemRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models.WindowsUpdates; +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.Windows.Updates.Data.ApplicableCatalogSummaries.Item.AggregatedDevices.Item +{ + /// + /// Provides operations to manage the aggregatedDevices property of the microsoft.graph.windowsUpdates.applicableCatalogSummary entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ApplicableDeviceItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ApplicableDeviceItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/data/applicableCatalogSummaries/{applicableCatalogSummary%2Did}/aggregatedDevices/{applicableDevice%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 ApplicableDeviceItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/data/applicableCatalogSummaries/{applicableCatalogSummary%2Did}/aggregatedDevices/{applicableDevice%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// The devices included in the applicability summary. + /// + /// 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.WindowsUpdates.ApplicableDevice.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The devices included in the applicability summary. + /// + /// 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; + } + /// + /// 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.Windows.Updates.Data.ApplicableCatalogSummaries.Item.AggregatedDevices.Item.ApplicableDeviceItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.AggregatedDevices.Item.ApplicableDeviceItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The devices included in the applicability summary. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ApplicableDeviceItemRequestBuilderGetQueryParameters + { + /// 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 ApplicableDeviceItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/ApplicableCatalogSummaries/Item/ApplicableCatalogSummaryItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/ApplicableCatalogSummaries/Item/ApplicableCatalogSummaryItemRequestBuilder.cs new file mode 100644 index 000000000000..1f1e9af31201 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/ApplicableCatalogSummaries/Item/ApplicableCatalogSummaryItemRequestBuilder.cs @@ -0,0 +1,137 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.AggregatedDevices; +using Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.CatalogEntry; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models.WindowsUpdates; +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.Windows.Updates.Data.ApplicableCatalogSummaries.Item +{ + /// + /// Provides operations to manage the applicableCatalogSummaries property of the microsoft.graph.windowsUpdates.updateData entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ApplicableCatalogSummaryItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the aggregatedDevices property of the microsoft.graph.windowsUpdates.applicableCatalogSummary entity. + public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.AggregatedDevices.AggregatedDevicesRequestBuilder AggregatedDevices + { + get => new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.AggregatedDevices.AggregatedDevicesRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the catalogEntry property of the microsoft.graph.windowsUpdates.applicableCatalogSummary entity. + public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.CatalogEntry.CatalogEntryRequestBuilder CatalogEntry + { + get => new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.CatalogEntry.CatalogEntryRequestBuilder(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 ApplicableCatalogSummaryItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/data/applicableCatalogSummaries/{applicableCatalogSummary%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 ApplicableCatalogSummaryItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/data/applicableCatalogSummaries/{applicableCatalogSummary%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Catalog applicability aggregated across Autopatch policies. Read-only. + /// + /// 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.WindowsUpdates.ApplicableCatalogSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Catalog applicability aggregated across Autopatch policies. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + 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.Windows.Updates.Data.ApplicableCatalogSummaries.Item.ApplicableCatalogSummaryItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.ApplicableCatalogSummaryItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Catalog applicability aggregated across Autopatch policies. Read-only. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ApplicableCatalogSummaryItemRequestBuilderGetQueryParameters + { + /// 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 ApplicableCatalogSummaryItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/ApplicableCatalogSummaries/Item/CatalogEntry/CatalogEntryRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/ApplicableCatalogSummaries/Item/CatalogEntry/CatalogEntryRequestBuilder.cs new file mode 100644 index 000000000000..b36c991d2b00 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/ApplicableCatalogSummaries/Item/CatalogEntry/CatalogEntryRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models.WindowsUpdates; +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.Windows.Updates.Data.ApplicableCatalogSummaries.Item.CatalogEntry +{ + /// + /// Provides operations to manage the catalogEntry property of the microsoft.graph.windowsUpdates.applicableCatalogSummary entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CatalogEntryRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CatalogEntryRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/data/applicableCatalogSummaries/{applicableCatalogSummary%2Did}/catalogEntry{?%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 CatalogEntryRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/data/applicableCatalogSummaries/{applicableCatalogSummary%2Did}/catalogEntry{?%24expand,%24select}", rawUrl) + { + } + /// + /// The associated Windows update catalog entry. + /// + /// 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.WindowsUpdates.CatalogEntry.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The associated Windows update catalog entry. + /// + /// 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; + } + /// + /// 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.Windows.Updates.Data.ApplicableCatalogSummaries.Item.CatalogEntry.CatalogEntryRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.CatalogEntry.CatalogEntryRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The associated Windows update catalog entry. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CatalogEntryRequestBuilderGetQueryParameters + { + /// 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 CatalogEntryRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/DataRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/DataRequestBuilder.cs new file mode 100644 index 000000000000..f844e623d325 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/DataRequestBuilder.cs @@ -0,0 +1,253 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries; +using Microsoft.Graph.Beta.Admin.Windows.Updates.Data.DeviceProfiles; +using Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers; +using Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models.WindowsUpdates; +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.Windows.Updates.Data +{ + /// + /// Provides operations to manage the data property of the microsoft.graph.adminWindowsUpdates entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DataRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the applicableCatalogSummaries property of the microsoft.graph.windowsUpdates.updateData entity. + public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.ApplicableCatalogSummariesRequestBuilder ApplicableCatalogSummaries + { + get => new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.ApplicableCatalogSummariesRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the deviceProfiles property of the microsoft.graph.windowsUpdates.updateData entity. + public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.DeviceProfiles.DeviceProfilesRequestBuilder DeviceProfiles + { + get => new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.DeviceProfiles.DeviceProfilesRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the drivers property of the microsoft.graph.windowsUpdates.updateData entity. + public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.DriversRequestBuilder Drivers + { + get => new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.DriversRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the policyAssignments property of the microsoft.graph.windowsUpdates.updateData entity. + public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.PolicyAssignmentsRequestBuilder PolicyAssignments + { + get => new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.PolicyAssignmentsRequestBuilder(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 DataRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/data{?%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 DataRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/data{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property data 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); + } + /// + /// Read-only Windows Autopatch device, policy assignment, applicability, and driver reporting data. + /// + /// 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.WindowsUpdates.UpdateData.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property data 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.WindowsUpdates.UpdateData body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.WindowsUpdates.UpdateData body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) 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.WindowsUpdates.UpdateData.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property data 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; + } + /// + /// Read-only Windows Autopatch device, policy assignment, applicability, and driver reporting data. + /// + /// 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 data 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.WindowsUpdates.UpdateData body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.WindowsUpdates.UpdateData body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) 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.Windows.Updates.Data.DataRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.DataRequestBuilder(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 DataRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Read-only Windows Autopatch device, policy assignment, applicability, and driver reporting data. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DataRequestBuilderGetQueryParameters + { + /// 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 DataRequestBuilderGetRequestConfiguration : 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 DataRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/DeviceProfiles/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/DeviceProfiles/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..39bd3ec2c920 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/DeviceProfiles/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.Windows.Updates.Data.DeviceProfiles.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/windows/updates/data/deviceProfiles/$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/windows/updates/data/deviceProfiles/$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.Windows.Updates.Data.DeviceProfiles.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.DeviceProfiles.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/Windows/Updates/Data/DeviceProfiles/DeviceProfilesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/DeviceProfiles/DeviceProfilesRequestBuilder.cs new file mode 100644 index 000000000000..b7948a5c2968 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/DeviceProfiles/DeviceProfilesRequestBuilder.cs @@ -0,0 +1,184 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Admin.Windows.Updates.Data.DeviceProfiles.Count; +using Microsoft.Graph.Beta.Admin.Windows.Updates.Data.DeviceProfiles.Item; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models.WindowsUpdates; +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.Windows.Updates.Data.DeviceProfiles +{ + /// + /// Provides operations to manage the deviceProfiles property of the microsoft.graph.windowsUpdates.updateData entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeviceProfilesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.DeviceProfiles.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.DeviceProfiles.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the deviceProfiles property of the microsoft.graph.windowsUpdates.updateData entity. + /// The unique identifier of deviceProfile + /// A + public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.DeviceProfiles.Item.DeviceProfileItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("deviceProfile%2Did", position); + return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.DeviceProfiles.Item.DeviceProfileItemRequestBuilder(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 DeviceProfilesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/data/deviceProfiles{?%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 DeviceProfilesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/data/deviceProfiles{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get a list of deviceProfile resources and their Windows servicing information. + /// 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.WindowsUpdates.DeviceProfileCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get a list of deviceProfile resources and their Windows servicing information. + /// + /// 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; + } + /// + /// 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.Windows.Updates.Data.DeviceProfiles.DeviceProfilesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.DeviceProfiles.DeviceProfilesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get a list of deviceProfile resources and their Windows servicing information. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeviceProfilesRequestBuilderGetQueryParameters + { + /// 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 DeviceProfilesRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/DeviceProfiles/Item/DeviceProfileItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/DeviceProfiles/Item/DeviceProfileItemRequestBuilder.cs new file mode 100644 index 000000000000..65ba4cf15842 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/DeviceProfiles/Item/DeviceProfileItemRequestBuilder.cs @@ -0,0 +1,126 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models.WindowsUpdates; +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.Windows.Updates.Data.DeviceProfiles.Item +{ + /// + /// Provides operations to manage the deviceProfiles property of the microsoft.graph.windowsUpdates.updateData entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeviceProfileItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public DeviceProfileItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/data/deviceProfiles/{deviceProfile%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 DeviceProfileItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/data/deviceProfiles/{deviceProfile%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Get a deviceProfile resource and its Windows servicing information. + /// 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.WindowsUpdates.DeviceProfile.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get a deviceProfile resource and its Windows servicing information. + /// + /// 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; + } + /// + /// 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.Windows.Updates.Data.DeviceProfiles.Item.DeviceProfileItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.DeviceProfiles.Item.DeviceProfileItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get a deviceProfile resource and its Windows servicing information. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeviceProfileItemRequestBuilderGetQueryParameters + { + /// 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 DeviceProfileItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/Drivers/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/Drivers/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..720b0dc135dd --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/Drivers/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.Windows.Updates.Data.Drivers.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/windows/updates/data/drivers/$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/windows/updates/data/drivers/$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.Windows.Updates.Data.Drivers.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.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/Windows/Updates/Data/Drivers/DriversRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/Drivers/DriversRequestBuilder.cs new file mode 100644 index 000000000000..48914c730c30 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/Drivers/DriversRequestBuilder.cs @@ -0,0 +1,184 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Count; +using Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models.WindowsUpdates; +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.Windows.Updates.Data.Drivers +{ + /// + /// Provides operations to manage the drivers property of the microsoft.graph.windowsUpdates.updateData entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DriversRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the drivers property of the microsoft.graph.windowsUpdates.updateData entity. + /// The unique identifier of driverUpdateReport + /// A + public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DriverUpdateReportItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("driverUpdateReport%2Did", position); + return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DriverUpdateReportItemRequestBuilder(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 DriversRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/data/drivers{?%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 DriversRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/data/drivers{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get a list of driverUpdateReport resources for driver and firmware updates available in the tenant. + /// 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.WindowsUpdates.DriverUpdateReportCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get a list of driverUpdateReport resources for driver and firmware updates available in the tenant. + /// + /// 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; + } + /// + /// 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.Windows.Updates.Data.Drivers.DriversRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.DriversRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get a list of driverUpdateReport resources for driver and firmware updates available in the tenant. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DriversRequestBuilderGetQueryParameters + { + /// 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 DriversRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/Drivers/Item/DeviceStatuses/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/Drivers/Item/DeviceStatuses/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..89318de2a58c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/Drivers/Item/DeviceStatuses/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.Windows.Updates.Data.Drivers.Item.DeviceStatuses.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/windows/updates/data/drivers/{driverUpdateReport%2Did}/deviceStatuses/$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/windows/updates/data/drivers/{driverUpdateReport%2Did}/deviceStatuses/$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.Windows.Updates.Data.Drivers.Item.DeviceStatuses.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DeviceStatuses.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/Windows/Updates/Data/Drivers/Item/DeviceStatuses/DeviceStatusesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/Drivers/Item/DeviceStatuses/DeviceStatusesRequestBuilder.cs new file mode 100644 index 000000000000..e022bc4f1517 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/Drivers/Item/DeviceStatuses/DeviceStatusesRequestBuilder.cs @@ -0,0 +1,184 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DeviceStatuses.Count; +using Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DeviceStatuses.Item; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models.WindowsUpdates; +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.Windows.Updates.Data.Drivers.Item.DeviceStatuses +{ + /// + /// Provides operations to manage the deviceStatuses property of the microsoft.graph.windowsUpdates.driverUpdateReport entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeviceStatusesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DeviceStatuses.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DeviceStatuses.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the deviceStatuses property of the microsoft.graph.windowsUpdates.driverUpdateReport entity. + /// The unique identifier of driverUpdateDeviceStatus + /// A + public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DeviceStatuses.Item.DriverUpdateDeviceStatusItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("driverUpdateDeviceStatus%2Did", position); + return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DeviceStatuses.Item.DriverUpdateDeviceStatusItemRequestBuilder(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 DeviceStatusesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/data/drivers/{driverUpdateReport%2Did}/deviceStatuses{?%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 DeviceStatusesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/data/drivers/{driverUpdateReport%2Did}/deviceStatuses{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get the driverUpdateDeviceStatus resources for a driver or firmware update. + /// 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.WindowsUpdates.DriverUpdateDeviceStatusCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the driverUpdateDeviceStatus resources for a driver or firmware update. + /// + /// 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; + } + /// + /// 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.Windows.Updates.Data.Drivers.Item.DeviceStatuses.DeviceStatusesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DeviceStatuses.DeviceStatusesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the driverUpdateDeviceStatus resources for a driver or firmware update. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeviceStatusesRequestBuilderGetQueryParameters + { + /// 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 DeviceStatusesRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/Drivers/Item/DeviceStatuses/Item/DriverUpdateDeviceStatusItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/Drivers/Item/DeviceStatuses/Item/DriverUpdateDeviceStatusItemRequestBuilder.cs new file mode 100644 index 000000000000..a292185a6168 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/Drivers/Item/DeviceStatuses/Item/DriverUpdateDeviceStatusItemRequestBuilder.cs @@ -0,0 +1,126 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models.WindowsUpdates; +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.Windows.Updates.Data.Drivers.Item.DeviceStatuses.Item +{ + /// + /// Provides operations to manage the deviceStatuses property of the microsoft.graph.windowsUpdates.driverUpdateReport entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DriverUpdateDeviceStatusItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public DriverUpdateDeviceStatusItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/data/drivers/{driverUpdateReport%2Did}/deviceStatuses/{driverUpdateDeviceStatus%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 DriverUpdateDeviceStatusItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/data/drivers/{driverUpdateReport%2Did}/deviceStatuses/{driverUpdateDeviceStatus%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Get a driverUpdateDeviceStatus resource for a driver or firmware update. + /// 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.WindowsUpdates.DriverUpdateDeviceStatus.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get a driverUpdateDeviceStatus resource for a driver or firmware update. + /// + /// 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; + } + /// + /// 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.Windows.Updates.Data.Drivers.Item.DeviceStatuses.Item.DriverUpdateDeviceStatusItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DeviceStatuses.Item.DriverUpdateDeviceStatusItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get a driverUpdateDeviceStatus resource for a driver or firmware update. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DriverUpdateDeviceStatusItemRequestBuilderGetQueryParameters + { + /// 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 DriverUpdateDeviceStatusItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/Drivers/Item/DriverUpdateReportItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/Drivers/Item/DriverUpdateReportItemRequestBuilder.cs new file mode 100644 index 000000000000..878c4df7f5d7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/Drivers/Item/DriverUpdateReportItemRequestBuilder.cs @@ -0,0 +1,131 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DeviceStatuses; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models.WindowsUpdates; +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.Windows.Updates.Data.Drivers.Item +{ + /// + /// Provides operations to manage the drivers property of the microsoft.graph.windowsUpdates.updateData entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DriverUpdateReportItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the deviceStatuses property of the microsoft.graph.windowsUpdates.driverUpdateReport entity. + public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DeviceStatuses.DeviceStatusesRequestBuilder DeviceStatuses + { + get => new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DeviceStatuses.DeviceStatusesRequestBuilder(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 DriverUpdateReportItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/data/drivers/{driverUpdateReport%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 DriverUpdateReportItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/data/drivers/{driverUpdateReport%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Driver updates available in the tenant and their per-device rollout status. Read-only. + /// + /// 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.WindowsUpdates.DriverUpdateReport.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Driver updates available in the tenant and their per-device rollout status. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + 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.Windows.Updates.Data.Drivers.Item.DriverUpdateReportItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DriverUpdateReportItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Driver updates available in the tenant and their per-device rollout status. Read-only. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DriverUpdateReportItemRequestBuilderGetQueryParameters + { + /// 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 DriverUpdateReportItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/PolicyAssignments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/PolicyAssignments/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..9114a3e963f8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/PolicyAssignments/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.Windows.Updates.Data.PolicyAssignments.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/windows/updates/data/policyAssignments/$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/windows/updates/data/policyAssignments/$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.Windows.Updates.Data.PolicyAssignments.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.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/Windows/Updates/Data/PolicyAssignments/Item/DeviceProfile/DeviceProfileRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/PolicyAssignments/Item/DeviceProfile/DeviceProfileRequestBuilder.cs new file mode 100644 index 000000000000..ce7b299c4c9f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/PolicyAssignments/Item/DeviceProfile/DeviceProfileRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models.WindowsUpdates; +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.Windows.Updates.Data.PolicyAssignments.Item.DeviceProfile +{ + /// + /// Provides operations to manage the deviceProfile property of the microsoft.graph.windowsUpdates.policyAssignment entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeviceProfileRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public DeviceProfileRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/data/policyAssignments/{policyAssignment%2Did}/deviceProfile{?%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 DeviceProfileRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/data/policyAssignments/{policyAssignment%2Did}/deviceProfile{?%24expand,%24select}", rawUrl) + { + } + /// + /// The profile of the assigned device. + /// + /// 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.WindowsUpdates.DeviceProfile.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The profile of the assigned device. + /// + /// 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; + } + /// + /// 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.Windows.Updates.Data.PolicyAssignments.Item.DeviceProfile.DeviceProfileRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.Item.DeviceProfile.DeviceProfileRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The profile of the assigned device. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeviceProfileRequestBuilderGetQueryParameters + { + /// 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 DeviceProfileRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/PolicyAssignments/Item/PolicyAssignmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/PolicyAssignments/Item/PolicyAssignmentItemRequestBuilder.cs new file mode 100644 index 000000000000..559db4eb9700 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/PolicyAssignments/Item/PolicyAssignmentItemRequestBuilder.cs @@ -0,0 +1,132 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.Item.DeviceProfile; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models.WindowsUpdates; +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.Windows.Updates.Data.PolicyAssignments.Item +{ + /// + /// Provides operations to manage the policyAssignments property of the microsoft.graph.windowsUpdates.updateData entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PolicyAssignmentItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the deviceProfile property of the microsoft.graph.windowsUpdates.policyAssignment entity. + public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.Item.DeviceProfile.DeviceProfileRequestBuilder DeviceProfile + { + get => new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.Item.DeviceProfile.DeviceProfileRequestBuilder(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 PolicyAssignmentItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/data/policyAssignments/{policyAssignment%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 PolicyAssignmentItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/data/policyAssignments/{policyAssignment%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Get a policyAssignment resource that associates a Windows Autopatch policy with a device. + /// 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.WindowsUpdates.PolicyAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get a policyAssignment resource that associates a Windows Autopatch policy with a device. + /// + /// 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; + } + /// + /// 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.Windows.Updates.Data.PolicyAssignments.Item.PolicyAssignmentItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.Item.PolicyAssignmentItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get a policyAssignment resource that associates a Windows Autopatch policy with a device. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PolicyAssignmentItemRequestBuilderGetQueryParameters + { + /// 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 PolicyAssignmentItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/PolicyAssignments/PolicyAssignmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/PolicyAssignments/PolicyAssignmentsRequestBuilder.cs new file mode 100644 index 000000000000..5664092d3476 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/PolicyAssignments/PolicyAssignmentsRequestBuilder.cs @@ -0,0 +1,184 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.Count; +using Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.Item; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models.WindowsUpdates; +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.Windows.Updates.Data.PolicyAssignments +{ + /// + /// Provides operations to manage the policyAssignments property of the microsoft.graph.windowsUpdates.updateData entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PolicyAssignmentsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the policyAssignments property of the microsoft.graph.windowsUpdates.updateData entity. + /// The unique identifier of policyAssignment + /// A + public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.Item.PolicyAssignmentItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("policyAssignment%2Did", position); + return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.Item.PolicyAssignmentItemRequestBuilder(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 PolicyAssignmentsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/data/policyAssignments{?%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 PolicyAssignmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/data/policyAssignments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get a list of policyAssignment resources that associate Windows Autopatch policies with devices. + /// 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.WindowsUpdates.PolicyAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get a list of policyAssignment resources that associate Windows Autopatch policies with devices. + /// + /// 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; + } + /// + /// 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.Windows.Updates.Data.PolicyAssignments.PolicyAssignmentsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.PolicyAssignmentsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get a list of policyAssignment resources that associate Windows Autopatch policies with devices. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PolicyAssignmentsRequestBuilderGetQueryParameters + { + /// 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 PolicyAssignmentsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/ApplicableCatalogs/ApplicableCatalogsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/ApplicableCatalogs/ApplicableCatalogsRequestBuilder.cs new file mode 100644 index 000000000000..259a850471c5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/ApplicableCatalogs/ApplicableCatalogsRequestBuilder.cs @@ -0,0 +1,184 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Count; +using Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models.WindowsUpdates; +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.Windows.Updates.Policies.Item.ApplicableCatalogs +{ + /// + /// Provides operations to manage the applicableCatalogs property of the microsoft.graph.windowsUpdates.policy entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ApplicableCatalogsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the applicableCatalogs property of the microsoft.graph.windowsUpdates.policy entity. + /// The unique identifier of applicableCatalog + /// A + public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.ApplicableCatalogItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("applicableCatalog%2Did", position); + return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.ApplicableCatalogItemRequestBuilder(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 ApplicableCatalogsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/policies/{policy%2Did}/applicableCatalogs{?%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 ApplicableCatalogsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/policies/{policy%2Did}/applicableCatalogs{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// List catalog entries that are applicable to devices targeted by a Windows Autopatch policy. + /// 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.WindowsUpdates.ApplicableCatalogCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// List catalog entries that are applicable to devices targeted by a Windows Autopatch policy. + /// + /// 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; + } + /// + /// 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.Windows.Updates.Policies.Item.ApplicableCatalogs.ApplicableCatalogsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.ApplicableCatalogsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// List catalog entries that are applicable to devices targeted by a Windows Autopatch policy. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ApplicableCatalogsRequestBuilderGetQueryParameters + { + /// 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 ApplicableCatalogsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/ApplicableCatalogs/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/ApplicableCatalogs/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..e7805c3f5821 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/ApplicableCatalogs/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.Windows.Updates.Policies.Item.ApplicableCatalogs.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/windows/updates/policies/{policy%2Did}/applicableCatalogs/$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/windows/updates/policies/{policy%2Did}/applicableCatalogs/$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.Windows.Updates.Policies.Item.ApplicableCatalogs.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.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/Windows/Updates/Policies/Item/ApplicableCatalogs/Item/ApplicableCatalogItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/ApplicableCatalogs/Item/ApplicableCatalogItemRequestBuilder.cs new file mode 100644 index 000000000000..cc26ecb8066c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/ApplicableCatalogs/Item/ApplicableCatalogItemRequestBuilder.cs @@ -0,0 +1,137 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.CatalogEntry; +using Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.Devices; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models.WindowsUpdates; +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.Windows.Updates.Policies.Item.ApplicableCatalogs.Item +{ + /// + /// Provides operations to manage the applicableCatalogs property of the microsoft.graph.windowsUpdates.policy entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ApplicableCatalogItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the catalogEntry property of the microsoft.graph.windowsUpdates.applicableCatalog entity. + public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.CatalogEntry.CatalogEntryRequestBuilder CatalogEntry + { + get => new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.CatalogEntry.CatalogEntryRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the devices property of the microsoft.graph.windowsUpdates.applicableCatalog entity. + public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.Devices.DevicesRequestBuilder Devices + { + get => new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.Devices.DevicesRequestBuilder(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 ApplicableCatalogItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/policies/{policy%2Did}/applicableCatalogs/{applicableCatalog%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 ApplicableCatalogItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/policies/{policy%2Did}/applicableCatalogs/{applicableCatalog%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// The catalog entries that apply to devices targeted by the policy. + /// + /// 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.WindowsUpdates.ApplicableCatalog.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The catalog entries that apply to devices targeted by the policy. + /// + /// 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; + } + /// + /// 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.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.ApplicableCatalogItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.ApplicableCatalogItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The catalog entries that apply to devices targeted by the policy. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ApplicableCatalogItemRequestBuilderGetQueryParameters + { + /// 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 ApplicableCatalogItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/ApplicableCatalogs/Item/CatalogEntry/CatalogEntryRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/ApplicableCatalogs/Item/CatalogEntry/CatalogEntryRequestBuilder.cs new file mode 100644 index 000000000000..b6029f393f2f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/ApplicableCatalogs/Item/CatalogEntry/CatalogEntryRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models.WindowsUpdates; +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.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.CatalogEntry +{ + /// + /// Provides operations to manage the catalogEntry property of the microsoft.graph.windowsUpdates.applicableCatalog entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CatalogEntryRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CatalogEntryRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/policies/{policy%2Did}/applicableCatalogs/{applicableCatalog%2Did}/catalogEntry{?%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 CatalogEntryRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/policies/{policy%2Did}/applicableCatalogs/{applicableCatalog%2Did}/catalogEntry{?%24expand,%24select}", rawUrl) + { + } + /// + /// The associated Windows update catalog entry. + /// + /// 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.WindowsUpdates.CatalogEntry.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The associated Windows update catalog entry. + /// + /// 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; + } + /// + /// 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.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.CatalogEntry.CatalogEntryRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.CatalogEntry.CatalogEntryRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The associated Windows update catalog entry. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CatalogEntryRequestBuilderGetQueryParameters + { + /// 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 CatalogEntryRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/ApplicableCatalogs/Item/Devices/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/ApplicableCatalogs/Item/Devices/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..a409c5334f19 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/ApplicableCatalogs/Item/Devices/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.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.Devices.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/windows/updates/policies/{policy%2Did}/applicableCatalogs/{applicableCatalog%2Did}/devices/$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/windows/updates/policies/{policy%2Did}/applicableCatalogs/{applicableCatalog%2Did}/devices/$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.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.Devices.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.Devices.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/Windows/Updates/Policies/Item/ApplicableCatalogs/Item/Devices/DevicesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/ApplicableCatalogs/Item/Devices/DevicesRequestBuilder.cs new file mode 100644 index 000000000000..1ee1819f8bdf --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/ApplicableCatalogs/Item/Devices/DevicesRequestBuilder.cs @@ -0,0 +1,184 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.Devices.Count; +using Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.Devices.Item; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models.WindowsUpdates; +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.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.Devices +{ + /// + /// Provides operations to manage the devices property of the microsoft.graph.windowsUpdates.applicableCatalog entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DevicesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.Devices.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.Devices.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the devices property of the microsoft.graph.windowsUpdates.applicableCatalog entity. + /// The unique identifier of applicableDevice + /// A + public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.Devices.Item.ApplicableDeviceItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("applicableDevice%2Did", position); + return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.Devices.Item.ApplicableDeviceItemRequestBuilder(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 DevicesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/policies/{policy%2Did}/applicableCatalogs/{applicableCatalog%2Did}/devices{?%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 DevicesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/policies/{policy%2Did}/applicableCatalogs/{applicableCatalog%2Did}/devices{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// List the devices for which a catalog entry is applicable under a Windows Autopatch policy. + /// 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.WindowsUpdates.ApplicableDeviceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// List the devices for which a catalog entry is applicable under a Windows Autopatch policy. + /// + /// 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; + } + /// + /// 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.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.Devices.DevicesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.Devices.DevicesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// List the devices for which a catalog entry is applicable under a Windows Autopatch policy. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DevicesRequestBuilderGetQueryParameters + { + /// 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 DevicesRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/ApplicableCatalogs/Item/Devices/Item/ApplicableDeviceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/ApplicableCatalogs/Item/Devices/Item/ApplicableDeviceItemRequestBuilder.cs new file mode 100644 index 000000000000..099a1603fb86 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/ApplicableCatalogs/Item/Devices/Item/ApplicableDeviceItemRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models.WindowsUpdates; +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.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.Devices.Item +{ + /// + /// Provides operations to manage the devices property of the microsoft.graph.windowsUpdates.applicableCatalog entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ApplicableDeviceItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ApplicableDeviceItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/policies/{policy%2Did}/applicableCatalogs/{applicableCatalog%2Did}/devices/{applicableDevice%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 ApplicableDeviceItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/policies/{policy%2Did}/applicableCatalogs/{applicableCatalog%2Did}/devices/{applicableDevice%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// The devices for which the catalog entry is applicable. + /// + /// 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.WindowsUpdates.ApplicableDevice.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The devices for which the catalog entry is applicable. + /// + /// 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; + } + /// + /// 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.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.Devices.Item.ApplicableDeviceItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.Devices.Item.ApplicableDeviceItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The devices for which the catalog entry is applicable. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ApplicableDeviceItemRequestBuilderGetQueryParameters + { + /// 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 ApplicableDeviceItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/ApplicableContentCatalogEntryItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/ApplicableContentCatalogEntryItemRequestBuilder.cs index 51e5e90dce39..a48a0377ec6b 100644 --- a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/ApplicableContentCatalogEntryItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/ApplicableContentCatalogEntryItemRequestBuilder.cs @@ -69,7 +69,7 @@ public async Task DeleteAsync(Action - /// Represents content applicable for offering to the related collection of devices. + /// The existing applicable-content collection. For driver and feature update applicability, use applicableCatalogs. /// /// A /// Cancellation token to use when cancelling requests @@ -136,7 +136,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Represents content applicable for offering to the related collection of devices. + /// The existing applicable-content collection. For driver and feature update applicability, use applicableCatalogs. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -194,7 +194,7 @@ public partial class ApplicableContentCatalogEntryItemRequestBuilderDeleteReques { } /// - /// Represents content applicable for offering to the related collection of devices. + /// The existing applicable-content collection. For driver and feature update applicability, use applicableCatalogs. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ApplicableContentCatalogEntryItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/PolicyItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/PolicyItemRequestBuilder.cs index 1c586e67b94c..dafa0e8ff013 100644 --- a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/PolicyItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/PolicyItemRequestBuilder.cs @@ -1,5 +1,6 @@ // #pragma warning disable CS0618 +using Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs; using Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent; using Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals; using Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Rings; @@ -21,6 +22,11 @@ namespace Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class PolicyItemRequestBuilder : BaseRequestBuilder { + /// Provides operations to manage the applicableCatalogs property of the microsoft.graph.windowsUpdates.policy entity. + public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.ApplicableCatalogsRequestBuilder ApplicableCatalogs + { + get => new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.ApplicableCatalogsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the applicableContent property of the microsoft.graph.windowsUpdates.policy entity. public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.ApplicableContentRequestBuilder ApplicableContent { @@ -53,7 +59,7 @@ public PolicyItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : { } /// - /// Delete a Windows update policy object. You can use this method with the following child object type: qualityUpdatePolicy. + /// Delete a Windows update policy object. You can use this method with the following child object types: driverUpdatePolicy, featureUpdatePolicy, and qualityUpdatePolicy. /// Find more info here /// /// Cancellation token to use when cancelling requests @@ -76,7 +82,7 @@ public async Task DeleteAsync(Action - /// Read the properties and relationships of a policy object. You can use this method with the following child object type: qualityUpdatePolicy. + /// Read the properties and relationships of a policy object. You can use this method with the following child object types: driverUpdatePolicy, featureUpdatePolicy, and qualityUpdatePolicy. /// Find more info here /// /// A @@ -100,7 +106,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.WindowsUpdates.Policy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of a policy object. You can use this method with the following child object type: qualityUpdatePolicy. + /// Update the properties of a policy object. You can use this method with the following child object types: driverUpdatePolicy, featureUpdatePolicy, and qualityUpdatePolicy. /// Find more info here /// /// A @@ -126,7 +132,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.WindowsUpdates.Policy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete a Windows update policy object. You can use this method with the following child object type: qualityUpdatePolicy. + /// Delete a Windows update policy object. You can use this method with the following child object types: driverUpdatePolicy, featureUpdatePolicy, and qualityUpdatePolicy. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -145,7 +151,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read the properties and relationships of a policy object. You can use this method with the following child object type: qualityUpdatePolicy. + /// Read the properties and relationships of a policy object. You can use this method with the following child object types: driverUpdatePolicy, featureUpdatePolicy, and qualityUpdatePolicy. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -164,7 +170,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a policy object. You can use this method with the following child object type: qualityUpdatePolicy. + /// Update the properties of a policy object. You can use this method with the following child object types: driverUpdatePolicy, featureUpdatePolicy, and qualityUpdatePolicy. /// /// A /// The request body @@ -203,7 +209,7 @@ public partial class PolicyItemRequestBuilderDeleteRequestConfiguration : Reques { } /// - /// Read the properties and relationships of a policy object. You can use this method with the following child object type: qualityUpdatePolicy. + /// Read the properties and relationships of a policy object. You can use this method with the following child object types: driverUpdatePolicy, featureUpdatePolicy, and qualityUpdatePolicy. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class PolicyItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/Rings/Item/RingItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/Rings/Item/RingItemRequestBuilder.cs index af82444e0b40..732302ccd4c6 100644 --- a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/Rings/Item/RingItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/Rings/Item/RingItemRequestBuilder.cs @@ -35,7 +35,7 @@ public RingItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b { } /// - /// Delete a ring object. You can use this method with the following child object type: qualityUpdateRing. + /// Delete a ring object. You can use this method with the following child object types: driverUpdateRing, featureUpdateRing, and qualityUpdateRing. /// Find more info here /// /// Cancellation token to use when cancelling requests @@ -58,7 +58,7 @@ public async Task DeleteAsync(Action - /// Read the properties and relationships of ring object. You can use this method with the following child object type: qualityUpdateRing. + /// Read the properties and relationships of ring object. You can use this method with the following child object types: driverUpdateRing, featureUpdateRing, and qualityUpdateRing. /// Find more info here /// /// A @@ -82,7 +82,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.WindowsUpdates.Ring.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of a ring object. You can use this method with the following child object type: qualityUpdateRing. + /// Update the properties of a ring object. You can use this method with the following child object types: driverUpdateRing, featureUpdateRing, and qualityUpdateRing. /// Find more info here /// /// A @@ -108,7 +108,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.WindowsUpdates.Ring.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete a ring object. You can use this method with the following child object type: qualityUpdateRing. + /// Delete a ring object. You can use this method with the following child object types: driverUpdateRing, featureUpdateRing, and qualityUpdateRing. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -127,7 +127,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read the properties and relationships of ring object. You can use this method with the following child object type: qualityUpdateRing. + /// Read the properties and relationships of ring object. You can use this method with the following child object types: driverUpdateRing, featureUpdateRing, and qualityUpdateRing. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -146,7 +146,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a ring object. You can use this method with the following child object type: qualityUpdateRing. + /// Update the properties of a ring object. You can use this method with the following child object types: driverUpdateRing, featureUpdateRing, and qualityUpdateRing. /// /// A /// The request body @@ -185,7 +185,7 @@ public partial class RingItemRequestBuilderDeleteRequestConfiguration : RequestC { } /// - /// Read the properties and relationships of ring object. You can use this method with the following child object type: qualityUpdateRing. + /// Read the properties and relationships of ring object. You can use this method with the following child object types: driverUpdateRing, featureUpdateRing, and qualityUpdateRing. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RingItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/Rings/RingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/Rings/RingsRequestBuilder.cs index acef782e17b1..5335dfcc8bc6 100644 --- a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/Rings/RingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/Rings/RingsRequestBuilder.cs @@ -54,7 +54,7 @@ public RingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base { } /// - /// Get a list of the ring objects and their properties. You can use this method with the following child object type: qualityUpdateRing. + /// Get a list of the ring objects and their properties. You can use this method with the following child object types: driverUpdateRing, featureUpdateRing, and qualityUpdateRing. /// Find more info here /// /// A @@ -78,7 +78,7 @@ public RingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.WindowsUpdates.RingCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new ring object. You can use this method with the following child object type: qualityUpdateRing. + /// Create a new ring object. You can use this method with the following child object types: driverUpdateRing, featureUpdateRing, and qualityUpdateRing. /// Find more info here /// /// A @@ -104,7 +104,7 @@ public RingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.WindowsUpdates.Ring.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get a list of the ring objects and their properties. You can use this method with the following child object type: qualityUpdateRing. + /// Get a list of the ring objects and their properties. You can use this method with the following child object types: driverUpdateRing, featureUpdateRing, and qualityUpdateRing. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -123,7 +123,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new ring object. You can use this method with the following child object type: qualityUpdateRing. + /// Create a new ring object. You can use this method with the following child object types: driverUpdateRing, featureUpdateRing, and qualityUpdateRing. /// /// A /// The request body @@ -154,7 +154,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Rings.RingsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get a list of the ring objects and their properties. You can use this method with the following child object type: qualityUpdateRing. + /// Get a list of the ring objects and their properties. You can use this method with the following child object types: driverUpdateRing, featureUpdateRing, and qualityUpdateRing. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RingsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/PoliciesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/PoliciesRequestBuilder.cs index 022375ebee64..32be08bcc15d 100644 --- a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/PoliciesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/PoliciesRequestBuilder.cs @@ -54,7 +54,7 @@ public PoliciesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b { } /// - /// Get a list of the policy objects and their properties. You can use this method with the following child object type: qualityUpdatePolicy. + /// Get a list of the policy objects and their properties. You can use this method with the following child object types: driverUpdatePolicy, featureUpdatePolicy, and qualityUpdatePolicy. /// Find more info here /// /// A @@ -78,7 +78,7 @@ public PoliciesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.WindowsUpdates.PolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new Windows update policy object. You can use this method with the following child object type: qualityUpdatePolicy. + /// Create a new Windows update policy object. You can use this method with the following child object types: driverUpdatePolicy, featureUpdatePolicy, and qualityUpdatePolicy. /// Find more info here /// /// A @@ -104,7 +104,7 @@ public PoliciesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.WindowsUpdates.Policy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get a list of the policy objects and their properties. You can use this method with the following child object type: qualityUpdatePolicy. + /// Get a list of the policy objects and their properties. You can use this method with the following child object types: driverUpdatePolicy, featureUpdatePolicy, and qualityUpdatePolicy. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -123,7 +123,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new Windows update policy object. You can use this method with the following child object type: qualityUpdatePolicy. + /// Create a new Windows update policy object. You can use this method with the following child object types: driverUpdatePolicy, featureUpdatePolicy, and qualityUpdatePolicy. /// /// A /// The request body @@ -154,7 +154,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.PoliciesRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get a list of the policy objects and their properties. You can use this method with the following child object type: qualityUpdatePolicy. + /// Get a list of the policy objects and their properties. You can use this method with the following child object types: driverUpdatePolicy, featureUpdatePolicy, and qualityUpdatePolicy. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class PoliciesRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/TenantSettings/MdmAppSettings/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/TenantSettings/MdmAppSettings/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..8f48472c938d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/TenantSettings/MdmAppSettings/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.Windows.Updates.TenantSettings.MdmAppSettings.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/windows/updates/tenantSettings/mdmAppSettings/$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/windows/updates/tenantSettings/mdmAppSettings/$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.Windows.Updates.TenantSettings.MdmAppSettings.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.MdmAppSettings.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/Windows/Updates/TenantSettings/MdmAppSettings/Item/MdmAppSettingMdmAppItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/TenantSettings/MdmAppSettings/Item/MdmAppSettingMdmAppItemRequestBuilder.cs new file mode 100644 index 000000000000..2211259e7595 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/TenantSettings/MdmAppSettings/Item/MdmAppSettingMdmAppItemRequestBuilder.cs @@ -0,0 +1,231 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models.WindowsUpdates; +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.Windows.Updates.TenantSettings.MdmAppSettings.Item +{ + /// + /// Provides operations to manage the mdmAppSettings property of the microsoft.graph.windowsUpdates.tenantSetting entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MdmAppSettingMdmAppItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MdmAppSettingMdmAppItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/tenantSettings/mdmAppSettings/{mdmAppSetting%2DmdmAppId}{?%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 MdmAppSettingMdmAppItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/tenantSettings/mdmAppSettings/{mdmAppSetting%2DmdmAppId}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property mdmAppSettings 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 an mdmAppSetting resource by its mdmAppId within the current tenant. + /// 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.WindowsUpdates.MdmAppSetting.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update an mdmAppSetting resource within the current tenant. The mdmAppId is identified by the request URL and can't be changed by this operation. + /// Find more info here + /// + /// A + /// Per-MDM-application settings for a tenant, identified by a unique MDM app ID (GUID-formatted string). + /// 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.WindowsUpdates.MdmAppSetting body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.WindowsUpdates.MdmAppSetting body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) 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.WindowsUpdates.MdmAppSetting.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property mdmAppSettings 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 an mdmAppSetting resource by its mdmAppId within the current tenant. + /// + /// 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 an mdmAppSetting resource within the current tenant. The mdmAppId is identified by the request URL and can't be changed by this operation. + /// + /// A + /// Per-MDM-application settings for a tenant, identified by a unique MDM app ID (GUID-formatted string). + /// 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.WindowsUpdates.MdmAppSetting body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.WindowsUpdates.MdmAppSetting body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) 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.Windows.Updates.TenantSettings.MdmAppSettings.Item.MdmAppSettingMdmAppItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.MdmAppSettings.Item.MdmAppSettingMdmAppItemRequestBuilder(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 MdmAppSettingMdmAppItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get an mdmAppSetting resource by its mdmAppId within the current tenant. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MdmAppSettingMdmAppItemRequestBuilderGetQueryParameters + { + /// 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 MdmAppSettingMdmAppItemRequestBuilderGetRequestConfiguration : 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 MdmAppSettingMdmAppItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/TenantSettings/MdmAppSettings/MdmAppSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/TenantSettings/MdmAppSettings/MdmAppSettingsRequestBuilder.cs new file mode 100644 index 000000000000..da63af3f2054 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/TenantSettings/MdmAppSettings/MdmAppSettingsRequestBuilder.cs @@ -0,0 +1,240 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.MdmAppSettings.Count; +using Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.MdmAppSettings.Item; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models.WindowsUpdates; +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.Windows.Updates.TenantSettings.MdmAppSettings +{ + /// + /// Provides operations to manage the mdmAppSettings property of the microsoft.graph.windowsUpdates.tenantSetting entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MdmAppSettingsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.MdmAppSettings.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.MdmAppSettings.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the mdmAppSettings property of the microsoft.graph.windowsUpdates.tenantSetting entity. + /// The unique identifier of mdmAppSetting + /// A + public global::Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.MdmAppSettings.Item.MdmAppSettingMdmAppItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("mdmAppSetting%2DmdmAppId", position); + return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.MdmAppSettings.Item.MdmAppSettingMdmAppItemRequestBuilder(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 MdmAppSettingsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/tenantSettings/mdmAppSettings{?%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 MdmAppSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/tenantSettings/mdmAppSettings{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get the mdmAppSetting resources for the current tenant. + /// 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.WindowsUpdates.MdmAppSettingCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create an mdmAppSetting resource for an MDM application in the current tenant. + /// Find more info here + /// + /// A + /// Per-MDM-application settings for a tenant, identified by a unique MDM app ID (GUID-formatted string). + /// 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.WindowsUpdates.MdmAppSetting body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.WindowsUpdates.MdmAppSetting body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) 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.WindowsUpdates.MdmAppSetting.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the mdmAppSetting resources for the current tenant. + /// + /// 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 an mdmAppSetting resource for an MDM application in the current tenant. + /// + /// A + /// Per-MDM-application settings for a tenant, identified by a unique MDM app ID (GUID-formatted string). + /// 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.WindowsUpdates.MdmAppSetting body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.WindowsUpdates.MdmAppSetting body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) 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.Windows.Updates.TenantSettings.MdmAppSettings.MdmAppSettingsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.MdmAppSettings.MdmAppSettingsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the mdmAppSetting resources for the current tenant. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MdmAppSettingsRequestBuilderGetQueryParameters + { + /// 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 MdmAppSettingsRequestBuilderGetRequestConfiguration : 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 MdmAppSettingsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/TenantSettings/TenantSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/TenantSettings/TenantSettingsRequestBuilder.cs new file mode 100644 index 000000000000..fa511b81c0cb --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/TenantSettings/TenantSettingsRequestBuilder.cs @@ -0,0 +1,237 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.MdmAppSettings; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models.WindowsUpdates; +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.Windows.Updates.TenantSettings +{ + /// + /// Provides operations to manage the tenantSettings property of the microsoft.graph.adminWindowsUpdates entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TenantSettingsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the mdmAppSettings property of the microsoft.graph.windowsUpdates.tenantSetting entity. + public global::Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.MdmAppSettings.MdmAppSettingsRequestBuilder MdmAppSettings + { + get => new global::Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.MdmAppSettings.MdmAppSettingsRequestBuilder(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 TenantSettingsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/tenantSettings{?%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 TenantSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/tenantSettings{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property tenantSettings 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 the tenantSetting singleton for the current tenant. When no settings have been saved, this operation returns the default settings, with areDataProcessorServiceForWindowsFeaturesEnabled set to false. + /// 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.WindowsUpdates.TenantSetting.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the tenantSetting singleton for the current tenant. + /// 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.WindowsUpdates.TenantSetting body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.WindowsUpdates.TenantSetting body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) 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.WindowsUpdates.TenantSetting.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property tenantSettings 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 the tenantSetting singleton for the current tenant. When no settings have been saved, this operation returns the default settings, with areDataProcessorServiceForWindowsFeaturesEnabled set to false. + /// + /// 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 tenantSetting singleton for the current tenant. + /// + /// 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.WindowsUpdates.TenantSetting body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.WindowsUpdates.TenantSetting body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) 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.Windows.Updates.TenantSettings.TenantSettingsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.TenantSettingsRequestBuilder(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 TenantSettingsRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get the tenantSetting singleton for the current tenant. When no settings have been saved, this operation returns the default settings, with areDataProcessorServiceForWindowsFeaturesEnabled set to false. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TenantSettingsRequestBuilderGetQueryParameters + { + /// 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 TenantSettingsRequestBuilderGetRequestConfiguration : 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 TenantSettingsRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/UpdatesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/UpdatesRequestBuilder.cs index 4184fafe5d4a..fee842084d62 100644 --- a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/UpdatesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/UpdatesRequestBuilder.cs @@ -1,11 +1,13 @@ // #pragma warning disable CS0618 using Microsoft.Graph.Beta.Admin.Windows.Updates.Catalog; +using Microsoft.Graph.Beta.Admin.Windows.Updates.Data; using Microsoft.Graph.Beta.Admin.Windows.Updates.DeploymentAudiences; using Microsoft.Graph.Beta.Admin.Windows.Updates.Deployments; using Microsoft.Graph.Beta.Admin.Windows.Updates.Policies; using Microsoft.Graph.Beta.Admin.Windows.Updates.Products; using Microsoft.Graph.Beta.Admin.Windows.Updates.ResourceConnections; +using Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings; using Microsoft.Graph.Beta.Admin.Windows.Updates.UpdatableAssets; using Microsoft.Graph.Beta.Admin.Windows.Updates.UpdatePolicies; using Microsoft.Graph.Beta.Models.ODataErrors; @@ -31,6 +33,11 @@ public partial class UpdatesRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Catalog.CatalogRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the data property of the microsoft.graph.adminWindowsUpdates entity. + public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.DataRequestBuilder Data + { + get => new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.DataRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the deploymentAudiences property of the microsoft.graph.adminWindowsUpdates entity. public global::Microsoft.Graph.Beta.Admin.Windows.Updates.DeploymentAudiences.DeploymentAudiencesRequestBuilder DeploymentAudiences { @@ -56,6 +63,11 @@ public partial class UpdatesRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Admin.Windows.Updates.ResourceConnections.ResourceConnectionsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the tenantSettings property of the microsoft.graph.adminWindowsUpdates entity. + public global::Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.TenantSettingsRequestBuilder TenantSettings + { + get => new global::Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.TenantSettingsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the updatableAssets property of the microsoft.graph.adminWindowsUpdates entity. public global::Microsoft.Graph.Beta.Admin.Windows.Updates.UpdatableAssets.UpdatableAssetsRequestBuilder UpdatableAssets { diff --git a/src/Microsoft.Graph/Generated/App/OnlineMeetings/Item/OnlineMeetingItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/App/OnlineMeetings/Item/OnlineMeetingItemRequestBuilder.cs index fc38484f20db..ca81dc2d61dc 100644 --- a/src/Microsoft.Graph/Generated/App/OnlineMeetings/Item/OnlineMeetingItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/App/OnlineMeetings/Item/OnlineMeetingItemRequestBuilder.cs @@ -77,6 +77,7 @@ public partial class OnlineMeetingItemRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.App.OnlineMeetings.Item.Recordings.RecordingsRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the registration property of the microsoft.graph.onlineMeeting entity. + [Obsolete("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12")] public global::Microsoft.Graph.Beta.App.OnlineMeetings.Item.Registration.RegistrationRequestBuilder Registration { get => new global::Microsoft.Graph.Beta.App.OnlineMeetings.Item.Registration.RegistrationRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/ObjectConnections/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/ObjectConnections/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..355a956c83bf --- /dev/null +++ b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/ObjectConnections/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.Applications.Item.Synchronization.Jobs.Item.ObjectConnections.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}/applications/{application%2Did}/synchronization/jobs/{synchronizationJob%2Did}/objectConnections/$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}/applications/{application%2Did}/synchronization/jobs/{synchronizationJob%2Did}/objectConnections/$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.Applications.Item.Synchronization.Jobs.Item.ObjectConnections.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.ObjectConnections.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/Applications/Item/Synchronization/Jobs/Item/ObjectConnections/Item/ObjectConnectionObjectItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/ObjectConnections/Item/ObjectConnectionObjectItemRequestBuilder.cs new file mode 100644 index 000000000000..349be155bc1c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/ObjectConnections/Item/ObjectConnectionObjectItemRequestBuilder.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.Applications.Item.Synchronization.Jobs.Item.ObjectConnections.Item +{ + /// + /// Provides operations to manage the objectConnections property of the microsoft.graph.synchronizationJob entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ObjectConnectionObjectItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ObjectConnectionObjectItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/applications/{application%2Did}/synchronization/jobs/{synchronizationJob%2Did}/objectConnections/{objectConnection%2DobjectId}{?%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 ObjectConnectionObjectItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/applications/{application%2Did}/synchronization/jobs/{synchronizationJob%2Did}/objectConnections/{objectConnection%2DobjectId}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property objectConnections for applications + /// + /// 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); + } + /// + /// Connector data store linkage records contained by the job. During public preview, retrieve an individual connection using a known objectId, or delete it to clear its cached linkage. Collection listing isn't supported and returns 400 Bad Request. + /// + /// 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.ObjectConnection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property objectConnections in applications + /// + /// A + /// Represents a connector data store linkage record for an object in a synchronization job. + /// 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.ObjectConnection body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.ObjectConnection body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) 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.ObjectConnection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property objectConnections for applications + /// + /// 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; + } + /// + /// Connector data store linkage records contained by the job. During public preview, retrieve an individual connection using a known objectId, or delete it to clear its cached linkage. Collection listing isn't supported and returns 400 Bad Request. + /// + /// 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 objectConnections in applications + /// + /// A + /// Represents a connector data store linkage record for an object in a synchronization job. + /// 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.ObjectConnection body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.ObjectConnection body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) 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.Applications.Item.Synchronization.Jobs.Item.ObjectConnections.Item.ObjectConnectionObjectItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.ObjectConnections.Item.ObjectConnectionObjectItemRequestBuilder(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 ObjectConnectionObjectItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Connector data store linkage records contained by the job. During public preview, retrieve an individual connection using a known objectId, or delete it to clear its cached linkage. Collection listing isn't supported and returns 400 Bad Request. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ObjectConnectionObjectItemRequestBuilderGetQueryParameters + { + /// 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 ObjectConnectionObjectItemRequestBuilderGetRequestConfiguration : 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 ObjectConnectionObjectItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/ObjectConnections/ObjectConnectionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/ObjectConnections/ObjectConnectionsRequestBuilder.cs new file mode 100644 index 000000000000..077701537c9f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/ObjectConnections/ObjectConnectionsRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.ObjectConnections.Count; +using Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.ObjectConnections.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.Applications.Item.Synchronization.Jobs.Item.ObjectConnections +{ + /// + /// Provides operations to manage the objectConnections property of the microsoft.graph.synchronizationJob entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ObjectConnectionsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.ObjectConnections.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.ObjectConnections.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the objectConnections property of the microsoft.graph.synchronizationJob entity. + /// The unique identifier of objectConnection + /// A + public global::Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.ObjectConnections.Item.ObjectConnectionObjectItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("objectConnection%2DobjectId", position); + return new global::Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.ObjectConnections.Item.ObjectConnectionObjectItemRequestBuilder(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 ObjectConnectionsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/applications/{application%2Did}/synchronization/jobs/{synchronizationJob%2Did}/objectConnections{?%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 ObjectConnectionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/applications/{application%2Did}/synchronization/jobs/{synchronizationJob%2Did}/objectConnections{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Connector data store linkage records contained by the job. During public preview, retrieve an individual connection using a known objectId, or delete it to clear its cached linkage. Collection listing isn't supported and returns 400 Bad Request. + /// + /// 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.ObjectConnectionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to objectConnections for applications + /// + /// A + /// Represents a connector data store linkage record for an object in a synchronization job. + /// 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.ObjectConnection body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.ObjectConnection body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) 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.ObjectConnection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Connector data store linkage records contained by the job. During public preview, retrieve an individual connection using a known objectId, or delete it to clear its cached linkage. Collection listing isn't supported and returns 400 Bad Request. + /// + /// 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 objectConnections for applications + /// + /// A + /// Represents a connector data store linkage record for an object in a synchronization job. + /// 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.ObjectConnection body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.ObjectConnection body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) 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.Applications.Item.Synchronization.Jobs.Item.ObjectConnections.ObjectConnectionsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.ObjectConnections.ObjectConnectionsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Connector data store linkage records contained by the job. During public preview, retrieve an individual connection using a known objectId, or delete it to clear its cached linkage. Collection listing isn't supported and returns 400 Bad Request. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ObjectConnectionsRequestBuilderGetQueryParameters + { + /// 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 ObjectConnectionsRequestBuilderGetRequestConfiguration : 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 ObjectConnectionsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/SynchronizationJobItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/SynchronizationJobItemRequestBuilder.cs index b548c7e9103b..54d6e061c6fd 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/SynchronizationJobItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/SynchronizationJobItemRequestBuilder.cs @@ -1,6 +1,7 @@ // #pragma warning disable CS0618 using Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.BulkUpload; +using Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.ObjectConnections; using Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.Pause; using Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.ProvisionOnDemand; using Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.Restart; @@ -30,6 +31,11 @@ public partial class SynchronizationJobItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.BulkUpload.BulkUploadRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the objectConnections property of the microsoft.graph.synchronizationJob entity. + public global::Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.ObjectConnections.ObjectConnectionsRequestBuilder ObjectConnections + { + get => new global::Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.ObjectConnections.ObjectConnectionsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the pause method. public global::Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.Pause.PauseRequestBuilder Pause { @@ -56,6 +62,7 @@ public partial class SynchronizationJobItemRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.Start.StartRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to call the validateCredentials method. + [Obsolete("Use validateConnectivity instead. This action will be removed. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06")] public global::Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.ValidateCredentials.ValidateCredentialsRequestBuilder ValidateCredentials { get => new global::Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.ValidateCredentials.ValidateCredentialsRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/JobsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/JobsRequestBuilder.cs index 805349f7570d..99856a0d35f6 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/JobsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/JobsRequestBuilder.cs @@ -27,6 +27,7 @@ public partial class JobsRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Count.CountRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to call the validateCredentials method. + [Obsolete("Use validateConnectivity instead. This action will be removed. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06")] public global::Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.ValidateCredentials.ValidateCredentialsRequestBuilder ValidateCredentials { get => new global::Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.ValidateCredentials.ValidateCredentialsRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/SynchronizationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/SynchronizationRequestBuilder.cs index fe361f41cada..ec0752de5d55 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/SynchronizationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/SynchronizationRequestBuilder.cs @@ -24,6 +24,7 @@ namespace Microsoft.Graph.Beta.Applications.Item.Synchronization public partial class SynchronizationRequestBuilder : BaseRequestBuilder { /// Provides operations to call the acquireAccessToken method. + [Obsolete("This action acquires an access token via Oauth Code Grant Flow. Code Grant will be completely deprecated so this action will be obsolete. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06")] public global::Microsoft.Graph.Beta.Applications.Item.Synchronization.AcquireAccessToken.AcquireAccessTokenRequestBuilder AcquireAccessToken { get => new global::Microsoft.Graph.Beta.Applications.Item.Synchronization.AcquireAccessToken.AcquireAccessTokenRequestBuilder(PathParameters, RequestAdapter); @@ -39,6 +40,7 @@ public partial class SynchronizationRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Applications.Item.Synchronization.Ping.PingRequestBuilder(PathParameters, RequestAdapter); } /// The secrets property + [Obsolete("Use connectivityParameters for oauth flows and scim endpoint connectivity. Use SynchronizationJobSettings for job-specific settings This property will be removed. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06")] public global::Microsoft.Graph.Beta.Applications.Item.Synchronization.Secrets.SecretsRequestBuilder Secrets { get => new global::Microsoft.Graph.Beta.Applications.Item.Synchronization.Secrets.SecretsRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/BaseGraphServiceClient.cs b/src/Microsoft.Graph/Generated/BaseGraphServiceClient.cs index ce01d8d1eae5..1defed026ea3 100644 --- a/src/Microsoft.Graph/Generated/BaseGraphServiceClient.cs +++ b/src/Microsoft.Graph/Generated/BaseGraphServiceClient.cs @@ -457,6 +457,7 @@ public partial class BaseGraphServiceClient : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.IdentityProtection.IdentityProtectionRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the collection of identityProvider entities. + [Obsolete("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15")] public global::Microsoft.Graph.Beta.IdentityProviders.IdentityProvidersRequestBuilder IdentityProviders { get => new global::Microsoft.Graph.Beta.IdentityProviders.IdentityProvidersRequestBuilder(PathParameters, RequestAdapter); @@ -562,6 +563,7 @@ public partial class BaseGraphServiceClient : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Privacy.PrivacyRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the collection of privilegedAccess entities. + [Obsolete("The PIM Iteration 2 beta API is deprecated and will be removed on October 28, 2026. Please migrate to PIM Iteration 3 API. as of 2025-10/PIM_Iteration2_Deprecation on 2025-10-27 and will be removed 2026-10-28")] public global::Microsoft.Graph.Beta.PrivilegedAccess.PrivilegedAccessRequestBuilder PrivilegedAccess { get => new global::Microsoft.Graph.Beta.PrivilegedAccess.PrivilegedAccessRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Communications/OnlineMeetings/Item/OnlineMeetingItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/OnlineMeetings/Item/OnlineMeetingItemRequestBuilder.cs index a6a7fa53967f..826d585857c3 100644 --- a/src/Microsoft.Graph/Generated/Communications/OnlineMeetings/Item/OnlineMeetingItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/OnlineMeetings/Item/OnlineMeetingItemRequestBuilder.cs @@ -77,6 +77,7 @@ public partial class OnlineMeetingItemRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Communications.OnlineMeetings.Item.Recordings.RecordingsRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the registration property of the microsoft.graph.onlineMeeting entity. + [Obsolete("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12")] public global::Microsoft.Graph.Beta.Communications.OnlineMeetings.Item.Registration.RegistrationRequestBuilder Registration { get => new global::Microsoft.Graph.Beta.Communications.OnlineMeetings.Item.Registration.RegistrationRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Compliance/ComplianceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Compliance/ComplianceRequestBuilder.cs index 4064875b1bb6..69200062a83e 100644 --- a/src/Microsoft.Graph/Generated/Compliance/ComplianceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Compliance/ComplianceRequestBuilder.cs @@ -20,6 +20,7 @@ namespace Microsoft.Graph.Beta.Compliance public partial class ComplianceRequestBuilder : BaseRequestBuilder { /// Provides operations to manage the ediscovery property of the microsoft.graph.compliance entity. + [Obsolete("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01")] public global::Microsoft.Graph.Beta.Compliance.Ediscovery.EdiscoveryRequestBuilder Ediscovery { get => new global::Microsoft.Graph.Beta.Compliance.Ediscovery.EdiscoveryRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ComanagedDevices/Item/ManagedDeviceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ComanagedDevices/Item/ManagedDeviceItemRequestBuilder.cs index 5cea44505bba..145431931342 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/ComanagedDevices/Item/ManagedDeviceItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ComanagedDevices/Item/ManagedDeviceItemRequestBuilder.cs @@ -327,6 +327,7 @@ public partial class ManagedDeviceItemRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RotateRecoveryLockPasscode.RotateRecoveryLockPasscodeRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the securityBaselineStates property of the microsoft.graph.managedDevice entity. + [Obsolete("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07")] public global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.SecurityBaselineStates.SecurityBaselineStatesRequestBuilder SecurityBaselineStates { get => new global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.SecurityBaselineStates.SecurityBaselineStatesRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.cs index 8f7834d1abb2..16483e3c6693 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.cs @@ -47,6 +47,7 @@ public partial class DeviceCompliancePoliciesRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.DeviceManagement.DeviceCompliancePolicies.HasPayloadLinks.HasPayloadLinksRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to call the refreshDeviceComplianceReportSummarization method. + [Obsolete("This action is deprecated and will be removed on July 7, 2026. This API is obsolete and should be removed from client code; no replacement is needed as the current reporting architecture continuously aggregates compliance data. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07")] public global::Microsoft.Graph.Beta.DeviceManagement.DeviceCompliancePolicies.RefreshDeviceComplianceReportSummarization.RefreshDeviceComplianceReportSummarizationRequestBuilder RefreshDeviceComplianceReportSummarization { get => new global::Microsoft.Graph.Beta.DeviceManagement.DeviceCompliancePolicies.RefreshDeviceComplianceReportSummarization.RefreshDeviceComplianceReportSummarizationRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceManagementRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceManagementRequestBuilder.cs index 26f3e0a8ae96..c6886beea53c 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceManagementRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceManagementRequestBuilder.cs @@ -442,6 +442,7 @@ public partial class DeviceManagementRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.DeviceManagement.DeviceConfigurationsAllManagedDeviceCertificateStates.DeviceConfigurationsAllManagedDeviceCertificateStatesRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the deviceConfigurationUserStateSummaries property of the microsoft.graph.deviceManagement entity. + [Obsolete("This API is deprecated and will stop returning data on July 7, 2026. Use GET /deviceManagement/deviceConfigurations('{policyId}')/userStatusOverview or POST /deviceManagement/reports/getDeviceConfigurationPolicyStatusSummary instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07")] public global::Microsoft.Graph.Beta.DeviceManagement.DeviceConfigurationUserStateSummaries.DeviceConfigurationUserStateSummariesRequestBuilder DeviceConfigurationUserStateSummaries { get => new global::Microsoft.Graph.Beta.DeviceManagement.DeviceConfigurationUserStateSummaries.DeviceConfigurationUserStateSummariesRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/ManagedDeviceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/ManagedDeviceItemRequestBuilder.cs index 42ef39b48adb..29de5e4d0d48 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/ManagedDeviceItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/ManagedDeviceItemRequestBuilder.cs @@ -327,6 +327,7 @@ public partial class ManagedDeviceItemRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RotateRecoveryLockPasscode.RotateRecoveryLockPasscodeRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the securityBaselineStates property of the microsoft.graph.managedDevice entity. + [Obsolete("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07")] public global::Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.SecurityBaselineStates.SecurityBaselineStatesRequestBuilder SecurityBaselineStates { get => new global::Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.SecurityBaselineStates.SecurityBaselineStatesRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/CloudPCItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/CloudPCItemRequestBuilder.cs index 22c4e4e99202..014aa6e9658d 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/CloudPCItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/CloudPCItemRequestBuilder.cs @@ -10,6 +10,7 @@ using Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.PowerOff; using Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.PowerOn; using Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Reboot; +using Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Relocate; using Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Rename; using Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Reprovision; using Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Resize; @@ -63,6 +64,7 @@ public partial class CloudPCItemRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.GetCloudPcConnectivityHistory.GetCloudPcConnectivityHistoryRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to call the getCloudPcLaunchInfo method. + [Obsolete("Starting from Oct 30, 2026, this API: getCloudPcLaunchInfo will be deprecated and no longer be supported. Please use the new API:retrieveCloudPcLaunchDetail to retrieve same details. as of 2025-09/cloudPcLaunchInfo on 2025-09-30 and will be removed 2026-10-30")] public global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.GetCloudPcLaunchInfo.GetCloudPcLaunchInfoRequestBuilder GetCloudPcLaunchInfo { get => new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.GetCloudPcLaunchInfo.GetCloudPcLaunchInfoRequestBuilder(PathParameters, RequestAdapter); @@ -92,6 +94,11 @@ public partial class CloudPCItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Reboot.RebootRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the relocate method. + public global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Relocate.RelocateRequestBuilder Relocate + { + get => new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Relocate.RelocateRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the rename method. public global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Rename.RenameRequestBuilder Rename { diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/Relocate/RelocatePostRequestBody.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/Relocate/RelocatePostRequestBody.cs new file mode 100644 index 000000000000..2bc7250ab6e8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/Relocate/RelocatePostRequestBody.cs @@ -0,0 +1,82 @@ +// +#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.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Relocate +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RelocatePostRequestBody : 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 domainJoinConfigurations property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? DomainJoinConfigurations + { + get { return BackingStore?.Get?>("domainJoinConfigurations"); } + set { BackingStore?.Set("domainJoinConfigurations", value); } + } +#nullable restore +#else + public List DomainJoinConfigurations + { + get { return BackingStore?.Get>("domainJoinConfigurations"); } + set { BackingStore?.Set("domainJoinConfigurations", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RelocatePostRequestBody() + { + 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.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Relocate.RelocatePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Relocate.RelocatePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "domainJoinConfigurations", n => { DomainJoinConfigurations = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.CloudPcDomainJoinConfiguration.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfObjectValues("domainJoinConfigurations", DomainJoinConfigurations); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/Relocate/RelocateRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/Relocate/RelocateRequestBuilder.cs new file mode 100644 index 000000000000..06bbedaf7289 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/Relocate/RelocateRequestBuilder.cs @@ -0,0 +1,101 @@ +// +#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.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Relocate +{ + /// + /// Provides operations to call the relocate method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RelocateRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RelocateRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/cloudPCs/{cloudPC%2Did}/relocate", 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 RelocateRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/cloudPCs/{cloudPC%2Did}/relocate", rawUrl) + { + } + /// + /// Invoke action relocate + /// + /// 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.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Relocate.RelocatePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Relocate.RelocatePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action relocate + /// + /// 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.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Relocate.RelocatePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Relocate.RelocatePostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) 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.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Relocate.RelocateRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Relocate.RelocateRequestBuilder(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 RelocateRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/DeviceImages/Item/CloudPcDeviceImageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/DeviceImages/Item/CloudPcDeviceImageItemRequestBuilder.cs index f84e22c3ee79..52193e3eedc4 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/DeviceImages/Item/CloudPcDeviceImageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/DeviceImages/Item/CloudPcDeviceImageItemRequestBuilder.cs @@ -26,6 +26,7 @@ public partial class CloudPcDeviceImageItemRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.DeviceImages.Item.RetryUpload.RetryUploadRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to call the reupload method. + [Obsolete("The reupload is deprecated and will not be supported starting June 25, 2026. Please use retryUpload instead. as of 2026-01/reupload on 2026-01-09 and will be removed 2026-06-25")] public global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.DeviceImages.Item.Reupload.ReuploadRequestBuilder Reupload { get => new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.DeviceImages.Item.Reupload.ReuploadRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/OnPremisesConnections/Item/UpdateAdDomainPassword/UpdateAdDomainPasswordPostRequestBody.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/OnPremisesConnections/Item/UpdateAdDomainPassword/UpdateAdDomainPasswordPostRequestBody.cs index a294898368c7..cb1c210139bc 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/OnPremisesConnections/Item/UpdateAdDomainPassword/UpdateAdDomainPasswordPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/OnPremisesConnections/Item/UpdateAdDomainPassword/UpdateAdDomainPasswordPostRequestBody.cs @@ -1,5 +1,6 @@ // #pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions.Store; @@ -37,6 +38,22 @@ public string AdDomainPassword #endif /// Stores model information. public IBackingStore BackingStore { get; private set; } + /// The domainJoinCredential property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.CloudPcDomainJoinCredential? DomainJoinCredential + { + get { return BackingStore?.Get("domainJoinCredential"); } + set { BackingStore?.Set("domainJoinCredential", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.CloudPcDomainJoinCredential DomainJoinCredential + { + get { return BackingStore?.Get("domainJoinCredential"); } + set { BackingStore?.Set("domainJoinCredential", value); } + } +#endif /// /// Instantiates a new and sets the default values. /// @@ -64,6 +81,7 @@ public virtual IDictionary> GetFieldDeserializers() return new Dictionary> { { "adDomainPassword", n => { AdDomainPassword = n.GetStringValue(); } }, + { "domainJoinCredential", n => { DomainJoinCredential = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.CloudPcDomainJoinCredential.CreateFromDiscriminatorValue); } }, }; } /// @@ -74,6 +92,7 @@ public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); writer.WriteStringValue("adDomainPassword", AdDomainPassword); + writer.WriteObjectValue("domainJoinCredential", DomainJoinCredential); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/OnPremisesConnections/Item/UpdateAdDomainPassword/UpdateAdDomainPasswordRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/OnPremisesConnections/Item/UpdateAdDomainPassword/UpdateAdDomainPasswordRequestBuilder.cs index e2ac9a349649..e679cdae7109 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/OnPremisesConnections/Item/UpdateAdDomainPassword/UpdateAdDomainPasswordRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/OnPremisesConnections/Item/UpdateAdDomainPassword/UpdateAdDomainPasswordRequestBuilder.cs @@ -34,7 +34,7 @@ public UpdateAdDomainPasswordRequestBuilder(string rawUrl, IRequestAdapter reque { } /// - /// Update the Active Directory domain password for a successful cloudPcOnPremisesConnection. This API is supported when the type of the cloudPcOnPremisesConnection object is hybridAzureADJoin. + /// Update the Active Directory domain join credential for a successful cloudPcOnPremisesConnection. This API is supported when the connectionType of the cloudPcOnPremisesConnection object is hybridAzureADJoin. /// Find more info here /// /// The request body @@ -59,7 +59,7 @@ public async Task PostAsync(global::Microsoft.Graph.Beta.DeviceManagement.Virtua await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the Active Directory domain password for a successful cloudPcOnPremisesConnection. This API is supported when the type of the cloudPcOnPremisesConnection object is hybridAzureADJoin. + /// Update the Active Directory domain join credential for a successful cloudPcOnPremisesConnection. This API is supported when the connectionType of the cloudPcOnPremisesConnection object is hybridAzureADJoin. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/Reports/ReportsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/Reports/ReportsRequestBuilder.cs index 70c50f936161..7c7e5d821aee 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/Reports/ReportsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/Reports/ReportsRequestBuilder.cs @@ -50,16 +50,19 @@ public partial class ReportsRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.GetActionStatusReports.GetActionStatusReportsRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to call the getCloudPcPerformanceReport method. + [Obsolete("Starting from December 31, 2024, this API ('getCloudPcPerformanceReport') will be deprecated and no longer supported. Please use the retrieveCloudPcTenantMetricsReport API. as of 2024-09/getCloudPcPerformanceReport on 2024-09-10 and will be removed 2024-12-31")] public global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.GetCloudPcPerformanceReport.GetCloudPcPerformanceReportRequestBuilder GetCloudPcPerformanceReport { get => new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.GetCloudPcPerformanceReport.GetCloudPcPerformanceReportRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to call the getCloudPcRecommendationReports method. + [Obsolete("Starting from July 01, 2025, this API ('getCloudPcRecommendationReports') will be deprecated and no longer supported. Please use the retrieveCloudPcRecommendationReports API. as of 2025-02/getCloudPcRecommendationReports on 2025-02-27 and will be removed 2025-07-01")] public global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.GetCloudPcRecommendationReports.GetCloudPcRecommendationReportsRequestBuilder GetCloudPcRecommendationReports { get => new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.GetCloudPcRecommendationReports.GetCloudPcRecommendationReportsRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to call the getConnectionQualityReports method. + [Obsolete("Starting from December 31, 2024, this API ('getConnectionQualityReports') will be deprecated and no longer supported. Please use the retrieveConnectionQualityReports API. as of 2024-09/getConnectionQualityReports on 2024-09-10 and will be removed 2024-12-31")] public global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.GetConnectionQualityReports.GetConnectionQualityReportsRequestBuilder GetConnectionQualityReports { get => new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.GetConnectionQualityReports.GetConnectionQualityReportsRequestBuilder(PathParameters, RequestAdapter); @@ -70,6 +73,7 @@ public partial class ReportsRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.GetDailyAggregatedRemoteConnectionReports.GetDailyAggregatedRemoteConnectionReportsRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to call the getFrontlineReport method. + [Obsolete("Starting from December 31, 2024, this API ('getFrontlineReport') will be deprecated and no longer supported. Please use the retrieveFrontlineReports API. as of 2024-09/getFrontlineReport on 2024-08-22 and will be removed 2024-12-31")] public global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.GetFrontlineReport.GetFrontlineReportRequestBuilder GetFrontlineReport { get => new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.GetFrontlineReport.GetFrontlineReportRequestBuilder(PathParameters, RequestAdapter); @@ -105,6 +109,7 @@ public partial class ReportsRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.RetrieveCloudPcPerformanceMetricsReport.RetrieveCloudPcPerformanceMetricsReportRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to call the retrieveCloudPcRecommendationReports method. + [Obsolete("Starting from December 31, 2025, this API ('cloudPcReports/retrieveCloudPcRecommendationReports') will be deprecated and no longer supported. Please use the cloudPcReport/retrieveCloudPcRecommendationReports API. as of 2025-09/cloudPcReports/retrieveCloudPcRecommendationReports on 2025-09-01 and will be removed 2025-12-31")] public global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.RetrieveCloudPcRecommendationReports.RetrieveCloudPcRecommendationReportsRequestBuilder RetrieveCloudPcRecommendationReports { get => new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.RetrieveCloudPcRecommendationReports.RetrieveCloudPcRecommendationReportsRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/VirtualEndpointRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/VirtualEndpointRequestBuilder.cs index deef29c5565c..5f3d97a786fa 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/VirtualEndpointRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/VirtualEndpointRequestBuilder.cs @@ -85,6 +85,7 @@ public partial class VirtualEndpointRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.ExternalPartnersRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the externalPartnerSettings property of the microsoft.graph.virtualEndpoint entity. + [Obsolete("The cloudPcExternalPartnerSetting is deprecated and will not be supported starting March 31, 2026. This entity will not be included in the API response. Please use externalPartners instead. as of 2025-02/cloudPcExternalPartnerSetting on 2025-02-18 and will be removed 2026-03-31")] public global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartnerSettings.ExternalPartnerSettingsRequestBuilder ExternalPartnerSettings { get => new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartnerSettings.ExternalPartnerSettingsRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/DirectoryRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/DirectoryRequestBuilder.cs index aa71dca73e94..0e0cd2b227cc 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/DirectoryRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/DirectoryRequestBuilder.cs @@ -85,6 +85,7 @@ public partial class DirectoryRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.DirectoryNamespace.ExternalUserProfiles.ExternalUserProfilesRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the featureRolloutPolicies property of the microsoft.graph.directory entity. + [Obsolete("Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies on 2021-03-05 and will be removed 2021-06-30")] public global::Microsoft.Graph.Beta.DirectoryNamespace.FeatureRolloutPolicies.FeatureRolloutPoliciesRequestBuilder FeatureRolloutPolicies { get => new global::Microsoft.Graph.Beta.DirectoryNamespace.FeatureRolloutPolicies.FeatureRolloutPoliciesRequestBuilder(PathParameters, RequestAdapter); @@ -140,6 +141,7 @@ public partial class DirectoryRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.DirectoryNamespace.Recovery.RecoveryRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the remoteTenantGroups property of the microsoft.graph.directory entity. + [Obsolete(" as of 2025-03/PrivatePreview:remoteTenantGroupsAPI on 2025-12-02 and will be removed 2028-12-07")] public global::Microsoft.Graph.Beta.DirectoryNamespace.RemoteTenantGroups.RemoteTenantGroupsRequestBuilder RemoteTenantGroups { get => new global::Microsoft.Graph.Beta.DirectoryNamespace.RemoteTenantGroups.RemoteTenantGroupsRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/FeatureRolloutPolicies/Item/AppliesTo/Item/DirectoryObjectItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/FeatureRolloutPolicies/Item/AppliesTo/Item/DirectoryObjectItemRequestBuilder.cs index 23aafb839831..3fb6ac99a20d 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/FeatureRolloutPolicies/Item/AppliesTo/Item/DirectoryObjectItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/FeatureRolloutPolicies/Item/AppliesTo/Item/DirectoryObjectItemRequestBuilder.cs @@ -16,6 +16,7 @@ namespace Microsoft.Graph.Beta.DirectoryNamespace.FeatureRolloutPolicies.Item.Ap public partial class DirectoryObjectItemRequestBuilder : BaseRequestBuilder { /// Provides operations to manage the collection of directory entities. + [Obsolete("Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies on 2021-03-05 and will be removed 2021-06-30")] public global::Microsoft.Graph.Beta.DirectoryNamespace.FeatureRolloutPolicies.Item.AppliesTo.Item.Ref.RefRequestBuilder Ref { get => new global::Microsoft.Graph.Beta.DirectoryNamespace.FeatureRolloutPolicies.Item.AppliesTo.Item.Ref.RefRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Drives/Item/DriveItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/DriveItemRequestBuilder.cs index 1bb259ddb2d0..1283cebbf7ea 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/DriveItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/DriveItemRequestBuilder.cs @@ -66,6 +66,7 @@ public partial class DriveItemRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Drives.Item.List.ListRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to call the recent method. + [Obsolete("This API is deprecated and will stop returning data after November, 2027. as of 2025-11/Removal on 2025-11-13 and will be removed 2027-11-01")] public global::Microsoft.Graph.Beta.Drives.Item.Recent.RecentRequestBuilder Recent { get => new global::Microsoft.Graph.Beta.Drives.Item.Recent.RecentRequestBuilder(PathParameters, RequestAdapter); @@ -76,6 +77,7 @@ public partial class DriveItemRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Drives.Item.Root.RootRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to call the sharedWithMe method. + [Obsolete("This API is deprecated and will stop returning data after November, 2027. as of 2025-11/Removal on 2025-11-13 and will be removed 2027-11-01")] public global::Microsoft.Graph.Beta.Drives.Item.SharedWithMe.SharedWithMeRequestBuilder SharedWithMe { get => new global::Microsoft.Graph.Beta.Drives.Item.SharedWithMe.SharedWithMeRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs index 8b0f173084a4..f696dfca5a35 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs @@ -54,6 +54,7 @@ public partial class PlannerPlanItemRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.GetUsageRights.GetUsageRightsRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the goals property of the microsoft.graph.plannerPlan entity. + [Obsolete("private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26")] public global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Goals.GoalsRequestBuilder Goals { get => new global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Goals.GoalsRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/InformationProtection/InformationProtectionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/InformationProtection/InformationProtectionRequestBuilder.cs index 3c2ca8f84bb1..adee3f3a9ed3 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/InformationProtection/InformationProtectionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/InformationProtection/InformationProtectionRequestBuilder.cs @@ -39,16 +39,19 @@ public partial class InformationProtectionRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.DataLossPreventionPolicies.DataLossPreventionPoliciesRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to call the decryptBuffer method. + [Obsolete("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15")] public global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.DecryptBuffer.DecryptBufferRequestBuilder DecryptBuffer { get => new global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.DecryptBuffer.DecryptBufferRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to call the encryptBuffer method. + [Obsolete("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15")] public global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.EncryptBuffer.EncryptBufferRequestBuilder EncryptBuffer { get => new global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.EncryptBuffer.EncryptBufferRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the policy property of the microsoft.graph.informationProtection entity. + [Obsolete("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15")] public global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.Policy.PolicyRequestBuilder Policy { get => new global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.Policy.PolicyRequestBuilder(PathParameters, RequestAdapter); @@ -64,6 +67,7 @@ public partial class InformationProtectionRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityPolicySettings.SensitivityPolicySettingsRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to call the signDigest method. + [Obsolete("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15")] public global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SignDigest.SignDigestRequestBuilder SignDigest { get => new global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SignDigest.SignDigestRequestBuilder(PathParameters, RequestAdapter); @@ -74,6 +78,7 @@ public partial class InformationProtectionRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.ThreatAssessmentRequests.ThreatAssessmentRequestsRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to call the verifySignature method. + [Obsolete("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15")] public global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.VerifySignature.VerifySignatureRequestBuilder VerifySignature { get => new global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.VerifySignature.VerifySignatureRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs index 29810771f1f8..812d542fcb73 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs @@ -54,6 +54,7 @@ public partial class PlannerPlanItemRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.GetUsageRights.GetUsageRightsRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the goals property of the microsoft.graph.plannerPlan entity. + [Obsolete("private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26")] public global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Goals.GoalsRequestBuilder Goals { get => new global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Goals.GoalsRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs index cbb685356edd..65848791442f 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs @@ -54,6 +54,7 @@ public partial class PlannerPlanItemRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.GetUsageRights.GetUsageRightsRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the goals property of the microsoft.graph.plannerPlan entity. + [Obsolete("private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26")] public global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Goals.GoalsRequestBuilder Goals { get => new global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Goals.GoalsRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Identity/B2cUserFlows/Item/B2cIdentityUserFlowItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/B2cUserFlows/Item/B2cIdentityUserFlowItemRequestBuilder.cs index cb124ddb4676..98963d08cfe3 100644 --- a/src/Microsoft.Graph/Generated/Identity/B2cUserFlows/Item/B2cIdentityUserFlowItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/B2cUserFlows/Item/B2cIdentityUserFlowItemRequestBuilder.cs @@ -23,6 +23,7 @@ namespace Microsoft.Graph.Beta.Identity.B2cUserFlows.Item public partial class B2cIdentityUserFlowItemRequestBuilder : BaseRequestBuilder { /// Provides operations to manage the identityProviders property of the microsoft.graph.b2cIdentityUserFlow entity. + [Obsolete("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15")] public global::Microsoft.Graph.Beta.Identity.B2cUserFlows.Item.IdentityProviders.IdentityProvidersRequestBuilder IdentityProviders { get => new global::Microsoft.Graph.Beta.Identity.B2cUserFlows.Item.IdentityProviders.IdentityProvidersRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Identity/B2cUserFlows/Item/IdentityProviders/Item/IdentityProviderItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/B2cUserFlows/Item/IdentityProviders/Item/IdentityProviderItemRequestBuilder.cs index 2a82f1b3f2f4..e1fb57045833 100644 --- a/src/Microsoft.Graph/Generated/Identity/B2cUserFlows/Item/IdentityProviders/Item/IdentityProviderItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/B2cUserFlows/Item/IdentityProviders/Item/IdentityProviderItemRequestBuilder.cs @@ -16,6 +16,7 @@ namespace Microsoft.Graph.Beta.Identity.B2cUserFlows.Item.IdentityProviders.Item public partial class IdentityProviderItemRequestBuilder : BaseRequestBuilder { /// Provides operations to manage the collection of identityContainer entities. + [Obsolete("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15")] public global::Microsoft.Graph.Beta.Identity.B2cUserFlows.Item.IdentityProviders.Item.Ref.RefRequestBuilder Ref { get => new global::Microsoft.Graph.Beta.Identity.B2cUserFlows.Item.IdentityProviders.Item.Ref.RefRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/B2xIdentityUserFlowItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/B2xIdentityUserFlowItemRequestBuilder.cs index d7c5a1bd141c..52846fafb468 100644 --- a/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/B2xIdentityUserFlowItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/B2xIdentityUserFlowItemRequestBuilder.cs @@ -29,6 +29,7 @@ public partial class B2xIdentityUserFlowItemRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Identity.B2xUserFlows.Item.ApiConnectorConfiguration.ApiConnectorConfigurationRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the identityProviders property of the microsoft.graph.b2xIdentityUserFlow entity. + [Obsolete("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15")] public global::Microsoft.Graph.Beta.Identity.B2xUserFlows.Item.IdentityProviders.IdentityProvidersRequestBuilder IdentityProviders { get => new global::Microsoft.Graph.Beta.Identity.B2xUserFlows.Item.IdentityProviders.IdentityProvidersRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/ConditionalAccessRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/ConditionalAccessRequestBuilder.cs index e0f8fb5ba871..859221a05d29 100644 --- a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/ConditionalAccessRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/ConditionalAccessRequestBuilder.cs @@ -33,6 +33,7 @@ public partial class ConditionalAccessRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Identity.ConditionalAccess.AuthenticationStrength.AuthenticationStrengthRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the authenticationStrengths property of the microsoft.graph.conditionalAccessRoot entity. + [Obsolete("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31")] public global::Microsoft.Graph.Beta.Identity.ConditionalAccess.AuthenticationStrengths.AuthenticationStrengthsRequestBuilder AuthenticationStrengths { get => new global::Microsoft.Graph.Beta.Identity.ConditionalAccess.AuthenticationStrengths.AuthenticationStrengthsRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Identity/IdentityRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/IdentityRequestBuilder.cs index ca42d3f51bbf..c4147d0b683f 100644 --- a/src/Microsoft.Graph/Generated/Identity/IdentityRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/IdentityRequestBuilder.cs @@ -83,6 +83,7 @@ public partial class IdentityRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Identity.RiskPrevention.RiskPreventionRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the signInIdentifiers property of the microsoft.graph.identityContainer entity. + [Obsolete(" as of 2025-03/SignInWithAlias on 2025-03-26 and will be removed 2025-12-25")] public global::Microsoft.Graph.Beta.Identity.SignInIdentifiers.SignInIdentifiersRequestBuilder SignInIdentifiers { get => new global::Microsoft.Graph.Beta.Identity.SignInIdentifiers.SignInIdentifiersRequestBuilder(PathParameters, RequestAdapter); @@ -93,6 +94,7 @@ public partial class IdentityRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Identity.UserFlowAttributes.UserFlowAttributesRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the userFlows property of the microsoft.graph.identityContainer entity. + [Obsolete("The identity/userflows API is deprecated and will stop returning data on January 2022. Please use the new b2cUserflows or b2xUserflows APIs. as of 2021-05/identityProvider on 2021-05-21 and will be removed 2022-01-15")] public global::Microsoft.Graph.Beta.Identity.UserFlows.UserFlowsRequestBuilder UserFlows { get => new global::Microsoft.Graph.Beta.Identity.UserFlows.UserFlowsRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignments/Item/AccessPackage/AccessPackageRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignments/Item/AccessPackage/AccessPackageRequestBuilder.cs index 752d85a06866..d81f51719d34 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignments/Item/AccessPackage/AccessPackageRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignments/Item/AccessPackage/AccessPackageRequestBuilder.cs @@ -28,11 +28,13 @@ namespace Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.AccessPa public partial class AccessPackageRequestBuilder : BaseRequestBuilder { /// Provides operations to manage the accessPackageAssignmentPolicies property of the microsoft.graph.accessPackage entity. + [Obsolete(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31")] public global::Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.AccessPackageAssignments.Item.AccessPackage.AccessPackageAssignmentPolicies.AccessPackageAssignmentPoliciesRequestBuilder AccessPackageAssignmentPolicies { get => new global::Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.AccessPackageAssignments.Item.AccessPackage.AccessPackageAssignmentPolicies.AccessPackageAssignmentPoliciesRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the accessPackageCatalog property of the microsoft.graph.accessPackage entity. + [Obsolete(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31")] public global::Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.AccessPackageAssignments.Item.AccessPackage.AccessPackageCatalog.AccessPackageCatalogRequestBuilder AccessPackageCatalog { get => new global::Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.AccessPackageAssignments.Item.AccessPackage.AccessPackageCatalog.AccessPackageCatalogRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignments/Item/AccessPackageAssignmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignments/Item/AccessPackageAssignmentItemRequestBuilder.cs index 5a5e093ec10b..c81e3fb812a1 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignments/Item/AccessPackageAssignmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignments/Item/AccessPackageAssignmentItemRequestBuilder.cs @@ -30,11 +30,13 @@ public partial class AccessPackageAssignmentItemRequestBuilder : BaseRequestBuil get => new global::Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.AccessPackageAssignments.Item.AccessPackage.AccessPackageRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the accessPackageAssignmentPolicy property of the microsoft.graph.accessPackageAssignment entity. + [Obsolete(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31")] public global::Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.AccessPackageAssignments.Item.AccessPackageAssignmentPolicy.AccessPackageAssignmentPolicyRequestBuilder AccessPackageAssignmentPolicy { get => new global::Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.AccessPackageAssignments.Item.AccessPackageAssignmentPolicy.AccessPackageAssignmentPolicyRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the accessPackageAssignmentRequests property of the microsoft.graph.accessPackageAssignment entity. + [Obsolete(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31")] public global::Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.AccessPackageAssignments.Item.AccessPackageAssignmentRequests.AccessPackageAssignmentRequestsRequestBuilder AccessPackageAssignmentRequests { get => new global::Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.AccessPackageAssignments.Item.AccessPackageAssignmentRequests.AccessPackageAssignmentRequestsRequestBuilder(PathParameters, RequestAdapter); 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 2d1dbf938299..f32149cd7060 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilder.cs @@ -28,11 +28,13 @@ namespace Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.AccessPa public partial class AccessPackageItemRequestBuilder : BaseRequestBuilder { /// Provides operations to manage the accessPackageAssignmentPolicies property of the microsoft.graph.accessPackage entity. + [Obsolete(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31")] public global::Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.AccessPackages.Item.AccessPackageAssignmentPolicies.AccessPackageAssignmentPoliciesRequestBuilder AccessPackageAssignmentPolicies { get => new global::Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.AccessPackages.Item.AccessPackageAssignmentPolicies.AccessPackageAssignmentPoliciesRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the accessPackageCatalog property of the microsoft.graph.accessPackage entity. + [Obsolete(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31")] public global::Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.AccessPackages.Item.AccessPackageCatalog.AccessPackageCatalogRequestBuilder AccessPackageCatalog { get => new global::Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.AccessPackages.Item.AccessPackageCatalog.AccessPackageCatalogRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/EntitlementManagementRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/EntitlementManagementRequestBuilder.cs index 620a5407125e..1d191f363bd4 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/EntitlementManagementRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/EntitlementManagementRequestBuilder.cs @@ -46,11 +46,13 @@ public partial class EntitlementManagementRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.AccessPackageAssignmentApprovals.AccessPackageAssignmentApprovalsRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the accessPackageAssignmentPolicies property of the microsoft.graph.entitlementManagement entity. + [Obsolete(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31")] public global::Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.AccessPackageAssignmentPolicies.AccessPackageAssignmentPoliciesRequestBuilder AccessPackageAssignmentPolicies { get => new global::Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.AccessPackageAssignmentPolicies.AccessPackageAssignmentPoliciesRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the accessPackageAssignmentRequests property of the microsoft.graph.entitlementManagement entity. + [Obsolete(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31")] public global::Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.AccessPackageAssignmentRequests.AccessPackageAssignmentRequestsRequestBuilder AccessPackageAssignmentRequests { get => new global::Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.AccessPackageAssignmentRequests.AccessPackageAssignmentRequestsRequestBuilder(PathParameters, RequestAdapter); @@ -66,6 +68,7 @@ public partial class EntitlementManagementRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.AccessPackageAssignments.AccessPackageAssignmentsRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the accessPackageCatalogs property of the microsoft.graph.entitlementManagement entity. + [Obsolete(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31")] public global::Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.AccessPackageCatalogs.AccessPackageCatalogsRequestBuilder AccessPackageCatalogs { get => new global::Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.AccessPackageCatalogs.AccessPackageCatalogsRequestBuilder(PathParameters, RequestAdapter); @@ -101,6 +104,7 @@ public partial class EntitlementManagementRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.AccessPackageSuggestionsRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the assignmentRequests property of the microsoft.graph.entitlementManagement entity. + [Obsolete(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31")] public global::Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.AssignmentRequests.AssignmentRequestsRequestBuilder AssignmentRequests { get => new global::Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.AssignmentRequests.AssignmentRequestsRequestBuilder(PathParameters, RequestAdapter); @@ -116,6 +120,7 @@ public partial class EntitlementManagementRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.ConnectedOrganizations.ConnectedOrganizationsRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the controlConfigurations property of the microsoft.graph.entitlementManagement entity. + [Obsolete("Controls configurations preview. as of PrivatePreview:ControlConfigurations on 2024-09-27 and will be removed 2025-09-27")] public global::Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.ControlConfigurations.ControlConfigurationsRequestBuilder ControlConfigurations { get => new global::Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.ControlConfigurations.ControlConfigurationsRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/IdentityGovernanceRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/IdentityGovernanceRequestBuilder.cs index 114e81dcc9a9..e8ffae22ec1d 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/IdentityGovernanceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/IdentityGovernanceRequestBuilder.cs @@ -40,6 +40,7 @@ public partial class IdentityGovernanceRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.IdentityGovernance.AppConsent.AppConsentRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the catalogs property of the microsoft.graph.identityGovernance entity. + [Obsolete(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31")] public global::Microsoft.Graph.Beta.IdentityGovernance.Catalogs.CatalogsRequestBuilder Catalogs { get => new global::Microsoft.Graph.Beta.IdentityGovernance.Catalogs.CatalogsRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/WorkflowItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/WorkflowItemRequestBuilder.cs index 480c6c602c0f..fd5f6288ab97 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/WorkflowItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/WorkflowItemRequestBuilder.cs @@ -74,6 +74,7 @@ public partial class WorkflowItemRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceActivateWithScope.MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to call the cancelProcessing method. + [Obsolete(" as of 2025-11/PrivatePreview:cancelWorkflows on 2025-10-28 and will be removed 2026-10-28")] public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceCancelProcessing.MicrosoftGraphIdentityGovernanceCancelProcessingRequestBuilder MicrosoftGraphIdentityGovernanceCancelProcessing { get => new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceCancelProcessing.MicrosoftGraphIdentityGovernanceCancelProcessingRequestBuilder(PathParameters, RequestAdapter); @@ -89,11 +90,13 @@ public partial class WorkflowItemRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceCreateNewVersion.MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to call the previewTaskFailures method. + [Obsolete(" as of 2025-01/PrivatePreview:organizationalUnit on 2025-08-12 and will be removed 2026-02-28")] public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder MicrosoftGraphIdentityGovernancePreviewTaskFailures { get => new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to call the previewWorkflow method. + [Obsolete(" as of 2025-01/PrivatePreview:organizationalUnit on 2025-08-12 and will be removed 2026-02-28")] public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder MicrosoftGraphIdentityGovernancePreviewWorkflow { get => new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder(PathParameters, RequestAdapter); @@ -104,6 +107,7 @@ public partial class WorkflowItemRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the previewScope property of the microsoft.graph.identityGovernance.workflow entity. + [Obsolete(" as of 2025-01/PrivatePreview:organizationalUnit on 2025-08-12 and will be removed 2026-02-28")] public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.PreviewScopeRequestBuilder PreviewScope { get => new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.PreviewScopeRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Rules/RulesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Rules/RulesRequestBuilder.cs index 0e89cdb1d92e..801f1ef52c66 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Rules/RulesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Rules/RulesRequestBuilder.cs @@ -48,7 +48,7 @@ public RulesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base { } /// - /// Get a list of the lifecyclePolicyRule objects and their properties for a lifecyclePolicy. Rules are evaluated together with AND logic. + /// Get a list of the lifecyclePolicyRule objects and their properties for a lifecyclePolicy. Each enabled rule is evaluated independently, and any violation makes the policy noncompliant. /// Find more info here /// /// A @@ -72,7 +72,7 @@ public RulesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyRuleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get a list of the lifecyclePolicyRule objects and their properties for a lifecyclePolicy. Rules are evaluated together with AND logic. + /// Get a list of the lifecyclePolicyRule objects and their properties for a lifecyclePolicy. Each enabled rule is evaluated independently, and any violation makes the policy noncompliant. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -100,7 +100,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get a list of the lifecyclePolicyRule objects and their properties for a lifecyclePolicy. Rules are evaluated together with AND logic. + /// Get a list of the lifecyclePolicyRule objects and their properties for a lifecyclePolicy. Each enabled rule is evaluated independently, and any violation makes the policy noncompliant. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RulesRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/WorkflowItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/WorkflowItemRequestBuilder.cs index be16df7a13ce..5003bd97b220 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/WorkflowItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/WorkflowItemRequestBuilder.cs @@ -74,6 +74,7 @@ public partial class WorkflowItemRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceActivateWithScope.MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to call the cancelProcessing method. + [Obsolete(" as of 2025-11/PrivatePreview:cancelWorkflows on 2025-10-28 and will be removed 2026-10-28")] public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceCancelProcessing.MicrosoftGraphIdentityGovernanceCancelProcessingRequestBuilder MicrosoftGraphIdentityGovernanceCancelProcessing { get => new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceCancelProcessing.MicrosoftGraphIdentityGovernanceCancelProcessingRequestBuilder(PathParameters, RequestAdapter); @@ -89,11 +90,13 @@ public partial class WorkflowItemRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceCreateNewVersion.MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to call the previewTaskFailures method. + [Obsolete(" as of 2025-01/PrivatePreview:organizationalUnit on 2025-08-12 and will be removed 2026-02-28")] public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder MicrosoftGraphIdentityGovernancePreviewTaskFailures { get => new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to call the previewWorkflow method. + [Obsolete(" as of 2025-01/PrivatePreview:organizationalUnit on 2025-08-12 and will be removed 2026-02-28")] public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder MicrosoftGraphIdentityGovernancePreviewWorkflow { get => new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder(PathParameters, RequestAdapter); @@ -104,6 +107,7 @@ public partial class WorkflowItemRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the previewScope property of the microsoft.graph.identityGovernance.workflow entity. + [Obsolete(" as of 2025-01/PrivatePreview:organizationalUnit on 2025-08-12 and will be removed 2026-02-28")] public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.PreviewScopeRequestBuilder PreviewScope { get => new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.PreviewScopeRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/CustomExtensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/CustomExtensions/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..c434e8710832 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/CustomExtensions/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.IdentityGovernance.PrivilegedAccess.CustomExtensions.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}/identityGovernance/privilegedAccess/customExtensions/$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}/identityGovernance/privilegedAccess/customExtensions/$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.IdentityGovernance.PrivilegedAccess.CustomExtensions.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.CustomExtensions.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/IdentityGovernance/PrivilegedAccess/CustomExtensions/CustomExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/CustomExtensions/CustomExtensionsRequestBuilder.cs new file mode 100644 index 000000000000..622140091870 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/CustomExtensions/CustomExtensionsRequestBuilder.cs @@ -0,0 +1,240 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.CustomExtensions.Count; +using Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.CustomExtensions.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.IdentityGovernance.PrivilegedAccess.CustomExtensions +{ + /// + /// Provides operations to manage the customExtensions property of the microsoft.graph.privilegedAccessRoot entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CustomExtensionsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.CustomExtensions.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.CustomExtensions.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the customExtensions property of the microsoft.graph.privilegedAccessRoot entity. + /// The unique identifier of roleManagementCustomCalloutExtension + /// A + public global::Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.CustomExtensions.Item.RoleManagementCustomCalloutExtensionItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("roleManagementCustomCalloutExtension%2Did", position); + return new global::Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.CustomExtensions.Item.RoleManagementCustomCalloutExtensionItemRequestBuilder(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 CustomExtensionsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/privilegedAccess/customExtensions{?%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 CustomExtensionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/privilegedAccess/customExtensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get a list of roleManagementCustomCalloutExtension objects configured for Privileged Identity Management (PIM). + /// 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.RoleManagementCustomCalloutExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create a roleManagementCustomCalloutExtension object for Privileged Identity Management (PIM). + /// 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 PostAsync(global::Microsoft.Graph.Beta.Models.RoleManagementCustomCalloutExtension body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.RoleManagementCustomCalloutExtension body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) 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.RoleManagementCustomCalloutExtension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get a list of roleManagementCustomCalloutExtension objects configured for Privileged Identity Management (PIM). + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create a roleManagementCustomCalloutExtension object for Privileged Identity Management (PIM). + /// + /// 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.RoleManagementCustomCalloutExtension body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.RoleManagementCustomCalloutExtension body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) 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.IdentityGovernance.PrivilegedAccess.CustomExtensions.CustomExtensionsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.CustomExtensions.CustomExtensionsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get a list of roleManagementCustomCalloutExtension objects configured for Privileged Identity Management (PIM). + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CustomExtensionsRequestBuilderGetQueryParameters + { + /// 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 CustomExtensionsRequestBuilderGetRequestConfiguration : 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 CustomExtensionsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/CustomExtensions/Item/RoleManagementCustomCalloutExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/CustomExtensions/Item/RoleManagementCustomCalloutExtensionItemRequestBuilder.cs new file mode 100644 index 000000000000..2e8dac1b3e7c --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/CustomExtensions/Item/RoleManagementCustomCalloutExtensionItemRequestBuilder.cs @@ -0,0 +1,232 @@ +// +#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.IdentityGovernance.PrivilegedAccess.CustomExtensions.Item +{ + /// + /// Provides operations to manage the customExtensions property of the microsoft.graph.privilegedAccessRoot entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RoleManagementCustomCalloutExtensionItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RoleManagementCustomCalloutExtensionItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/privilegedAccess/customExtensions/{roleManagementCustomCalloutExtension%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 RoleManagementCustomCalloutExtensionItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/privilegedAccess/customExtensions/{roleManagementCustomCalloutExtension%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete a roleManagementCustomCalloutExtension object. + /// Find more info here + /// + /// 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 of a roleManagementCustomCalloutExtension 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.RoleManagementCustomCalloutExtension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the properties of a roleManagementCustomCalloutExtension 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.RoleManagementCustomCalloutExtension body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.RoleManagementCustomCalloutExtension body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) 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.RoleManagementCustomCalloutExtension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete a roleManagementCustomCalloutExtension object. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Read the properties of a roleManagementCustomCalloutExtension object. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the properties of a roleManagementCustomCalloutExtension 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.RoleManagementCustomCalloutExtension body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.RoleManagementCustomCalloutExtension body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) 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.IdentityGovernance.PrivilegedAccess.CustomExtensions.Item.RoleManagementCustomCalloutExtensionItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.CustomExtensions.Item.RoleManagementCustomCalloutExtensionItemRequestBuilder(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 RoleManagementCustomCalloutExtensionItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Read the properties of a roleManagementCustomCalloutExtension object. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RoleManagementCustomCalloutExtensionItemRequestBuilderGetQueryParameters + { + /// 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 RoleManagementCustomCalloutExtensionItemRequestBuilderGetRequestConfiguration : 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 RoleManagementCustomCalloutExtensionItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/PrivilegedAccessGroupAssignmentScheduleRequestItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/PrivilegedAccessGroupAssignmentScheduleRequestItemRequestBuilder.cs index fe01158b0e12..c8dc8ad9ea4b 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/PrivilegedAccessGroupAssignmentScheduleRequestItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/PrivilegedAccessGroupAssignmentScheduleRequestItemRequestBuilder.cs @@ -5,6 +5,7 @@ using Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleRequests.Item.Group; using Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleRequests.Item.Principal; using Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleRequests.Item.TargetSchedule; +using Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleRequests.Item.UpdateRequest; using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; using Microsoft.Kiota.Abstractions.Extensions; @@ -48,6 +49,11 @@ public partial class PrivilegedAccessGroupAssignmentScheduleRequestItemRequestBu { get => new global::Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleRequests.Item.TargetSchedule.TargetScheduleRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the updateRequest method. + public global::Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleRequests.Item.UpdateRequest.UpdateRequestRequestBuilder UpdateRequest + { + get => new global::Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleRequests.Item.UpdateRequest.UpdateRequestRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/UpdateRequest/UpdateRequestPostRequestBody.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/UpdateRequest/UpdateRequestPostRequestBody.cs new file mode 100644 index 000000000000..c240bdd795b5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/UpdateRequest/UpdateRequestPostRequestBody.cs @@ -0,0 +1,126 @@ +// +#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.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleRequests.Item.UpdateRequest +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class UpdateRequestPostRequestBody : 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 evaluationId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? EvaluationId + { + get { return BackingStore?.Get("evaluationId"); } + set { BackingStore?.Set("evaluationId", value); } + } +#nullable restore +#else + public string EvaluationId + { + get { return BackingStore?.Get("evaluationId"); } + set { BackingStore?.Set("evaluationId", value); } + } +#endif + /// The evaluationOutcome property + public global::Microsoft.Graph.Beta.Models.EvaluationOutcome? EvaluationOutcome + { + get { return BackingStore?.Get("evaluationOutcome"); } + set { BackingStore?.Set("evaluationOutcome", value); } + } + /// The reason property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Reason + { + get { return BackingStore?.Get("reason"); } + set { BackingStore?.Set("reason", value); } + } +#nullable restore +#else + public string Reason + { + get { return BackingStore?.Get("reason"); } + set { BackingStore?.Set("reason", value); } + } +#endif + /// The scheduleInfo property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.RequestSchedule? ScheduleInfo + { + get { return BackingStore?.Get("scheduleInfo"); } + set { BackingStore?.Set("scheduleInfo", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.RequestSchedule ScheduleInfo + { + get { return BackingStore?.Get("scheduleInfo"); } + set { BackingStore?.Set("scheduleInfo", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public UpdateRequestPostRequestBody() + { + 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.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleRequests.Item.UpdateRequest.UpdateRequestPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleRequests.Item.UpdateRequest.UpdateRequestPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "evaluationId", n => { EvaluationId = n.GetStringValue(); } }, + { "evaluationOutcome", n => { EvaluationOutcome = n.GetEnumValue(); } }, + { "reason", n => { Reason = n.GetStringValue(); } }, + { "scheduleInfo", n => { ScheduleInfo = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.RequestSchedule.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("evaluationId", EvaluationId); + writer.WriteEnumValue("evaluationOutcome", EvaluationOutcome); + writer.WriteStringValue("reason", Reason); + writer.WriteObjectValue("scheduleInfo", ScheduleInfo); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/UpdateRequest/UpdateRequestRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/UpdateRequest/UpdateRequestRequestBuilder.cs new file mode 100644 index 000000000000..57027d258ea5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/UpdateRequest/UpdateRequestRequestBuilder.cs @@ -0,0 +1,104 @@ +// +#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.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleRequests.Item.UpdateRequest +{ + /// + /// Provides operations to call the updateRequest method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UpdateRequestRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public UpdateRequestRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/privilegedAccess/group/assignmentScheduleRequests/{privilegedAccessGroupAssignmentScheduleRequest%2Did}/updateRequest", 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 UpdateRequestRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/privilegedAccess/group/assignmentScheduleRequests/{privilegedAccessGroupAssignmentScheduleRequest%2Did}/updateRequest", rawUrl) + { + } + /// + /// Update a privilegedAccessGroupAssignmentScheduleRequest object with the result of a custom extension evaluation for a group membership or ownership assignment request. + /// 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 PostAsync(global::Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleRequests.Item.UpdateRequest.UpdateRequestPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleRequests.Item.UpdateRequest.UpdateRequestPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) 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.PrivilegedAccessGroupAssignmentScheduleRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update a privilegedAccessGroupAssignmentScheduleRequest object with the result of a custom extension evaluation for a group membership or ownership assignment request. + /// + /// 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.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleRequests.Item.UpdateRequest.UpdateRequestPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleRequests.Item.UpdateRequest.UpdateRequestPostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) 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.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleRequests.Item.UpdateRequest.UpdateRequestRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleRequests.Item.UpdateRequest.UpdateRequestRequestBuilder(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 UpdateRequestRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/PrivilegedAccessRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/PrivilegedAccessRequestBuilder.cs index 62fc96466ec4..84b5a627460f 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/PrivilegedAccessRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/PrivilegedAccessRequestBuilder.cs @@ -1,5 +1,6 @@ // #pragma warning disable CS0618 +using Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.CustomExtensions; using Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.Group; using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; @@ -19,6 +20,11 @@ namespace Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class PrivilegedAccessRequestBuilder : BaseRequestBuilder { + /// Provides operations to manage the customExtensions property of the microsoft.graph.privilegedAccessRoot entity. + public global::Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.CustomExtensions.CustomExtensionsRequestBuilder CustomExtensions + { + get => new global::Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.CustomExtensions.CustomExtensionsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the group property of the microsoft.graph.privilegedAccessRoot entity. public global::Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.Group.GroupRequestBuilder Group { diff --git a/src/Microsoft.Graph/Generated/InformationProtection/InformationProtectionRequestBuilder.cs b/src/Microsoft.Graph/Generated/InformationProtection/InformationProtectionRequestBuilder.cs index df660f1b07f6..b62a3cc7b153 100644 --- a/src/Microsoft.Graph/Generated/InformationProtection/InformationProtectionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/InformationProtection/InformationProtectionRequestBuilder.cs @@ -39,16 +39,19 @@ public partial class InformationProtectionRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.InformationProtection.DataLossPreventionPolicies.DataLossPreventionPoliciesRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to call the decryptBuffer method. + [Obsolete("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15")] public global::Microsoft.Graph.Beta.InformationProtection.DecryptBuffer.DecryptBufferRequestBuilder DecryptBuffer { get => new global::Microsoft.Graph.Beta.InformationProtection.DecryptBuffer.DecryptBufferRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to call the encryptBuffer method. + [Obsolete("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15")] public global::Microsoft.Graph.Beta.InformationProtection.EncryptBuffer.EncryptBufferRequestBuilder EncryptBuffer { get => new global::Microsoft.Graph.Beta.InformationProtection.EncryptBuffer.EncryptBufferRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the policy property of the microsoft.graph.informationProtection entity. + [Obsolete("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15")] public global::Microsoft.Graph.Beta.InformationProtection.Policy.PolicyRequestBuilder Policy { get => new global::Microsoft.Graph.Beta.InformationProtection.Policy.PolicyRequestBuilder(PathParameters, RequestAdapter); @@ -64,6 +67,7 @@ public partial class InformationProtectionRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.InformationProtection.SensitivityPolicySettings.SensitivityPolicySettingsRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to call the signDigest method. + [Obsolete("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15")] public global::Microsoft.Graph.Beta.InformationProtection.SignDigest.SignDigestRequestBuilder SignDigest { get => new global::Microsoft.Graph.Beta.InformationProtection.SignDigest.SignDigestRequestBuilder(PathParameters, RequestAdapter); @@ -74,6 +78,7 @@ public partial class InformationProtectionRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.InformationProtection.ThreatAssessmentRequests.ThreatAssessmentRequestsRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to call the verifySignature method. + [Obsolete("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15")] public global::Microsoft.Graph.Beta.InformationProtection.VerifySignature.VerifySignatureRequestBuilder VerifySignature { get => new global::Microsoft.Graph.Beta.InformationProtection.VerifySignature.VerifySignatureRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/CloudPCItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/CloudPCItemRequestBuilder.cs index 382252ff27aa..3a508714061e 100644 --- a/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/CloudPCItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/CloudPCItemRequestBuilder.cs @@ -10,6 +10,7 @@ using Microsoft.Graph.Beta.Me.CloudPCs.Item.PowerOff; using Microsoft.Graph.Beta.Me.CloudPCs.Item.PowerOn; using Microsoft.Graph.Beta.Me.CloudPCs.Item.Reboot; +using Microsoft.Graph.Beta.Me.CloudPCs.Item.Relocate; using Microsoft.Graph.Beta.Me.CloudPCs.Item.Rename; using Microsoft.Graph.Beta.Me.CloudPCs.Item.Reprovision; using Microsoft.Graph.Beta.Me.CloudPCs.Item.Resize; @@ -63,6 +64,7 @@ public partial class CloudPCItemRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Me.CloudPCs.Item.GetCloudPcConnectivityHistory.GetCloudPcConnectivityHistoryRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to call the getCloudPcLaunchInfo method. + [Obsolete("Starting from Oct 30, 2026, this API: getCloudPcLaunchInfo will be deprecated and no longer be supported. Please use the new API:retrieveCloudPcLaunchDetail to retrieve same details. as of 2025-09/cloudPcLaunchInfo on 2025-09-30 and will be removed 2026-10-30")] public global::Microsoft.Graph.Beta.Me.CloudPCs.Item.GetCloudPcLaunchInfo.GetCloudPcLaunchInfoRequestBuilder GetCloudPcLaunchInfo { get => new global::Microsoft.Graph.Beta.Me.CloudPCs.Item.GetCloudPcLaunchInfo.GetCloudPcLaunchInfoRequestBuilder(PathParameters, RequestAdapter); @@ -92,6 +94,11 @@ public partial class CloudPCItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Me.CloudPCs.Item.Reboot.RebootRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the relocate method. + public global::Microsoft.Graph.Beta.Me.CloudPCs.Item.Relocate.RelocateRequestBuilder Relocate + { + get => new global::Microsoft.Graph.Beta.Me.CloudPCs.Item.Relocate.RelocateRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the rename method. public global::Microsoft.Graph.Beta.Me.CloudPCs.Item.Rename.RenameRequestBuilder Rename { diff --git a/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/Relocate/RelocatePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/Relocate/RelocatePostRequestBody.cs new file mode 100644 index 000000000000..ea2e92dee326 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/Relocate/RelocatePostRequestBody.cs @@ -0,0 +1,82 @@ +// +#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.CloudPCs.Item.Relocate +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RelocatePostRequestBody : 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 domainJoinConfigurations property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? DomainJoinConfigurations + { + get { return BackingStore?.Get?>("domainJoinConfigurations"); } + set { BackingStore?.Set("domainJoinConfigurations", value); } + } +#nullable restore +#else + public List DomainJoinConfigurations + { + get { return BackingStore?.Get>("domainJoinConfigurations"); } + set { BackingStore?.Set("domainJoinConfigurations", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RelocatePostRequestBody() + { + 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.CloudPCs.Item.Relocate.RelocatePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Me.CloudPCs.Item.Relocate.RelocatePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "domainJoinConfigurations", n => { DomainJoinConfigurations = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.CloudPcDomainJoinConfiguration.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfObjectValues("domainJoinConfigurations", DomainJoinConfigurations); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/Relocate/RelocateRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/Relocate/RelocateRequestBuilder.cs new file mode 100644 index 000000000000..c485402490a0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/Relocate/RelocateRequestBuilder.cs @@ -0,0 +1,101 @@ +// +#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.CloudPCs.Item.Relocate +{ + /// + /// Provides operations to call the relocate method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RelocateRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RelocateRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/cloudPCs/{cloudPC%2Did}/relocate", 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 RelocateRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/cloudPCs/{cloudPC%2Did}/relocate", rawUrl) + { + } + /// + /// Invoke action relocate + /// + /// 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.Me.CloudPCs.Item.Relocate.RelocatePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Me.CloudPCs.Item.Relocate.RelocatePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action relocate + /// + /// 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.CloudPCs.Item.Relocate.RelocatePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Me.CloudPCs.Item.Relocate.RelocatePostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) 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.CloudPCs.Item.Relocate.RelocateRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.CloudPCs.Item.Relocate.RelocateRequestBuilder(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 RelocateRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/DistributionLists/DistributionListsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/DistributionLists/DistributionListsRequestBuilder.cs index f3226d5ec4ef..32733edc5c66 100644 --- a/src/Microsoft.Graph/Generated/Me/DistributionLists/DistributionListsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/DistributionLists/DistributionListsRequestBuilder.cs @@ -54,7 +54,7 @@ public DistributionListsRequestBuilder(string rawUrl, IRequestAdapter requestAda { } /// - /// Get a list of the distributionList objects in the user's mailbox. + /// Get a list of the personal distribution lists in the user's mailbox. /// Find more info here /// /// A @@ -78,7 +78,7 @@ public DistributionListsRequestBuilder(string rawUrl, IRequestAdapter requestAda return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.DistributionListCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new distributionList in the user's mailbox. + /// Create a new personal distribution list in the user's mailbox. /// Find more info here /// /// A @@ -104,7 +104,7 @@ public DistributionListsRequestBuilder(string rawUrl, IRequestAdapter requestAda return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.DistributionList.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get a list of the distributionList objects in the user's mailbox. + /// Get a list of the personal distribution lists in the user's mailbox. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -123,7 +123,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new distributionList in the user's mailbox. + /// Create a new personal distribution list in the user's mailbox. /// /// A /// The request body @@ -154,7 +154,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.Me.DistributionLists.DistributionListsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get a list of the distributionList objects in the user's mailbox. + /// Get a list of the personal distribution lists in the user's mailbox. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DistributionListsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Me/InformationProtection/InformationProtectionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/InformationProtection/InformationProtectionRequestBuilder.cs index 0a41933e9305..8fec1dfeb6ff 100644 --- a/src/Microsoft.Graph/Generated/Me/InformationProtection/InformationProtectionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/InformationProtection/InformationProtectionRequestBuilder.cs @@ -39,16 +39,19 @@ public partial class InformationProtectionRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Me.InformationProtection.DataLossPreventionPolicies.DataLossPreventionPoliciesRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to call the decryptBuffer method. + [Obsolete("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15")] public global::Microsoft.Graph.Beta.Me.InformationProtection.DecryptBuffer.DecryptBufferRequestBuilder DecryptBuffer { get => new global::Microsoft.Graph.Beta.Me.InformationProtection.DecryptBuffer.DecryptBufferRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to call the encryptBuffer method. + [Obsolete("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15")] public global::Microsoft.Graph.Beta.Me.InformationProtection.EncryptBuffer.EncryptBufferRequestBuilder EncryptBuffer { get => new global::Microsoft.Graph.Beta.Me.InformationProtection.EncryptBuffer.EncryptBufferRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the policy property of the microsoft.graph.informationProtection entity. + [Obsolete("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15")] public global::Microsoft.Graph.Beta.Me.InformationProtection.Policy.PolicyRequestBuilder Policy { get => new global::Microsoft.Graph.Beta.Me.InformationProtection.Policy.PolicyRequestBuilder(PathParameters, RequestAdapter); @@ -64,6 +67,7 @@ public partial class InformationProtectionRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Me.InformationProtection.SensitivityPolicySettings.SensitivityPolicySettingsRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to call the signDigest method. + [Obsolete("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15")] public global::Microsoft.Graph.Beta.Me.InformationProtection.SignDigest.SignDigestRequestBuilder SignDigest { get => new global::Microsoft.Graph.Beta.Me.InformationProtection.SignDigest.SignDigestRequestBuilder(PathParameters, RequestAdapter); @@ -74,6 +78,7 @@ public partial class InformationProtectionRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Me.InformationProtection.ThreatAssessmentRequests.ThreatAssessmentRequestsRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to call the verifySignature method. + [Obsolete("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15")] public global::Microsoft.Graph.Beta.Me.InformationProtection.VerifySignature.VerifySignatureRequestBuilder VerifySignature { get => new global::Microsoft.Graph.Beta.Me.InformationProtection.VerifySignature.VerifySignatureRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Me/Insights/InsightsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Insights/InsightsRequestBuilder.cs index 16a04814b5f0..cc95e8740e7e 100644 --- a/src/Microsoft.Graph/Generated/Me/Insights/InsightsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Insights/InsightsRequestBuilder.cs @@ -22,6 +22,7 @@ namespace Microsoft.Graph.Beta.Me.Insights public partial class InsightsRequestBuilder : BaseRequestBuilder { /// Provides operations to manage the shared property of the microsoft.graph.officeGraphInsights entity. + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] public global::Microsoft.Graph.Beta.Me.Insights.Shared.SharedRequestBuilder Shared { get => new global::Microsoft.Graph.Beta.Me.Insights.Shared.SharedRequestBuilder(PathParameters, RequestAdapter); @@ -32,6 +33,7 @@ public partial class InsightsRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Me.Insights.Trending.TrendingRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the used property of the microsoft.graph.officeGraphInsights entity. + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] public global::Microsoft.Graph.Beta.Me.Insights.Used.UsedRequestBuilder Used { get => new global::Microsoft.Graph.Beta.Me.Insights.Used.UsedRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/MailFolderItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/MailFolderItemRequestBuilder.cs index fba887e97a67..90381c1c1312 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/MailFolderItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/MailFolderItemRequestBuilder.cs @@ -53,6 +53,7 @@ public partial class MailFolderItemRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Move.MoveRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the operations property of the microsoft.graph.mailFolder entity. + [Obsolete(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI on 2024-04-29 and will be removed 2024-06-30")] public global::Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Operations.OperationsRequestBuilder Operations { get => new global::Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Operations.OperationsRequestBuilder(PathParameters, RequestAdapter); @@ -63,6 +64,7 @@ public partial class MailFolderItemRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.PermanentDelete.PermanentDeleteRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to call the updateAllMessagesReadState method. + [Obsolete(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI on 2024-04-29 and will be removed 2024-06-30")] public global::Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.UpdateAllMessagesReadState.UpdateAllMessagesReadStateRequestBuilder UpdateAllMessagesReadState { get => new global::Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.UpdateAllMessagesReadState.UpdateAllMessagesReadStateRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/MessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/MessageItemRequestBuilder.cs index 931d4452d4f9..4e3cffeb292a 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/MessageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/MessageItemRequestBuilder.cs @@ -77,11 +77,13 @@ public partial class MessageItemRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Forward.ForwardRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to call the markAsJunk method. + [Obsolete("The MarkAsJunk API is deprecated and will stop working from Dec 30, 2025. Please use the ReportMessage API. as of 2022-09/Mark_As_Junk on 2025-04-25 and will be removed 2025-12-30")] public global::Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.MarkAsJunk.MarkAsJunkRequestBuilder MarkAsJunk { get => new global::Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.MarkAsJunk.MarkAsJunkRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to call the markAsNotJunk method. + [Obsolete("The MarkAsNotJunk API is deprecated and will stop working from Dec 30, 2025. Please use the ReportMessage API. as of 2022-09/Mark_As_Not_Junk on 2025-04-25 and will be removed 2025-12-30")] public global::Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.MarkAsNotJunk.MarkAsNotJunkRequestBuilder MarkAsNotJunk { get => new global::Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.MarkAsNotJunk.MarkAsNotJunkRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/MailFolderItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/MailFolderItemRequestBuilder.cs index f1e20a984e2d..2be3e59daba7 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/MailFolderItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/MailFolderItemRequestBuilder.cs @@ -59,6 +59,7 @@ public partial class MailFolderItemRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Me.MailFolders.Item.Move.MoveRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the operations property of the microsoft.graph.mailFolder entity. + [Obsolete(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI on 2024-04-29 and will be removed 2024-06-30")] public global::Microsoft.Graph.Beta.Me.MailFolders.Item.Operations.OperationsRequestBuilder Operations { get => new global::Microsoft.Graph.Beta.Me.MailFolders.Item.Operations.OperationsRequestBuilder(PathParameters, RequestAdapter); @@ -69,6 +70,7 @@ public partial class MailFolderItemRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Me.MailFolders.Item.PermanentDelete.PermanentDeleteRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to call the updateAllMessagesReadState method. + [Obsolete(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI on 2024-04-29 and will be removed 2024-06-30")] public global::Microsoft.Graph.Beta.Me.MailFolders.Item.UpdateAllMessagesReadState.UpdateAllMessagesReadStateRequestBuilder UpdateAllMessagesReadState { get => new global::Microsoft.Graph.Beta.Me.MailFolders.Item.UpdateAllMessagesReadState.UpdateAllMessagesReadStateRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/MessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/MessageItemRequestBuilder.cs index e0b1c3c03036..e78fb1e8da78 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/MessageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/MessageItemRequestBuilder.cs @@ -77,11 +77,13 @@ public partial class MessageItemRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Me.MailFolders.Item.Messages.Item.Forward.ForwardRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to call the markAsJunk method. + [Obsolete("The MarkAsJunk API is deprecated and will stop working from Dec 30, 2025. Please use the ReportMessage API. as of 2022-09/Mark_As_Junk on 2025-04-25 and will be removed 2025-12-30")] public global::Microsoft.Graph.Beta.Me.MailFolders.Item.Messages.Item.MarkAsJunk.MarkAsJunkRequestBuilder MarkAsJunk { get => new global::Microsoft.Graph.Beta.Me.MailFolders.Item.Messages.Item.MarkAsJunk.MarkAsJunkRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to call the markAsNotJunk method. + [Obsolete("The MarkAsNotJunk API is deprecated and will stop working from Dec 30, 2025. Please use the ReportMessage API. as of 2022-09/Mark_As_Not_Junk on 2025-04-25 and will be removed 2025-12-30")] public global::Microsoft.Graph.Beta.Me.MailFolders.Item.Messages.Item.MarkAsNotJunk.MarkAsNotJunkRequestBuilder MarkAsNotJunk { get => new global::Microsoft.Graph.Beta.Me.MailFolders.Item.Messages.Item.MarkAsNotJunk.MarkAsNotJunkRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/ManagedDeviceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/ManagedDeviceItemRequestBuilder.cs index 8f622b0affec..a04db82c5d02 100644 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/ManagedDeviceItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/ManagedDeviceItemRequestBuilder.cs @@ -327,6 +327,7 @@ public partial class ManagedDeviceItemRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Me.ManagedDevices.Item.RotateRecoveryLockPasscode.RotateRecoveryLockPasscodeRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the securityBaselineStates property of the microsoft.graph.managedDevice entity. + [Obsolete("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07")] public global::Microsoft.Graph.Beta.Me.ManagedDevices.Item.SecurityBaselineStates.SecurityBaselineStatesRequestBuilder SecurityBaselineStates { get => new global::Microsoft.Graph.Beta.Me.ManagedDevices.Item.SecurityBaselineStates.SecurityBaselineStatesRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Me/MeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MeRequestBuilder.cs index 3dd57a9c2e84..b1886cd4678d 100644 --- a/src/Microsoft.Graph/Generated/Me/MeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MeRequestBuilder.cs @@ -537,6 +537,7 @@ public partial class MeRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Me.MobileAppTroubleshootingEvents.MobileAppTroubleshootingEventsRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the notifications property of the microsoft.graph.user entity. + [Obsolete("The Graph Notification API is deprecated and will stop returning data on March 20, 2023. as of 2023-03/Notification_Deprecation on 2023-03-09 and will be removed 2023-03-20")] public global::Microsoft.Graph.Beta.Me.Notifications.NotificationsRequestBuilder Notifications { get => new global::Microsoft.Graph.Beta.Me.Notifications.NotificationsRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/MessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/MessageItemRequestBuilder.cs index d12aaecb1ef6..ee5471f4dd45 100644 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/MessageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Messages/Item/MessageItemRequestBuilder.cs @@ -77,11 +77,13 @@ public partial class MessageItemRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Me.Messages.Item.Forward.ForwardRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to call the markAsJunk method. + [Obsolete("The MarkAsJunk API is deprecated and will stop working from Dec 30, 2025. Please use the ReportMessage API. as of 2022-09/Mark_As_Junk on 2025-04-25 and will be removed 2025-12-30")] public global::Microsoft.Graph.Beta.Me.Messages.Item.MarkAsJunk.MarkAsJunkRequestBuilder MarkAsJunk { get => new global::Microsoft.Graph.Beta.Me.Messages.Item.MarkAsJunk.MarkAsJunkRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to call the markAsNotJunk method. + [Obsolete("The MarkAsNotJunk API is deprecated and will stop working from Dec 30, 2025. Please use the ReportMessage API. as of 2022-09/Mark_As_Not_Junk on 2025-04-25 and will be removed 2025-12-30")] public global::Microsoft.Graph.Beta.Me.Messages.Item.MarkAsNotJunk.MarkAsNotJunkRequestBuilder MarkAsNotJunk { get => new global::Microsoft.Graph.Beta.Me.Messages.Item.MarkAsNotJunk.MarkAsNotJunkRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/OnlineMeetingItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/OnlineMeetingItemRequestBuilder.cs index 4fc9802a8757..8ef7c6088a1c 100644 --- a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/OnlineMeetingItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/OnlineMeetingItemRequestBuilder.cs @@ -77,6 +77,7 @@ public partial class OnlineMeetingItemRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Me.OnlineMeetings.Item.Recordings.RecordingsRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the registration property of the microsoft.graph.onlineMeeting entity. + [Obsolete("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12")] public global::Microsoft.Graph.Beta.Me.OnlineMeetings.Item.Registration.RegistrationRequestBuilder Registration { get => new global::Microsoft.Graph.Beta.Me.OnlineMeetings.Item.Registration.RegistrationRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Me/Outlook/OutlookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Outlook/OutlookRequestBuilder.cs index b948da43fce1..90a809d51e20 100644 --- a/src/Microsoft.Graph/Generated/Me/Outlook/OutlookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Outlook/OutlookRequestBuilder.cs @@ -41,16 +41,19 @@ public partial class OutlookRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Me.Outlook.SupportedTimeZones.SupportedTimeZonesRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the taskFolders property of the microsoft.graph.outlookUser entity. + [Obsolete("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20")] public global::Microsoft.Graph.Beta.Me.Outlook.TaskFolders.TaskFoldersRequestBuilder TaskFolders { get => new global::Microsoft.Graph.Beta.Me.Outlook.TaskFolders.TaskFoldersRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the taskGroups property of the microsoft.graph.outlookUser entity. + [Obsolete("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20")] public global::Microsoft.Graph.Beta.Me.Outlook.TaskGroups.TaskGroupsRequestBuilder TaskGroups { get => new global::Microsoft.Graph.Beta.Me.Outlook.TaskGroups.TaskGroupsRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the tasks property of the microsoft.graph.outlookUser entity. + [Obsolete("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20")] public global::Microsoft.Graph.Beta.Me.Outlook.Tasks.TasksRequestBuilder Tasks { get => new global::Microsoft.Graph.Beta.Me.Outlook.Tasks.TasksRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs index 13433d752f0f..fcaee70c6159 100644 --- a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs @@ -54,6 +54,7 @@ public partial class PlannerPlanItemRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Me.Planner.Plans.Item.GetUsageRights.GetUsageRightsRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the goals property of the microsoft.graph.plannerPlan entity. + [Obsolete("private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26")] public global::Microsoft.Graph.Beta.Me.Planner.Plans.Item.Goals.GoalsRequestBuilder Goals { get => new global::Microsoft.Graph.Beta.Me.Planner.Plans.Item.Goals.GoalsRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Models/AccessReviewCatalogResourceType.cs b/src/Microsoft.Graph/Generated/Models/AccessReviewCatalogResourceType.cs new file mode 100644 index 000000000000..6acae6148ba0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/AccessReviewCatalogResourceType.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 AccessReviewCatalogResourceType + #pragma warning restore CS1591 + { + [EnumMember(Value = "none")] + #pragma warning disable CS1591 + None = 1, + #pragma warning restore CS1591 + [EnumMember(Value = "accessPackage")] + #pragma warning disable CS1591 + AccessPackage = 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/AccessReviewCatalogScope.cs b/src/Microsoft.Graph/Generated/Models/AccessReviewCatalogScope.cs new file mode 100644 index 000000000000..1f88b9746cc2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/AccessReviewCatalogScope.cs @@ -0,0 +1,61 @@ +// +#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 AccessReviewCatalogScope : global::Microsoft.Graph.Beta.Models.AccessReviewResourceScope, IParsable + #pragma warning restore CS1591 + { + /// The additionalCatalogResourceTypes property + public global::Microsoft.Graph.Beta.Models.AccessReviewCatalogResourceType? AdditionalCatalogResourceTypes + { + get { return BackingStore?.Get("additionalCatalogResourceTypes"); } + set { BackingStore?.Set("additionalCatalogResourceTypes", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public AccessReviewCatalogScope() : base() + { + OdataType = "#microsoft.graph.accessReviewCatalogScope"; + } + /// + /// 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.AccessReviewCatalogScope CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.AccessReviewCatalogScope(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "additionalCatalogResourceTypes", n => { AdditionalCatalogResourceTypes = n.GetEnumValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteEnumValue("additionalCatalogResourceTypes", AdditionalCatalogResourceTypes); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/AccessReviewResourceScope.cs b/src/Microsoft.Graph/Generated/Models/AccessReviewResourceScope.cs index b7f27ee97582..44e820ea028c 100644 --- a/src/Microsoft.Graph/Generated/Models/AccessReviewResourceScope.cs +++ b/src/Microsoft.Graph/Generated/Models/AccessReviewResourceScope.cs @@ -69,6 +69,7 @@ public AccessReviewResourceScope() : base() return mappingValue switch { "#microsoft.graph.accessReviewAccessPackageAssignmentPolicyScope" => new global::Microsoft.Graph.Beta.Models.AccessReviewAccessPackageAssignmentPolicyScope(), + "#microsoft.graph.accessReviewCatalogScope" => new global::Microsoft.Graph.Beta.Models.AccessReviewCatalogScope(), _ => new global::Microsoft.Graph.Beta.Models.AccessReviewResourceScope(), }; } diff --git a/src/Microsoft.Graph/Generated/Models/AccessReviewScope.cs b/src/Microsoft.Graph/Generated/Models/AccessReviewScope.cs index a995a1b24d90..faa381874ae4 100644 --- a/src/Microsoft.Graph/Generated/Models/AccessReviewScope.cs +++ b/src/Microsoft.Graph/Generated/Models/AccessReviewScope.cs @@ -57,6 +57,7 @@ public AccessReviewScope() return mappingValue switch { "#microsoft.graph.accessReviewAccessPackageAssignmentPolicyScope" => new global::Microsoft.Graph.Beta.Models.AccessReviewAccessPackageAssignmentPolicyScope(), + "#microsoft.graph.accessReviewCatalogScope" => new global::Microsoft.Graph.Beta.Models.AccessReviewCatalogScope(), "#microsoft.graph.accessReviewInactiveUsersQueryScope" => new global::Microsoft.Graph.Beta.Models.AccessReviewInactiveUsersQueryScope(), "#microsoft.graph.accessReviewPrincipalScope" => new global::Microsoft.Graph.Beta.Models.AccessReviewPrincipalScope(), "#microsoft.graph.accessReviewQueryScope" => new global::Microsoft.Graph.Beta.Models.AccessReviewQueryScope(), diff --git a/src/Microsoft.Graph/Generated/Models/ActivityLogOperationType.cs b/src/Microsoft.Graph/Generated/Models/ActivityLogOperationType.cs index 3ff821d8d5f9..361fdc2b9735 100644 --- a/src/Microsoft.Graph/Generated/Models/ActivityLogOperationType.cs +++ b/src/Microsoft.Graph/Generated/Models/ActivityLogOperationType.cs @@ -52,6 +52,10 @@ public enum ActivityLogOperationType #pragma warning disable CS1591 RestoreTaskCompleted, #pragma warning restore CS1591 + [EnumMember(Value = "backupPolicyDeleted")] + #pragma warning disable CS1591 + BackupPolicyDeleted, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] #pragma warning disable CS1591 UnknownFutureValue, diff --git a/src/Microsoft.Graph/Generated/Models/ActivityMetadata.cs b/src/Microsoft.Graph/Generated/Models/ActivityMetadata.cs index b79f44905621..180fa5320388 100644 --- a/src/Microsoft.Graph/Generated/Models/ActivityMetadata.cs +++ b/src/Microsoft.Graph/Generated/Models/ActivityMetadata.cs @@ -43,7 +43,7 @@ public string OdataType set { BackingStore?.Set("@odata.type", value); } } #endif - /// The participants property + /// The other parties in an agent interaction. Specify the concrete participant type by using the @odata.type property. Required when evaluationScope.type is agent; otherwise optional. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Participants diff --git a/src/Microsoft.Graph/Generated/Models/AdminWindowsUpdates.cs b/src/Microsoft.Graph/Generated/Models/AdminWindowsUpdates.cs index 1ee8d2a7d382..033e147253fa 100644 --- a/src/Microsoft.Graph/Generated/Models/AdminWindowsUpdates.cs +++ b/src/Microsoft.Graph/Generated/Models/AdminWindowsUpdates.cs @@ -28,6 +28,22 @@ public partial class AdminWindowsUpdates : global::Microsoft.Graph.Beta.Models.E get { return BackingStore?.Get("catalog"); } set { BackingStore?.Set("catalog", value); } } +#endif + /// Read-only Windows Autopatch device, policy assignment, applicability, and driver reporting data. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.WindowsUpdates.UpdateData? Data + { + get { return BackingStore?.Get("data"); } + set { BackingStore?.Set("data", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.WindowsUpdates.UpdateData Data + { + get { return BackingStore?.Get("data"); } + set { BackingStore?.Set("data", value); } + } #endif /// The set of updatableAsset resources to which a deployment can apply. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -108,6 +124,22 @@ public partial class AdminWindowsUpdates : global::Microsoft.Graph.Beta.Models.E get { return BackingStore?.Get>("resourceConnections"); } set { BackingStore?.Set("resourceConnections", value); } } +#endif + /// The Windows Autopatch settings for the current tenant. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.WindowsUpdates.TenantSetting? TenantSettings + { + get { return BackingStore?.Get("tenantSettings"); } + set { BackingStore?.Set("tenantSettings", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.WindowsUpdates.TenantSetting TenantSettings + { + get { return BackingStore?.Get("tenantSettings"); } + set { BackingStore?.Set("tenantSettings", value); } + } #endif /// Assets registered with Windows Autopatch that can receive updates. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -160,11 +192,13 @@ public override IDictionary> GetFieldDeserializers() return new Dictionary>(base.GetFieldDeserializers()) { { "catalog", n => { Catalog = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.WindowsUpdates.Catalog.CreateFromDiscriminatorValue); } }, + { "data", n => { Data = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.WindowsUpdates.UpdateData.CreateFromDiscriminatorValue); } }, { "deploymentAudiences", n => { DeploymentAudiences = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.WindowsUpdates.DeploymentAudience.CreateFromDiscriminatorValue)?.AsList(); } }, { "deployments", n => { Deployments = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.WindowsUpdates.Deployment.CreateFromDiscriminatorValue)?.AsList(); } }, { "policies", n => { Policies = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.WindowsUpdates.Policy.CreateFromDiscriminatorValue)?.AsList(); } }, { "products", n => { Products = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.WindowsUpdates.Product.CreateFromDiscriminatorValue)?.AsList(); } }, { "resourceConnections", n => { ResourceConnections = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.WindowsUpdates.ResourceConnection.CreateFromDiscriminatorValue)?.AsList(); } }, + { "tenantSettings", n => { TenantSettings = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.WindowsUpdates.TenantSetting.CreateFromDiscriminatorValue); } }, { "updatableAssets", n => { UpdatableAssets = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.WindowsUpdates.UpdatableAsset.CreateFromDiscriminatorValue)?.AsList(); } }, { "updatePolicies", n => { UpdatePolicies = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.WindowsUpdates.UpdatePolicy.CreateFromDiscriminatorValue)?.AsList(); } }, }; @@ -178,11 +212,13 @@ public override void Serialize(ISerializationWriter writer) if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); writer.WriteObjectValue("catalog", Catalog); + writer.WriteObjectValue("data", Data); writer.WriteCollectionOfObjectValues("deploymentAudiences", DeploymentAudiences); writer.WriteCollectionOfObjectValues("deployments", Deployments); writer.WriteCollectionOfObjectValues("policies", Policies); writer.WriteCollectionOfObjectValues("products", Products); writer.WriteCollectionOfObjectValues("resourceConnections", ResourceConnections); + writer.WriteObjectValue("tenantSettings", TenantSettings); writer.WriteCollectionOfObjectValues("updatableAssets", UpdatableAssets); writer.WriteCollectionOfObjectValues("updatePolicies", UpdatePolicies); } diff --git a/src/Microsoft.Graph/Generated/Models/AgentMetadata.cs b/src/Microsoft.Graph/Generated/Models/AgentMetadata.cs index ba268350dab2..a16fa4c5ce5e 100644 --- a/src/Microsoft.Graph/Generated/Models/AgentMetadata.cs +++ b/src/Microsoft.Graph/Generated/Models/AgentMetadata.cs @@ -19,7 +19,7 @@ public IDictionary AdditionalData get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } set { BackingStore.Set("AdditionalData", value); } } - /// The agentAdministrativeUnitId property + /// The identifier of the administrative unit associated with the agent. Optional. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? AgentAdministrativeUnitId @@ -35,7 +35,7 @@ public string AgentAdministrativeUnitId set { BackingStore?.Set("agentAdministrativeUnitId", value); } } #endif - /// The agentBlueprintId property + /// The identifier of the blueprint from which the agent was created. Optional. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? AgentBlueprintId @@ -51,7 +51,7 @@ public string AgentBlueprintId set { BackingStore?.Set("agentBlueprintId", value); } } #endif - /// The agentCategory property + /// The category of the agent, for example, Agents.Foundry.MicrosoftAzure, Agents.Copilot.Studio, or Agents.Local. Optional. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? AgentCategory @@ -67,7 +67,7 @@ public string AgentCategory set { BackingStore?.Set("agentCategory", value); } } #endif - /// The agentOwner property + /// The owner associated with the agent. Optional. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? AgentOwner @@ -83,7 +83,7 @@ public string AgentOwner set { BackingStore?.Set("agentOwner", value); } } #endif - /// The agentPublisher property + /// The publisher associated with the agent. Optional. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? AgentPublisher @@ -99,7 +99,7 @@ public string AgentPublisher set { BackingStore?.Set("agentPublisher", value); } } #endif - /// The altAgentIds property + /// Alternate identifiers that can identify the agent. Required when agentMetadata is provided. Use an empty collection ([]) when the agent has no alternate identifiers. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? AltAgentIds @@ -117,7 +117,7 @@ public List AltAgentIds #endif /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The isEntraAgentId property + /// Indicates whether the value property of the associated policyLocationAgent is a Microsoft Entra agent ID. Required when agentMetadata is provided. public bool? IsEntraAgentId { get { return BackingStore?.Get("isEntraAgentId"); } diff --git a/src/Microsoft.Graph/Generated/Models/AppManagementAudit.cs b/src/Microsoft.Graph/Generated/Models/AppManagementAudit.cs index 63294a9a9678..299b76d6889b 100644 --- a/src/Microsoft.Graph/Generated/Models/AppManagementAudit.cs +++ b/src/Microsoft.Graph/Generated/Models/AppManagementAudit.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Beta.Models public partial class AppManagementAudit : global::Microsoft.Graph.Beta.Models.DirectoryAudit, IParsable #pragma warning restore CS1591 { - /// The appliedAppManagementPolicyRestrictions property + /// Details of the app management policy restrictions applied to the activity. Supports $filter (eq). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? AppliedAppManagementPolicyRestrictions diff --git a/src/Microsoft.Graph/Generated/Models/AppManagementRestrictionState.cs b/src/Microsoft.Graph/Generated/Models/AppManagementRestrictionState.cs index ce3e4198aafb..3dc5d3863b4a 100644 --- a/src/Microsoft.Graph/Generated/Models/AppManagementRestrictionState.cs +++ b/src/Microsoft.Graph/Generated/Models/AppManagementRestrictionState.cs @@ -20,5 +20,9 @@ public enum AppManagementRestrictionState #pragma warning disable CS1591 UnknownFutureValue, #pragma warning restore CS1591 + [EnumMember(Value = "audit")] + #pragma warning disable CS1591 + Audit, + #pragma warning restore CS1591 } } diff --git a/src/Microsoft.Graph/Generated/Models/ApplicationMode.cs b/src/Microsoft.Graph/Generated/Models/ApplicationMode.cs index eb99cbc9f5e3..0330d025ade3 100644 --- a/src/Microsoft.Graph/Generated/Models/ApplicationMode.cs +++ b/src/Microsoft.Graph/Generated/Models/ApplicationMode.cs @@ -20,5 +20,9 @@ public enum ApplicationMode #pragma warning disable CS1591 Recommended, #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/Microsoft.Graph/Generated/Models/AppliedAppManagementPolicyRestriction.cs b/src/Microsoft.Graph/Generated/Models/AppliedAppManagementPolicyRestriction.cs index 775009846c00..e9edca65d103 100644 --- a/src/Microsoft.Graph/Generated/Models/AppliedAppManagementPolicyRestriction.cs +++ b/src/Microsoft.Graph/Generated/Models/AppliedAppManagementPolicyRestriction.cs @@ -59,7 +59,7 @@ public string OdataType set { BackingStore?.Set("@odata.type", value); } } #endif - /// The policyId property + /// The unique identifier of the policy that contains the restriction. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? PolicyId @@ -109,7 +109,7 @@ public string PolicyId get { return BackingStore?.Get("restrictionState"); } set { BackingStore?.Set("restrictionState", value); } } - /// The restrictionType property + /// The type of restriction applied to the activity. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? RestrictionType diff --git a/src/Microsoft.Graph/Generated/Models/AppliedAuthenticationEventListener.cs b/src/Microsoft.Graph/Generated/Models/AppliedAuthenticationEventListener.cs index 8acd08179a20..b5ac587dce96 100644 --- a/src/Microsoft.Graph/Generated/Models/AppliedAuthenticationEventListener.cs +++ b/src/Microsoft.Graph/Generated/Models/AppliedAuthenticationEventListener.cs @@ -21,7 +21,7 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The type of authentication event that triggered the custom authentication extension request. The possible values are: tokenIssuanceStart, pageRenderStart, unknownFutureValue, attributeCollectionStart, attributeCollectionSubmit, emailOtpSend, passwordSubmit. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: attributeCollectionStart, attributeCollectionSubmit, emailOtpSend, passwordSubmit. + /// The type of authentication event that triggered the custom authentication extension request. The possible values are: tokenIssuanceStart, pageRenderStart, unknownFutureValue, attributeCollectionStart, attributeCollectionSubmit, emailOtpSend, passwordSubmit, passwordUpdate. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: attributeCollectionStart, attributeCollectionSubmit, emailOtpSend, passwordSubmit, passwordUpdate. public global::Microsoft.Graph.Beta.Models.AuthenticationEventType? EventType { get { return BackingStore?.Get("eventType"); } diff --git a/src/Microsoft.Graph/Generated/Models/ApproverDelegate.cs b/src/Microsoft.Graph/Generated/Models/ApproverDelegate.cs index b710c8cd9d0b..79f93bbac537 100644 --- a/src/Microsoft.Graph/Generated/Models/ApproverDelegate.cs +++ b/src/Microsoft.Graph/Generated/Models/ApproverDelegate.cs @@ -21,7 +21,7 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The identity that receives the approval delegation. Only singleUser and groupMembers are currently supported. + /// The user or group that receives the approval delegation. Only the singleUser and groupMembers subtypes are supported. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.UserSet? Delegate @@ -53,7 +53,7 @@ public string OdataType set { BackingStore?.Set("@odata.type", value); } } #endif - /// The schedule for the delegation, including start date and expiration pattern (duration, end date, or no expiration). + /// The period during which the delegation is in effect, expressed as a start date and an expiration pattern. If you don't specify a schedule, the delegation starts immediately and doesn't expire. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.RequestSchedule? Schedule diff --git a/src/Microsoft.Graph/Generated/Models/AuthenticationEventListener.cs b/src/Microsoft.Graph/Generated/Models/AuthenticationEventListener.cs index fdf708dce268..f046687a8601 100644 --- a/src/Microsoft.Graph/Generated/Models/AuthenticationEventListener.cs +++ b/src/Microsoft.Graph/Generated/Models/AuthenticationEventListener.cs @@ -85,6 +85,7 @@ public int? Priority "#microsoft.graph.onFraudProtectionLoadStartListener" => new global::Microsoft.Graph.Beta.Models.OnFraudProtectionLoadStartListener(), "#microsoft.graph.onInteractiveAuthFlowStartListener" => new global::Microsoft.Graph.Beta.Models.OnInteractiveAuthFlowStartListener(), "#microsoft.graph.onPasswordSubmitListener" => new global::Microsoft.Graph.Beta.Models.OnPasswordSubmitListener(), + "#microsoft.graph.onPasswordUpdateListener" => new global::Microsoft.Graph.Beta.Models.OnPasswordUpdateListener(), "#microsoft.graph.onPhoneMethodLoadStartListener" => new global::Microsoft.Graph.Beta.Models.OnPhoneMethodLoadStartListener(), "#microsoft.graph.onTokenIssuanceStartListener" => new global::Microsoft.Graph.Beta.Models.OnTokenIssuanceStartListener(), "#microsoft.graph.onUserCreateStartListener" => new global::Microsoft.Graph.Beta.Models.OnUserCreateStartListener(), diff --git a/src/Microsoft.Graph/Generated/Models/AuthenticationEventType.cs b/src/Microsoft.Graph/Generated/Models/AuthenticationEventType.cs index fac4a4f5bc3f..1416a35261d3 100644 --- a/src/Microsoft.Graph/Generated/Models/AuthenticationEventType.cs +++ b/src/Microsoft.Graph/Generated/Models/AuthenticationEventType.cs @@ -36,5 +36,9 @@ public enum AuthenticationEventType #pragma warning disable CS1591 PasswordSubmit, #pragma warning restore CS1591 + [EnumMember(Value = "passwordUpdate")] + #pragma warning disable CS1591 + PasswordUpdate, + #pragma warning restore CS1591 } } diff --git a/src/Microsoft.Graph/Generated/Models/AzureAdTokenAuthentication.cs b/src/Microsoft.Graph/Generated/Models/AzureAdTokenAuthentication.cs index ff91674dc657..277fa364e7a3 100644 --- a/src/Microsoft.Graph/Generated/Models/AzureAdTokenAuthentication.cs +++ b/src/Microsoft.Graph/Generated/Models/AzureAdTokenAuthentication.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Beta.Models public partial class AzureAdTokenAuthentication : global::Microsoft.Graph.Beta.Models.CustomExtensionAuthenticationConfiguration, IParsable #pragma warning restore CS1591 { - /// The appID of the Microsoft Entra application to use to authenticate a logic app with a custom access package workflow extension. + /// The app ID or identifier URI of the Microsoft Entra application used to authenticate calls to the external app. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? ResourceId diff --git a/src/Microsoft.Graph/Generated/Models/BackupCountStatistics.cs b/src/Microsoft.Graph/Generated/Models/BackupCountStatistics.cs index 97804e9a1c16..dda7ae1c9d20 100644 --- a/src/Microsoft.Graph/Generated/Models/BackupCountStatistics.cs +++ b/src/Microsoft.Graph/Generated/Models/BackupCountStatistics.cs @@ -79,7 +79,7 @@ public int? Total get { return BackingStore?.Get("total"); } set { BackingStore?.Set("total", value); } } - /// The count of artifacts that are no longer actively protected. These artifacts have historical restore points, but no new backups are being taken. + /// The count of artifacts that are no longer actively protected. These artifacts have historical restore points, but no new backups are taken. public int? UnprotectedCompleted { get { return BackingStore?.Get("unprotectedCompleted"); } diff --git a/src/Microsoft.Graph/Generated/Models/Channel.cs b/src/Microsoft.Graph/Generated/Models/Channel.cs index 2d1bd0294c4e..d953d7aa4396 100644 --- a/src/Microsoft.Graph/Generated/Models/Channel.cs +++ b/src/Microsoft.Graph/Generated/Models/Channel.cs @@ -34,6 +34,12 @@ public DateTimeOffset? CreatedDateTime get { return BackingStore?.Get("createdDateTime"); } set { BackingStore?.Set("createdDateTime", value); } } + /// The deletedDateTime property + public DateTimeOffset? DeletedDateTime + { + get { return BackingStore?.Get("deletedDateTime"); } + set { BackingStore?.Set("deletedDateTime", value); } + } /// Optional textual description for the channel. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -330,6 +336,7 @@ public override IDictionary> GetFieldDeserializers() { { "allMembers", n => { AllMembers = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ConversationMember.CreateFromDiscriminatorValue)?.AsList(); } }, { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "deletedDateTime", n => { DeletedDateTime = n.GetDateTimeOffsetValue(); } }, { "description", n => { Description = n.GetStringValue(); } }, { "displayName", n => { DisplayName = n.GetStringValue(); } }, { "email", n => { Email = n.GetStringValue(); } }, @@ -363,6 +370,7 @@ public override void Serialize(ISerializationWriter writer) base.Serialize(writer); writer.WriteCollectionOfObjectValues("allMembers", AllMembers); writer.WriteDateTimeOffsetValue("createdDateTime", CreatedDateTime); + writer.WriteDateTimeOffsetValue("deletedDateTime", DeletedDateTime); writer.WriteStringValue("description", Description); writer.WriteStringValue("displayName", DisplayName); writer.WriteStringValue("email", Email); diff --git a/src/Microsoft.Graph/Generated/Models/CloudPcBulkAction.cs b/src/Microsoft.Graph/Generated/Models/CloudPcBulkAction.cs index 93c68eefd757..ef80d06201b0 100644 --- a/src/Microsoft.Graph/Generated/Models/CloudPcBulkAction.cs +++ b/src/Microsoft.Graph/Generated/Models/CloudPcBulkAction.cs @@ -114,6 +114,7 @@ public bool? ScheduledDuringMaintenanceWindow "#microsoft.graph.cloudPcBulkPowerOff" => new global::Microsoft.Graph.Beta.Models.CloudPcBulkPowerOff(), "#microsoft.graph.cloudPcBulkPowerOn" => new global::Microsoft.Graph.Beta.Models.CloudPcBulkPowerOn(), "#microsoft.graph.cloudPcBulkReinstallAgent" => new global::Microsoft.Graph.Beta.Models.CloudPcBulkReinstallAgent(), + "#microsoft.graph.cloudPcBulkRelocate" => new global::Microsoft.Graph.Beta.Models.CloudPcBulkRelocate(), "#microsoft.graph.cloudPcBulkReprovision" => new global::Microsoft.Graph.Beta.Models.CloudPcBulkReprovision(), "#microsoft.graph.cloudPcBulkResize" => new global::Microsoft.Graph.Beta.Models.CloudPcBulkResize(), "#microsoft.graph.cloudPcBulkRestart" => new global::Microsoft.Graph.Beta.Models.CloudPcBulkRestart(), diff --git a/src/Microsoft.Graph/Generated/Models/CloudPcBulkRelocate.cs b/src/Microsoft.Graph/Generated/Models/CloudPcBulkRelocate.cs new file mode 100644 index 000000000000..778d57b1aa0a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CloudPcBulkRelocate.cs @@ -0,0 +1,72 @@ +// +#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 +{ + /// + /// Represents the details of a bulk Cloud PC relocate action. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CloudPcBulkRelocate : global::Microsoft.Graph.Beta.Models.CloudPcBulkAction, IParsable + { + /// The domain join configurations used when relocating Cloud PCs. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? DomainJoinConfigurations + { + get { return BackingStore?.Get?>("domainJoinConfigurations"); } + set { BackingStore?.Set("domainJoinConfigurations", value); } + } +#nullable restore +#else + public List DomainJoinConfigurations + { + get { return BackingStore?.Get>("domainJoinConfigurations"); } + set { BackingStore?.Set("domainJoinConfigurations", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public CloudPcBulkRelocate() : base() + { + OdataType = "#microsoft.graph.cloudPcBulkRelocate"; + } + /// + /// 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.CloudPcBulkRelocate CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.CloudPcBulkRelocate(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "domainJoinConfigurations", n => { DomainJoinConfigurations = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.CloudPcDomainJoinConfiguration.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("domainJoinConfigurations", DomainJoinConfigurations); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/CloudPcDomainJoinCredential.cs b/src/Microsoft.Graph/Generated/Models/CloudPcDomainJoinCredential.cs new file mode 100644 index 000000000000..60e2074768af --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CloudPcDomainJoinCredential.cs @@ -0,0 +1,87 @@ +// +#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 CloudPcDomainJoinCredential : 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 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 CloudPcDomainJoinCredential() + { + 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.CloudPcDomainJoinCredential CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.cloudPcKeyVaultDomainJoinCredential" => new global::Microsoft.Graph.Beta.Models.CloudPcKeyVaultDomainJoinCredential(), + "#microsoft.graph.cloudPcPlainTextDomainJoinCredential" => new global::Microsoft.Graph.Beta.Models.CloudPcPlainTextDomainJoinCredential(), + _ => new global::Microsoft.Graph.Beta.Models.CloudPcDomainJoinCredential(), + }; + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "@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) + { + if(ReferenceEquals(writer, null)) 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/CloudPcDomainJoinKeyVaultIntentConfiguration.cs b/src/Microsoft.Graph/Generated/Models/CloudPcDomainJoinKeyVaultIntentConfiguration.cs new file mode 100644 index 000000000000..9a6bea00ddae --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CloudPcDomainJoinKeyVaultIntentConfiguration.cs @@ -0,0 +1,86 @@ +// +#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 CloudPcDomainJoinKeyVaultIntentConfiguration : 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 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 CloudPcDomainJoinKeyVaultIntentConfiguration() + { + 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.CloudPcDomainJoinKeyVaultIntentConfiguration CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.cloudPcDomainJoinKeyVaultPasswordConfiguration" => new global::Microsoft.Graph.Beta.Models.CloudPcDomainJoinKeyVaultPasswordConfiguration(), + _ => new global::Microsoft.Graph.Beta.Models.CloudPcDomainJoinKeyVaultIntentConfiguration(), + }; + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "@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) + { + if(ReferenceEquals(writer, null)) 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/CloudPcDomainJoinKeyVaultPasswordConfiguration.cs b/src/Microsoft.Graph/Generated/Models/CloudPcDomainJoinKeyVaultPasswordConfiguration.cs new file mode 100644 index 000000000000..3cd10b27c507 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CloudPcDomainJoinKeyVaultPasswordConfiguration.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 CloudPcDomainJoinKeyVaultPasswordConfiguration : global::Microsoft.Graph.Beta.Models.CloudPcDomainJoinKeyVaultIntentConfiguration, IParsable + #pragma warning restore CS1591 + { + /// The userIdentity property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.CloudPcDomainJoinUserIdentity? UserIdentity + { + get { return BackingStore?.Get("userIdentity"); } + set { BackingStore?.Set("userIdentity", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.CloudPcDomainJoinUserIdentity UserIdentity + { + get { return BackingStore?.Get("userIdentity"); } + set { BackingStore?.Set("userIdentity", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public CloudPcDomainJoinKeyVaultPasswordConfiguration() : base() + { + OdataType = "#microsoft.graph.cloudPcDomainJoinKeyVaultPasswordConfiguration"; + } + /// + /// 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.CloudPcDomainJoinKeyVaultPasswordConfiguration CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.CloudPcDomainJoinKeyVaultPasswordConfiguration(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "userIdentity", n => { UserIdentity = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.CloudPcDomainJoinUserIdentity.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteObjectValue("userIdentity", UserIdentity); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/CloudPcDomainJoinPlainTextUserIdentity.cs b/src/Microsoft.Graph/Generated/Models/CloudPcDomainJoinPlainTextUserIdentity.cs new file mode 100644 index 000000000000..54ae018ec34d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CloudPcDomainJoinPlainTextUserIdentity.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 CloudPcDomainJoinPlainTextUserIdentity : global::Microsoft.Graph.Beta.Models.CloudPcDomainJoinUserIdentity, IParsable + #pragma warning restore CS1591 + { + /// The user principal name of an Active Directory account that has sufficient permissions to join devices to the domain. The value must be in UPN format, for example, domainjoin@ad.contoso.com. Required. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DomainUserPrincipalName + { + get { return BackingStore?.Get("domainUserPrincipalName"); } + set { BackingStore?.Set("domainUserPrincipalName", value); } + } +#nullable restore +#else + public string DomainUserPrincipalName + { + get { return BackingStore?.Get("domainUserPrincipalName"); } + set { BackingStore?.Set("domainUserPrincipalName", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public CloudPcDomainJoinPlainTextUserIdentity() : base() + { + OdataType = "#microsoft.graph.cloudPcDomainJoinPlainTextUserIdentity"; + } + /// + /// 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.CloudPcDomainJoinPlainTextUserIdentity CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.CloudPcDomainJoinPlainTextUserIdentity(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "domainUserPrincipalName", n => { DomainUserPrincipalName = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteStringValue("domainUserPrincipalName", DomainUserPrincipalName); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/CloudPcDomainJoinUserIdentity.cs b/src/Microsoft.Graph/Generated/Models/CloudPcDomainJoinUserIdentity.cs new file mode 100644 index 000000000000..64fe71705f0f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CloudPcDomainJoinUserIdentity.cs @@ -0,0 +1,86 @@ +// +#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 CloudPcDomainJoinUserIdentity : 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 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 CloudPcDomainJoinUserIdentity() + { + 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.CloudPcDomainJoinUserIdentity CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.cloudPcDomainJoinPlainTextUserIdentity" => new global::Microsoft.Graph.Beta.Models.CloudPcDomainJoinPlainTextUserIdentity(), + _ => new global::Microsoft.Graph.Beta.Models.CloudPcDomainJoinUserIdentity(), + }; + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "@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) + { + if(ReferenceEquals(writer, null)) 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/CloudPcKeyVaultDomainJoinCredential.cs b/src/Microsoft.Graph/Generated/Models/CloudPcKeyVaultDomainJoinCredential.cs new file mode 100644 index 000000000000..c83ee9bfbf85 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CloudPcKeyVaultDomainJoinCredential.cs @@ -0,0 +1,125 @@ +// +#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 CloudPcKeyVaultDomainJoinCredential : global::Microsoft.Graph.Beta.Models.CloudPcDomainJoinCredential, IParsable + #pragma warning restore CS1591 + { + /// The keyVaultIntentConfiguration property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.CloudPcDomainJoinKeyVaultIntentConfiguration? KeyVaultIntentConfiguration + { + get { return BackingStore?.Get("keyVaultIntentConfiguration"); } + set { BackingStore?.Set("keyVaultIntentConfiguration", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.CloudPcDomainJoinKeyVaultIntentConfiguration KeyVaultIntentConfiguration + { + get { return BackingStore?.Get("keyVaultIntentConfiguration"); } + set { BackingStore?.Set("keyVaultIntentConfiguration", value); } + } +#endif + /// The full Azure Resource Manager resource ID of the Azure Key Vault that stores the domain join password. Required format: /subscriptions/{subscription-id}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}. Required. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? KeyVaultResourceId + { + get { return BackingStore?.Get("keyVaultResourceId"); } + set { BackingStore?.Set("keyVaultResourceId", value); } + } +#nullable restore +#else + public string KeyVaultResourceId + { + get { return BackingStore?.Get("keyVaultResourceId"); } + set { BackingStore?.Set("keyVaultResourceId", value); } + } +#endif + /// The name of the secret in the Azure Key Vault that stores the domain join password. Required. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? SecretName + { + get { return BackingStore?.Get("secretName"); } + set { BackingStore?.Set("secretName", value); } + } +#nullable restore +#else + public string SecretName + { + get { return BackingStore?.Get("secretName"); } + set { BackingStore?.Set("secretName", value); } + } +#endif + /// The full Azure Resource Manager resource ID of the Windows 365 service connector that grants Windows 365 access to the Azure Key Vault. Required format when specified: /subscriptions/{subscription-id}/resourceGroups/{resourceGroupName}/providers/Microsoft.Windows365/serviceConnectors/{serviceConnectorName}. Optional. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ServiceConnectorResourceId + { + get { return BackingStore?.Get("serviceConnectorResourceId"); } + set { BackingStore?.Set("serviceConnectorResourceId", value); } + } +#nullable restore +#else + public string ServiceConnectorResourceId + { + get { return BackingStore?.Get("serviceConnectorResourceId"); } + set { BackingStore?.Set("serviceConnectorResourceId", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public CloudPcKeyVaultDomainJoinCredential() : base() + { + OdataType = "#microsoft.graph.cloudPcKeyVaultDomainJoinCredential"; + } + /// + /// 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.CloudPcKeyVaultDomainJoinCredential CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.CloudPcKeyVaultDomainJoinCredential(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "keyVaultIntentConfiguration", n => { KeyVaultIntentConfiguration = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.CloudPcDomainJoinKeyVaultIntentConfiguration.CreateFromDiscriminatorValue); } }, + { "keyVaultResourceId", n => { KeyVaultResourceId = n.GetStringValue(); } }, + { "secretName", n => { SecretName = n.GetStringValue(); } }, + { "serviceConnectorResourceId", n => { ServiceConnectorResourceId = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteObjectValue("keyVaultIntentConfiguration", KeyVaultIntentConfiguration); + writer.WriteStringValue("keyVaultResourceId", KeyVaultResourceId); + writer.WriteStringValue("secretName", SecretName); + writer.WriteStringValue("serviceConnectorResourceId", ServiceConnectorResourceId); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/CloudPcOnPremisesConnection.cs b/src/Microsoft.Graph/Generated/Models/CloudPcOnPremisesConnection.cs index e8f6a739255f..8919591117df 100644 --- a/src/Microsoft.Graph/Generated/Models/CloudPcOnPremisesConnection.cs +++ b/src/Microsoft.Graph/Generated/Models/CloudPcOnPremisesConnection.cs @@ -28,7 +28,7 @@ public string AdDomainName set { BackingStore?.Set("adDomainName", value); } } #endif - /// The password associated with adDomainUsername. + /// The password associated with adDomainUsername. This deprecated property is retained for backward compatibility and will be removed on December 31, 2026. Going forward use the domainJoinCredential property instead. If both properties are provided, domainJoinCredential takes precedence. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? AdDomainPassword @@ -44,7 +44,7 @@ public string AdDomainPassword set { BackingStore?.Set("adDomainPassword", value); } } #endif - /// The username of an Active Directory account (user or service account) that has permissions to create computer objects in Active Directory. Required format: admin@contoso.com. Optional. + /// The username of an Active Directory account that has permissions to create computer objects in Active Directory. This deprecated property is retained for backward compatibility and will be removed on December 31, 2026. Going forward use the domainJoinCredential/domainUserPrincipalName property instead. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? AdDomainUsername @@ -97,6 +97,22 @@ public string DisplayName get { return BackingStore?.Get("displayName"); } set { BackingStore?.Set("displayName", value); } } +#endif + /// The Active Directory credential that Windows 365 uses to join Cloud PCs to the on-premises domain. Set @odata.type to #microsoft.graph.cloudPcPlainTextDomainJoinCredential to supply the username and password directly, or to #microsoft.graph.cloudPcKeyVaultDomainJoinCredential to retrieve the password from a customer-owned Azure Key Vault. Takes precedence over the deprecated adDomainPassword property when both are supplied. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.CloudPcDomainJoinCredential? DomainJoinCredential + { + get { return BackingStore?.Get("domainJoinCredential"); } + set { BackingStore?.Set("domainJoinCredential", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.CloudPcDomainJoinCredential DomainJoinCredential + { + get { return BackingStore?.Get("domainJoinCredential"); } + set { BackingStore?.Set("domainJoinCredential", value); } + } #endif /// Indicates whether regular health checks on the network or domain configuration are paused or active. false if the regular health checks on the network or domain configuration are currently active. true if the checks are paused. If you perform a create or update operation on a onPremisesNetworkConnection resource, this value is set to false for four weeks. If you retry a health check on network or domain configuration, this value is set to false for two weeks. If the onPremisesNetworkConnection resource is attached in a provisioningPolicy or used by a Cloud PC in the past four weeks, healthCheckPaused is set to false. Read-only. Default is false. public bool? HealthCheckPaused @@ -126,7 +142,7 @@ public bool? HealthCheckPaused set { BackingStore?.Set("healthCheckStatusDetail", value); } } #endif - /// The details of the connection's health checks and the corresponding results. Returned only on $select. For an example that shows how to get the inUse property, see Example 2: Get the selected properties of an Azure network connection, including healthCheckStatusDetails. Read-only. + /// Indicates the health checks for the connection and their respective results. Returned only on $select. For an example that shows how to get the inUse property, see Example 2: Get the selected properties of an Azure network connection, including healthCheckStatusDetails. Read-only. The healthCheckStatusDetails property is deprecated and stopped returning data on January 31, 2024. Going forward, use the healthCheckStatusDetail property. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.CloudPcOnPremisesConnectionStatusDetails? HealthCheckStatusDetails @@ -334,6 +350,7 @@ public override IDictionary> GetFieldDeserializers() { "alternateResourceUrl", n => { AlternateResourceUrl = n.GetStringValue(); } }, { "connectionType", n => { ConnectionType = n.GetEnumValue(); } }, { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "domainJoinCredential", n => { DomainJoinCredential = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.CloudPcDomainJoinCredential.CreateFromDiscriminatorValue); } }, { "healthCheckPaused", n => { HealthCheckPaused = n.GetBoolValue(); } }, { "healthCheckStatus", n => { HealthCheckStatus = n.GetEnumValue(); } }, { "healthCheckStatusDetail", n => { HealthCheckStatusDetail = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.CloudPcOnPremisesConnectionStatusDetail.CreateFromDiscriminatorValue); } }, @@ -367,6 +384,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteStringValue("alternateResourceUrl", AlternateResourceUrl); writer.WriteEnumValue("connectionType", ConnectionType); writer.WriteStringValue("displayName", DisplayName); + writer.WriteObjectValue("domainJoinCredential", DomainJoinCredential); writer.WriteBoolValue("healthCheckPaused", HealthCheckPaused); writer.WriteEnumValue("healthCheckStatus", HealthCheckStatus); writer.WriteObjectValue("healthCheckStatusDetail", HealthCheckStatusDetail); diff --git a/src/Microsoft.Graph/Generated/Models/CloudPcOnPremisesConnectionHealthCheckErrorType.cs b/src/Microsoft.Graph/Generated/Models/CloudPcOnPremisesConnectionHealthCheckErrorType.cs index 6fd1a549f8c4..981b6053d807 100644 --- a/src/Microsoft.Graph/Generated/Models/CloudPcOnPremisesConnectionHealthCheckErrorType.cs +++ b/src/Microsoft.Graph/Generated/Models/CloudPcOnPremisesConnectionHealthCheckErrorType.cs @@ -244,6 +244,38 @@ public enum CloudPcOnPremisesConnectionHealthCheckErrorType #pragma warning disable CS1591 PermissionCheckUnknownError, #pragma warning restore CS1591 + [EnumMember(Value = "keyVaultSecretCheckAccessDenied")] + #pragma warning disable CS1591 + KeyVaultSecretCheckAccessDenied, + #pragma warning restore CS1591 + [EnumMember(Value = "keyVaultSecretCheckVaultNotReachable")] + #pragma warning disable CS1591 + KeyVaultSecretCheckVaultNotReachable, + #pragma warning restore CS1591 + [EnumMember(Value = "keyVaultSecretCheckNotFound")] + #pragma warning disable CS1591 + KeyVaultSecretCheckNotFound, + #pragma warning restore CS1591 + [EnumMember(Value = "keyVaultSecretCheckDisabled")] + #pragma warning disable CS1591 + KeyVaultSecretCheckDisabled, + #pragma warning restore CS1591 + [EnumMember(Value = "keyVaultSecretCheckExpired")] + #pragma warning disable CS1591 + KeyVaultSecretCheckExpired, + #pragma warning restore CS1591 + [EnumMember(Value = "keyVaultSecretCheckEmptyValue")] + #pragma warning disable CS1591 + KeyVaultSecretCheckEmptyValue, + #pragma warning restore CS1591 + [EnumMember(Value = "keyVaultSecretCheckTransientServiceError")] + #pragma warning disable CS1591 + KeyVaultSecretCheckTransientServiceError, + #pragma warning restore CS1591 + [EnumMember(Value = "keyVaultSecretCheckUnknownError")] + #pragma warning disable CS1591 + KeyVaultSecretCheckUnknownError, + #pragma warning restore CS1591 [EnumMember(Value = "udpConnectivityCheckStunUrlNotAllowListed")] #pragma warning disable CS1591 UdpConnectivityCheckStunUrlNotAllowListed, diff --git a/src/Microsoft.Graph/Generated/Models/CloudPcPlainTextDomainJoinCredential.cs b/src/Microsoft.Graph/Generated/Models/CloudPcPlainTextDomainJoinCredential.cs new file mode 100644 index 000000000000..70bef281d158 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CloudPcPlainTextDomainJoinCredential.cs @@ -0,0 +1,89 @@ +// +#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 CloudPcPlainTextDomainJoinCredential : global::Microsoft.Graph.Beta.Models.CloudPcDomainJoinCredential, IParsable + #pragma warning restore CS1591 + { + /// The password associated with the domainUserPrincipalName. Required in requests. Not returned in responses. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DomainPassword + { + get { return BackingStore?.Get("domainPassword"); } + set { BackingStore?.Set("domainPassword", value); } + } +#nullable restore +#else + public string DomainPassword + { + get { return BackingStore?.Get("domainPassword"); } + set { BackingStore?.Set("domainPassword", value); } + } +#endif + /// The user principal name of an Active Directory account that has sufficient permissions to join devices to the domain. The value must be in UPN format, for example, domainjoin@ad.contoso.com. Required. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DomainUserPrincipalName + { + get { return BackingStore?.Get("domainUserPrincipalName"); } + set { BackingStore?.Set("domainUserPrincipalName", value); } + } +#nullable restore +#else + public string DomainUserPrincipalName + { + get { return BackingStore?.Get("domainUserPrincipalName"); } + set { BackingStore?.Set("domainUserPrincipalName", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public CloudPcPlainTextDomainJoinCredential() : base() + { + OdataType = "#microsoft.graph.cloudPcPlainTextDomainJoinCredential"; + } + /// + /// 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.CloudPcPlainTextDomainJoinCredential CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.CloudPcPlainTextDomainJoinCredential(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "domainPassword", n => { DomainPassword = n.GetStringValue(); } }, + { "domainUserPrincipalName", n => { DomainUserPrincipalName = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteStringValue("domainPassword", DomainPassword); + writer.WriteStringValue("domainUserPrincipalName", DomainUserPrincipalName); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/CopilotPackageDetail.cs b/src/Microsoft.Graph/Generated/Models/CopilotPackageDetail.cs index bea72d09a55e..4c274bc8a085 100644 --- a/src/Microsoft.Graph/Generated/Models/CopilotPackageDetail.cs +++ b/src/Microsoft.Graph/Generated/Models/CopilotPackageDetail.cs @@ -109,6 +109,22 @@ public string LongDescription get { return BackingStore?.Get("longDescription"); } set { BackingStore?.Set("longDescription", value); } } +#endif + /// Request metadata returned by an explicit opt-in package detail read. Null when not loaded. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.CopilotPackageRequestMetadata? RequestMetadata + { + get { return BackingStore?.Get("requestMetadata"); } + set { BackingStore?.Set("requestMetadata", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.CopilotPackageRequestMetadata RequestMetadata + { + get { return BackingStore?.Get("requestMetadata"); } + set { BackingStore?.Set("requestMetadata", value); } + } #endif /// The sensitivity property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -187,6 +203,7 @@ public override IDictionary> GetFieldDeserializers() { "exceptionRate", n => { ExceptionRate = n.GetDoubleValue(); } }, { "lastUsedDateTime", n => { LastUsedDateTime = n.GetDateTimeOffsetValue(); } }, { "longDescription", n => { LongDescription = n.GetStringValue(); } }, + { "requestMetadata", n => { RequestMetadata = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.CopilotPackageRequestMetadata.CreateFromDiscriminatorValue); } }, { "sensitivity", n => { Sensitivity = n.GetStringValue(); } }, { "sharedWithUsersAndGroups", n => { SharedWithUsersAndGroups = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.PackageAccessEntity.CreateFromDiscriminatorValue)?.AsList(); } }, { "totalRunTimeInHours", n => { TotalRunTimeInHours = n.GetDoubleValue(); } }, diff --git a/src/Microsoft.Graph/Generated/Models/CopilotPackageRequestInfo.cs b/src/Microsoft.Graph/Generated/Models/CopilotPackageRequestInfo.cs new file mode 100644 index 000000000000..c4e96ba8eb5e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CopilotPackageRequestInfo.cs @@ -0,0 +1,157 @@ +// +#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 +{ + /// + /// The business identifier, first explicit assignee contact, all explicit assignees, submission date, and additional collected data of one package request. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CopilotPackageRequestInfo : IAdditionalDataHolder, IBackedModel, IParsable + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Additional data collected for this request, represented as a JSON object. Null when no value is available. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public UntypedNode? AdditionalMetadata + { + get { return BackingStore?.Get("additionalMetadata"); } + set { BackingStore?.Set("additionalMetadata", value); } + } +#nullable restore +#else + public UntypedNode AdditionalMetadata + { + get { return BackingStore?.Get("additionalMetadata"); } + set { BackingStore?.Set("additionalMetadata", value); } + } +#endif + /// All explicit assigned recipients returned by Governance, in source order with duplicates preserved. The first member supplies the requestedBy display contact; the collection is not truncated to that member. Empty means no explicit members were returned, not that the request has no audience. Broad or all-users audiences are not expanded or represented by this collection. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Assignees + { + get { return BackingStore?.Get?>("assignees"); } + set { BackingStore?.Set("assignees", value); } + } +#nullable restore +#else + public List Assignees + { + get { return BackingStore?.Get>("assignees"); } + set { BackingStore?.Set("assignees", value); } + } +#endif + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The business request identifier returned by Governance, or null when unavailable. Not a requester identity, title identifier, correlation identifier, or Graph resource key or address. Uniqueness and lifetime stability are not guaranteed. No existing Graph operation in this proposal consumes this value. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Identifier + { + get { return BackingStore?.Get("identifier"); } + set { BackingStore?.Set("identifier", value); } + } +#nullable restore +#else + public string Identifier + { + get { return BackingStore?.Get("identifier"); } + set { BackingStore?.Set("identifier", 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 display name and contact address of the first explicitly assigned principal. The address may be a mail address or user principal name. Null only when there are no explicit assignees; a present first assignee may have null name and address. The first principal may be a user, group, or agent; requestedBy does not identify the request creator. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.EmailAddress? RequestedBy + { + get { return BackingStore?.Get("requestedBy"); } + set { BackingStore?.Set("requestedBy", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.EmailAddress RequestedBy + { + get { return BackingStore?.Get("requestedBy"); } + set { BackingStore?.Set("requestedBy", value); } + } +#endif + /// The request submission date and time in ISO 8601 format. Null when unknown; independent of assignee presence and not the package creation or modification time. + public DateTimeOffset? RequestedDateTime + { + get { return BackingStore?.Get("requestedDateTime"); } + set { BackingStore?.Set("requestedDateTime", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public CopilotPackageRequestInfo() + { + 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.CopilotPackageRequestInfo CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.CopilotPackageRequestInfo(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "additionalMetadata", n => { AdditionalMetadata = n.GetObjectValue(UntypedNode.CreateFromDiscriminatorValue); } }, + { "assignees", n => { Assignees = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.CopilotPackageRequestPrincipal.CreateFromDiscriminatorValue)?.AsList(); } }, + { "identifier", n => { Identifier = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "requestedBy", n => { RequestedBy = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.EmailAddress.CreateFromDiscriminatorValue); } }, + { "requestedDateTime", n => { RequestedDateTime = n.GetDateTimeOffsetValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) 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/CopilotPackageRequestMetadata.cs b/src/Microsoft.Graph/Generated/Models/CopilotPackageRequestMetadata.cs new file mode 100644 index 000000000000..2d8a43f55948 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CopilotPackageRequestMetadata.cs @@ -0,0 +1,99 @@ +// +#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 +{ + /// + /// A snapshot of first explicit assignee contacts, request dates, and additional request data for a package. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CopilotPackageRequestMetadata : IAdditionalDataHolder, IBackedModel, IParsable + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// 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 request snapshots returned by the service. Empty when metadata was loaded and no requests were found. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Requests + { + get { return BackingStore?.Get?>("requests"); } + set { BackingStore?.Set("requests", value); } + } +#nullable restore +#else + public List Requests + { + get { return BackingStore?.Get>("requests"); } + set { BackingStore?.Set("requests", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public CopilotPackageRequestMetadata() + { + 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.CopilotPackageRequestMetadata CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.CopilotPackageRequestMetadata(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "requests", n => { Requests = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.CopilotPackageRequestInfo.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) 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/CopilotPackageRequestPrincipal.cs b/src/Microsoft.Graph/Generated/Models/CopilotPackageRequestPrincipal.cs new file mode 100644 index 000000000000..7d01e9a35ff9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CopilotPackageRequestPrincipal.cs @@ -0,0 +1,79 @@ +// +#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 +{ + /// + /// A read-only snapshot of one explicit Governance assignee. Inherited id and displayName are the source identifier and resolved name, or null when unavailable. Identifier meaning depends on principalType and does not imply a resolvable directory-object URL. Openness is inherited from identity; the producer returns only the documented fields, never raw owner objects. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CopilotPackageRequestPrincipal : global::Microsoft.Graph.Beta.Models.Identity, IParsable + { + /// The principalType property + public global::Microsoft.Graph.Beta.Models.CopilotPackageRequestPrincipalType? PrincipalType + { + get { return BackingStore?.Get("principalType"); } + set { BackingStore?.Set("principalType", value); } + } + /// The actual userPrincipalName returned by Governance for user or agentUser principals. Null when unavailable and for other principal kinds. Never inferred from an email address or creator identity. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? UserPrincipalName + { + get { return BackingStore?.Get("userPrincipalName"); } + set { BackingStore?.Set("userPrincipalName", value); } + } +#nullable restore +#else + public string UserPrincipalName + { + get { return BackingStore?.Get("userPrincipalName"); } + set { BackingStore?.Set("userPrincipalName", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public CopilotPackageRequestPrincipal() : base() + { + OdataType = "#microsoft.graph.copilotPackageRequestPrincipal"; + } + /// + /// 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.CopilotPackageRequestPrincipal CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.CopilotPackageRequestPrincipal(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "principalType", n => { PrincipalType = n.GetEnumValue(); } }, + { "userPrincipalName", n => { UserPrincipalName = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteEnumValue("principalType", PrincipalType); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/CopilotPackageRequestPrincipalType.cs b/src/Microsoft.Graph/Generated/Models/CopilotPackageRequestPrincipalType.cs new file mode 100644 index 000000000000..f0a0926f3add --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CopilotPackageRequestPrincipalType.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 CopilotPackageRequestPrincipalType + #pragma warning restore CS1591 + { + /// An explicit user principal. + [EnumMember(Value = "user")] + User, + /// An explicit group principal; group membership is not expanded. + [EnumMember(Value = "group")] + Group, + /// An agent application identifier reported by Governance. Not assumed to be a service principal object identifier. + [EnumMember(Value = "agentApplication")] + AgentApplication, + /// An agent user principal. + [EnumMember(Value = "agentUser")] + AgentUser, + /// An evolvable value also used when the source principal kind is missing or unrecognized. + [EnumMember(Value = "unknownFutureValue")] + UnknownFutureValue, + } +} diff --git a/src/Microsoft.Graph/Generated/Models/CopilotPolicySetting.cs b/src/Microsoft.Graph/Generated/Models/CopilotPolicySetting.cs index 52a75e544373..2459569f2f6d 100644 --- a/src/Microsoft.Graph/Generated/Models/CopilotPolicySetting.cs +++ b/src/Microsoft.Graph/Generated/Models/CopilotPolicySetting.cs @@ -43,6 +43,22 @@ public string Value get { return BackingStore?.Get("value"); } set { BackingStore?.Set("value", value); } } +#endif + /// The native JSON representation of a complex setting, or null for scalar settings. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.CopilotPolicySettingValueObject? ValueObject + { + get { return BackingStore?.Get("valueObject"); } + set { BackingStore?.Set("valueObject", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.CopilotPolicySettingValueObject ValueObject + { + get { return BackingStore?.Get("valueObject"); } + set { BackingStore?.Set("valueObject", value); } + } #endif /// /// Creates a new instance of the appropriate class based on discriminator value @@ -64,6 +80,7 @@ public override IDictionary> GetFieldDeserializers() { { "policyId", n => { PolicyId = n.GetStringValue(); } }, { "value", n => { Value = n.GetStringValue(); } }, + { "valueObject", n => { ValueObject = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.CopilotPolicySettingValueObject.CreateFromDiscriminatorValue); } }, }; } /// @@ -76,6 +93,7 @@ public override void Serialize(ISerializationWriter writer) base.Serialize(writer); writer.WriteStringValue("policyId", PolicyId); writer.WriteStringValue("value", Value); + writer.WriteObjectValue("valueObject", ValueObject); } } } diff --git a/src/Microsoft.Graph/Generated/Models/CopilotPolicySettingAgentSharingLimit.cs b/src/Microsoft.Graph/Generated/Models/CopilotPolicySettingAgentSharingLimit.cs new file mode 100644 index 000000000000..cb98eb60c220 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CopilotPolicySettingAgentSharingLimit.cs @@ -0,0 +1,136 @@ +// +#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 +{ + /// + /// The supported range and default value for an agent sharing limit. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CopilotPolicySettingAgentSharingLimit : IAdditionalDataHolder, IBackedModel, IParsable + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// Default value. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Default + { + get { return BackingStore?.Get("default"); } + set { BackingStore?.Set("default", value); } + } +#nullable restore +#else + public string Default + { + get { return BackingStore?.Get("default"); } + set { BackingStore?.Set("default", value); } + } +#endif + /// Maximum supported value. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? MaxValue + { + get { return BackingStore?.Get("maxValue"); } + set { BackingStore?.Set("maxValue", value); } + } +#nullable restore +#else + public string MaxValue + { + get { return BackingStore?.Get("maxValue"); } + set { BackingStore?.Set("maxValue", value); } + } +#endif + /// Minimum supported value. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? MinValue + { + get { return BackingStore?.Get("minValue"); } + set { BackingStore?.Set("minValue", value); } + } +#nullable restore +#else + public string MinValue + { + get { return BackingStore?.Get("minValue"); } + set { BackingStore?.Set("minValue", 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 CopilotPolicySettingAgentSharingLimit() + { + 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.CopilotPolicySettingAgentSharingLimit CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.CopilotPolicySettingAgentSharingLimit(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "default", n => { Default = n.GetStringValue(); } }, + { "maxValue", n => { MaxValue = n.GetStringValue(); } }, + { "minValue", n => { MinValue = 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) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("default", Default); + writer.WriteStringValue("maxValue", MaxValue); + writer.WriteStringValue("minValue", MinValue); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/CopilotPolicySettingAgentSharingValueObject.cs b/src/Microsoft.Graph/Generated/Models/CopilotPolicySettingAgentSharingValueObject.cs new file mode 100644 index 000000000000..2a27e5d5aad6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CopilotPolicySettingAgentSharingValueObject.cs @@ -0,0 +1,106 @@ +// +#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 +{ + /// + /// The value of an agent sharing policy setting. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CopilotPolicySettingAgentSharingValueObject : global::Microsoft.Graph.Beta.Models.CopilotPolicySettingValueObject, IParsable + { + /// The supported range and default value for an agent sharing limit. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.CopilotPolicySettingAgentSharingLimit? AgentSharingLimit + { + get { return BackingStore?.Get("agentSharingLimit"); } + set { BackingStore?.Set("agentSharingLimit", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.CopilotPolicySettingAgentSharingLimit AgentSharingLimit + { + get { return BackingStore?.Get("agentSharingLimit"); } + set { BackingStore?.Set("agentSharingLimit", value); } + } +#endif + /// Indicates whether sharing agents with groups is enabled. + public bool? IsSharingWithGroupsEnabled + { + get { return BackingStore?.Get("isSharingWithGroupsEnabled"); } + set { BackingStore?.Set("isSharingWithGroupsEnabled", value); } + } + /// Indicates whether the per-user agent sharing limit is enabled. + public bool? IsUserSharingLimitEnabled + { + get { return BackingStore?.Get("isUserSharingLimitEnabled"); } + set { BackingStore?.Set("isUserSharingLimitEnabled", value); } + } + /// The users and groups selected by a Copilot policy setting. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.CopilotPolicySettingUserAssignment? OrganizationWideSharingAssignment + { + get { return BackingStore?.Get("organizationWideSharingAssignment"); } + set { BackingStore?.Set("organizationWideSharingAssignment", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.CopilotPolicySettingUserAssignment OrganizationWideSharingAssignment + { + get { return BackingStore?.Get("organizationWideSharingAssignment"); } + set { BackingStore?.Set("organizationWideSharingAssignment", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public CopilotPolicySettingAgentSharingValueObject() : base() + { + OdataType = "#microsoft.graph.copilotPolicySettingAgentSharingValueObject"; + } + /// + /// 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.CopilotPolicySettingAgentSharingValueObject CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.CopilotPolicySettingAgentSharingValueObject(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "agentSharingLimit", n => { AgentSharingLimit = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.CopilotPolicySettingAgentSharingLimit.CreateFromDiscriminatorValue); } }, + { "isSharingWithGroupsEnabled", n => { IsSharingWithGroupsEnabled = n.GetBoolValue(); } }, + { "isUserSharingLimitEnabled", n => { IsUserSharingLimitEnabled = n.GetBoolValue(); } }, + { "organizationWideSharingAssignment", n => { OrganizationWideSharingAssignment = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.CopilotPolicySettingUserAssignment.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteObjectValue("agentSharingLimit", AgentSharingLimit); + writer.WriteBoolValue("isSharingWithGroupsEnabled", IsSharingWithGroupsEnabled); + writer.WriteBoolValue("isUserSharingLimitEnabled", IsUserSharingLimitEnabled); + writer.WriteObjectValue("organizationWideSharingAssignment", OrganizationWideSharingAssignment); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/CopilotPolicySettingAgentUserAccessValueObject.cs b/src/Microsoft.Graph/Generated/Models/CopilotPolicySettingAgentUserAccessValueObject.cs new file mode 100644 index 000000000000..bc5a893694da --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CopilotPolicySettingAgentUserAccessValueObject.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 +{ + /// + /// The value of an agent user access policy setting. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CopilotPolicySettingAgentUserAccessValueObject : global::Microsoft.Graph.Beta.Models.CopilotPolicySettingValueObject, IParsable + { + /// Users and groups explicitly granted access. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Members + { + get { return BackingStore?.Get?>("members"); } + set { BackingStore?.Set("members", value); } + } +#nullable restore +#else + public List Members + { + get { return BackingStore?.Get>("members"); } + set { BackingStore?.Set("members", value); } + } +#endif + /// The category that determines which users are assigned by a Copilot policy setting. + public global::Microsoft.Graph.Beta.Models.CopilotPolicySettingUserAssignmentCategory? UserAssignmentCategory + { + get { return BackingStore?.Get("userAssignmentCategory"); } + set { BackingStore?.Set("userAssignmentCategory", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public CopilotPolicySettingAgentUserAccessValueObject() : base() + { + OdataType = "#microsoft.graph.copilotPolicySettingAgentUserAccessValueObject"; + } + /// + /// 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.CopilotPolicySettingAgentUserAccessValueObject CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.CopilotPolicySettingAgentUserAccessValueObject(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "members", n => { Members = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.CopilotPolicySettingAssignmentMember.CreateFromDiscriminatorValue)?.AsList(); } }, + { "userAssignmentCategory", n => { UserAssignmentCategory = n.GetEnumValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("members", Members); + writer.WriteEnumValue("userAssignmentCategory", UserAssignmentCategory); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/CopilotPolicySettingAllowedAgentTypesValueObject.cs b/src/Microsoft.Graph/Generated/Models/CopilotPolicySettingAllowedAgentTypesValueObject.cs new file mode 100644 index 000000000000..68a440a1889d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CopilotPolicySettingAllowedAgentTypesValueObject.cs @@ -0,0 +1,86 @@ +// +#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 +{ + /// + /// The value of the microsoft.agent.allowedagenttypes policy setting. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CopilotPolicySettingAllowedAgentTypesValueObject : global::Microsoft.Graph.Beta.Models.CopilotPolicySettingValueObject, IParsable + { + /// Indicates whether independent software vendor (ISV) apps are allowed. + public bool? AreISVAppsAllowed + { + get { return BackingStore?.Get("areISVAppsAllowed"); } + set { BackingStore?.Set("areISVAppsAllowed", value); } + } + /// Indicates whether Microsoft apps are allowed. + public bool? AreMicrosoftAppsAllowed + { + get { return BackingStore?.Get("areMicrosoftAppsAllowed"); } + set { BackingStore?.Set("areMicrosoftAppsAllowed", value); } + } + /// Indicates whether Microsoft-certified third-party apps are allowed. + public bool? AreMicrosoftCertifiedThirdPartyAppsAllowed + { + get { return BackingStore?.Get("areMicrosoftCertifiedThirdPartyAppsAllowed"); } + set { BackingStore?.Set("areMicrosoftCertifiedThirdPartyAppsAllowed", value); } + } + /// Indicates whether tenant-scoped apps are allowed. + public bool? AreTenantScopedAppsAllowed + { + get { return BackingStore?.Get("areTenantScopedAppsAllowed"); } + set { BackingStore?.Set("areTenantScopedAppsAllowed", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public CopilotPolicySettingAllowedAgentTypesValueObject() : base() + { + OdataType = "#microsoft.graph.copilotPolicySettingAllowedAgentTypesValueObject"; + } + /// + /// 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.CopilotPolicySettingAllowedAgentTypesValueObject CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.CopilotPolicySettingAllowedAgentTypesValueObject(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "areISVAppsAllowed", n => { AreISVAppsAllowed = n.GetBoolValue(); } }, + { "areMicrosoftAppsAllowed", n => { AreMicrosoftAppsAllowed = n.GetBoolValue(); } }, + { "areMicrosoftCertifiedThirdPartyAppsAllowed", n => { AreMicrosoftCertifiedThirdPartyAppsAllowed = n.GetBoolValue(); } }, + { "areTenantScopedAppsAllowed", n => { AreTenantScopedAppsAllowed = n.GetBoolValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteBoolValue("areISVAppsAllowed", AreISVAppsAllowed); + writer.WriteBoolValue("areMicrosoftAppsAllowed", AreMicrosoftAppsAllowed); + writer.WriteBoolValue("areMicrosoftCertifiedThirdPartyAppsAllowed", AreMicrosoftCertifiedThirdPartyAppsAllowed); + writer.WriteBoolValue("areTenantScopedAppsAllowed", AreTenantScopedAppsAllowed); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/CopilotPolicySettingAssignmentMember.cs b/src/Microsoft.Graph/Generated/Models/CopilotPolicySettingAssignmentMember.cs new file mode 100644 index 000000000000..b91bda57c52a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CopilotPolicySettingAssignmentMember.cs @@ -0,0 +1,108 @@ +// +#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 +{ + /// + /// A directory object included in a Copilot policy setting assignment. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CopilotPolicySettingAssignmentMember : IAdditionalDataHolder, IBackedModel, IParsable + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// Identifier of the assigned user or group. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DirectoryObjectId + { + get { return BackingStore?.Get("directoryObjectId"); } + set { BackingStore?.Set("directoryObjectId", value); } + } +#nullable restore +#else + public string DirectoryObjectId + { + get { return BackingStore?.Get("directoryObjectId"); } + set { BackingStore?.Set("directoryObjectId", value); } + } +#endif + /// The directory object type of a Copilot policy setting assignment member. + public global::Microsoft.Graph.Beta.Models.CopilotPolicySettingDirectoryObjectType? DirectoryObjectType + { + get { return BackingStore?.Get("directoryObjectType"); } + set { BackingStore?.Set("directoryObjectType", value); } + } + /// 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 CopilotPolicySettingAssignmentMember() + { + 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.CopilotPolicySettingAssignmentMember CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.CopilotPolicySettingAssignmentMember(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "directoryObjectId", n => { DirectoryObjectId = n.GetStringValue(); } }, + { "directoryObjectType", n => { DirectoryObjectType = n.GetEnumValue(); } }, + { "@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) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("directoryObjectId", DirectoryObjectId); + writer.WriteEnumValue("directoryObjectType", DirectoryObjectType); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/CopilotPolicySettingDirectoryObjectType.cs b/src/Microsoft.Graph/Generated/Models/CopilotPolicySettingDirectoryObjectType.cs new file mode 100644 index 000000000000..b2f74e8314bd --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CopilotPolicySettingDirectoryObjectType.cs @@ -0,0 +1,26 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + /// The directory object type of a Copilot policy setting assignment member. + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public enum CopilotPolicySettingDirectoryObjectType + { + /// A user. + [EnumMember(Value = "user")] + User, + /// A group. + [EnumMember(Value = "group")] + Group, + /// An agent application identifier. + [EnumMember(Value = "agentAppId")] + AgentAppId, + /// An agent user. + [EnumMember(Value = "agentUser")] + AgentUser, + /// A marker value for members added after the release of this API. + [EnumMember(Value = "unknownFutureValue")] + UnknownFutureValue, + } +} diff --git a/src/Microsoft.Graph/Generated/Models/CopilotPolicySettingTeamsMeetingValueObject.cs b/src/Microsoft.Graph/Generated/Models/CopilotPolicySettingTeamsMeetingValueObject.cs new file mode 100644 index 000000000000..2c67270fed3e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CopilotPolicySettingTeamsMeetingValueObject.cs @@ -0,0 +1,70 @@ +// +#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 +{ + /// + /// The value of the microsoft.copilot.teamsmeeting policy setting. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CopilotPolicySettingTeamsMeetingValueObject : global::Microsoft.Graph.Beta.Models.CopilotPolicySettingValueObject, IParsable + { + /// Indicates whether transcription is allowed in Teams meetings. + public bool? IsTranscriptionAllowed + { + get { return BackingStore?.Get("isTranscriptionAllowed"); } + set { BackingStore?.Set("isTranscriptionAllowed", value); } + } + /// The Copilot mode for Teams meetings. + public global::Microsoft.Graph.Beta.Models.MeetingCopilotMode? MeetingCopilotMode + { + get { return BackingStore?.Get("meetingCopilotMode"); } + set { BackingStore?.Set("meetingCopilotMode", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public CopilotPolicySettingTeamsMeetingValueObject() : base() + { + OdataType = "#microsoft.graph.copilotPolicySettingTeamsMeetingValueObject"; + } + /// + /// 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.CopilotPolicySettingTeamsMeetingValueObject CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.CopilotPolicySettingTeamsMeetingValueObject(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "isTranscriptionAllowed", n => { IsTranscriptionAllowed = n.GetBoolValue(); } }, + { "meetingCopilotMode", n => { MeetingCopilotMode = n.GetEnumValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteBoolValue("isTranscriptionAllowed", IsTranscriptionAllowed); + writer.WriteEnumValue("meetingCopilotMode", MeetingCopilotMode); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/CopilotPolicySettingUserAssignment.cs b/src/Microsoft.Graph/Generated/Models/CopilotPolicySettingUserAssignment.cs new file mode 100644 index 000000000000..0e462b15b8ca --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CopilotPolicySettingUserAssignment.cs @@ -0,0 +1,108 @@ +// +#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 +{ + /// + /// The users and groups selected by a Copilot policy setting. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CopilotPolicySettingUserAssignment : IAdditionalDataHolder, IBackedModel, IParsable + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// Users and groups explicitly included in the assignment. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Members + { + get { return BackingStore?.Get?>("members"); } + set { BackingStore?.Set("members", value); } + } +#nullable restore +#else + public List Members + { + get { return BackingStore?.Get>("members"); } + set { BackingStore?.Set("members", 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 category that determines which users are assigned by a Copilot policy setting. + public global::Microsoft.Graph.Beta.Models.CopilotPolicySettingUserAssignmentCategory? UserAssignmentCategory + { + get { return BackingStore?.Get("userAssignmentCategory"); } + set { BackingStore?.Set("userAssignmentCategory", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public CopilotPolicySettingUserAssignment() + { + 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.CopilotPolicySettingUserAssignment CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.CopilotPolicySettingUserAssignment(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "members", n => { Members = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.CopilotPolicySettingAssignmentMember.CreateFromDiscriminatorValue)?.AsList(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "userAssignmentCategory", n => { UserAssignmentCategory = n.GetEnumValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfObjectValues("members", Members); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteEnumValue("userAssignmentCategory", UserAssignmentCategory); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/CopilotPolicySettingUserAssignmentCategory.cs b/src/Microsoft.Graph/Generated/Models/CopilotPolicySettingUserAssignmentCategory.cs new file mode 100644 index 000000000000..15a1b09db36d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CopilotPolicySettingUserAssignmentCategory.cs @@ -0,0 +1,23 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + /// The category that determines which users are assigned by a Copilot policy setting. + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public enum CopilotPolicySettingUserAssignmentCategory + { + /// All users are assigned. + [EnumMember(Value = "everyone")] + Everyone, + /// No users are assigned. + [EnumMember(Value = "noOne")] + NoOne, + /// Only explicitly selected users are assigned. + [EnumMember(Value = "specificUsers")] + SpecificUsers, + /// A marker value for members added after the release of this API. + [EnumMember(Value = "unknownFutureValue")] + UnknownFutureValue, + } +} diff --git a/src/Microsoft.Graph/Generated/Models/CopilotPolicySettingValueObject.cs b/src/Microsoft.Graph/Generated/Models/CopilotPolicySettingValueObject.cs new file mode 100644 index 000000000000..de8d769a96ec --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CopilotPolicySettingValueObject.cs @@ -0,0 +1,90 @@ +// +#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 +{ + /// + /// The native JSON value of a Copilot policy setting. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CopilotPolicySettingValueObject : IAdditionalDataHolder, IBackedModel, IParsable + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// 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 CopilotPolicySettingValueObject() + { + 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.CopilotPolicySettingValueObject CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.copilotPolicySettingAgentSharingValueObject" => new global::Microsoft.Graph.Beta.Models.CopilotPolicySettingAgentSharingValueObject(), + "#microsoft.graph.copilotPolicySettingAgentUserAccessValueObject" => new global::Microsoft.Graph.Beta.Models.CopilotPolicySettingAgentUserAccessValueObject(), + "#microsoft.graph.copilotPolicySettingAllowedAgentTypesValueObject" => new global::Microsoft.Graph.Beta.Models.CopilotPolicySettingAllowedAgentTypesValueObject(), + "#microsoft.graph.copilotPolicySettingTeamsMeetingValueObject" => new global::Microsoft.Graph.Beta.Models.CopilotPolicySettingTeamsMeetingValueObject(), + _ => new global::Microsoft.Graph.Beta.Models.CopilotPolicySettingValueObject(), + }; + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "@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) + { + if(ReferenceEquals(writer, null)) 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/CrossTenantMigrationCancelResponse.cs b/src/Microsoft.Graph/Generated/Models/CrossTenantMigrationCancelResponse.cs index 634eb3099f05..14c5935228ee 100644 --- a/src/Microsoft.Graph/Generated/Models/CrossTenantMigrationCancelResponse.cs +++ b/src/Microsoft.Graph/Generated/Models/CrossTenantMigrationCancelResponse.cs @@ -21,7 +21,7 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The customer facing description of the cancellation request + /// The description of the cancellation request. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Message @@ -53,7 +53,7 @@ public string OdataType set { BackingStore?.Set("@odata.type", value); } } #endif - /// The cancellation request status + /// The cancellation request status. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Status diff --git a/src/Microsoft.Graph/Generated/Models/CrossTenantMigrationJob.cs b/src/Microsoft.Graph/Generated/Models/CrossTenantMigrationJob.cs index 443885b53cb9..ab55826a9010 100644 --- a/src/Microsoft.Graph/Generated/Models/CrossTenantMigrationJob.cs +++ b/src/Microsoft.Graph/Generated/Models/CrossTenantMigrationJob.cs @@ -132,7 +132,7 @@ public string ResourceType set { BackingStore?.Set("resourceType", value); } } #endif - /// ID (GUID) of the tenant that content is migrated from. + /// ID (GUID) of the source tenant for the content migration. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? SourceTenantId @@ -154,7 +154,7 @@ public string SourceTenantId get { return BackingStore?.Get("status"); } set { BackingStore?.Set("status", value); } } - /// ID of the tenant that content is migrated to. Read-only. + /// ID of the target tenant for the content migration. Read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? TargetTenantId diff --git a/src/Microsoft.Graph/Generated/Models/CrossTenantMigrationServiceStatusDetails.cs b/src/Microsoft.Graph/Generated/Models/CrossTenantMigrationServiceStatusDetails.cs index f178048df0e5..c7c78d8f2e94 100644 --- a/src/Microsoft.Graph/Generated/Models/CrossTenantMigrationServiceStatusDetails.cs +++ b/src/Microsoft.Graph/Generated/Models/CrossTenantMigrationServiceStatusDetails.cs @@ -21,7 +21,7 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// Errors associated with the migration for this service + /// Errors associated with the migration for this service. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Errors @@ -37,7 +37,7 @@ public IDictionary AdditionalData set { BackingStore?.Set("errors", value); } } #endif - /// Service status message + /// Service status message. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Message @@ -69,7 +69,7 @@ public string OdataType set { BackingStore?.Set("@odata.type", value); } } #endif - /// Service or workload the status details are associated with + /// Service or workload associated with the status details. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Service diff --git a/src/Microsoft.Graph/Generated/Models/CrossTenantMigrationTask.cs b/src/Microsoft.Graph/Generated/Models/CrossTenantMigrationTask.cs index 202d9050f167..1976b5d045fb 100644 --- a/src/Microsoft.Graph/Generated/Models/CrossTenantMigrationTask.cs +++ b/src/Microsoft.Graph/Generated/Models/CrossTenantMigrationTask.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Beta.Models public partial class CrossTenantMigrationTask : global::Microsoft.Graph.Beta.Models.Entity, IParsable #pragma warning restore CS1591 { - /// Most recent status of this migration task + /// Most recent status of this migration task. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? CurrentStatus @@ -28,13 +28,13 @@ public partial class CrossTenantMigrationTask : global::Microsoft.Graph.Beta.Mod set { BackingStore?.Set("currentStatus", value); } } #endif - /// Time the task was last updated + /// Date and time when the task was last updated. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2024, is 2024-01-01T00:00:00Z. public DateTimeOffset? LastUpdatedDateTime { get { return BackingStore?.Get("lastUpdatedDateTime"); } set { BackingStore?.Set("lastUpdatedDateTime", value); } } - /// Type of migration task. Only Users are supported at this time. + /// Type of migration task. Currently, only Users is supported. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? TaskType diff --git a/src/Microsoft.Graph/Generated/Models/CurrentLabel.cs b/src/Microsoft.Graph/Generated/Models/CurrentLabel.cs index 67ba0c86cbd1..4483e6456cc1 100644 --- a/src/Microsoft.Graph/Generated/Models/CurrentLabel.cs +++ b/src/Microsoft.Graph/Generated/Models/CurrentLabel.cs @@ -19,7 +19,7 @@ public IDictionary AdditionalData get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } set { BackingStore.Set("AdditionalData", value); } } - /// The applicationMode property + /// The application mode associated with the sensitivity label. The possible values are: manual, automatic, recommended, unknownFutureValue. public global::Microsoft.Graph.Beta.Models.ApplicationMode? ApplicationMode { get { return BackingStore?.Get("applicationMode"); } @@ -27,7 +27,7 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The id property + /// The GUID that identifies the sensitivity label. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Id diff --git a/src/Microsoft.Graph/Generated/Models/CustomAuthenticationExtension.cs b/src/Microsoft.Graph/Generated/Models/CustomAuthenticationExtension.cs index 08ad0e62e876..310ba1fae540 100644 --- a/src/Microsoft.Graph/Generated/Models/CustomAuthenticationExtension.cs +++ b/src/Microsoft.Graph/Generated/Models/CustomAuthenticationExtension.cs @@ -50,6 +50,7 @@ public CustomAuthenticationExtension() : base() "#microsoft.graph.onAttributeCollectionSubmitCustomExtension" => new global::Microsoft.Graph.Beta.Models.OnAttributeCollectionSubmitCustomExtension(), "#microsoft.graph.onOtpSendCustomExtension" => new global::Microsoft.Graph.Beta.Models.OnOtpSendCustomExtension(), "#microsoft.graph.onPasswordSubmitCustomExtension" => new global::Microsoft.Graph.Beta.Models.OnPasswordSubmitCustomExtension(), + "#microsoft.graph.onPasswordUpdateCustomExtension" => new global::Microsoft.Graph.Beta.Models.OnPasswordUpdateCustomExtension(), "#microsoft.graph.onTokenIssuanceStartCustomExtension" => new global::Microsoft.Graph.Beta.Models.OnTokenIssuanceStartCustomExtension(), "#microsoft.graph.onVerifiedIdClaimValidationCustomExtension" => new global::Microsoft.Graph.Beta.Models.OnVerifiedIdClaimValidationCustomExtension(), _ => new global::Microsoft.Graph.Beta.Models.CustomAuthenticationExtension(), diff --git a/src/Microsoft.Graph/Generated/Models/CustomCalloutExtension.cs b/src/Microsoft.Graph/Generated/Models/CustomCalloutExtension.cs index edcd0c513477..4e76964445de 100644 --- a/src/Microsoft.Graph/Generated/Models/CustomCalloutExtension.cs +++ b/src/Microsoft.Graph/Generated/Models/CustomCalloutExtension.cs @@ -113,8 +113,10 @@ public string DisplayName "#microsoft.graph.onAttributeCollectionSubmitCustomExtension" => new global::Microsoft.Graph.Beta.Models.OnAttributeCollectionSubmitCustomExtension(), "#microsoft.graph.onOtpSendCustomExtension" => new global::Microsoft.Graph.Beta.Models.OnOtpSendCustomExtension(), "#microsoft.graph.onPasswordSubmitCustomExtension" => new global::Microsoft.Graph.Beta.Models.OnPasswordSubmitCustomExtension(), + "#microsoft.graph.onPasswordUpdateCustomExtension" => new global::Microsoft.Graph.Beta.Models.OnPasswordUpdateCustomExtension(), "#microsoft.graph.onTokenIssuanceStartCustomExtension" => new global::Microsoft.Graph.Beta.Models.OnTokenIssuanceStartCustomExtension(), "#microsoft.graph.onVerifiedIdClaimValidationCustomExtension" => new global::Microsoft.Graph.Beta.Models.OnVerifiedIdClaimValidationCustomExtension(), + "#microsoft.graph.roleManagementCustomCalloutExtension" => new global::Microsoft.Graph.Beta.Models.RoleManagementCustomCalloutExtension(), _ => new global::Microsoft.Graph.Beta.Models.CustomCalloutExtension(), }; } diff --git a/src/Microsoft.Graph/Generated/Models/CustomCalloutExtensionType.cs b/src/Microsoft.Graph/Generated/Models/CustomCalloutExtensionType.cs new file mode 100644 index 000000000000..1965e44819d5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CustomCalloutExtensionType.cs @@ -0,0 +1,32 @@ +// +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 CustomCalloutExtensionType + #pragma warning restore CS1591 + { + [EnumMember(Value = "preApproval")] + #pragma warning disable CS1591 + PreApproval, + #pragma warning restore CS1591 + [EnumMember(Value = "postApproval")] + #pragma warning disable CS1591 + PostApproval, + #pragma warning restore CS1591 + [EnumMember(Value = "grant")] + #pragma warning disable CS1591 + Grant, + #pragma warning restore CS1591 + [EnumMember(Value = "revoke")] + #pragma warning disable CS1591 + Revoke, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/CustomExtensionClientConfiguration.cs b/src/Microsoft.Graph/Generated/Models/CustomExtensionClientConfiguration.cs index 4505467cea68..3461a5a89ed3 100644 --- a/src/Microsoft.Graph/Generated/Models/CustomExtensionClientConfiguration.cs +++ b/src/Microsoft.Graph/Generated/Models/CustomExtensionClientConfiguration.cs @@ -21,7 +21,7 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The max number of retries that Microsoft Entra ID makes to the external API. Values of 0 or 1 are supported. If null, the default for the service applies. + /// The maximum number of retries that Microsoft Entra ID makes to the external API. For a roleManagementCustomCalloutExtension, the valid range is from 0 through 5. For other custom extensions, values of 0 or 1 are supported. If null, the default for the service applies. public int? MaximumRetries { get { return BackingStore?.Get("maximumRetries"); } @@ -43,7 +43,7 @@ public string OdataType set { BackingStore?.Set("@odata.type", value); } } #endif - /// The max duration in milliseconds that Microsoft Entra ID waits for a response from the external app before it shuts down the connection. The valid range is between 200 and 2000 milliseconds. If null, the default for the service applies. + /// The maximum duration in milliseconds that Microsoft Entra ID waits for a response from the external app before it closes the connection. For a roleManagementCustomCalloutExtension, the valid range is from 1000 through 60000 milliseconds. For other custom extensions, the valid range is from 200 through 2000 milliseconds. If null, the default for the service applies. public int? TimeoutInMilliseconds { get { return BackingStore?.Get("timeoutInMilliseconds"); } diff --git a/src/Microsoft.Graph/Generated/Models/CustomExtensionResourceType.cs b/src/Microsoft.Graph/Generated/Models/CustomExtensionResourceType.cs new file mode 100644 index 000000000000..28672d011b3c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CustomExtensionResourceType.cs @@ -0,0 +1,36 @@ +// +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 CustomExtensionResourceType + #pragma warning restore CS1591 + { + [EnumMember(Value = "entraRoles")] + #pragma warning disable CS1591 + EntraRoles, + #pragma warning restore CS1591 + [EnumMember(Value = "azureResources")] + #pragma warning disable CS1591 + AzureResources, + #pragma warning restore CS1591 + [EnumMember(Value = "entraGroups")] + #pragma warning disable CS1591 + EntraGroups, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + [EnumMember(Value = "applicationAuthorization")] + #pragma warning disable CS1591 + ApplicationAuthorization, + #pragma warning restore CS1591 + [EnumMember(Value = "appRoles")] + #pragma warning disable CS1591 + AppRoles, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/Entity.cs b/src/Microsoft.Graph/Generated/Models/Entity.cs index 365091291444..8ecc88bdc967 100644 --- a/src/Microsoft.Graph/Generated/Models/Entity.cs +++ b/src/Microsoft.Graph/Generated/Models/Entity.cs @@ -476,6 +476,7 @@ public Entity() "#microsoft.graph.cloudPcBulkPowerOff" => new global::Microsoft.Graph.Beta.Models.CloudPcBulkPowerOff(), "#microsoft.graph.cloudPcBulkPowerOn" => new global::Microsoft.Graph.Beta.Models.CloudPcBulkPowerOn(), "#microsoft.graph.cloudPcBulkReinstallAgent" => new global::Microsoft.Graph.Beta.Models.CloudPcBulkReinstallAgent(), + "#microsoft.graph.cloudPcBulkRelocate" => new global::Microsoft.Graph.Beta.Models.CloudPcBulkRelocate(), "#microsoft.graph.cloudPcBulkReprovision" => new global::Microsoft.Graph.Beta.Models.CloudPcBulkReprovision(), "#microsoft.graph.cloudPcBulkResize" => new global::Microsoft.Graph.Beta.Models.CloudPcBulkResize(), "#microsoft.graph.cloudPcBulkRestart" => new global::Microsoft.Graph.Beta.Models.CloudPcBulkRestart(), @@ -1497,6 +1498,8 @@ public Entity() "#microsoft.graph.onOtpSendCustomExtension" => new global::Microsoft.Graph.Beta.Models.OnOtpSendCustomExtension(), "#microsoft.graph.onPasswordSubmitCustomExtension" => new global::Microsoft.Graph.Beta.Models.OnPasswordSubmitCustomExtension(), "#microsoft.graph.onPasswordSubmitListener" => new global::Microsoft.Graph.Beta.Models.OnPasswordSubmitListener(), + "#microsoft.graph.onPasswordUpdateCustomExtension" => new global::Microsoft.Graph.Beta.Models.OnPasswordUpdateCustomExtension(), + "#microsoft.graph.onPasswordUpdateListener" => new global::Microsoft.Graph.Beta.Models.OnPasswordUpdateListener(), "#microsoft.graph.onPhoneMethodLoadStartListener" => new global::Microsoft.Graph.Beta.Models.OnPhoneMethodLoadStartListener(), "#microsoft.graph.onPremAuthenticationPolicy" => new global::Microsoft.Graph.Beta.Models.OnPremAuthenticationPolicy(), "#microsoft.graph.onPremisesAgent" => new global::Microsoft.Graph.Beta.Models.OnPremisesAgent(), @@ -1763,6 +1766,7 @@ public Entity() "#microsoft.graph.roleAssignment" => new global::Microsoft.Graph.Beta.Models.RoleAssignment(), "#microsoft.graph.roleDefinition" => new global::Microsoft.Graph.Beta.Models.RoleDefinition(), "#microsoft.graph.roleManagementAlert" => new global::Microsoft.Graph.Beta.Models.RoleManagementAlert(), + "#microsoft.graph.roleManagementCustomCalloutExtension" => new global::Microsoft.Graph.Beta.Models.RoleManagementCustomCalloutExtension(), "#microsoft.graph.rolesAssignedOutsidePrivilegedIdentityManagementAlertConfiguration" => new global::Microsoft.Graph.Beta.Models.RolesAssignedOutsidePrivilegedIdentityManagementAlertConfiguration(), "#microsoft.graph.rolesAssignedOutsidePrivilegedIdentityManagementAlertIncident" => new global::Microsoft.Graph.Beta.Models.RolesAssignedOutsidePrivilegedIdentityManagementAlertIncident(), "#microsoft.graph.roleScopeTag" => new global::Microsoft.Graph.Beta.Models.RoleScopeTag(), @@ -1824,6 +1828,7 @@ public Entity() "#microsoft.graph.security.caseManagement.optionsCustomFieldDefinition" => new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.OptionsCustomFieldDefinition(), "#microsoft.graph.security.caseManagement.recommendationRelation" => new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.RecommendationRelation(), "#microsoft.graph.security.caseManagement.relation" => new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.Relation(), + "#microsoft.graph.security.caseManagement.slaPolicyDefinition" => new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.SlaPolicyDefinition(), "#microsoft.graph.security.caseManagement.statusDefinition" => new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.StatusDefinition(), "#microsoft.graph.security.caseManagement.stringCustomFieldDefinition" => new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.StringCustomFieldDefinition(), "#microsoft.graph.security.caseManagement.task" => new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.TaskObject(), @@ -2198,6 +2203,7 @@ public Entity() "#microsoft.graph.unifiedRoleManagementPolicyApprovalRule" => new global::Microsoft.Graph.Beta.Models.UnifiedRoleManagementPolicyApprovalRule(), "#microsoft.graph.unifiedRoleManagementPolicyAssignment" => new global::Microsoft.Graph.Beta.Models.UnifiedRoleManagementPolicyAssignment(), "#microsoft.graph.unifiedRoleManagementPolicyAuthenticationContextRule" => new global::Microsoft.Graph.Beta.Models.UnifiedRoleManagementPolicyAuthenticationContextRule(), + "#microsoft.graph.unifiedRoleManagementPolicyCustomExtensionRule" => new global::Microsoft.Graph.Beta.Models.UnifiedRoleManagementPolicyCustomExtensionRule(), "#microsoft.graph.unifiedRoleManagementPolicyEnablementRule" => new global::Microsoft.Graph.Beta.Models.UnifiedRoleManagementPolicyEnablementRule(), "#microsoft.graph.unifiedRoleManagementPolicyExpirationRule" => new global::Microsoft.Graph.Beta.Models.UnifiedRoleManagementPolicyExpirationRule(), "#microsoft.graph.unifiedRoleManagementPolicyNotificationRule" => new global::Microsoft.Graph.Beta.Models.UnifiedRoleManagementPolicyNotificationRule(), @@ -2434,6 +2440,9 @@ public Entity() "#microsoft.graph.windowsUniversalAppXContainedApp" => new global::Microsoft.Graph.Beta.Models.WindowsUniversalAppXContainedApp(), "#microsoft.graph.windowsUpdateCatalogItem" => new global::Microsoft.Graph.Beta.Models.WindowsUpdateCatalogItem(), "#microsoft.graph.windowsUpdateForBusinessConfiguration" => new global::Microsoft.Graph.Beta.Models.WindowsUpdateForBusinessConfiguration(), + "#microsoft.graph.windowsUpdates.applicableCatalog" => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.ApplicableCatalog(), + "#microsoft.graph.windowsUpdates.applicableCatalogSummary" => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.ApplicableCatalogSummary(), + "#microsoft.graph.windowsUpdates.applicableDevice" => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.ApplicableDevice(), "#microsoft.graph.windowsUpdates.azureADDevice" => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.AzureADDevice(), "#microsoft.graph.windowsUpdates.catalog" => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.Catalog(), "#microsoft.graph.windowsUpdates.catalogEntry" => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.CatalogEntry(), @@ -2441,14 +2450,22 @@ public Entity() "#microsoft.graph.windowsUpdates.contentApproval" => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.ContentApproval(), "#microsoft.graph.windowsUpdates.deployment" => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.Deployment(), "#microsoft.graph.windowsUpdates.deploymentAudience" => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.DeploymentAudience(), + "#microsoft.graph.windowsUpdates.deviceProfile" => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.DeviceProfile(), "#microsoft.graph.windowsUpdates.driverUpdateCatalogEntry" => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.DriverUpdateCatalogEntry(), + "#microsoft.graph.windowsUpdates.driverUpdateDeviceStatus" => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.DriverUpdateDeviceStatus(), + "#microsoft.graph.windowsUpdates.driverUpdatePolicy" => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.DriverUpdatePolicy(), + "#microsoft.graph.windowsUpdates.driverUpdateReport" => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.DriverUpdateReport(), + "#microsoft.graph.windowsUpdates.driverUpdateRing" => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.DriverUpdateRing(), "#microsoft.graph.windowsUpdates.edition" => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.Edition(), "#microsoft.graph.windowsUpdates.featureUpdateCatalogEntry" => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.FeatureUpdateCatalogEntry(), + "#microsoft.graph.windowsUpdates.featureUpdatePolicy" => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.FeatureUpdatePolicy(), + "#microsoft.graph.windowsUpdates.featureUpdateRing" => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.FeatureUpdateRing(), "#microsoft.graph.windowsUpdates.knowledgeBaseArticle" => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.KnowledgeBaseArticle(), "#microsoft.graph.windowsUpdates.knownIssue" => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.KnownIssue(), "#microsoft.graph.windowsUpdates.operationalInsightsConnection" => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.OperationalInsightsConnection(), "#microsoft.graph.windowsUpdates.policy" => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.Policy(), "#microsoft.graph.windowsUpdates.policyApproval" => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.PolicyApproval(), + "#microsoft.graph.windowsUpdates.policyAssignment" => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.PolicyAssignment(), "#microsoft.graph.windowsUpdates.product" => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.Product(), "#microsoft.graph.windowsUpdates.productRevision" => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.ProductRevision(), "#microsoft.graph.windowsUpdates.qualityUpdateCatalogEntry" => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.QualityUpdateCatalogEntry(), @@ -2458,8 +2475,10 @@ public Entity() "#microsoft.graph.windowsUpdates.resourceConnection" => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.ResourceConnection(), "#microsoft.graph.windowsUpdates.ring" => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.Ring(), "#microsoft.graph.windowsUpdates.softwareUpdateCatalogEntry" => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.SoftwareUpdateCatalogEntry(), + "#microsoft.graph.windowsUpdates.tenantSetting" => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.TenantSetting(), "#microsoft.graph.windowsUpdates.updatableAsset" => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.UpdatableAsset(), "#microsoft.graph.windowsUpdates.updatableAssetGroup" => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.UpdatableAssetGroup(), + "#microsoft.graph.windowsUpdates.updateData" => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.UpdateData(), "#microsoft.graph.windowsUpdates.updatePolicy" => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.UpdatePolicy(), "#microsoft.graph.windowsUpdateState" => new global::Microsoft.Graph.Beta.Models.WindowsUpdateState(), "#microsoft.graph.windowsVpnConfiguration" => new global::Microsoft.Graph.Beta.Models.WindowsVpnConfiguration(), diff --git a/src/Microsoft.Graph/Generated/Models/Error.cs b/src/Microsoft.Graph/Generated/Models/Error.cs index 5080046f0098..2ade16605ff1 100644 --- a/src/Microsoft.Graph/Generated/Models/Error.cs +++ b/src/Microsoft.Graph/Generated/Models/Error.cs @@ -21,7 +21,7 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The error code + /// The error code. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Code @@ -37,7 +37,7 @@ public string Code set { BackingStore?.Set("code", value); } } #endif - /// The message for the error + /// The message for the error. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Message diff --git a/src/Microsoft.Graph/Generated/Models/EvaluationErrorDetail.cs b/src/Microsoft.Graph/Generated/Models/EvaluationErrorDetail.cs index 566ad6ee4a7b..e19eb0e4e0f5 100644 --- a/src/Microsoft.Graph/Generated/Models/EvaluationErrorDetail.cs +++ b/src/Microsoft.Graph/Generated/Models/EvaluationErrorDetail.cs @@ -27,22 +27,6 @@ public IDictionary AdditionalData get { return BackingStore?.Get("errorCategory"); } set { BackingStore?.Set("errorCategory", value); } } - /// 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 errorType property public global::Microsoft.Graph.Beta.Models.EvaluationErrorType? ErrorType { @@ -92,7 +76,6 @@ public virtual IDictionary> GetFieldDeserializers() return new Dictionary> { { "errorCategory", n => { ErrorCategory = n.GetEnumValue(); } }, - { "errorMessage", n => { ErrorMessage = n.GetStringValue(); } }, { "errorType", n => { ErrorType = n.GetEnumValue(); } }, { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; @@ -105,7 +88,6 @@ public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); writer.WriteEnumValue("errorCategory", ErrorCategory); - writer.WriteStringValue("errorMessage", ErrorMessage); writer.WriteEnumValue("errorType", ErrorType); writer.WriteStringValue("@odata.type", OdataType); writer.WriteAdditionalData(AdditionalData); diff --git a/src/Microsoft.Graph/Generated/Models/EvaluationErrorType.cs b/src/Microsoft.Graph/Generated/Models/EvaluationErrorType.cs index b9fcc6a01b2a..5a1b450abdd1 100644 --- a/src/Microsoft.Graph/Generated/Models/EvaluationErrorType.cs +++ b/src/Microsoft.Graph/Generated/Models/EvaluationErrorType.cs @@ -16,54 +16,6 @@ public enum EvaluationErrorType #pragma warning disable CS1591 PasswordProtectedFile, #pragma warning restore CS1591 - [EnumMember(Value = "fileTooLarge")] - #pragma warning disable CS1591 - FileTooLarge, - #pragma warning restore CS1591 - [EnumMember(Value = "archiveSizeTooLarge")] - #pragma warning disable CS1591 - ArchiveSizeTooLarge, - #pragma warning restore CS1591 - [EnumMember(Value = "textExceedsMceThreshold")] - #pragma warning disable CS1591 - TextExceedsMceThreshold, - #pragma warning restore CS1591 - [EnumMember(Value = "partiallyScannedArchive")] - #pragma warning disable CS1591 - PartiallyScannedArchive, - #pragma warning restore CS1591 - [EnumMember(Value = "partialImageExtraction")] - #pragma warning disable CS1591 - PartialImageExtraction, - #pragma warning restore CS1591 - [EnumMember(Value = "imageOcrPartialResult")] - #pragma warning disable CS1591 - ImageOcrPartialResult, - #pragma warning restore CS1591 - [EnumMember(Value = "ocrProcessingFailure")] - #pragma warning disable CS1591 - OcrProcessingFailure, - #pragma warning restore CS1591 - [EnumMember(Value = "ocrQuotaExhausted")] - #pragma warning disable CS1591 - OcrQuotaExhausted, - #pragma warning restore CS1591 - [EnumMember(Value = "classificationServiceError")] - #pragma warning disable CS1591 - ClassificationServiceError, - #pragma warning restore CS1591 - [EnumMember(Value = "sitExtractionFailure")] - #pragma warning disable CS1591 - SitExtractionFailure, - #pragma warning restore CS1591 - [EnumMember(Value = "textExtractionFailure")] - #pragma warning disable CS1591 - TextExtractionFailure, - #pragma warning restore CS1591 - [EnumMember(Value = "archiveTextExtractionError")] - #pragma warning disable CS1591 - ArchiveTextExtractionError, - #pragma warning restore CS1591 [EnumMember(Value = "missingOrInvalidConfiguration")] #pragma warning disable CS1591 MissingOrInvalidConfiguration, @@ -100,6 +52,26 @@ public enum EvaluationErrorType #pragma warning disable CS1591 ServiceUnavailable, #pragma warning restore CS1591 + [EnumMember(Value = "contentTooLarge")] + #pragma warning disable CS1591 + ContentTooLarge, + #pragma warning restore CS1591 + [EnumMember(Value = "partiallyScanned")] + #pragma warning disable CS1591 + PartiallyScanned, + #pragma warning restore CS1591 + [EnumMember(Value = "unscannable")] + #pragma warning disable CS1591 + Unscannable, + #pragma warning restore CS1591 + [EnumMember(Value = "billingNotSetup")] + #pragma warning disable CS1591 + BillingNotSetup, + #pragma warning restore CS1591 + [EnumMember(Value = "authenticationOrAuthorizationFailed")] + #pragma warning disable CS1591 + AuthenticationOrAuthorizationFailed, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] #pragma warning disable CS1591 UnknownFutureValue, diff --git a/src/Microsoft.Graph/Generated/Models/EvaluationOutcome.cs b/src/Microsoft.Graph/Generated/Models/EvaluationOutcome.cs new file mode 100644 index 000000000000..af9299416aee --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/EvaluationOutcome.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 EvaluationOutcome + #pragma warning restore CS1591 + { + [EnumMember(Value = "approved")] + #pragma warning disable CS1591 + Approved, + #pragma warning restore CS1591 + [EnumMember(Value = "denied")] + #pragma warning disable CS1591 + Denied, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/ExchangeOnlineCrossTenantMigrationSettings.cs b/src/Microsoft.Graph/Generated/Models/ExchangeOnlineCrossTenantMigrationSettings.cs index cc7bac84977a..be943bd18468 100644 --- a/src/Microsoft.Graph/Generated/Models/ExchangeOnlineCrossTenantMigrationSettings.cs +++ b/src/Microsoft.Graph/Generated/Models/ExchangeOnlineCrossTenantMigrationSettings.cs @@ -37,7 +37,7 @@ public string OdataType set { BackingStore?.Set("@odata.type", value); } } #endif - /// Name of the Migration Endpoint in the source tenant + /// Name of the migration endpoint in the source tenant. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? SourceEndpoint @@ -53,7 +53,7 @@ public string SourceEndpoint set { BackingStore?.Set("sourceEndpoint", value); } } #endif - /// Delivery domain on the target tenant + /// Delivery domain on the target tenant. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? TargetDeliveryDomain diff --git a/src/Microsoft.Graph/Generated/Models/Group.cs b/src/Microsoft.Graph/Generated/Models/Group.cs index dbccee23ff3d..42a30e6e13b6 100644 --- a/src/Microsoft.Graph/Generated/Models/Group.cs +++ b/src/Microsoft.Graph/Generated/Models/Group.cs @@ -464,6 +464,22 @@ public string Mail get { return BackingStore?.Get("mail"); } set { BackingStore?.Set("mail", value); } } +#endif + /// The identifier of the Exchange mailbox associated with a Microsoft 365 group. Treat this value as an opaque identifier and don't parse or validate its format. If the group mailbox isn't provisioned, this property returns 00000000-0000-0000-0000-000000000000. Requires $select to retrieve. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? MailboxId + { + get { return BackingStore?.Get("mailboxId"); } + set { BackingStore?.Set("mailboxId", value); } + } +#nullable restore +#else + public string MailboxId + { + get { return BackingStore?.Get("mailboxId"); } + set { BackingStore?.Set("mailboxId", value); } + } #endif /// Specifies whether the group is mail-enabled. Required. Returned by default. Supports $filter (eq, ne, not, and eq on null values). public bool? MailEnabled @@ -1207,6 +1223,7 @@ public override IDictionary> GetFieldDeserializers() { "mail", n => { Mail = n.GetStringValue(); } }, { "mailEnabled", n => { MailEnabled = n.GetBoolValue(); } }, { "mailNickname", n => { MailNickname = n.GetStringValue(); } }, + { "mailboxId", n => { MailboxId = n.GetStringValue(); } }, { "memberOf", n => { MemberOf = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.DirectoryObject.CreateFromDiscriminatorValue)?.AsList(); } }, { "members", n => { Members = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.DirectoryObject.CreateFromDiscriminatorValue)?.AsList(); } }, { "membersWithLicenseErrors", n => { MembersWithLicenseErrors = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.DirectoryObject.CreateFromDiscriminatorValue)?.AsList(); } }, @@ -1300,6 +1317,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteBoolValue("isSubscribedByMail", IsSubscribedByMail); writer.WriteObjectValue("licenseProcessingState", LicenseProcessingState); writer.WriteStringValue("mail", Mail); + writer.WriteStringValue("mailboxId", MailboxId); writer.WriteBoolValue("mailEnabled", MailEnabled); writer.WriteStringValue("mailNickname", MailNickname); writer.WriteCollectionOfObjectValues("memberOf", MemberOf); diff --git a/src/Microsoft.Graph/Generated/Models/HttpRequestEndpoint.cs b/src/Microsoft.Graph/Generated/Models/HttpRequestEndpoint.cs index 8a79406ccdf8..e33669b603ae 100644 --- a/src/Microsoft.Graph/Generated/Models/HttpRequestEndpoint.cs +++ b/src/Microsoft.Graph/Generated/Models/HttpRequestEndpoint.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Beta.Models public partial class HttpRequestEndpoint : global::Microsoft.Graph.Beta.Models.CustomExtensionEndpointConfiguration, IParsable #pragma warning restore CS1591 { - /// The HTTP endpoint that a custom extension calls. + /// The URL of the HTTP endpoint that Microsoft Entra ID calls for the custom extension. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? TargetUrl diff --git a/src/Microsoft.Graph/Generated/Models/Identity.cs b/src/Microsoft.Graph/Generated/Models/Identity.cs index adbbab4c4e75..e646bc8a346f 100644 --- a/src/Microsoft.Graph/Generated/Models/Identity.cs +++ b/src/Microsoft.Graph/Generated/Models/Identity.cs @@ -100,6 +100,7 @@ public Identity() "#microsoft.graph.communicationsGuestIdentity" => new global::Microsoft.Graph.Beta.Models.CommunicationsGuestIdentity(), "#microsoft.graph.communicationsPhoneIdentity" => new global::Microsoft.Graph.Beta.Models.CommunicationsPhoneIdentity(), "#microsoft.graph.communicationsUserIdentity" => new global::Microsoft.Graph.Beta.Models.CommunicationsUserIdentity(), + "#microsoft.graph.copilotPackageRequestPrincipal" => new global::Microsoft.Graph.Beta.Models.CopilotPackageRequestPrincipal(), "#microsoft.graph.emailIdentity" => new global::Microsoft.Graph.Beta.Models.EmailIdentity(), "#microsoft.graph.groupIdentity" => new global::Microsoft.Graph.Beta.Models.GroupIdentity(), "#microsoft.graph.initiator" => new global::Microsoft.Graph.Beta.Models.Initiator(), diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyRule.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyRule.cs index 3b4c7b781cfc..8ea651c39407 100644 --- a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyRule.cs +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyRule.cs @@ -12,6 +12,12 @@ namespace Microsoft.Graph.Beta.Models.IdentityGovernance public partial class LifecyclePolicyRule : global::Microsoft.Graph.Beta.Models.Entity, IParsable #pragma warning restore CS1591 { + /// The optional grace period, in days, that starts when the rule violation is first detected. The allowed range is 0 through 30. If omitted or set to null, the gracePeriodInDays value of the containing lifecycle policy applies. A value of 0 means no additional grace period. If multiple rules remain violated, the earliest rule grace-period expiry starts the policy action sequence; the policy-level grace period isn't added again. + public int? GracePeriodInDays + { + get { return BackingStore?.Get("gracePeriodInDays"); } + set { BackingStore?.Set("gracePeriodInDays", value); } + } /// Indicates whether the rule is enabled and evaluated as part of its policy. public bool? IsEnabled { @@ -45,6 +51,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { + { "gracePeriodInDays", n => { GracePeriodInDays = n.GetIntValue(); } }, { "isEnabled", n => { IsEnabled = n.GetBoolValue(); } }, }; } @@ -56,6 +63,7 @@ public override void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); + writer.WriteIntValue("gracePeriodInDays", GracePeriodInDays); writer.WriteBoolValue("isEnabled", IsEnabled); } } diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/SelectedAgentBuilderPlatformsSubjectSet.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/SelectedAgentBuilderPlatformsSubjectSet.cs new file mode 100644 index 000000000000..21269e81aba5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/SelectedAgentBuilderPlatformsSubjectSet.cs @@ -0,0 +1,62 @@ +// +#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.IdentityGovernance +{ + /// + /// Defines the scope as only agent identities created by any of the selected builder platforms. It is valid only for agent identity lifecycle policies; using it on another policy type returns HTTP 400. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SelectedAgentBuilderPlatformsSubjectSet : global::Microsoft.Graph.Beta.Models.SubjectSet, IParsable + { + /// The includedAgentBuilderPlatforms property + public global::Microsoft.Graph.Beta.Models.IdentityGovernance.AgentBuilderPlatforms? IncludedAgentBuilderPlatforms + { + get { return BackingStore?.Get("includedAgentBuilderPlatforms"); } + set { BackingStore?.Set("includedAgentBuilderPlatforms", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public SelectedAgentBuilderPlatformsSubjectSet() : base() + { + OdataType = "#microsoft.graph.identityGovernance.selectedAgentBuilderPlatformsSubjectSet"; + } + /// + /// 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.IdentityGovernance.SelectedAgentBuilderPlatformsSubjectSet CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.IdentityGovernance.SelectedAgentBuilderPlatformsSubjectSet(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "includedAgentBuilderPlatforms", n => { IncludedAgentBuilderPlatforms = n.GetEnumValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteEnumValue("includedAgentBuilderPlatforms", IncludedAgentBuilderPlatforms); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernanceUserSettings.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernanceUserSettings.cs index 917766759e2e..120c97eb88d1 100644 --- a/src/Microsoft.Graph/Generated/Models/IdentityGovernanceUserSettings.cs +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernanceUserSettings.cs @@ -19,7 +19,7 @@ public IDictionary AdditionalData get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } set { BackingStore.Set("AdditionalData", value); } } - /// The approver delegate configuration for the user, including the delegate identity and delegation schedule. Nullable. + /// The user or group that approves Microsoft Entra entitlement management access package assignment requests and access reviews on behalf of the user, and the period during which the delegation is in effect. Nullable. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.ApproverDelegate? ApproverDelegate diff --git a/src/Microsoft.Graph/Generated/Models/IdentityVerificationEventsConfiguration.cs b/src/Microsoft.Graph/Generated/Models/IdentityVerificationEventsConfiguration.cs index 4afaf26ded5f..94d5d9b8d6a7 100644 --- a/src/Microsoft.Graph/Generated/Models/IdentityVerificationEventsConfiguration.cs +++ b/src/Microsoft.Graph/Generated/Models/IdentityVerificationEventsConfiguration.cs @@ -21,7 +21,7 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The isEnabled property + /// Indicates whether identity verification events and credential provenance information are collected and exposed for Verified ID verification across the tenant. The default value is false when this property is omitted from the configuration object. public bool? IsEnabled { get { return BackingStore?.Get("isEnabled"); } diff --git a/src/Microsoft.Graph/Generated/Models/InteractionParticipant.cs b/src/Microsoft.Graph/Generated/Models/InteractionParticipant.cs index d020e5566a1e..24ed6cfe0ab9 100644 --- a/src/Microsoft.Graph/Generated/Models/InteractionParticipant.cs +++ b/src/Microsoft.Graph/Generated/Models/InteractionParticipant.cs @@ -37,7 +37,7 @@ public string OdataType set { BackingStore?.Set("@odata.type", value); } } #endif - /// The value property + /// The identifier of the participant. Required. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Value diff --git a/src/Microsoft.Graph/Generated/Models/KeyCredentialConfiguration.cs b/src/Microsoft.Graph/Generated/Models/KeyCredentialConfiguration.cs index b3cf70ff4adb..cfe047725070 100644 --- a/src/Microsoft.Graph/Generated/Models/KeyCredentialConfiguration.cs +++ b/src/Microsoft.Graph/Generated/Models/KeyCredentialConfiguration.cs @@ -87,7 +87,7 @@ public DateTimeOffset? RestrictForAppsCreatedAfterDateTime get { return BackingStore?.Get("restrictionType"); } set { BackingStore?.Set("restrictionType", value); } } - /// Indicates whether the restriction is evaluated. The possible values are: enabled, disabled, unknownFutureValue. If enabled, the restriction is evaluated. If disabled, the restriction isn't evaluated or enforced. + /// Indicates whether the restriction is evaluated. The possible values are: enabled, disabled, audit, unknownFutureValue. If enabled, the restriction is evaluated and enforced. If disabled, the restriction isn't evaluated or enforced. If audit, the restriction is evaluated but not enforced. public global::Microsoft.Graph.Beta.Models.AppManagementRestrictionState? State { get { return BackingStore?.Get("state"); } diff --git a/src/Microsoft.Graph/Generated/Models/MeetingCopilotMode.cs b/src/Microsoft.Graph/Generated/Models/MeetingCopilotMode.cs new file mode 100644 index 000000000000..008f692645e7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/MeetingCopilotMode.cs @@ -0,0 +1,26 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + /// The Copilot mode for Teams meetings. + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public enum MeetingCopilotMode + { + /// Copilot is on. + [EnumMember(Value = "enabled")] + Enabled, + /// Copilot is on and a saved transcript is required. + [EnumMember(Value = "enabledWithTranscript")] + EnabledWithTranscript, + /// Copilot is on and the transcript is saved by default. + [EnumMember(Value = "enabledWithTranscriptDefaultOn")] + EnabledWithTranscriptDefaultOn, + /// Copilot is off. + [EnumMember(Value = "disabled")] + Disabled, + /// A marker value for members added after the release of this API. + [EnumMember(Value = "unknownFutureValue")] + UnknownFutureValue, + } +} diff --git a/src/Microsoft.Graph/Generated/Models/MigrationsRoot.cs b/src/Microsoft.Graph/Generated/Models/MigrationsRoot.cs index 2d26b5f64760..ed4f68329ccc 100644 --- a/src/Microsoft.Graph/Generated/Models/MigrationsRoot.cs +++ b/src/Microsoft.Graph/Generated/Models/MigrationsRoot.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Beta.Models public partial class MigrationsRoot : global::Microsoft.Graph.Beta.Models.Entity, IParsable #pragma warning restore CS1591 { - /// Migration Jobs associated with this tenant. + /// Migration jobs associated with this tenant. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? CrossTenantMigrationJobs diff --git a/src/Microsoft.Graph/Generated/Models/ObjectConnection.cs b/src/Microsoft.Graph/Generated/Models/ObjectConnection.cs new file mode 100644 index 000000000000..c099dead8840 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ObjectConnection.cs @@ -0,0 +1,172 @@ +// +#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 +{ + /// + /// Represents a connector data store linkage record for an object in a synchronization job. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ObjectConnection : IAdditionalDataHolder, IBackedModel, IParsable + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// Display name of the connected object. Nullable. Read-only. +#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 + /// Identifier supplied in the request to look up the connection. Can be the source or target identifier for the object in the synchronization job. Key. Not nullable. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ObjectId + { + get { return BackingStore?.Get("objectId"); } + set { BackingStore?.Set("objectId", value); } + } +#nullable restore +#else + public string ObjectId + { + get { return BackingStore?.Get("objectId"); } + set { BackingStore?.Set("objectId", value); } + } +#endif + /// Logical object type, such as User or Group. Not nullable. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ObjectTypeName + { + get { return BackingStore?.Get("objectTypeName"); } + set { BackingStore?.Set("objectTypeName", value); } + } +#nullable restore +#else + public string ObjectTypeName + { + get { return BackingStore?.Get("objectTypeName"); } + set { BackingStore?.Set("objectTypeName", 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 + /// Anchor or join value in the source directory. Not nullable. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? SourceAnchor + { + get { return BackingStore?.Get("sourceAnchor"); } + set { BackingStore?.Set("sourceAnchor", value); } + } +#nullable restore +#else + public string SourceAnchor + { + get { return BackingStore?.Get("sourceAnchor"); } + set { BackingStore?.Set("sourceAnchor", value); } + } +#endif + /// Anchor or transformed identifier in the target space. Not nullable. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? TargetAnchor + { + get { return BackingStore?.Get("targetAnchor"); } + set { BackingStore?.Set("targetAnchor", value); } + } +#nullable restore +#else + public string TargetAnchor + { + get { return BackingStore?.Get("targetAnchor"); } + set { BackingStore?.Set("targetAnchor", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ObjectConnection() + { + 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.ObjectConnection CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.ObjectConnection(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "objectId", n => { ObjectId = n.GetStringValue(); } }, + { "objectTypeName", n => { ObjectTypeName = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "sourceAnchor", n => { SourceAnchor = n.GetStringValue(); } }, + { "targetAnchor", n => { TargetAnchor = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteStringValue("objectId", ObjectId); + writer.WriteStringValue("objectTypeName", ObjectTypeName); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteStringValue("sourceAnchor", SourceAnchor); + writer.WriteStringValue("targetAnchor", TargetAnchor); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ObjectConnectionCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/ObjectConnectionCollectionResponse.cs new file mode 100644 index 000000000000..3d481c719209 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ObjectConnectionCollectionResponse.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 ObjectConnectionCollectionResponse : 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.ObjectConnectionCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.ObjectConnectionCollectionResponse(); + } + /// + /// 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.ObjectConnection.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/OnPasswordUpdateCustomExtension.cs b/src/Microsoft.Graph/Generated/Models/OnPasswordUpdateCustomExtension.cs new file mode 100644 index 000000000000..f4d51d8440b1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/OnPasswordUpdateCustomExtension.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 OnPasswordUpdateCustomExtension : global::Microsoft.Graph.Beta.Models.CustomAuthenticationExtension, IParsable + #pragma warning restore CS1591 + { + /// + /// Instantiates a new and sets the default values. + /// + public OnPasswordUpdateCustomExtension() : base() + { + OdataType = "#microsoft.graph.onPasswordUpdateCustomExtension"; + } + /// + /// 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.OnPasswordUpdateCustomExtension CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.OnPasswordUpdateCustomExtension(); + } + /// + /// 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) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/OnPasswordUpdateCustomExtensionHandler.cs b/src/Microsoft.Graph/Generated/Models/OnPasswordUpdateCustomExtensionHandler.cs new file mode 100644 index 000000000000..026f459aca39 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/OnPasswordUpdateCustomExtensionHandler.cs @@ -0,0 +1,97 @@ +// +#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 OnPasswordUpdateCustomExtensionHandler : global::Microsoft.Graph.Beta.Models.OnPasswordUpdateHandler, IParsable + #pragma warning restore CS1591 + { + /// Configuration that overrides the default settings from the referenced custom extension, such as timeout and retry values. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.CustomExtensionOverwriteConfiguration? Configuration + { + get { return BackingStore?.Get("configuration"); } + set { BackingStore?.Set("configuration", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.CustomExtensionOverwriteConfiguration Configuration + { + get { return BackingStore?.Get("configuration"); } + set { BackingStore?.Set("configuration", value); } + } +#endif + /// The customExtension property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.OnPasswordUpdateCustomExtension? CustomExtension + { + get { return BackingStore?.Get("customExtension"); } + set { BackingStore?.Set("customExtension", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.OnPasswordUpdateCustomExtension CustomExtension + { + get { return BackingStore?.Get("customExtension"); } + set { BackingStore?.Set("customExtension", value); } + } +#endif + /// The date and time at which the listener stops invoking the custom extension. The value must be in the future and can't be more than six months after the create or PATCH request. Renew the value by updating the listener. After the value passes, the callout is skipped until the listener is renewed or recreated. + public DateTimeOffset? ExpirationDateTime + { + get { return BackingStore?.Get("expirationDateTime"); } + set { BackingStore?.Set("expirationDateTime", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public OnPasswordUpdateCustomExtensionHandler() : base() + { + OdataType = "#microsoft.graph.onPasswordUpdateCustomExtensionHandler"; + } + /// + /// 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.OnPasswordUpdateCustomExtensionHandler CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.OnPasswordUpdateCustomExtensionHandler(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "configuration", n => { Configuration = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.CustomExtensionOverwriteConfiguration.CreateFromDiscriminatorValue); } }, + { "customExtension", n => { CustomExtension = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.OnPasswordUpdateCustomExtension.CreateFromDiscriminatorValue); } }, + { "expirationDateTime", n => { ExpirationDateTime = n.GetDateTimeOffsetValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteObjectValue("configuration", Configuration); + writer.WriteObjectValue("customExtension", CustomExtension); + writer.WriteDateTimeOffsetValue("expirationDateTime", ExpirationDateTime); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/OnPasswordUpdateHandler.cs b/src/Microsoft.Graph/Generated/Models/OnPasswordUpdateHandler.cs new file mode 100644 index 000000000000..f4a6d8bafb4c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/OnPasswordUpdateHandler.cs @@ -0,0 +1,86 @@ +// +#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 OnPasswordUpdateHandler : 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 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 OnPasswordUpdateHandler() + { + 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.OnPasswordUpdateHandler CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.onPasswordUpdateCustomExtensionHandler" => new global::Microsoft.Graph.Beta.Models.OnPasswordUpdateCustomExtensionHandler(), + _ => new global::Microsoft.Graph.Beta.Models.OnPasswordUpdateHandler(), + }; + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "@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) + { + if(ReferenceEquals(writer, null)) 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/OnPasswordUpdateListener.cs b/src/Microsoft.Graph/Generated/Models/OnPasswordUpdateListener.cs new file mode 100644 index 000000000000..4ffa9c88e21b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/OnPasswordUpdateListener.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 OnPasswordUpdateListener : global::Microsoft.Graph.Beta.Models.AuthenticationEventListener, IParsable + #pragma warning restore CS1591 + { + /// Configuration for the handler to invoke when this listener is triggered. This is typically an onPasswordUpdateCustomExtensionHandler. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.OnPasswordUpdateHandler? Handler + { + get { return BackingStore?.Get("handler"); } + set { BackingStore?.Set("handler", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.OnPasswordUpdateHandler Handler + { + get { return BackingStore?.Get("handler"); } + set { BackingStore?.Set("handler", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public OnPasswordUpdateListener() : base() + { + OdataType = "#microsoft.graph.onPasswordUpdateListener"; + } + /// + /// 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.OnPasswordUpdateListener CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.OnPasswordUpdateListener(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "handler", n => { Handler = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.OnPasswordUpdateHandler.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteObjectValue("handler", Handler); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/PasswordCredentialConfiguration.cs b/src/Microsoft.Graph/Generated/Models/PasswordCredentialConfiguration.cs index d565353f4eb0..bb0e19669ee1 100644 --- a/src/Microsoft.Graph/Generated/Models/PasswordCredentialConfiguration.cs +++ b/src/Microsoft.Graph/Generated/Models/PasswordCredentialConfiguration.cs @@ -71,7 +71,7 @@ public DateTimeOffset? RestrictForAppsCreatedAfterDateTime get { return BackingStore?.Get("restrictionType"); } set { BackingStore?.Set("restrictionType", value); } } - /// Indicates whether the restriction is evaluated. The possible values are: enabled, disabled, unknownFutureValue. If enabled, the restriction is evaluated. If disabled, the restriction isn't evaluated or enforced. + /// Indicates whether the restriction is evaluated. The possible values are: enabled, disabled, audit, unknownFutureValue. If enabled, the restriction is evaluated and enforced. If disabled, the restriction isn't evaluated or enforced. If audit, the restriction is evaluated but not enforced. public global::Microsoft.Graph.Beta.Models.AppManagementRestrictionState? State { get { return BackingStore?.Get("state"); } diff --git a/src/Microsoft.Graph/Generated/Models/PolicyLocationAgent.cs b/src/Microsoft.Graph/Generated/Models/PolicyLocationAgent.cs index 7f1da536d149..3139ff87bb20 100644 --- a/src/Microsoft.Graph/Generated/Models/PolicyLocationAgent.cs +++ b/src/Microsoft.Graph/Generated/Models/PolicyLocationAgent.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Beta.Models public partial class PolicyLocationAgent : global::Microsoft.Graph.Beta.Models.PolicyLocationApplication, IParsable #pragma warning restore CS1591 { - /// The agentMetadata property + /// Metadata used for agent policy scoping and evaluation. Optional. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.AgentMetadata? AgentMetadata diff --git a/src/Microsoft.Graph/Generated/Models/PrivilegedAccessRoot.cs b/src/Microsoft.Graph/Generated/Models/PrivilegedAccessRoot.cs index 9354ac09e9aa..18be8c62ec36 100644 --- a/src/Microsoft.Graph/Generated/Models/PrivilegedAccessRoot.cs +++ b/src/Microsoft.Graph/Generated/Models/PrivilegedAccessRoot.cs @@ -12,6 +12,22 @@ namespace Microsoft.Graph.Beta.Models public partial class PrivilegedAccessRoot : global::Microsoft.Graph.Beta.Models.Entity, IParsable #pragma warning restore CS1591 { + /// The custom extensions configured for PIM role management operations. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? CustomExtensions + { + get { return BackingStore?.Get?>("customExtensions"); } + set { BackingStore?.Set("customExtensions", value); } + } +#nullable restore +#else + public List CustomExtensions + { + get { return BackingStore?.Get>("customExtensions"); } + set { BackingStore?.Set("customExtensions", value); } + } +#endif /// A group that's governed through Privileged Identity Management (PIM). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -46,6 +62,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { + { "customExtensions", n => { CustomExtensions = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.RoleManagementCustomCalloutExtension.CreateFromDiscriminatorValue)?.AsList(); } }, { "group", n => { Group = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.PrivilegedAccessGroup.CreateFromDiscriminatorValue); } }, }; } @@ -57,6 +74,7 @@ public override void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); + writer.WriteCollectionOfObjectValues("customExtensions", CustomExtensions); writer.WriteObjectValue("group", Group); } } diff --git a/src/Microsoft.Graph/Generated/Models/ProcessContentMetadataBase.cs b/src/Microsoft.Graph/Generated/Models/ProcessContentMetadataBase.cs index 80e81f0cffd1..8abf730e3a11 100644 --- a/src/Microsoft.Graph/Generated/Models/ProcessContentMetadataBase.cs +++ b/src/Microsoft.Graph/Generated/Models/ProcessContentMetadataBase.cs @@ -130,6 +130,22 @@ public string OdataType get { return BackingStore?.Get("@odata.type"); } set { BackingStore?.Set("@odata.type", value); } } +#endif + /// Caller-supplied sensitivity labels describing the content. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? SensitivityLabels + { + get { return BackingStore?.Get?>("sensitivityLabels"); } + set { BackingStore?.Set("sensitivityLabels", value); } + } +#nullable restore +#else + public List SensitivityLabels + { + get { return BackingStore?.Get>("sensitivityLabels"); } + set { BackingStore?.Set("sensitivityLabels", value); } + } #endif /// A sequence number indicating the order in which content was generated or should be processed, required when correlationId is used. public long? SequenceNumber @@ -181,6 +197,7 @@ public virtual IDictionary> GetFieldDeserializers() { "modifiedDateTime", n => { ModifiedDateTime = n.GetDateTimeOffsetValue(); } }, { "name", n => { Name = n.GetStringValue(); } }, { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "sensitivityLabels", n => { SensitivityLabels = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.CurrentLabel.CreateFromDiscriminatorValue)?.AsList(); } }, { "sequenceNumber", n => { SequenceNumber = n.GetLongValue(); } }, }; } @@ -201,6 +218,7 @@ public virtual void Serialize(ISerializationWriter writer) writer.WriteDateTimeOffsetValue("modifiedDateTime", ModifiedDateTime); writer.WriteStringValue("name", Name); writer.WriteStringValue("@odata.type", OdataType); + writer.WriteCollectionOfObjectValues("sensitivityLabels", SensitivityLabels); writer.WriteLongValue("sequenceNumber", SequenceNumber); writer.WriteAdditionalData(AdditionalData); } diff --git a/src/Microsoft.Graph/Generated/Models/ProcessContentRequest.cs b/src/Microsoft.Graph/Generated/Models/ProcessContentRequest.cs index bc1d816d0d56..f69f7f128b2a 100644 --- a/src/Microsoft.Graph/Generated/Models/ProcessContentRequest.cs +++ b/src/Microsoft.Graph/Generated/Models/ProcessContentRequest.cs @@ -37,7 +37,7 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// A collection of content entries to be processed. Each entry contains the content itself and its metadata. Use conversation metadata for content like prompts and responses and file metadata for files. For the ContentActivity API only, use content activity metadata for DLP enforcement results or evaluation incomplete activity metadata when policy evaluation couldn't be completed. The ContentActivity-specific types aren't supported by the processContent or processContentAsync APIs. Required. + /// The content entries to process. Use processConversationMetadata for prompts and responses and processFileMetadata for files. For the ContentActivity API only, use contentActivityMetadata for DLP enforcement results or evaluationIncompleteActivityMetadata when policy evaluation couldn't be completed. The ContentActivity-specific types aren't supported by the processContent or processContentAsync APIs. Required. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ContentEntries @@ -133,7 +133,7 @@ public string OdataType set { BackingStore?.Set("@odata.type", value); } } #endif - /// Metadata about the protected application making the request. Required. + /// Metadata about the protected application. For an agent request, applicationLocation must be a policyLocationAgent. Required for agent requests; otherwise optional. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.ProtectedApplicationMetadata? ProtectedAppMetadata diff --git a/src/Microsoft.Graph/Generated/Models/ProtectedApplicationMetadata.cs b/src/Microsoft.Graph/Generated/Models/ProtectedApplicationMetadata.cs index 9c58b047de35..3ed437243d21 100644 --- a/src/Microsoft.Graph/Generated/Models/ProtectedApplicationMetadata.cs +++ b/src/Microsoft.Graph/Generated/Models/ProtectedApplicationMetadata.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Beta.Models public partial class ProtectedApplicationMetadata : global::Microsoft.Graph.Beta.Models.IntegratedApplicationMetadata, IParsable #pragma warning restore CS1591 { - /// The location of the application being protected. For Agent-to-Tool (A2T) scenarios, this represents the tool receiving the content. Required. + /// The location that identifies the protected application. For agent evaluation, use policyLocationAgent. Optional. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.PolicyLocation? ApplicationLocation diff --git a/src/Microsoft.Graph/Generated/Models/RestoreSessionBase.cs b/src/Microsoft.Graph/Generated/Models/RestoreSessionBase.cs index 35aad7783b3a..b59a90f908fc 100644 --- a/src/Microsoft.Graph/Generated/Models/RestoreSessionBase.cs +++ b/src/Microsoft.Graph/Generated/Models/RestoreSessionBase.cs @@ -78,7 +78,7 @@ public DateTimeOffset? LastModifiedDateTime get { return BackingStore?.Get("lastModifiedDateTime"); } set { BackingStore?.Set("lastModifiedDateTime", value); } } - /// The identifier of the protection policy that scopes the restore session. When supplied during create or update, the service validates that the referenced protection units belong to the specified policy. + /// The identifier of the protection policy that scopes the restore session. When supplied during creation or update, the service validates that the referenced protection units belong to the specified policy. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? PolicyId diff --git a/src/Microsoft.Graph/Generated/Models/RestoreTaskActivityLog.cs b/src/Microsoft.Graph/Generated/Models/RestoreTaskActivityLog.cs index da1931aeaf15..17538b181476 100644 --- a/src/Microsoft.Graph/Generated/Models/RestoreTaskActivityLog.cs +++ b/src/Microsoft.Graph/Generated/Models/RestoreTaskActivityLog.cs @@ -40,6 +40,12 @@ public DateTimeOffset? RestoreCompletionDateTime get { return BackingStore?.Get("restoreCompletionDateTime"); } set { BackingStore?.Set("restoreCompletionDateTime", value); } } + /// Indicates whether the restore job is standard, bulk, or granular. The possible values are: standard, bulk, unknownFutureValue, granular. Use the Prefer: include-unknown-enum-members request header to get the following value from this evolvable enum: granular. + public global::Microsoft.Graph.Beta.Models.RestoreJobType? RestoreJobType + { + get { return BackingStore?.Get("restoreJobType"); } + set { BackingStore?.Set("restoreJobType", value); } + } /// The unique identifier of the restore session associated with this activity log. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -62,12 +68,6 @@ public string RestoreSessionId get { return BackingStore?.Get("restoreSessionStatus"); } set { BackingStore?.Set("restoreSessionStatus", value); } } - /// The tags property - public global::Microsoft.Graph.Beta.Models.RestorePointTags? Tags - { - get { return BackingStore?.Get("tags"); } - set { BackingStore?.Set("tags", value); } - } /// /// Instantiates a new and sets the default values. /// @@ -96,9 +96,9 @@ public override IDictionary> GetFieldDeserializers() { "destinationType", n => { DestinationType = n.GetEnumValue(); } }, { "restoreArtifactDetails", n => { RestoreArtifactDetails = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.RestoreArtifactDetails.CreateFromDiscriminatorValue); } }, { "restoreCompletionDateTime", n => { RestoreCompletionDateTime = n.GetDateTimeOffsetValue(); } }, + { "restoreJobType", n => { RestoreJobType = n.GetEnumValue(); } }, { "restoreSessionId", n => { RestoreSessionId = n.GetStringValue(); } }, { "restoreSessionStatus", n => { RestoreSessionStatus = n.GetEnumValue(); } }, - { "tags", n => { Tags = n.GetEnumValue(); } }, }; } /// @@ -112,9 +112,9 @@ public override void Serialize(ISerializationWriter writer) writer.WriteEnumValue("destinationType", DestinationType); writer.WriteObjectValue("restoreArtifactDetails", RestoreArtifactDetails); writer.WriteDateTimeOffsetValue("restoreCompletionDateTime", RestoreCompletionDateTime); + writer.WriteEnumValue("restoreJobType", RestoreJobType); writer.WriteStringValue("restoreSessionId", RestoreSessionId); writer.WriteEnumValue("restoreSessionStatus", RestoreSessionStatus); - writer.WriteEnumValue("tags", Tags); } } } diff --git a/src/Microsoft.Graph/Generated/Models/RiskAlert.cs b/src/Microsoft.Graph/Generated/Models/RiskAlert.cs index 7ccbcea545d8..9f74f6d93bc1 100644 --- a/src/Microsoft.Graph/Generated/Models/RiskAlert.cs +++ b/src/Microsoft.Graph/Generated/Models/RiskAlert.cs @@ -91,6 +91,22 @@ public string ProviderAlertId get { return BackingStore?.Get("severity"); } set { BackingStore?.Set("severity", value); } } + /// The source property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Source + { + get { return BackingStore?.Get("source"); } + set { BackingStore?.Set("source", value); } + } +#nullable restore +#else + public string Source + { + get { return BackingStore?.Get("source"); } + set { BackingStore?.Set("source", value); } + } +#endif /// /// Instantiates a new and sets the default values. /// @@ -122,6 +138,7 @@ public virtual IDictionary> GetFieldDeserializers() { "@odata.type", n => { OdataType = n.GetStringValue(); } }, { "providerAlertId", n => { ProviderAlertId = n.GetStringValue(); } }, { "severity", n => { Severity = n.GetEnumValue(); } }, + { "source", n => { Source = n.GetStringValue(); } }, }; } /// @@ -136,6 +153,7 @@ public virtual void Serialize(ISerializationWriter writer) writer.WriteStringValue("@odata.type", OdataType); writer.WriteStringValue("providerAlertId", ProviderAlertId); writer.WriteEnumValue("severity", Severity); + writer.WriteStringValue("source", Source); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Models/RoleManagementCustomCalloutExtension.cs b/src/Microsoft.Graph/Generated/Models/RoleManagementCustomCalloutExtension.cs new file mode 100644 index 000000000000..cba9c27533d1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/RoleManagementCustomCalloutExtension.cs @@ -0,0 +1,95 @@ +// +#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 RoleManagementCustomCalloutExtension : global::Microsoft.Graph.Beta.Models.CustomCalloutExtension, IParsable + #pragma warning restore CS1591 + { + /// The custom attribute names to include in the callout payload. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? CustomAttributes + { + get { return BackingStore?.Get?>("customAttributes"); } + set { BackingStore?.Set("customAttributes", value); } + } +#nullable restore +#else + public List CustomAttributes + { + get { return BackingStore?.Get>("customAttributes"); } + set { BackingStore?.Set("customAttributes", value); } + } +#endif + /// Indicates whether the custom extension is enabled. + public bool? IsEnabled + { + get { return BackingStore?.Get("isEnabled"); } + set { BackingStore?.Set("isEnabled", value); } + } + /// The resourceType property + public global::Microsoft.Graph.Beta.Models.CustomExtensionResourceType? ResourceType + { + get { return BackingStore?.Get("resourceType"); } + set { BackingStore?.Set("resourceType", value); } + } + /// The type property + public global::Microsoft.Graph.Beta.Models.CustomCalloutExtensionType? Type + { + get { return BackingStore?.Get("type"); } + set { BackingStore?.Set("type", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public RoleManagementCustomCalloutExtension() : base() + { + OdataType = "#microsoft.graph.roleManagementCustomCalloutExtension"; + } + /// + /// 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.RoleManagementCustomCalloutExtension CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.RoleManagementCustomCalloutExtension(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "customAttributes", n => { CustomAttributes = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "isEnabled", n => { IsEnabled = n.GetBoolValue(); } }, + { "resourceType", n => { ResourceType = n.GetEnumValue(); } }, + { "type", n => { Type = n.GetEnumValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfPrimitiveValues("customAttributes", CustomAttributes); + writer.WriteBoolValue("isEnabled", IsEnabled); + writer.WriteEnumValue("resourceType", ResourceType); + writer.WriteEnumValue("type", Type); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/RoleManagementCustomCalloutExtensionCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/RoleManagementCustomCalloutExtensionCollectionResponse.cs new file mode 100644 index 000000000000..bcb7be7e4c1b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/RoleManagementCustomCalloutExtensionCollectionResponse.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 RoleManagementCustomCalloutExtensionCollectionResponse : 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.RoleManagementCustomCalloutExtensionCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.RoleManagementCustomCalloutExtensionCollectionResponse(); + } + /// + /// 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.RoleManagementCustomCalloutExtension.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/AlertTemplate.cs b/src/Microsoft.Graph/Generated/Models/Security/AlertTemplate.cs index 6e44b264b52c..6aca2fcf2ca3 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/AlertTemplate.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/AlertTemplate.cs @@ -85,6 +85,12 @@ public string Description set { BackingStore?.Set("entityMappings", value); } } #endif + /// The eventGroupingKind property + public global::Microsoft.Graph.Beta.Models.Security.EventGroupingKind? EventGroupingKind + { + get { return BackingStore?.Get("eventGroupingKind"); } + set { BackingStore?.Set("eventGroupingKind", value); } + } /// Indicates the impacted assets for the alert triggered by the custom detection rule. Deprecated. Use entityMappings instead. This property will be removed from this resource on 2026-10-01. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -217,6 +223,7 @@ public virtual IDictionary> GetFieldDeserializers() { "customDetails", n => { CustomDetails = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.Security.AlertCustomDetails.CreateFromDiscriminatorValue); } }, { "description", n => { Description = n.GetStringValue(); } }, { "entityMappings", n => { EntityMappings = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.Security.EntityMappingConfiguration.CreateFromDiscriminatorValue); } }, + { "eventGroupingKind", n => { EventGroupingKind = n.GetEnumValue(); } }, { "impactedAssets", n => { ImpactedAssets = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.Security.ImpactedAsset.CreateFromDiscriminatorValue)?.AsList(); } }, { "mitreTechniques", n => { MitreTechniques = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, { "@odata.type", n => { OdataType = n.GetStringValue(); } }, @@ -237,6 +244,7 @@ public virtual void Serialize(ISerializationWriter writer) writer.WriteObjectValue("customDetails", CustomDetails); writer.WriteStringValue("description", Description); writer.WriteObjectValue("entityMappings", EntityMappings); + writer.WriteEnumValue("eventGroupingKind", EventGroupingKind); writer.WriteCollectionOfObjectValues("impactedAssets", ImpactedAssets); writer.WriteCollectionOfPrimitiveValues("mitreTechniques", MitreTechniques); writer.WriteStringValue("@odata.type", OdataType); diff --git a/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/Case.cs b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/Case.cs index d92ca409436a..021587c37f8d 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/Case.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/Case.cs @@ -92,7 +92,7 @@ public string DisplayName set { BackingStore?.Set("relations", value); } } #endif - /// A denormalized, read-only collection of SLA (service level agreement) policy status entries for the case. Each entry represents one SLA policy applied to the case, including its current status and breach target time. Computed by the service; any value supplied in a create or update request is silently ignored. Supports $filter using the any() lambda operator only, for example, $filter=slaPolicies/any(p: p/status eq 'breached'). The all() lambda operator and other collection functions aren't supported. Doesn't support $orderby. + /// A read-only collection of SLA (service level agreement) policy status entries for the case. Each entry contains the policy's current status and breach target time. Computed by the service. Supports $filter using the any() lambda operator only, for example, $filter=slaPolicies/any(p: p/status eq 'breached'). The all() lambda operator and other collection functions aren't supported. Doesn't support $orderby. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? SlaPolicies diff --git a/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/CaseManagementEntity.cs b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/CaseManagementEntity.cs index 884546f26c54..9688fa1f2f6e 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/CaseManagementEntity.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/CaseManagementEntity.cs @@ -78,6 +78,7 @@ public DateTimeOffset? LastModifiedDateTime "#microsoft.graph.security.caseManagement.incidentRelation" => new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.IncidentRelation(), "#microsoft.graph.security.caseManagement.recommendationRelation" => new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.RecommendationRelation(), "#microsoft.graph.security.caseManagement.relation" => new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.Relation(), + "#microsoft.graph.security.caseManagement.slaPolicyDefinition" => new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.SlaPolicyDefinition(), "#microsoft.graph.security.caseManagement.task" => new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.TaskObject(), "#microsoft.graph.security.caseManagement.workspaceIndicatorRelation" => new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.WorkspaceIndicatorRelation(), _ => new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.CaseManagementEntity(), diff --git a/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/CaseTypeConfiguration.cs b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/CaseTypeConfiguration.cs index a9e498d6431c..8c1bcba14bd0 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/CaseTypeConfiguration.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/CaseTypeConfiguration.cs @@ -59,6 +59,22 @@ public string DisplayName get { return BackingStore?.Get("displayName"); } set { BackingStore?.Set("displayName", value); } } +#endif + /// The contained SLA policy definitions configured for this case type. Supports $filter and $orderby on createdBy, createdDateTime, description, displayName, id, isActive, lastModifiedBy, and lastModifiedDateTime on the collection endpoint. For information about supported query parameters, see List slaPolicies. Also supports $count, $select, $skip, and $top on the collection endpoint. Supports $expand=slaPolicies when getting a case type configuration. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? SlaPolicies + { + get { return BackingStore?.Get?>("slaPolicies"); } + set { BackingStore?.Set("slaPolicies", value); } + } +#nullable restore +#else + public List SlaPolicies + { + get { return BackingStore?.Get>("slaPolicies"); } + set { BackingStore?.Set("slaPolicies", value); } + } #endif /// The contained top-level statuses that a case of this type can be set to. Read-only. Supports $count, $expand, $filter, $orderby, $select, $skip, and $top. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -97,6 +113,7 @@ public override IDictionary> GetFieldDeserializers() { "customFields", n => { CustomFields = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.Security.CaseManagement.CustomFieldDefinition.CreateFromDiscriminatorValue)?.AsList(); } }, { "defaultStatusId", n => { DefaultStatusId = n.GetStringValue(); } }, { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "slaPolicies", n => { SlaPolicies = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.Security.CaseManagement.SlaPolicyDefinition.CreateFromDiscriminatorValue)?.AsList(); } }, { "statuses", n => { Statuses = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.Security.CaseManagement.StatusDefinition.CreateFromDiscriminatorValue)?.AsList(); } }, }; } @@ -111,6 +128,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteCollectionOfObjectValues("customFields", CustomFields); writer.WriteStringValue("defaultStatusId", DefaultStatusId); writer.WriteStringValue("displayName", DisplayName); + writer.WriteCollectionOfObjectValues("slaPolicies", SlaPolicies); writer.WriteCollectionOfObjectValues("statuses", Statuses); } } diff --git a/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/Comment.cs b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/Comment.cs index ab5fff1e8aba..3a0bd59c3f8b 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/Comment.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/Comment.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Beta.Models.Security.CaseManagement public partial class Comment : global::Microsoft.Graph.Beta.Models.Security.CaseManagement.Activity, IParsable #pragma warning restore CS1591 { - /// The comment body. Supports $filter. + /// The comment body. The maximum length is 1,000 characters for incident cases and 5,000 characters for generic cases. Supports $filter. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Message diff --git a/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/SlaPolicyCondition.cs b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/SlaPolicyCondition.cs new file mode 100644 index 000000000000..2ffefd474dee --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/SlaPolicyCondition.cs @@ -0,0 +1,97 @@ +// +#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.Security.CaseManagement +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class SlaPolicyCondition : global::Microsoft.Graph.Beta.Models.Security.CaseManagement.SlaPolicyConditionBase, IParsable + #pragma warning restore CS1591 + { + /// The operator property + public global::Microsoft.Graph.Beta.Models.Security.CaseManagement.SlaPolicyConditionOperator? Operator + { + get { return BackingStore?.Get("operator"); } + set { BackingStore?.Set("operator", value); } + } + /// The name of the case property to evaluate, such as priority. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Property + { + get { return BackingStore?.Get("property"); } + set { BackingStore?.Set("property", value); } + } +#nullable restore +#else + public string Property + { + get { return BackingStore?.Get("property"); } + set { BackingStore?.Set("property", value); } + } +#endif + /// The comparison values for the condition. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Values + { + get { return BackingStore?.Get?>("values"); } + set { BackingStore?.Set("values", value); } + } +#nullable restore +#else + public List Values + { + get { return BackingStore?.Get>("values"); } + set { BackingStore?.Set("values", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public SlaPolicyCondition() : base() + { + OdataType = "#microsoft.graph.security.caseManagement.slaPolicyCondition"; + } + /// + /// 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.Security.CaseManagement.SlaPolicyCondition CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.SlaPolicyCondition(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "operator", n => { Operator = n.GetEnumValue(); } }, + { "property", n => { Property = n.GetStringValue(); } }, + { "values", n => { Values = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteEnumValue("operator", Operator); + writer.WriteStringValue("property", Property); + writer.WriteCollectionOfPrimitiveValues("values", Values); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/SlaPolicyConditionBase.cs b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/SlaPolicyConditionBase.cs new file mode 100644 index 000000000000..db369252746f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/SlaPolicyConditionBase.cs @@ -0,0 +1,87 @@ +// +#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.Security.CaseManagement +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class SlaPolicyConditionBase : 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 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 SlaPolicyConditionBase() + { + 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.Security.CaseManagement.SlaPolicyConditionBase CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.security.caseManagement.slaPolicyCondition" => new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.SlaPolicyCondition(), + "#microsoft.graph.security.caseManagement.slaPolicyCriteriaBlock" => new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.SlaPolicyCriteriaBlock(), + _ => new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.SlaPolicyConditionBase(), + }; + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "@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) + { + if(ReferenceEquals(writer, null)) 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/Security/CaseManagement/SlaPolicyConditionOperator.cs b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/SlaPolicyConditionOperator.cs new file mode 100644 index 000000000000..00b38face5ac --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/SlaPolicyConditionOperator.cs @@ -0,0 +1,76 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models.Security.CaseManagement +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum SlaPolicyConditionOperator + #pragma warning restore CS1591 + { + [EnumMember(Value = "equals")] + #pragma warning disable CS1591 + Equals, + #pragma warning restore CS1591 + [EnumMember(Value = "notEquals")] + #pragma warning disable CS1591 + NotEquals, + #pragma warning restore CS1591 + [EnumMember(Value = "contains")] + #pragma warning disable CS1591 + Contains, + #pragma warning restore CS1591 + [EnumMember(Value = "doesNotContain")] + #pragma warning disable CS1591 + DoesNotContain, + #pragma warning restore CS1591 + [EnumMember(Value = "isEmpty")] + #pragma warning disable CS1591 + IsEmpty, + #pragma warning restore CS1591 + [EnumMember(Value = "isNotEmpty")] + #pragma warning disable CS1591 + IsNotEmpty, + #pragma warning restore CS1591 + [EnumMember(Value = "changed")] + #pragma warning disable CS1591 + Changed, + #pragma warning restore CS1591 + [EnumMember(Value = "changedTo")] + #pragma warning disable CS1591 + ChangedTo, + #pragma warning restore CS1591 + [EnumMember(Value = "changedFrom")] + #pragma warning disable CS1591 + ChangedFrom, + #pragma warning restore CS1591 + [EnumMember(Value = "isBefore")] + #pragma warning disable CS1591 + IsBefore, + #pragma warning restore CS1591 + [EnumMember(Value = "isAfter")] + #pragma warning disable CS1591 + IsAfter, + #pragma warning restore CS1591 + [EnumMember(Value = "greaterThan")] + #pragma warning disable CS1591 + GreaterThan, + #pragma warning restore CS1591 + [EnumMember(Value = "lessThan")] + #pragma warning disable CS1591 + LessThan, + #pragma warning restore CS1591 + [EnumMember(Value = "anyOf")] + #pragma warning disable CS1591 + AnyOf, + #pragma warning restore CS1591 + [EnumMember(Value = "noneOf")] + #pragma warning disable CS1591 + NoneOf, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/SlaPolicyCriteriaBlock.cs b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/SlaPolicyCriteriaBlock.cs new file mode 100644 index 000000000000..b24f4be7d798 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/SlaPolicyCriteriaBlock.cs @@ -0,0 +1,79 @@ +// +#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.Security.CaseManagement +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class SlaPolicyCriteriaBlock : global::Microsoft.Graph.Beta.Models.Security.CaseManagement.SlaPolicyConditionBase, IParsable + #pragma warning restore CS1591 + { + /// The leaf conditions or nested groups evaluated by this block. The maximum nesting depth is two. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Conditions + { + get { return BackingStore?.Get?>("conditions"); } + set { BackingStore?.Set("conditions", value); } + } +#nullable restore +#else + public List Conditions + { + get { return BackingStore?.Get>("conditions"); } + set { BackingStore?.Set("conditions", value); } + } +#endif + /// The logicalOperator property + public global::Microsoft.Graph.Beta.Models.Security.CaseManagement.SlaPolicyLogicalOperator? LogicalOperator + { + get { return BackingStore?.Get("logicalOperator"); } + set { BackingStore?.Set("logicalOperator", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public SlaPolicyCriteriaBlock() : base() + { + OdataType = "#microsoft.graph.security.caseManagement.slaPolicyCriteriaBlock"; + } + /// + /// 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.Security.CaseManagement.SlaPolicyCriteriaBlock CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.SlaPolicyCriteriaBlock(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "conditions", n => { Conditions = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.Security.CaseManagement.SlaPolicyConditionBase.CreateFromDiscriminatorValue)?.AsList(); } }, + { "logicalOperator", n => { LogicalOperator = n.GetEnumValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("conditions", Conditions); + writer.WriteEnumValue("logicalOperator", LogicalOperator); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/SlaPolicyDefinition.cs b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/SlaPolicyDefinition.cs new file mode 100644 index 000000000000..ab26c3f8957f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/SlaPolicyDefinition.cs @@ -0,0 +1,187 @@ +// +#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.Security.CaseManagement +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class SlaPolicyDefinition : global::Microsoft.Graph.Beta.Models.Security.CaseManagement.CaseManagementEntity, IParsable + #pragma warning restore CS1591 + { + /// The description of the policy. Maximum length: 5,000 characters. +#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 display name of the policy. Must be unique across the tenant, using a case-insensitive comparison. Maximum length: 150 characters. +#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 condition that removes a case from the policy's scope. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.Security.CaseManagement.SlaPolicyCriteriaBlock? ExitCriteria + { + get { return BackingStore?.Get("exitCriteria"); } + set { BackingStore?.Set("exitCriteria", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.Security.CaseManagement.SlaPolicyCriteriaBlock ExitCriteria + { + get { return BackingStore?.Get("exitCriteria"); } + set { BackingStore?.Set("exitCriteria", value); } + } +#endif + /// Whether the policy is actively evaluated. Inactive policies are excluded from new case evaluations. The default value on creation is true. + public bool? IsActive + { + get { return BackingStore?.Get("isActive"); } + set { BackingStore?.Set("isActive", value); } + } + /// The condition that pauses the timer while a case matches it. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.Security.CaseManagement.SlaPolicyCriteriaBlock? PauseCriteria + { + get { return BackingStore?.Get("pauseCriteria"); } + set { BackingStore?.Set("pauseCriteria", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.Security.CaseManagement.SlaPolicyCriteriaBlock PauseCriteria + { + get { return BackingStore?.Get("pauseCriteria"); } + set { BackingStore?.Set("pauseCriteria", value); } + } +#endif + /// The settings that control whether elapsed time resets when the policy is recalculated. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.Security.CaseManagement.SlaPolicyRecalculateCondition? RecalculateCondition + { + get { return BackingStore?.Get("recalculateCondition"); } + set { BackingStore?.Set("recalculateCondition", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.Security.CaseManagement.SlaPolicyRecalculateCondition RecalculateCondition + { + get { return BackingStore?.Get("recalculateCondition"); } + set { BackingStore?.Set("recalculateCondition", value); } + } +#endif + /// The condition a case must match to enter the policy's scope. When omitted, the policy applies to all cases of its owning case type. The maximum nesting depth is two. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.Security.CaseManagement.SlaPolicyCriteriaBlock? SetCriteria + { + get { return BackingStore?.Get("setCriteria"); } + set { BackingStore?.Set("setCriteria", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.Security.CaseManagement.SlaPolicyCriteriaBlock SetCriteria + { + get { return BackingStore?.Get("setCriteria"); } + set { BackingStore?.Set("setCriteria", value); } + } +#endif + /// The embedded warning and breach timers, evaluated in order, lowest first. Maximum: 15 timers. Exactly one timer must have isDefault set to true. Updating this property replaces the entire collection. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Timers + { + get { return BackingStore?.Get?>("timers"); } + set { BackingStore?.Set("timers", value); } + } +#nullable restore +#else + public List Timers + { + get { return BackingStore?.Get>("timers"); } + set { BackingStore?.Set("timers", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public SlaPolicyDefinition() : base() + { + OdataType = "#microsoft.graph.security.caseManagement.slaPolicyDefinition"; + } + /// + /// 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.Security.CaseManagement.SlaPolicyDefinition CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.SlaPolicyDefinition(); + } + /// + /// 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(); } }, + { "exitCriteria", n => { ExitCriteria = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.Security.CaseManagement.SlaPolicyCriteriaBlock.CreateFromDiscriminatorValue); } }, + { "isActive", n => { IsActive = n.GetBoolValue(); } }, + { "pauseCriteria", n => { PauseCriteria = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.Security.CaseManagement.SlaPolicyCriteriaBlock.CreateFromDiscriminatorValue); } }, + { "recalculateCondition", n => { RecalculateCondition = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.Security.CaseManagement.SlaPolicyRecalculateCondition.CreateFromDiscriminatorValue); } }, + { "setCriteria", n => { SetCriteria = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.Security.CaseManagement.SlaPolicyCriteriaBlock.CreateFromDiscriminatorValue); } }, + { "timers", n => { Timers = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.Security.CaseManagement.SlaPolicyTimer.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteStringValue("description", Description); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteObjectValue("exitCriteria", ExitCriteria); + writer.WriteBoolValue("isActive", IsActive); + writer.WriteObjectValue("pauseCriteria", PauseCriteria); + writer.WriteObjectValue("recalculateCondition", RecalculateCondition); + writer.WriteObjectValue("setCriteria", SetCriteria); + writer.WriteCollectionOfObjectValues("timers", Timers); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/SlaPolicyDefinitionCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/SlaPolicyDefinitionCollectionResponse.cs new file mode 100644 index 000000000000..9415a871f681 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/SlaPolicyDefinitionCollectionResponse.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.Security.CaseManagement +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class SlaPolicyDefinitionCollectionResponse : 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.Security.CaseManagement.SlaPolicyDefinitionCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.SlaPolicyDefinitionCollectionResponse(); + } + /// + /// 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.Security.CaseManagement.SlaPolicyDefinition.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/SlaPolicyLogicalOperator.cs b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/SlaPolicyLogicalOperator.cs new file mode 100644 index 000000000000..bd60457e6ef0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/SlaPolicyLogicalOperator.cs @@ -0,0 +1,24 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models.Security.CaseManagement +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum SlaPolicyLogicalOperator + #pragma warning restore CS1591 + { + [EnumMember(Value = "and")] + #pragma warning disable CS1591 + And, + #pragma warning restore CS1591 + [EnumMember(Value = "or")] + #pragma warning disable CS1591 + Or, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/SlaPolicyRecalculateCondition.cs b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/SlaPolicyRecalculateCondition.cs new file mode 100644 index 000000000000..7133d564aaaf --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/SlaPolicyRecalculateCondition.cs @@ -0,0 +1,89 @@ +// +#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.Security.CaseManagement +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class SlaPolicyRecalculateCondition : 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 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 + /// Whether elapsed time resets when the policy is recalculated, for example, when a case reenters its scope. + public bool? ShouldResetTime + { + get { return BackingStore?.Get("shouldResetTime"); } + set { BackingStore?.Set("shouldResetTime", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public SlaPolicyRecalculateCondition() + { + 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.Security.CaseManagement.SlaPolicyRecalculateCondition CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.SlaPolicyRecalculateCondition(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "shouldResetTime", n => { ShouldResetTime = n.GetBoolValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteBoolValue("shouldResetTime", ShouldResetTime); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/SlaPolicyTimer.cs b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/SlaPolicyTimer.cs new file mode 100644 index 000000000000..db0be63fe34f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/SlaPolicyTimer.cs @@ -0,0 +1,148 @@ +// +#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.Security.CaseManagement +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class SlaPolicyTimer : 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 elapsed time in minutes after which the timer is considered breached. Required when supplying a timer. + public int? BreachThresholdInMinutes + { + get { return BackingStore?.Get("breachThresholdInMinutes"); } + set { BackingStore?.Set("breachThresholdInMinutes", value); } + } + /// The condition that a case must match for this timer to apply. Required when isDefault is false. Omit this property for the default timer. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.Security.CaseManagement.SlaPolicyCriteriaBlock? Filters + { + get { return BackingStore?.Get("filters"); } + set { BackingStore?.Set("filters", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.Security.CaseManagement.SlaPolicyCriteriaBlock Filters + { + get { return BackingStore?.Get("filters"); } + set { BackingStore?.Set("filters", value); } + } +#endif + /// Whether this timer is the fallback when no other timer's filters match. Required when supplying a timer. Exactly one timer per policy must have a value of true. + public bool? IsDefault + { + get { return BackingStore?.Get("isDefault"); } + set { BackingStore?.Set("isDefault", value); } + } + /// 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 evaluation order among the policy's timers, lowest first. Required when supplying a timer. + public int? Order + { + get { return BackingStore?.Get("order"); } + set { BackingStore?.Set("order", value); } + } + /// The server-generated identifier for the timer. Computed on creation and immutable thereafter. Read-only. Omit this property from request bodies. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? PolicyTimerId + { + get { return BackingStore?.Get("policyTimerId"); } + set { BackingStore?.Set("policyTimerId", value); } + } +#nullable restore +#else + public string PolicyTimerId + { + get { return BackingStore?.Get("policyTimerId"); } + set { BackingStore?.Set("policyTimerId", value); } + } +#endif + /// The elapsed time in minutes after which an early warning is raised. + public int? WarningThresholdInMinutes + { + get { return BackingStore?.Get("warningThresholdInMinutes"); } + set { BackingStore?.Set("warningThresholdInMinutes", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public SlaPolicyTimer() + { + 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.Security.CaseManagement.SlaPolicyTimer CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.SlaPolicyTimer(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "breachThresholdInMinutes", n => { BreachThresholdInMinutes = n.GetIntValue(); } }, + { "filters", n => { Filters = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.Security.CaseManagement.SlaPolicyCriteriaBlock.CreateFromDiscriminatorValue); } }, + { "isDefault", n => { IsDefault = n.GetBoolValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "order", n => { Order = n.GetIntValue(); } }, + { "policyTimerId", n => { PolicyTimerId = n.GetStringValue(); } }, + { "warningThresholdInMinutes", n => { WarningThresholdInMinutes = n.GetIntValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteIntValue("breachThresholdInMinutes", BreachThresholdInMinutes); + writer.WriteObjectValue("filters", Filters); + writer.WriteBoolValue("isDefault", IsDefault); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteIntValue("order", Order); + writer.WriteIntValue("warningThresholdInMinutes", WarningThresholdInMinutes); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/EventGroupingKind.cs b/src/Microsoft.Graph/Generated/Models/Security/EventGroupingKind.cs new file mode 100644 index 000000000000..2c9700f1dad6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/EventGroupingKind.cs @@ -0,0 +1,24 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models.Security +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum EventGroupingKind + #pragma warning restore CS1591 + { + [EnumMember(Value = "alertPerEvent")] + #pragma warning disable CS1591 + AlertPerEvent, + #pragma warning restore CS1591 + [EnumMember(Value = "singleAlert")] + #pragma warning disable CS1591 + SingleAlert, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/Security/RuleSchedule.cs b/src/Microsoft.Graph/Generated/Models/Security/RuleSchedule.cs index f64b53ef81aa..7e24d587ff76 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/RuleSchedule.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/RuleSchedule.cs @@ -27,6 +27,12 @@ public TimeSpan? Frequency get { return BackingStore?.Get("frequency"); } set { BackingStore?.Set("frequency", value); } } + /// The lookback property + public TimeSpan? Lookback + { + get { return BackingStore?.Get("lookback"); } + set { BackingStore?.Set("lookback", value); } + } /// Timestamp of the custom detection rule's next scheduled run. Deprecated. This property will be removed from this resource on 2026-10-01. public DateTimeOffset? NextRunDateTime { @@ -92,6 +98,7 @@ public virtual IDictionary> GetFieldDeserializers() return new Dictionary> { { "frequency", n => { Frequency = n.GetTimeSpanValue(); } }, + { "lookback", n => { Lookback = n.GetTimeSpanValue(); } }, { "nextRunDateTime", n => { NextRunDateTime = n.GetDateTimeOffsetValue(); } }, { "@odata.type", n => { OdataType = n.GetStringValue(); } }, { "period", n => { Period = n.GetStringValue(); } }, @@ -105,6 +112,7 @@ public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); writer.WriteTimeSpanValue("frequency", Frequency); + writer.WriteTimeSpanValue("lookback", Lookback); writer.WriteDateTimeOffsetValue("nextRunDateTime", NextRunDateTime); writer.WriteStringValue("@odata.type", OdataType); writer.WriteStringValue("period", Period); diff --git a/src/Microsoft.Graph/Generated/Models/SmsAuthenticationMethodConfiguration.cs b/src/Microsoft.Graph/Generated/Models/SmsAuthenticationMethodConfiguration.cs index b87aa7046d4f..043512009676 100644 --- a/src/Microsoft.Graph/Generated/Models/SmsAuthenticationMethodConfiguration.cs +++ b/src/Microsoft.Graph/Generated/Models/SmsAuthenticationMethodConfiguration.cs @@ -27,6 +27,22 @@ public partial class SmsAuthenticationMethodConfiguration : global::Microsoft.Gr get { return BackingStore?.Get>("includeTargets"); } set { BackingStore?.Set("includeTargets", value); } } +#endif + /// Settings for routing SMS authentication traffic through a telecom provider integration. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.TelecomProviderSettings? TelecomProviderSettings + { + get { return BackingStore?.Get("telecomProviderSettings"); } + set { BackingStore?.Set("telecomProviderSettings", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.TelecomProviderSettings TelecomProviderSettings + { + get { return BackingStore?.Get("telecomProviderSettings"); } + set { BackingStore?.Set("telecomProviderSettings", value); } + } #endif /// /// Instantiates a new and sets the default values. @@ -54,6 +70,7 @@ public override IDictionary> GetFieldDeserializers() return new Dictionary>(base.GetFieldDeserializers()) { { "includeTargets", n => { IncludeTargets = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.SmsAuthenticationMethodTarget.CreateFromDiscriminatorValue)?.AsList(); } }, + { "telecomProviderSettings", n => { TelecomProviderSettings = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.TelecomProviderSettings.CreateFromDiscriminatorValue); } }, }; } /// @@ -65,6 +82,7 @@ public override void Serialize(ISerializationWriter writer) if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); writer.WriteCollectionOfObjectValues("includeTargets", IncludeTargets); + writer.WriteObjectValue("telecomProviderSettings", TelecomProviderSettings); } } } diff --git a/src/Microsoft.Graph/Generated/Models/SubjectSet.cs b/src/Microsoft.Graph/Generated/Models/SubjectSet.cs index fa40cabc6f43..130cd70cc3fd 100644 --- a/src/Microsoft.Graph/Generated/Models/SubjectSet.cs +++ b/src/Microsoft.Graph/Generated/Models/SubjectSet.cs @@ -62,6 +62,7 @@ public SubjectSet() "#microsoft.graph.identityGovernance.allExcludingSpecificObjectsSubjectSet" => new global::Microsoft.Graph.Beta.Models.IdentityGovernance.AllExcludingSpecificObjectsSubjectSet(), "#microsoft.graph.identityGovernance.groupBasedSubjectSet" => new global::Microsoft.Graph.Beta.Models.IdentityGovernance.GroupBasedSubjectSet(), "#microsoft.graph.identityGovernance.ruleBasedSubjectSet" => new global::Microsoft.Graph.Beta.Models.IdentityGovernance.RuleBasedSubjectSet(), + "#microsoft.graph.identityGovernance.selectedAgentBuilderPlatformsSubjectSet" => new global::Microsoft.Graph.Beta.Models.IdentityGovernance.SelectedAgentBuilderPlatformsSubjectSet(), "#microsoft.graph.identityGovernance.selectedObjectsSubjectSet" => new global::Microsoft.Graph.Beta.Models.IdentityGovernance.SelectedObjectsSubjectSet(), _ => new global::Microsoft.Graph.Beta.Models.SubjectSet(), }; diff --git a/src/Microsoft.Graph/Generated/Models/SynchronizationJob.cs b/src/Microsoft.Graph/Generated/Models/SynchronizationJob.cs index 25a007bbbf07..f6bf50fd41d7 100644 --- a/src/Microsoft.Graph/Generated/Models/SynchronizationJob.cs +++ b/src/Microsoft.Graph/Generated/Models/SynchronizationJob.cs @@ -27,6 +27,22 @@ public partial class SynchronizationJob : global::Microsoft.Graph.Beta.Models.En get { return BackingStore?.Get("bulkUpload"); } set { BackingStore?.Set("bulkUpload", value); } } +#endif + /// Connector data store linkage records contained by the job. During public preview, retrieve an individual connection using a known objectId, or delete it to clear its cached linkage. Collection listing isn't supported and returns 400 Bad Request. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ObjectConnections + { + get { return BackingStore?.Get?>("objectConnections"); } + set { BackingStore?.Set("objectConnections", value); } + } +#nullable restore +#else + public List ObjectConnections + { + get { return BackingStore?.Get>("objectConnections"); } + set { BackingStore?.Set("objectConnections", value); } + } #endif /// Schedule used to run the job. Read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -127,6 +143,7 @@ public override IDictionary> GetFieldDeserializers() return new Dictionary>(base.GetFieldDeserializers()) { { "bulkUpload", n => { BulkUpload = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.BulkUpload.CreateFromDiscriminatorValue); } }, + { "objectConnections", n => { ObjectConnections = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ObjectConnection.CreateFromDiscriminatorValue)?.AsList(); } }, { "schedule", n => { Schedule = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.SynchronizationSchedule.CreateFromDiscriminatorValue); } }, { "schema", n => { Schema = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.SynchronizationSchema.CreateFromDiscriminatorValue); } }, { "status", n => { Status = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.SynchronizationStatus.CreateFromDiscriminatorValue); } }, @@ -143,6 +160,7 @@ public override void Serialize(ISerializationWriter writer) if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); writer.WriteObjectValue("bulkUpload", BulkUpload); + writer.WriteCollectionOfObjectValues("objectConnections", ObjectConnections); writer.WriteObjectValue("schedule", Schedule); writer.WriteObjectValue("schema", Schema); writer.WriteObjectValue("status", Status); diff --git a/src/Microsoft.Graph/Generated/Models/TeamworkCustomEmoji.cs b/src/Microsoft.Graph/Generated/Models/TeamworkCustomEmoji.cs index c9067ed2321f..80f4b33e671d 100644 --- a/src/Microsoft.Graph/Generated/Models/TeamworkCustomEmoji.cs +++ b/src/Microsoft.Graph/Generated/Models/TeamworkCustomEmoji.cs @@ -9,25 +9,9 @@ namespace Microsoft.Graph.Beta.Models { [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] #pragma warning disable CS1591 - public partial class TeamworkCustomEmoji : global::Microsoft.Graph.Beta.Models.Entity, IParsable + public partial class TeamworkCustomEmoji : global::Microsoft.Graph.Beta.Models.TeamworkHostedContent, IParsable #pragma warning restore CS1591 { - /// The base64-encoded image content of the emoji. Supported formats include PNG and GIF. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? ContentBytes - { - get { return BackingStore?.Get("contentBytes"); } - set { BackingStore?.Set("contentBytes", value); } - } -#nullable restore -#else - public string ContentBytes - { - get { return BackingStore?.Get("contentBytes"); } - set { BackingStore?.Set("contentBytes", value); } - } -#endif /// The createdBy property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -50,7 +34,7 @@ public DateTimeOffset? CreatedDateTime get { return BackingStore?.Get("createdDateTime"); } set { BackingStore?.Set("createdDateTime", value); } } - /// The unique display name of the custom emoji. Key. Must be unique and must not conflict with existing emoji names. + /// The unique display name of the custom emoji. This property is an alternate key and must not conflict with existing emoji names. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DisplayName @@ -66,6 +50,13 @@ public string DisplayName set { BackingStore?.Set("displayName", value); } } #endif + /// + /// Instantiates a new and sets the default values. + /// + public TeamworkCustomEmoji() : base() + { + OdataType = "#microsoft.graph.teamworkCustomEmoji"; + } /// /// Creates a new instance of the appropriate class based on discriminator value /// @@ -84,7 +75,6 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - { "contentBytes", n => { ContentBytes = n.GetStringValue(); } }, { "createdBy", n => { CreatedBy = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.CustomEmojiFromIdentitySet.CreateFromDiscriminatorValue); } }, { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, { "displayName", n => { DisplayName = n.GetStringValue(); } }, @@ -98,7 +88,6 @@ public override void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); - writer.WriteStringValue("contentBytes", ContentBytes); writer.WriteObjectValue("createdBy", CreatedBy); writer.WriteDateTimeOffsetValue("createdDateTime", CreatedDateTime); writer.WriteStringValue("displayName", DisplayName); diff --git a/src/Microsoft.Graph/Generated/Models/TeamworkHostedContent.cs b/src/Microsoft.Graph/Generated/Models/TeamworkHostedContent.cs index 1b8022bbac53..3fc423aac326 100644 --- a/src/Microsoft.Graph/Generated/Models/TeamworkHostedContent.cs +++ b/src/Microsoft.Graph/Generated/Models/TeamworkHostedContent.cs @@ -56,6 +56,7 @@ public string ContentType return mappingValue switch { "#microsoft.graph.chatMessageHostedContent" => new global::Microsoft.Graph.Beta.Models.ChatMessageHostedContent(), + "#microsoft.graph.teamworkCustomEmoji" => new global::Microsoft.Graph.Beta.Models.TeamworkCustomEmoji(), _ => new global::Microsoft.Graph.Beta.Models.TeamworkHostedContent(), }; } diff --git a/src/Microsoft.Graph/Generated/Models/TelecomProviderSettings.cs b/src/Microsoft.Graph/Generated/Models/TelecomProviderSettings.cs new file mode 100644 index 000000000000..c8535996b6c1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/TelecomProviderSettings.cs @@ -0,0 +1,123 @@ +// +#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 TelecomProviderSettings : 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); } + } + /// The application (client) ID used to authenticate to the telecom provider. + public Guid? AppId + { + get { return BackingStore?.Get("appId"); } + set { BackingStore?.Set("appId", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// true to run the telecom provider integration in evaluation (nonenforcing) mode; otherwise, false. + public bool? IsEvaluationModeEnabled + { + get { return BackingStore?.Get("isEvaluationModeEnabled"); } + set { BackingStore?.Set("isEvaluationModeEnabled", value); } + } + /// The percentage of authentication traffic routed to the telecom provider. Valid values range from 0 through 100. + public int? MigrationPercentage + { + get { return BackingStore?.Get("migrationPercentage"); } + set { BackingStore?.Set("migrationPercentage", value); } + } + /// 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 endpoint URL of the telecom provider integration. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Url + { + get { return BackingStore?.Get("url"); } + set { BackingStore?.Set("url", value); } + } +#nullable restore +#else + public string Url + { + get { return BackingStore?.Get("url"); } + set { BackingStore?.Set("url", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public TelecomProviderSettings() + { + 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.TelecomProviderSettings CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.TelecomProviderSettings(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "appId", n => { AppId = n.GetGuidValue(); } }, + { "isEvaluationModeEnabled", n => { IsEvaluationModeEnabled = n.GetBoolValue(); } }, + { "migrationPercentage", n => { MigrationPercentage = n.GetIntValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "url", n => { Url = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteGuidValue("appId", AppId); + writer.WriteBoolValue("isEvaluationModeEnabled", IsEvaluationModeEnabled); + writer.WriteIntValue("migrationPercentage", MigrationPercentage); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteStringValue("url", Url); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/TodoTaskList.cs b/src/Microsoft.Graph/Generated/Models/TodoTaskList.cs index 2f392b578d35..faccd9a00866 100644 --- a/src/Microsoft.Graph/Generated/Models/TodoTaskList.cs +++ b/src/Microsoft.Graph/Generated/Models/TodoTaskList.cs @@ -56,7 +56,7 @@ public bool? IsShared get { return BackingStore?.Get("isShared"); } set { BackingStore?.Set("isShared", value); } } - /// The collection of single-value extended properties defined for the task list. Read-only. Nullable. + /// The collection of single-value extended properties defined for the task list. Nullable. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? SingleValueExtendedProperties diff --git a/src/Microsoft.Graph/Generated/Models/ToolParticipant.cs b/src/Microsoft.Graph/Generated/Models/ToolParticipant.cs index e05eeae25105..fb74a4c53e96 100644 --- a/src/Microsoft.Graph/Generated/Models/ToolParticipant.cs +++ b/src/Microsoft.Graph/Generated/Models/ToolParticipant.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Beta.Models public partial class ToolParticipant : global::Microsoft.Graph.Beta.Models.InteractionParticipant, IParsable #pragma warning restore CS1591 { - /// The mcpServerId property + /// The stable identifier of the Model Context Protocol (MCP) server that hosts the tool. Optional. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? McpServerId diff --git a/src/Microsoft.Graph/Generated/Models/UnifiedRoleDefinition.cs b/src/Microsoft.Graph/Generated/Models/UnifiedRoleDefinition.cs index 4ae4cf5ed4e8..0c3e0fa3a138 100644 --- a/src/Microsoft.Graph/Generated/Models/UnifiedRoleDefinition.cs +++ b/src/Microsoft.Graph/Generated/Models/UnifiedRoleDefinition.cs @@ -18,6 +18,12 @@ public partial class UnifiedRoleDefinition : global::Microsoft.Graph.Beta.Models get { return BackingStore?.Get("allowedPrincipalTypes"); } set { BackingStore?.Set("allowedPrincipalTypes", value); } } + /// The date and time when the custom role definition was deleted. The value is null for active and restored role definitions. Read-only. + public DateTimeOffset? DeletedDateTime + { + get { return BackingStore?.Get("deletedDateTime"); } + set { BackingStore?.Set("deletedDateTime", value); } + } /// The description for the unifiedRoleDefinition. Read-only when isBuiltIn is true. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -167,6 +173,7 @@ public override IDictionary> GetFieldDeserializers() return new Dictionary>(base.GetFieldDeserializers()) { { "allowedPrincipalTypes", n => { AllowedPrincipalTypes = n.GetEnumValue(); } }, + { "deletedDateTime", n => { DeletedDateTime = n.GetDateTimeOffsetValue(); } }, { "description", n => { Description = n.GetStringValue(); } }, { "displayName", n => { DisplayName = n.GetStringValue(); } }, { "inheritsPermissionsFrom", n => { InheritsPermissionsFrom = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition.CreateFromDiscriminatorValue)?.AsList(); } }, @@ -188,6 +195,7 @@ public override void Serialize(ISerializationWriter writer) if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); writer.WriteEnumValue("allowedPrincipalTypes", AllowedPrincipalTypes); + writer.WriteDateTimeOffsetValue("deletedDateTime", DeletedDateTime); writer.WriteStringValue("description", Description); writer.WriteStringValue("displayName", DisplayName); writer.WriteCollectionOfObjectValues("inheritsPermissionsFrom", InheritsPermissionsFrom); diff --git a/src/Microsoft.Graph/Generated/Models/UnifiedRoleManagementPolicyCustomExtensionRule.cs b/src/Microsoft.Graph/Generated/Models/UnifiedRoleManagementPolicyCustomExtensionRule.cs new file mode 100644 index 000000000000..2c4257f3394c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/UnifiedRoleManagementPolicyCustomExtensionRule.cs @@ -0,0 +1,115 @@ +// +#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 UnifiedRoleManagementPolicyCustomExtensionRule : global::Microsoft.Graph.Beta.Models.UnifiedRoleManagementPolicyRule, IParsable + #pragma warning restore CS1591 + { + /// The custom attributes associated with the policy rule. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? CustomAttributes + { + get { return BackingStore?.Get?>("customAttributes"); } + set { BackingStore?.Set("customAttributes", value); } + } +#nullable restore +#else + public List CustomAttributes + { + get { return BackingStore?.Get>("customAttributes"); } + set { BackingStore?.Set("customAttributes", value); } + } +#endif + /// The unique identifier of the roleManagementCustomCalloutExtension associated with this rule. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? CustomExtensionId + { + get { return BackingStore?.Get("customExtensionId"); } + set { BackingStore?.Set("customExtensionId", value); } + } +#nullable restore +#else + public string CustomExtensionId + { + get { return BackingStore?.Get("customExtensionId"); } + set { BackingStore?.Set("customExtensionId", value); } + } +#endif + /// The display name of the policy rule. Read-only. +#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 + /// Indicates whether the custom extension rule is enabled. + public bool? IsEnabled + { + get { return BackingStore?.Get("isEnabled"); } + set { BackingStore?.Set("isEnabled", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public UnifiedRoleManagementPolicyCustomExtensionRule() : base() + { + OdataType = "#microsoft.graph.unifiedRoleManagementPolicyCustomExtensionRule"; + } + /// + /// 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.UnifiedRoleManagementPolicyCustomExtensionRule CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.UnifiedRoleManagementPolicyCustomExtensionRule(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "customAttributes", n => { CustomAttributes = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "customExtensionId", n => { CustomExtensionId = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "isEnabled", n => { IsEnabled = n.GetBoolValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfPrimitiveValues("customAttributes", CustomAttributes); + writer.WriteStringValue("customExtensionId", CustomExtensionId); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteBoolValue("isEnabled", IsEnabled); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/UnifiedRoleManagementPolicyRule.cs b/src/Microsoft.Graph/Generated/Models/UnifiedRoleManagementPolicyRule.cs index 9dc56d719ba2..aab4607cea31 100644 --- a/src/Microsoft.Graph/Generated/Models/UnifiedRoleManagementPolicyRule.cs +++ b/src/Microsoft.Graph/Generated/Models/UnifiedRoleManagementPolicyRule.cs @@ -41,6 +41,7 @@ public partial class UnifiedRoleManagementPolicyRule : global::Microsoft.Graph.B { "#microsoft.graph.unifiedRoleManagementPolicyApprovalRule" => new global::Microsoft.Graph.Beta.Models.UnifiedRoleManagementPolicyApprovalRule(), "#microsoft.graph.unifiedRoleManagementPolicyAuthenticationContextRule" => new global::Microsoft.Graph.Beta.Models.UnifiedRoleManagementPolicyAuthenticationContextRule(), + "#microsoft.graph.unifiedRoleManagementPolicyCustomExtensionRule" => new global::Microsoft.Graph.Beta.Models.UnifiedRoleManagementPolicyCustomExtensionRule(), "#microsoft.graph.unifiedRoleManagementPolicyEnablementRule" => new global::Microsoft.Graph.Beta.Models.UnifiedRoleManagementPolicyEnablementRule(), "#microsoft.graph.unifiedRoleManagementPolicyExpirationRule" => new global::Microsoft.Graph.Beta.Models.UnifiedRoleManagementPolicyExpirationRule(), "#microsoft.graph.unifiedRoleManagementPolicyNotificationRule" => new global::Microsoft.Graph.Beta.Models.UnifiedRoleManagementPolicyNotificationRule(), diff --git a/src/Microsoft.Graph/Generated/Models/User.cs b/src/Microsoft.Graph/Generated/Models/User.cs index 21a91b272910..37fcb1da9398 100644 --- a/src/Microsoft.Graph/Generated/Models/User.cs +++ b/src/Microsoft.Graph/Generated/Models/User.cs @@ -985,7 +985,7 @@ public DateTimeOffset? HireDate set { BackingStore?.Set("identities", value); } } #endif - /// The identity governance settings for the user, including the approver delegate configuration. Nullable. Returned only on $select. Supports $expand. + /// The identity governance settings for the user. You can get or update the user's approver delegate through the approverDelegate property. Nullable. Returned only on $select. Supports $expand. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.IdentityGovernanceUserSettings? IdentityGovernance diff --git a/src/Microsoft.Graph/Generated/Models/VerifiableCredentialsAuthenticationMethodConfiguration.cs b/src/Microsoft.Graph/Generated/Models/VerifiableCredentialsAuthenticationMethodConfiguration.cs index 13fbf825d468..6cacfc6502c8 100644 --- a/src/Microsoft.Graph/Generated/Models/VerifiableCredentialsAuthenticationMethodConfiguration.cs +++ b/src/Microsoft.Graph/Generated/Models/VerifiableCredentialsAuthenticationMethodConfiguration.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Beta.Models public partial class VerifiableCredentialsAuthenticationMethodConfiguration : global::Microsoft.Graph.Beta.Models.AuthenticationMethodConfiguration, IParsable #pragma warning restore CS1591 { - /// The identityVerificationEventsConfiguration property + /// The optional tenant-level configuration that controls whether identity verification events and credential provenance information are collected and exposed for Verified ID verification. This setting isn't scoped to individual Verified ID profiles. If no configuration is stored or the stored value is null, event collection and exposure are disabled. Omitting this property from a PATCH request leaves its existing value unchanged. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.IdentityVerificationEventsConfiguration? IdentityVerificationEventsConfiguration diff --git a/src/Microsoft.Graph/Generated/Models/VoiceAuthenticationMethodConfiguration.cs b/src/Microsoft.Graph/Generated/Models/VoiceAuthenticationMethodConfiguration.cs index 1d99771315ed..b147ced9ce49 100644 --- a/src/Microsoft.Graph/Generated/Models/VoiceAuthenticationMethodConfiguration.cs +++ b/src/Microsoft.Graph/Generated/Models/VoiceAuthenticationMethodConfiguration.cs @@ -50,6 +50,22 @@ public bool? IsOfficePhoneAllowed get { return BackingStore?.Get("isOfficePhoneAllowed"); } set { BackingStore?.Set("isOfficePhoneAllowed", value); } } + /// Settings for routing voice authentication traffic through a telecom provider integration. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.TelecomProviderSettings? TelecomProviderSettings + { + get { return BackingStore?.Get("telecomProviderSettings"); } + set { BackingStore?.Set("telecomProviderSettings", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.TelecomProviderSettings TelecomProviderSettings + { + get { return BackingStore?.Get("telecomProviderSettings"); } + set { BackingStore?.Set("telecomProviderSettings", value); } + } +#endif /// /// Instantiates a new and sets the default values. /// @@ -78,6 +94,7 @@ public override IDictionary> GetFieldDeserializers() { "callerIdNumber", n => { CallerIdNumber = n.GetStringValue(); } }, { "includeTargets", n => { IncludeTargets = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.VoiceAuthenticationMethodTarget.CreateFromDiscriminatorValue)?.AsList(); } }, { "isOfficePhoneAllowed", n => { IsOfficePhoneAllowed = n.GetBoolValue(); } }, + { "telecomProviderSettings", n => { TelecomProviderSettings = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.TelecomProviderSettings.CreateFromDiscriminatorValue); } }, }; } /// @@ -91,6 +108,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteStringValue("callerIdNumber", CallerIdNumber); writer.WriteCollectionOfObjectValues("includeTargets", IncludeTargets); writer.WriteBoolValue("isOfficePhoneAllowed", IsOfficePhoneAllowed); + writer.WriteObjectValue("telecomProviderSettings", TelecomProviderSettings); } } } diff --git a/src/Microsoft.Graph/Generated/Models/WindowsUpdates/ApplicableCatalog.cs b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/ApplicableCatalog.cs new file mode 100644 index 000000000000..3a18b032ad61 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/ApplicableCatalog.cs @@ -0,0 +1,96 @@ +// +#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.WindowsUpdates +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ApplicableCatalog : global::Microsoft.Graph.Beta.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The associated Windows update catalog entry. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.WindowsUpdates.CatalogEntry? CatalogEntry + { + get { return BackingStore?.Get("catalogEntry"); } + set { BackingStore?.Set("catalogEntry", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.WindowsUpdates.CatalogEntry CatalogEntry + { + get { return BackingStore?.Get("catalogEntry"); } + set { BackingStore?.Set("catalogEntry", value); } + } +#endif + /// The number of devices for which the catalog entry is applicable. Read-only. + public int? DeviceCount + { + get { return BackingStore?.Get("deviceCount"); } + set { BackingStore?.Set("deviceCount", value); } + } + /// The devices for which the catalog entry is applicable. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Devices + { + get { return BackingStore?.Get?>("devices"); } + set { BackingStore?.Set("devices", value); } + } +#nullable restore +#else + public List Devices + { + get { return BackingStore?.Get>("devices"); } + set { BackingStore?.Set("devices", value); } + } +#endif + /// Indicates whether the catalog entry is recommended for at least one applicable device. Read-only. + public bool? HasRecommendedDevice + { + get { return BackingStore?.Get("hasRecommendedDevice"); } + set { BackingStore?.Set("hasRecommendedDevice", value); } + } + /// + /// 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.WindowsUpdates.ApplicableCatalog CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.WindowsUpdates.ApplicableCatalog(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "catalogEntry", n => { CatalogEntry = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.WindowsUpdates.CatalogEntry.CreateFromDiscriminatorValue); } }, + { "deviceCount", n => { DeviceCount = n.GetIntValue(); } }, + { "devices", n => { Devices = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.WindowsUpdates.ApplicableDevice.CreateFromDiscriminatorValue)?.AsList(); } }, + { "hasRecommendedDevice", n => { HasRecommendedDevice = n.GetBoolValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteObjectValue("catalogEntry", CatalogEntry); + writer.WriteCollectionOfObjectValues("devices", Devices); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/WindowsUpdates/ApplicableCatalogCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/ApplicableCatalogCollectionResponse.cs new file mode 100644 index 000000000000..c248b843efc9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/ApplicableCatalogCollectionResponse.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.WindowsUpdates +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ApplicableCatalogCollectionResponse : 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.WindowsUpdates.ApplicableCatalogCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.WindowsUpdates.ApplicableCatalogCollectionResponse(); + } + /// + /// 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.WindowsUpdates.ApplicableCatalog.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/WindowsUpdates/ApplicableCatalogSummary.cs b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/ApplicableCatalogSummary.cs new file mode 100644 index 000000000000..4341edb66c38 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/ApplicableCatalogSummary.cs @@ -0,0 +1,113 @@ +// +#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.WindowsUpdates +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ApplicableCatalogSummary : global::Microsoft.Graph.Beta.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The number of devices included in the summary. Read-only. + public int? AggregatedDeviceCount + { + get { return BackingStore?.Get("aggregatedDeviceCount"); } + set { BackingStore?.Set("aggregatedDeviceCount", value); } + } + /// The devices included in the applicability summary. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? AggregatedDevices + { + get { return BackingStore?.Get?>("aggregatedDevices"); } + set { BackingStore?.Set("aggregatedDevices", value); } + } +#nullable restore +#else + public List AggregatedDevices + { + get { return BackingStore?.Get>("aggregatedDevices"); } + set { BackingStore?.Set("aggregatedDevices", value); } + } +#endif + /// The associated Windows update catalog entry. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.WindowsUpdates.CatalogEntry? CatalogEntry + { + get { return BackingStore?.Get("catalogEntry"); } + set { BackingStore?.Set("catalogEntry", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.WindowsUpdates.CatalogEntry CatalogEntry + { + get { return BackingStore?.Get("catalogEntry"); } + set { BackingStore?.Set("catalogEntry", value); } + } +#endif + /// Indicates whether the catalog entry is recommended for at least one device in the summary. Read-only. + public bool? HasRecommendedDevice + { + get { return BackingStore?.Get("hasRecommendedDevice"); } + set { BackingStore?.Set("hasRecommendedDevice", value); } + } + /// The identifiers of Windows Autopatch policies for which the catalog entry is applicable. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Policies + { + get { return BackingStore?.Get?>("policies"); } + set { BackingStore?.Set("policies", value); } + } +#nullable restore +#else + public List Policies + { + get { return BackingStore?.Get>("policies"); } + set { BackingStore?.Set("policies", 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.WindowsUpdates.ApplicableCatalogSummary CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.WindowsUpdates.ApplicableCatalogSummary(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "aggregatedDeviceCount", n => { AggregatedDeviceCount = n.GetIntValue(); } }, + { "aggregatedDevices", n => { AggregatedDevices = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.WindowsUpdates.ApplicableDevice.CreateFromDiscriminatorValue)?.AsList(); } }, + { "catalogEntry", n => { CatalogEntry = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.WindowsUpdates.CatalogEntry.CreateFromDiscriminatorValue); } }, + { "hasRecommendedDevice", n => { HasRecommendedDevice = n.GetBoolValue(); } }, + { "policies", n => { Policies = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("aggregatedDevices", AggregatedDevices); + writer.WriteObjectValue("catalogEntry", CatalogEntry); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/WindowsUpdates/ApplicableCatalogSummaryCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/ApplicableCatalogSummaryCollectionResponse.cs new file mode 100644 index 000000000000..4858b71ae1a6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/ApplicableCatalogSummaryCollectionResponse.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.WindowsUpdates +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ApplicableCatalogSummaryCollectionResponse : 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.WindowsUpdates.ApplicableCatalogSummaryCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.WindowsUpdates.ApplicableCatalogSummaryCollectionResponse(); + } + /// + /// 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.WindowsUpdates.ApplicableCatalogSummary.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/WindowsUpdates/ApplicableDevice.cs b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/ApplicableDevice.cs new file mode 100644 index 000000000000..6cb5bc74611b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/ApplicableDevice.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.WindowsUpdates +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ApplicableDevice : global::Microsoft.Graph.Beta.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// Indicates whether the catalog entry is recommended for the device. Read-only. + public bool? IsRecommended + { + get { return BackingStore?.Get("isRecommended"); } + set { BackingStore?.Set("isRecommended", value); } + } + /// + /// 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.WindowsUpdates.ApplicableDevice CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.WindowsUpdates.ApplicableDevice(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "isRecommended", n => { IsRecommended = n.GetBoolValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/WindowsUpdates/ApplicableDeviceCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/ApplicableDeviceCollectionResponse.cs new file mode 100644 index 000000000000..9a0e9e715c19 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/ApplicableDeviceCollectionResponse.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.WindowsUpdates +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ApplicableDeviceCollectionResponse : 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.WindowsUpdates.ApplicableDeviceCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.WindowsUpdates.ApplicableDeviceCollectionResponse(); + } + /// + /// 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.WindowsUpdates.ApplicableDevice.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/WindowsUpdates/ApprovalRule.cs b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/ApprovalRule.cs index ed96d56352b6..b2db90cd1dfa 100644 --- a/src/Microsoft.Graph/Generated/Models/WindowsUpdates/ApprovalRule.cs +++ b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/ApprovalRule.cs @@ -62,6 +62,7 @@ public ApprovalRule() var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); return mappingValue switch { + "#microsoft.graph.windowsUpdates.driverUpdateApprovalRule" => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.DriverUpdateApprovalRule(), "#microsoft.graph.windowsUpdates.qualityUpdateApprovalRule" => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.QualityUpdateApprovalRule(), "#microsoft.graph.windowsUpdates.recoveryApprovalRule" => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.RecoveryApprovalRule(), _ => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.ApprovalRule(), diff --git a/src/Microsoft.Graph/Generated/Models/WindowsUpdates/ApprovedBy.cs b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/ApprovedBy.cs new file mode 100644 index 000000000000..461fef3f6ed7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/ApprovedBy.cs @@ -0,0 +1,24 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models.WindowsUpdates +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum ApprovedBy + #pragma warning restore CS1591 + { + [EnumMember(Value = "system")] + #pragma warning disable CS1591 + System, + #pragma warning restore CS1591 + [EnumMember(Value = "user")] + #pragma warning disable CS1591 + User, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/WindowsUpdates/DeviceClientState.cs b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/DeviceClientState.cs new file mode 100644 index 000000000000..689035536f42 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/DeviceClientState.cs @@ -0,0 +1,48 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models.WindowsUpdates +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum DeviceClientState + #pragma warning restore CS1591 + { + [EnumMember(Value = "offering")] + #pragma warning disable CS1591 + Offering, + #pragma warning restore CS1591 + [EnumMember(Value = "onHold")] + #pragma warning disable CS1591 + OnHold, + #pragma warning restore CS1591 + [EnumMember(Value = "installing")] + #pragma warning disable CS1591 + Installing, + #pragma warning restore CS1591 + [EnumMember(Value = "installed")] + #pragma warning disable CS1591 + Installed, + #pragma warning restore CS1591 + [EnumMember(Value = "cancelled")] + #pragma warning disable CS1591 + Cancelled, + #pragma warning restore CS1591 + [EnumMember(Value = "uninstalling")] + #pragma warning disable CS1591 + Uninstalling, + #pragma warning restore CS1591 + [EnumMember(Value = "uninstalled")] + #pragma warning disable CS1591 + Uninstalled, + #pragma warning restore CS1591 + [EnumMember(Value = "notOffering")] + #pragma warning disable CS1591 + NotOffering, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/WindowsUpdates/DeviceClientSubstate.cs b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/DeviceClientSubstate.cs new file mode 100644 index 000000000000..62db14d6f780 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/DeviceClientSubstate.cs @@ -0,0 +1,96 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models.WindowsUpdates +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum DeviceClientSubstate + #pragma warning restore CS1591 + { + [EnumMember(Value = "deferred")] + #pragma warning disable CS1591 + Deferred, + #pragma warning restore CS1591 + [EnumMember(Value = "offerReady")] + #pragma warning disable CS1591 + OfferReady, + #pragma warning restore CS1591 + [EnumMember(Value = "paused")] + #pragma warning disable CS1591 + Paused, + #pragma warning restore CS1591 + [EnumMember(Value = "offerReceived")] + #pragma warning disable CS1591 + OfferReceived, + #pragma warning restore CS1591 + [EnumMember(Value = "downloadStart")] + #pragma warning disable CS1591 + DownloadStart, + #pragma warning restore CS1591 + [EnumMember(Value = "downloadComplete")] + #pragma warning disable CS1591 + DownloadComplete, + #pragma warning restore CS1591 + [EnumMember(Value = "installStart")] + #pragma warning disable CS1591 + InstallStart, + #pragma warning restore CS1591 + [EnumMember(Value = "installComplete")] + #pragma warning disable CS1591 + InstallComplete, + #pragma warning restore CS1591 + [EnumMember(Value = "restartRequired")] + #pragma warning disable CS1591 + RestartRequired, + #pragma warning restore CS1591 + [EnumMember(Value = "restartInitiated")] + #pragma warning disable CS1591 + RestartInitiated, + #pragma warning restore CS1591 + [EnumMember(Value = "restartComplete")] + #pragma warning disable CS1591 + RestartComplete, + #pragma warning restore CS1591 + [EnumMember(Value = "updateInstalled")] + #pragma warning disable CS1591 + UpdateInstalled, + #pragma warning restore CS1591 + [EnumMember(Value = "rollbackComplete")] + #pragma warning disable CS1591 + RollbackComplete, + #pragma warning restore CS1591 + [EnumMember(Value = "userCancelled")] + #pragma warning disable CS1591 + UserCancelled, + #pragma warning restore CS1591 + [EnumMember(Value = "deviceCancelled")] + #pragma warning disable CS1591 + DeviceCancelled, + #pragma warning restore CS1591 + [EnumMember(Value = "uninstall")] + #pragma warning disable CS1591 + Uninstall, + #pragma warning restore CS1591 + [EnumMember(Value = "rollback")] + #pragma warning disable CS1591 + Rollback, + #pragma warning restore CS1591 + [EnumMember(Value = "updateUninstalled")] + #pragma warning disable CS1591 + UpdateUninstalled, + #pragma warning restore CS1591 + [EnumMember(Value = "notSupported")] + #pragma warning disable CS1591 + NotSupported, + #pragma warning restore CS1591 + [EnumMember(Value = "previousUpdateInProgress")] + #pragma warning disable CS1591 + PreviousUpdateInProgress, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/WindowsUpdates/DeviceProfile.cs b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/DeviceProfile.cs new file mode 100644 index 000000000000..b076b1a549f0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/DeviceProfile.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.WindowsUpdates +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DeviceProfile : global::Microsoft.Graph.Beta.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The Microsoft Entra device identifier. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? AzureAdDeviceId + { + get { return BackingStore?.Get("azureAdDeviceId"); } + set { BackingStore?.Set("azureAdDeviceId", value); } + } +#nullable restore +#else + public string AzureAdDeviceId + { + get { return BackingStore?.Get("azureAdDeviceId"); } + set { BackingStore?.Set("azureAdDeviceId", value); } + } +#endif + /// The hardware model of the device. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DeviceModel + { + get { return BackingStore?.Get("deviceModel"); } + set { BackingStore?.Set("deviceModel", value); } + } +#nullable restore +#else + public string DeviceModel + { + get { return BackingStore?.Get("deviceModel"); } + set { BackingStore?.Set("deviceModel", value); } + } +#endif + /// The device name. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DeviceName + { + get { return BackingStore?.Get("deviceName"); } + set { BackingStore?.Set("deviceName", value); } + } +#nullable restore +#else + public string DeviceName + { + get { return BackingStore?.Get("deviceName"); } + set { BackingStore?.Set("deviceName", value); } + } +#endif + /// The hotpatchReadiness property + public global::Microsoft.Graph.Beta.Models.WindowsUpdates.HotpatchReadiness? HotpatchReadiness + { + get { return BackingStore?.Get("hotpatchReadiness"); } + set { BackingStore?.Set("hotpatchReadiness", value); } + } + /// The Windows build installed on the device. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OsBuild + { + get { return BackingStore?.Get("osBuild"); } + set { BackingStore?.Set("osBuild", value); } + } +#nullable restore +#else + public string OsBuild + { + get { return BackingStore?.Get("osBuild"); } + set { BackingStore?.Set("osBuild", value); } + } +#endif + /// The osStatus property + public global::Microsoft.Graph.Beta.Models.WindowsUpdates.OsStatus? OsStatus + { + get { return BackingStore?.Get("osStatus"); } + set { BackingStore?.Set("osStatus", value); } + } + /// The Windows version installed on the device. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OsVersion + { + get { return BackingStore?.Get("osVersion"); } + set { BackingStore?.Set("osVersion", value); } + } +#nullable restore +#else + public string OsVersion + { + get { return BackingStore?.Get("osVersion"); } + set { BackingStore?.Set("osVersion", value); } + } +#endif + /// The device serial number. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? SerialNumber + { + get { return BackingStore?.Get("serialNumber"); } + set { BackingStore?.Set("serialNumber", value); } + } +#nullable restore +#else + public string SerialNumber + { + get { return BackingStore?.Get("serialNumber"); } + set { BackingStore?.Set("serialNumber", 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.WindowsUpdates.DeviceProfile CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.WindowsUpdates.DeviceProfile(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "azureAdDeviceId", n => { AzureAdDeviceId = n.GetStringValue(); } }, + { "deviceModel", n => { DeviceModel = n.GetStringValue(); } }, + { "deviceName", n => { DeviceName = n.GetStringValue(); } }, + { "hotpatchReadiness", n => { HotpatchReadiness = n.GetEnumValue(); } }, + { "osBuild", n => { OsBuild = n.GetStringValue(); } }, + { "osStatus", n => { OsStatus = n.GetEnumValue(); } }, + { "osVersion", n => { OsVersion = n.GetStringValue(); } }, + { "serialNumber", n => { SerialNumber = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteEnumValue("hotpatchReadiness", HotpatchReadiness); + writer.WriteEnumValue("osStatus", OsStatus); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/WindowsUpdates/DeviceProfileCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/DeviceProfileCollectionResponse.cs new file mode 100644 index 000000000000..9b45baeceb02 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/DeviceProfileCollectionResponse.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.WindowsUpdates +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DeviceProfileCollectionResponse : 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.WindowsUpdates.DeviceProfileCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.WindowsUpdates.DeviceProfileCollectionResponse(); + } + /// + /// 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.WindowsUpdates.DeviceProfile.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/WindowsUpdates/DeviceServiceState.cs b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/DeviceServiceState.cs new file mode 100644 index 000000000000..0bfc64d917af --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/DeviceServiceState.cs @@ -0,0 +1,40 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models.WindowsUpdates +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum DeviceServiceState + #pragma warning restore CS1591 + { + [EnumMember(Value = "unknown")] + #pragma warning disable CS1591 + Unknown, + #pragma warning restore CS1591 + [EnumMember(Value = "pending")] + #pragma warning disable CS1591 + Pending, + #pragma warning restore CS1591 + [EnumMember(Value = "offering")] + #pragma warning disable CS1591 + Offering, + #pragma warning restore CS1591 + [EnumMember(Value = "onHold")] + #pragma warning disable CS1591 + OnHold, + #pragma warning restore CS1591 + [EnumMember(Value = "cancelled")] + #pragma warning disable CS1591 + Cancelled, + #pragma warning restore CS1591 + [EnumMember(Value = "notOffering")] + #pragma warning disable CS1591 + NotOffering, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/WindowsUpdates/DeviceServiceSubstate.cs b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/DeviceServiceSubstate.cs new file mode 100644 index 000000000000..e88695154e52 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/DeviceServiceSubstate.cs @@ -0,0 +1,44 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models.WindowsUpdates +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum DeviceServiceSubstate + #pragma warning restore CS1591 + { + [EnumMember(Value = "unknown")] + #pragma warning disable CS1591 + Unknown, + #pragma warning restore CS1591 + [EnumMember(Value = "scheduled")] + #pragma warning disable CS1591 + Scheduled, + #pragma warning restore CS1591 + [EnumMember(Value = "offerReady")] + #pragma warning disable CS1591 + OfferReady, + #pragma warning restore CS1591 + [EnumMember(Value = "adminPaused")] + #pragma warning disable CS1591 + AdminPaused, + #pragma warning restore CS1591 + [EnumMember(Value = "adminCancelled")] + #pragma warning disable CS1591 + AdminCancelled, + #pragma warning restore CS1591 + [EnumMember(Value = "removedFromDeployment")] + #pragma warning disable CS1591 + RemovedFromDeployment, + #pragma warning restore CS1591 + [EnumMember(Value = "notOffering")] + #pragma warning disable CS1591 + NotOffering, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/WindowsUpdates/DriverUpdateApprovalRule.cs b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/DriverUpdateApprovalRule.cs new file mode 100644 index 000000000000..5046d5c00bba --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/DriverUpdateApprovalRule.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.WindowsUpdates +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DriverUpdateApprovalRule : global::Microsoft.Graph.Beta.Models.WindowsUpdates.ApprovalRule, IParsable + #pragma warning restore CS1591 + { + /// + /// Instantiates a new and sets the default values. + /// + public DriverUpdateApprovalRule() : base() + { + OdataType = "#microsoft.graph.windowsUpdates.driverUpdateApprovalRule"; + } + /// + /// 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.WindowsUpdates.DriverUpdateApprovalRule CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.WindowsUpdates.DriverUpdateApprovalRule(); + } + /// + /// 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) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/WindowsUpdates/DriverUpdateDeviceStatus.cs b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/DriverUpdateDeviceStatus.cs new file mode 100644 index 000000000000..5c0377a27bf0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/DriverUpdateDeviceStatus.cs @@ -0,0 +1,187 @@ +// +#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.WindowsUpdates +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DriverUpdateDeviceStatus : global::Microsoft.Graph.Beta.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The Microsoft Entra identifier of the device. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? AadDeviceId + { + get { return BackingStore?.Get("aadDeviceId"); } + set { BackingStore?.Set("aadDeviceId", value); } + } +#nullable restore +#else + public string AadDeviceId + { + get { return BackingStore?.Get("aadDeviceId"); } + set { BackingStore?.Set("aadDeviceId", value); } + } +#endif + /// The clientState property + public global::Microsoft.Graph.Beta.Models.WindowsUpdates.DeviceClientState? ClientState + { + get { return BackingStore?.Get("clientState"); } + set { BackingStore?.Set("clientState", value); } + } + /// The clientSubstate property + public global::Microsoft.Graph.Beta.Models.WindowsUpdates.DeviceClientSubstate? ClientSubstate + { + get { return BackingStore?.Get("clientSubstate"); } + set { BackingStore?.Set("clientSubstate", value); } + } + /// The device name. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DeviceName + { + get { return BackingStore?.Get("deviceName"); } + set { BackingStore?.Set("deviceName", value); } + } +#nullable restore +#else + public string DeviceName + { + get { return BackingStore?.Get("deviceName"); } + set { BackingStore?.Set("deviceName", value); } + } +#endif + /// The date and time of the latest status event. Read-only. + public DateTimeOffset? LastEventDateTime + { + get { return BackingStore?.Get("lastEventDateTime"); } + set { BackingStore?.Set("lastEventDateTime", value); } + } + /// The identifier of the driver update policy. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? PolicyId + { + get { return BackingStore?.Get("policyId"); } + set { BackingStore?.Set("policyId", value); } + } +#nullable restore +#else + public string PolicyId + { + get { return BackingStore?.Get("policyId"); } + set { BackingStore?.Set("policyId", value); } + } +#endif + /// The display name of the driver update policy. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? PolicyName + { + get { return BackingStore?.Get("policyName"); } + set { BackingStore?.Set("policyName", value); } + } +#nullable restore +#else + public string PolicyName + { + get { return BackingStore?.Get("policyName"); } + set { BackingStore?.Set("policyName", value); } + } +#endif + /// The identifier of the Windows Autopatch ring. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? RingId + { + get { return BackingStore?.Get("ringId"); } + set { BackingStore?.Set("ringId", value); } + } +#nullable restore +#else + public string RingId + { + get { return BackingStore?.Get("ringId"); } + set { BackingStore?.Set("ringId", value); } + } +#endif + /// The display name of the Windows Autopatch ring. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? RingName + { + get { return BackingStore?.Get("ringName"); } + set { BackingStore?.Set("ringName", value); } + } +#nullable restore +#else + public string RingName + { + get { return BackingStore?.Get("ringName"); } + set { BackingStore?.Set("ringName", value); } + } +#endif + /// The serviceState property + public global::Microsoft.Graph.Beta.Models.WindowsUpdates.DeviceServiceState? ServiceState + { + get { return BackingStore?.Get("serviceState"); } + set { BackingStore?.Set("serviceState", value); } + } + /// The serviceSubstate property + public global::Microsoft.Graph.Beta.Models.WindowsUpdates.DeviceServiceSubstate? ServiceSubstate + { + get { return BackingStore?.Get("serviceSubstate"); } + set { BackingStore?.Set("serviceSubstate", value); } + } + /// + /// 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.WindowsUpdates.DriverUpdateDeviceStatus CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.WindowsUpdates.DriverUpdateDeviceStatus(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "aadDeviceId", n => { AadDeviceId = n.GetStringValue(); } }, + { "clientState", n => { ClientState = n.GetEnumValue(); } }, + { "clientSubstate", n => { ClientSubstate = n.GetEnumValue(); } }, + { "deviceName", n => { DeviceName = n.GetStringValue(); } }, + { "lastEventDateTime", n => { LastEventDateTime = n.GetDateTimeOffsetValue(); } }, + { "policyId", n => { PolicyId = n.GetStringValue(); } }, + { "policyName", n => { PolicyName = n.GetStringValue(); } }, + { "ringId", n => { RingId = n.GetStringValue(); } }, + { "ringName", n => { RingName = n.GetStringValue(); } }, + { "serviceState", n => { ServiceState = n.GetEnumValue(); } }, + { "serviceSubstate", n => { ServiceSubstate = n.GetEnumValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteEnumValue("clientState", ClientState); + writer.WriteEnumValue("clientSubstate", ClientSubstate); + writer.WriteEnumValue("serviceState", ServiceState); + writer.WriteEnumValue("serviceSubstate", ServiceSubstate); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/WindowsUpdates/DriverUpdateDeviceStatusCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/DriverUpdateDeviceStatusCollectionResponse.cs new file mode 100644 index 000000000000..33c094535766 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/DriverUpdateDeviceStatusCollectionResponse.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.WindowsUpdates +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DriverUpdateDeviceStatusCollectionResponse : 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.WindowsUpdates.DriverUpdateDeviceStatusCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.WindowsUpdates.DriverUpdateDeviceStatusCollectionResponse(); + } + /// + /// 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.WindowsUpdates.DriverUpdateDeviceStatus.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/WindowsUpdates/DriverUpdatePolicy.cs b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/DriverUpdatePolicy.cs new file mode 100644 index 000000000000..96f8a8e5a6cd --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/DriverUpdatePolicy.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.WindowsUpdates +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DriverUpdatePolicy : global::Microsoft.Graph.Beta.Models.WindowsUpdates.Policy, IParsable + #pragma warning restore CS1591 + { + /// + /// Instantiates a new and sets the default values. + /// + public DriverUpdatePolicy() : base() + { + OdataType = "#microsoft.graph.windowsUpdates.driverUpdatePolicy"; + } + /// + /// 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.WindowsUpdates.DriverUpdatePolicy CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.WindowsUpdates.DriverUpdatePolicy(); + } + /// + /// 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) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/WindowsUpdates/DriverUpdateReport.cs b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/DriverUpdateReport.cs new file mode 100644 index 000000000000..a9898bc85583 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/DriverUpdateReport.cs @@ -0,0 +1,139 @@ +// +#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.WindowsUpdates +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DriverUpdateReport : global::Microsoft.Graph.Beta.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The device class targeted by the driver update. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Class + { + get { return BackingStore?.Get("class"); } + set { BackingStore?.Set("class", value); } + } +#nullable restore +#else + public string Class + { + get { return BackingStore?.Get("class"); } + set { BackingStore?.Set("class", value); } + } +#endif + /// The latest rollout statuses for devices associated with the driver update. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? DeviceStatuses + { + get { return BackingStore?.Get?>("deviceStatuses"); } + set { BackingStore?.Set("deviceStatuses", value); } + } +#nullable restore +#else + public List DeviceStatuses + { + get { return BackingStore?.Get>("deviceStatuses"); } + set { BackingStore?.Set("deviceStatuses", value); } + } +#endif + /// The display name of the driver update. Read-only. +#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 manufacturer of the driver update. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Manufacturer + { + get { return BackingStore?.Get("manufacturer"); } + set { BackingStore?.Set("manufacturer", value); } + } +#nullable restore +#else + public string Manufacturer + { + get { return BackingStore?.Get("manufacturer"); } + set { BackingStore?.Set("manufacturer", value); } + } +#endif + /// The date and time when the driver update was released. Read-only. + public DateTimeOffset? ReleaseDateTime + { + get { return BackingStore?.Get("releaseDateTime"); } + set { BackingStore?.Set("releaseDateTime", value); } + } + /// The driver version. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Version + { + get { return BackingStore?.Get("version"); } + set { BackingStore?.Set("version", value); } + } +#nullable restore +#else + public string Version + { + get { return BackingStore?.Get("version"); } + set { BackingStore?.Set("version", 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.WindowsUpdates.DriverUpdateReport CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.WindowsUpdates.DriverUpdateReport(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "class", n => { Class = n.GetStringValue(); } }, + { "deviceStatuses", n => { DeviceStatuses = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.WindowsUpdates.DriverUpdateDeviceStatus.CreateFromDiscriminatorValue)?.AsList(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "manufacturer", n => { Manufacturer = n.GetStringValue(); } }, + { "releaseDateTime", n => { ReleaseDateTime = n.GetDateTimeOffsetValue(); } }, + { "version", n => { Version = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("deviceStatuses", DeviceStatuses); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/WindowsUpdates/DriverUpdateReportCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/DriverUpdateReportCollectionResponse.cs new file mode 100644 index 000000000000..d06856ad4f7a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/DriverUpdateReportCollectionResponse.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.WindowsUpdates +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DriverUpdateReportCollectionResponse : 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.WindowsUpdates.DriverUpdateReportCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.WindowsUpdates.DriverUpdateReportCollectionResponse(); + } + /// + /// 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.WindowsUpdates.DriverUpdateReport.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/WindowsUpdates/DriverUpdateRing.cs b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/DriverUpdateRing.cs new file mode 100644 index 000000000000..7ddc51d71ea1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/DriverUpdateRing.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.WindowsUpdates +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DriverUpdateRing : global::Microsoft.Graph.Beta.Models.WindowsUpdates.Ring, IParsable + #pragma warning restore CS1591 + { + /// + /// Instantiates a new and sets the default values. + /// + public DriverUpdateRing() : base() + { + OdataType = "#microsoft.graph.windowsUpdates.driverUpdateRing"; + } + /// + /// 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.WindowsUpdates.DriverUpdateRing CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.WindowsUpdates.DriverUpdateRing(); + } + /// + /// 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) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/WindowsUpdates/FeatureUpdatePolicy.cs b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/FeatureUpdatePolicy.cs new file mode 100644 index 000000000000..1621a84b0f1d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/FeatureUpdatePolicy.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.WindowsUpdates +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class FeatureUpdatePolicy : global::Microsoft.Graph.Beta.Models.WindowsUpdates.Policy, IParsable + #pragma warning restore CS1591 + { + /// + /// Instantiates a new and sets the default values. + /// + public FeatureUpdatePolicy() : base() + { + OdataType = "#microsoft.graph.windowsUpdates.featureUpdatePolicy"; + } + /// + /// 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.WindowsUpdates.FeatureUpdatePolicy CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.WindowsUpdates.FeatureUpdatePolicy(); + } + /// + /// 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) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/WindowsUpdates/FeatureUpdateRing.cs b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/FeatureUpdateRing.cs new file mode 100644 index 000000000000..924695297e21 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/FeatureUpdateRing.cs @@ -0,0 +1,77 @@ +// +#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.WindowsUpdates +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class FeatureUpdateRing : global::Microsoft.Graph.Beta.Models.WindowsUpdates.Ring, IParsable + #pragma warning restore CS1591 + { + /// Indicates whether the feature update is offered to end users as optional rather than required. Default is false. + public bool? IsOfferOptional + { + get { return BackingStore?.Get("isOfferOptional"); } + set { BackingStore?.Set("isOfferOptional", value); } + } + /// The total length of the gradual-rollout window, in days, from when the update is first offered to when the rollout completes. The minimum is 1. Only used when offerIntervalInDays is 1 or greater; ignored when offerIntervalInDays is 0. Default is 1. + public int? OfferDurationInDays + { + get { return BackingStore?.Get("offerDurationInDays"); } + set { BackingStore?.Set("offerDurationInDays", value); } + } + /// How often, in days, a new subset of devices is offered the update. Accepted range is 0 to 30. Set to 0 to offer the update to all devices at once. When the value is 1 or greater, the rollout advances one subset at each interval until every device has been offered the update. Must be less than or equal to offerDurationInDays. Default is 0. + public int? OfferIntervalInDays + { + get { return BackingStore?.Get("offerIntervalInDays"); } + set { BackingStore?.Set("offerIntervalInDays", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public FeatureUpdateRing() : base() + { + OdataType = "#microsoft.graph.windowsUpdates.featureUpdateRing"; + } + /// + /// 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.WindowsUpdates.FeatureUpdateRing CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.WindowsUpdates.FeatureUpdateRing(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "isOfferOptional", n => { IsOfferOptional = n.GetBoolValue(); } }, + { "offerDurationInDays", n => { OfferDurationInDays = n.GetIntValue(); } }, + { "offerIntervalInDays", n => { OfferIntervalInDays = n.GetIntValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteBoolValue("isOfferOptional", IsOfferOptional); + writer.WriteIntValue("offerDurationInDays", OfferDurationInDays); + writer.WriteIntValue("offerIntervalInDays", OfferIntervalInDays); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/WindowsUpdates/HotpatchReadiness.cs b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/HotpatchReadiness.cs new file mode 100644 index 000000000000..4959f65eb4d9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/HotpatchReadiness.cs @@ -0,0 +1,24 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models.WindowsUpdates +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum HotpatchReadiness + #pragma warning restore CS1591 + { + [EnumMember(Value = "ready")] + #pragma warning disable CS1591 + Ready, + #pragma warning restore CS1591 + [EnumMember(Value = "notReady")] + #pragma warning disable CS1591 + NotReady, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/WindowsUpdates/MdmAppSetting.cs b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/MdmAppSetting.cs new file mode 100644 index 000000000000..24e608eed113 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/MdmAppSetting.cs @@ -0,0 +1,108 @@ +// +#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.WindowsUpdates +{ + /// + /// Per-MDM-application settings for a tenant, identified by a unique MDM app ID (GUID-formatted string). + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MdmAppSetting : IAdditionalDataHolder, IBackedModel, IParsable + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// Whether hotpatch is enabled for this MDM application. The default is true. + public bool? IsHotpatchEnabled + { + get { return BackingStore?.Get("isHotpatchEnabled"); } + set { BackingStore?.Set("isHotpatchEnabled", value); } + } + /// The unique identifier of the MDM application as a GUID-formatted string. This property is the resource key and can't be updated. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? MdmAppId + { + get { return BackingStore?.Get("mdmAppId"); } + set { BackingStore?.Set("mdmAppId", value); } + } +#nullable restore +#else + public string MdmAppId + { + get { return BackingStore?.Get("mdmAppId"); } + set { BackingStore?.Set("mdmAppId", 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 MdmAppSetting() + { + 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.WindowsUpdates.MdmAppSetting CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.WindowsUpdates.MdmAppSetting(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "isHotpatchEnabled", n => { IsHotpatchEnabled = n.GetBoolValue(); } }, + { "mdmAppId", n => { MdmAppId = 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) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteBoolValue("isHotpatchEnabled", IsHotpatchEnabled); + writer.WriteStringValue("mdmAppId", MdmAppId); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/WindowsUpdates/MdmAppSettingCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/MdmAppSettingCollectionResponse.cs new file mode 100644 index 000000000000..bd38f963b6e5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/MdmAppSettingCollectionResponse.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.WindowsUpdates +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class MdmAppSettingCollectionResponse : 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.WindowsUpdates.MdmAppSettingCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.WindowsUpdates.MdmAppSettingCollectionResponse(); + } + /// + /// 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.WindowsUpdates.MdmAppSetting.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/WindowsUpdates/OsStatus.cs b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/OsStatus.cs new file mode 100644 index 000000000000..54e541527d63 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/OsStatus.cs @@ -0,0 +1,28 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models.WindowsUpdates +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum OsStatus + #pragma warning restore CS1591 + { + [EnumMember(Value = "endOfServicing")] + #pragma warning disable CS1591 + EndOfServicing, + #pragma warning restore CS1591 + [EnumMember(Value = "inServicing")] + #pragma warning disable CS1591 + InServicing, + #pragma warning restore CS1591 + [EnumMember(Value = "nearEndOfServicing")] + #pragma warning disable CS1591 + NearEndOfServicing, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/WindowsUpdates/Policy.cs b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/Policy.cs index 7b5492a9c1bb..ae98dc9bd053 100644 --- a/src/Microsoft.Graph/Generated/Models/WindowsUpdates/Policy.cs +++ b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/Policy.cs @@ -12,7 +12,23 @@ namespace Microsoft.Graph.Beta.Models.WindowsUpdates public partial class Policy : global::Microsoft.Graph.Beta.Models.Entity, IParsable #pragma warning restore CS1591 { - /// Represents content applicable for offering to the related collection of devices. + /// The catalog entries that apply to devices targeted by the policy. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ApplicableCatalogs + { + get { return BackingStore?.Get?>("applicableCatalogs"); } + set { BackingStore?.Set("applicableCatalogs", value); } + } +#nullable restore +#else + public List ApplicableCatalogs + { + get { return BackingStore?.Get>("applicableCatalogs"); } + set { BackingStore?.Set("applicableCatalogs", value); } + } +#endif + /// The existing applicable-content collection. For driver and feature update applicability, use applicableCatalogs. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ApplicableContent @@ -44,7 +60,7 @@ public partial class Policy : global::Microsoft.Graph.Beta.Models.Entity, IParsa set { BackingStore?.Set("approvalRules", value); } } #endif - /// Represents a set of quality updates policy approval types. + /// The update content approvals associated with the policy. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Approvals @@ -104,7 +120,7 @@ public DateTimeOffset? LastModifiedDateTime get { return BackingStore?.Get("lastModifiedDateTime"); } set { BackingStore?.Set("lastModifiedDateTime", value); } } - /// Represents a set of deployment rings that contains update deployment settings. + /// The deployment rings that define targeting, deferral, and pause settings for the policy. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Rings @@ -131,6 +147,8 @@ public DateTimeOffset? LastModifiedDateTime var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); return mappingValue switch { + "#microsoft.graph.windowsUpdates.driverUpdatePolicy" => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.DriverUpdatePolicy(), + "#microsoft.graph.windowsUpdates.featureUpdatePolicy" => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.FeatureUpdatePolicy(), "#microsoft.graph.windowsUpdates.qualityUpdatePolicy" => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.QualityUpdatePolicy(), _ => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.Policy(), }; @@ -143,6 +161,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { + { "applicableCatalogs", n => { ApplicableCatalogs = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.WindowsUpdates.ApplicableCatalog.CreateFromDiscriminatorValue)?.AsList(); } }, { "applicableContent", n => { ApplicableContent = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.WindowsUpdates.ApplicableContent.CreateFromDiscriminatorValue)?.AsList(); } }, { "approvalRules", n => { ApprovalRules = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.WindowsUpdates.ApprovalRule.CreateFromDiscriminatorValue)?.AsList(); } }, { "approvals", n => { Approvals = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.WindowsUpdates.PolicyApproval.CreateFromDiscriminatorValue)?.AsList(); } }, @@ -161,6 +180,7 @@ public override void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); + writer.WriteCollectionOfObjectValues("applicableCatalogs", ApplicableCatalogs); writer.WriteCollectionOfObjectValues("applicableContent", ApplicableContent); writer.WriteCollectionOfObjectValues("approvalRules", ApprovalRules); writer.WriteCollectionOfObjectValues("approvals", Approvals); diff --git a/src/Microsoft.Graph/Generated/Models/WindowsUpdates/PolicyApproval.cs b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/PolicyApproval.cs index d5be21eb281b..6da720900f0c 100644 --- a/src/Microsoft.Graph/Generated/Models/WindowsUpdates/PolicyApproval.cs +++ b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/PolicyApproval.cs @@ -12,6 +12,12 @@ namespace Microsoft.Graph.Beta.Models.WindowsUpdates public partial class PolicyApproval : global::Microsoft.Graph.Beta.Models.Entity, IParsable #pragma warning restore CS1591 { + /// The approvedBy property + public global::Microsoft.Graph.Beta.Models.WindowsUpdates.ApprovedBy? ApprovedBy + { + get { return BackingStore?.Get("approvedBy"); } + set { BackingStore?.Set("approvedBy", value); } + } /// The content that you can approve for deployment. Read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -56,6 +62,12 @@ public DateTimeOffset? LastModifiedDateTime get { return BackingStore?.Get("lastModifiedDateTime"); } set { BackingStore?.Set("lastModifiedDateTime", value); } } + /// The date and time when the approved content can start being offered. If omitted when the approval is created, the service uses the current time. + public DateTimeOffset? StartDateTime + { + get { return BackingStore?.Get("startDateTime"); } + set { BackingStore?.Set("startDateTime", value); } + } /// The status property public global::Microsoft.Graph.Beta.Models.WindowsUpdates.ApprovalStatus? Status { @@ -80,10 +92,12 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { + { "approvedBy", n => { ApprovedBy = n.GetEnumValue(); } }, { "catalogEntry", n => { CatalogEntry = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.WindowsUpdates.CatalogEntry.CreateFromDiscriminatorValue); } }, { "catalogEntryId", n => { CatalogEntryId = n.GetStringValue(); } }, { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + { "startDateTime", n => { StartDateTime = n.GetDateTimeOffsetValue(); } }, { "status", n => { Status = n.GetEnumValue(); } }, }; } @@ -95,10 +109,12 @@ public override void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); + writer.WriteEnumValue("approvedBy", ApprovedBy); writer.WriteObjectValue("catalogEntry", CatalogEntry); writer.WriteStringValue("catalogEntryId", CatalogEntryId); writer.WriteDateTimeOffsetValue("createdDateTime", CreatedDateTime); writer.WriteDateTimeOffsetValue("lastModifiedDateTime", LastModifiedDateTime); + writer.WriteDateTimeOffsetValue("startDateTime", StartDateTime); writer.WriteEnumValue("status", Status); } } diff --git a/src/Microsoft.Graph/Generated/Models/WindowsUpdates/PolicyAssignment.cs b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/PolicyAssignment.cs new file mode 100644 index 000000000000..3cc2216b3dda --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/PolicyAssignment.cs @@ -0,0 +1,115 @@ +// +#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.WindowsUpdates +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class PolicyAssignment : global::Microsoft.Graph.Beta.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The Microsoft Entra identifier of the assigned device. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? AzureAdDeviceId + { + get { return BackingStore?.Get("azureAdDeviceId"); } + set { BackingStore?.Set("azureAdDeviceId", value); } + } +#nullable restore +#else + public string AzureAdDeviceId + { + get { return BackingStore?.Get("azureAdDeviceId"); } + set { BackingStore?.Set("azureAdDeviceId", value); } + } +#endif + /// The deviceProfile property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.WindowsUpdates.DeviceProfile? DeviceProfile + { + get { return BackingStore?.Get("deviceProfile"); } + set { BackingStore?.Set("deviceProfile", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.WindowsUpdates.DeviceProfile DeviceProfile + { + get { return BackingStore?.Get("deviceProfile"); } + set { BackingStore?.Set("deviceProfile", value); } + } +#endif + /// The identifier of the assigned Windows Autopatch policy. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? PolicyId + { + get { return BackingStore?.Get("policyId"); } + set { BackingStore?.Set("policyId", value); } + } +#nullable restore +#else + public string PolicyId + { + get { return BackingStore?.Get("policyId"); } + set { BackingStore?.Set("policyId", value); } + } +#endif + /// The display name of the assigned Windows Autopatch policy. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? PolicyName + { + get { return BackingStore?.Get("policyName"); } + set { BackingStore?.Set("policyName", value); } + } +#nullable restore +#else + public string PolicyName + { + get { return BackingStore?.Get("policyName"); } + set { BackingStore?.Set("policyName", 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.WindowsUpdates.PolicyAssignment CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.WindowsUpdates.PolicyAssignment(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "azureAdDeviceId", n => { AzureAdDeviceId = n.GetStringValue(); } }, + { "deviceProfile", n => { DeviceProfile = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.WindowsUpdates.DeviceProfile.CreateFromDiscriminatorValue); } }, + { "policyId", n => { PolicyId = n.GetStringValue(); } }, + { "policyName", n => { PolicyName = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteObjectValue("deviceProfile", DeviceProfile); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/WindowsUpdates/PolicyAssignmentCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/PolicyAssignmentCollectionResponse.cs new file mode 100644 index 000000000000..c3b7c58d0571 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/PolicyAssignmentCollectionResponse.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.WindowsUpdates +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class PolicyAssignmentCollectionResponse : 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.WindowsUpdates.PolicyAssignmentCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.WindowsUpdates.PolicyAssignmentCollectionResponse(); + } + /// + /// 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.WindowsUpdates.PolicyAssignment.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/WindowsUpdates/Ring.cs b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/Ring.cs index 6ff9cca855d6..3c31208db577 100644 --- a/src/Microsoft.Graph/Generated/Models/WindowsUpdates/Ring.cs +++ b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/Ring.cs @@ -18,7 +18,7 @@ public DateTimeOffset? CreatedDateTime get { return BackingStore?.Get("createdDateTime"); } set { BackingStore?.Set("createdDateTime", value); } } - /// The quality update deferral period in days. The value must be between 0 and 30. Optional. + /// The update deferral period in days. The value must be between 0 and 30. Optional. public int? DeferralInDays { get { return BackingStore?.Get("deferralInDays"); } @@ -88,13 +88,13 @@ public string DisplayName set { BackingStore?.Set("includedGroupAssignment", value); } } #endif - /// The pause action for the quality update ring policy. Required. + /// The pause action for the update ring. Required. public bool? IsPaused { get { return BackingStore?.Get("isPaused"); } set { BackingStore?.Set("isPaused", value); } } - /// The date and time whenthe ring was last modified. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. + /// The date and time when the ring was last modified. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. public DateTimeOffset? LastModifiedDateTime { get { return BackingStore?.Get("lastModifiedDateTime"); } @@ -111,6 +111,8 @@ public DateTimeOffset? LastModifiedDateTime var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); return mappingValue switch { + "#microsoft.graph.windowsUpdates.driverUpdateRing" => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.DriverUpdateRing(), + "#microsoft.graph.windowsUpdates.featureUpdateRing" => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.FeatureUpdateRing(), "#microsoft.graph.windowsUpdates.qualityUpdateRing" => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.QualityUpdateRing(), _ => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.Ring(), }; diff --git a/src/Microsoft.Graph/Generated/Models/WindowsUpdates/TenantSetting.cs b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/TenantSetting.cs new file mode 100644 index 000000000000..02f9fbcbe27f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/TenantSetting.cs @@ -0,0 +1,73 @@ +// +#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.WindowsUpdates +{ + /// + /// Tenant-level settings singleton for Windows Autopatch updates. Each tenant has at most one resource; a missing resource means all defaults apply. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TenantSetting : global::Microsoft.Graph.Beta.Models.Entity, IParsable + { + /// Whether Data Processor Service for Windows (DPSW) features are enabled for this tenant. The default is false. + public bool? AreDataProcessorServiceForWindowsFeaturesEnabled + { + get { return BackingStore?.Get("areDataProcessorServiceForWindowsFeaturesEnabled"); } + set { BackingStore?.Set("areDataProcessorServiceForWindowsFeaturesEnabled", value); } + } + /// The per-MDM-application settings for the current tenant. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? MdmAppSettings + { + get { return BackingStore?.Get?>("mdmAppSettings"); } + set { BackingStore?.Set("mdmAppSettings", value); } + } +#nullable restore +#else + public List MdmAppSettings + { + get { return BackingStore?.Get>("mdmAppSettings"); } + set { BackingStore?.Set("mdmAppSettings", 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.WindowsUpdates.TenantSetting CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.WindowsUpdates.TenantSetting(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "areDataProcessorServiceForWindowsFeaturesEnabled", n => { AreDataProcessorServiceForWindowsFeaturesEnabled = n.GetBoolValue(); } }, + { "mdmAppSettings", n => { MdmAppSettings = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.WindowsUpdates.MdmAppSetting.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteBoolValue("areDataProcessorServiceForWindowsFeaturesEnabled", AreDataProcessorServiceForWindowsFeaturesEnabled); + writer.WriteCollectionOfObjectValues("mdmAppSettings", MdmAppSettings); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/WindowsUpdates/UpdateData.cs b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/UpdateData.cs new file mode 100644 index 000000000000..58b8b41780b8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/UpdateData.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.WindowsUpdates +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class UpdateData : global::Microsoft.Graph.Beta.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// Catalog applicability aggregated across Autopatch policies. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ApplicableCatalogSummaries + { + get { return BackingStore?.Get?>("applicableCatalogSummaries"); } + set { BackingStore?.Set("applicableCatalogSummaries", value); } + } +#nullable restore +#else + public List ApplicableCatalogSummaries + { + get { return BackingStore?.Get>("applicableCatalogSummaries"); } + set { BackingStore?.Set("applicableCatalogSummaries", value); } + } +#endif + /// Device profile and Windows servicing information. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? DeviceProfiles + { + get { return BackingStore?.Get?>("deviceProfiles"); } + set { BackingStore?.Set("deviceProfiles", value); } + } +#nullable restore +#else + public List DeviceProfiles + { + get { return BackingStore?.Get>("deviceProfiles"); } + set { BackingStore?.Set("deviceProfiles", value); } + } +#endif + /// Driver updates available in the tenant and their per-device rollout status. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Drivers + { + get { return BackingStore?.Get?>("drivers"); } + set { BackingStore?.Set("drivers", value); } + } +#nullable restore +#else + public List Drivers + { + get { return BackingStore?.Get>("drivers"); } + set { BackingStore?.Set("drivers", value); } + } +#endif + /// Assignments that associate Autopatch policies with devices. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? PolicyAssignments + { + get { return BackingStore?.Get?>("policyAssignments"); } + set { BackingStore?.Set("policyAssignments", value); } + } +#nullable restore +#else + public List PolicyAssignments + { + get { return BackingStore?.Get>("policyAssignments"); } + set { BackingStore?.Set("policyAssignments", 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.WindowsUpdates.UpdateData CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.WindowsUpdates.UpdateData(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "applicableCatalogSummaries", n => { ApplicableCatalogSummaries = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.WindowsUpdates.ApplicableCatalogSummary.CreateFromDiscriminatorValue)?.AsList(); } }, + { "deviceProfiles", n => { DeviceProfiles = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.WindowsUpdates.DeviceProfile.CreateFromDiscriminatorValue)?.AsList(); } }, + { "drivers", n => { Drivers = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.WindowsUpdates.DriverUpdateReport.CreateFromDiscriminatorValue)?.AsList(); } }, + { "policyAssignments", n => { PolicyAssignments = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.WindowsUpdates.PolicyAssignment.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("applicableCatalogSummaries", ApplicableCatalogSummaries); + writer.WriteCollectionOfObjectValues("deviceProfiles", DeviceProfiles); + writer.WriteCollectionOfObjectValues("drivers", Drivers); + writer.WriteCollectionOfObjectValues("policyAssignments", PolicyAssignments); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/NetworkAccess/Connectivity/ConnectivityRequestBuilder.cs b/src/Microsoft.Graph/Generated/NetworkAccess/Connectivity/ConnectivityRequestBuilder.cs index 021632bd9968..2f8b1d7873f3 100644 --- a/src/Microsoft.Graph/Generated/NetworkAccess/Connectivity/ConnectivityRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/NetworkAccess/Connectivity/ConnectivityRequestBuilder.cs @@ -22,6 +22,7 @@ namespace Microsoft.Graph.Beta.NetworkAccess.Connectivity public partial class ConnectivityRequestBuilder : BaseRequestBuilder { /// Provides operations to manage the branches property of the microsoft.graph.networkaccess.connectivity entity. + [Obsolete("The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess on 2023-12-19 and will be removed 2024-03-20")] public global::Microsoft.Graph.Beta.NetworkAccess.Connectivity.Branches.BranchesRequestBuilder Branches { get => new global::Microsoft.Graph.Beta.NetworkAccess.Connectivity.Branches.BranchesRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualId/DestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdGetResponse.cs b/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategory/DestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategoryGetResponse.cs similarity index 77% rename from src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualId/DestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdGetResponse.cs rename to src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategory/DestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategoryGetResponse.cs index d35854e26b3f..bb36515c15aa 100644 --- a/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualId/DestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdGetResponse.cs +++ b/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategory/DestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategoryGetResponse.cs @@ -7,11 +7,11 @@ using System.Collections.Generic; using System.IO; using System; -namespace Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualId +namespace Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategory { [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] #pragma warning disable CS1591 - public partial class DestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdGetResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + public partial class DestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategoryGetResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable #pragma warning restore CS1591 { /// The value property @@ -33,12 +33,12 @@ public partial class DestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdA /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static new global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualId.DestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + public static new global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategory.DestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategoryGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) { if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualId.DestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdGetResponse(); + return new global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategory.DestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategoryGetResponse(); } /// /// The deserialization information for the current model diff --git a/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualId/DestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdResponse.cs b/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategory/DestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategoryResponse.cs similarity index 54% rename from src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualId/DestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdResponse.cs rename to src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategory/DestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategoryResponse.cs index f7cfeb793e6b..7c78f922e2dc 100644 --- a/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualId/DestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdResponse.cs +++ b/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategory/DestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategoryResponse.cs @@ -5,23 +5,23 @@ using System.Collections.Generic; using System.IO; using System; -namespace Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualId +namespace Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategory { - [Obsolete("This class is obsolete. Use DestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdGetResponse instead.")] + [Obsolete("This class is obsolete. Use DestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategoryGetResponse instead.")] [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] #pragma warning disable CS1591 - public partial class DestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdResponse : global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualId.DestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdGetResponse, IParsable + public partial class DestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategoryResponse : global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategory.DestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategoryGetResponse, IParsable #pragma warning restore CS1591 { /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static new global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualId.DestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdResponse CreateFromDiscriminatorValue(IParseNode parseNode) + public static new global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategory.DestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategoryResponse CreateFromDiscriminatorValue(IParseNode parseNode) { if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualId.DestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdResponse(); + return new global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategory.DestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategoryResponse(); } } } diff --git a/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualId/MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdRequestBuilder.cs b/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategory/MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategoryRequestBuilder.cs similarity index 54% rename from src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualId/MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdRequestBuilder.cs rename to src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategory/MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategoryRequestBuilder.cs index 8a4d0f9040fa..a0e906eaa2e0 100644 --- a/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualId/MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategory/MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategoryRequestBuilder.cs @@ -9,48 +9,48 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualId +namespace Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategory { /// /// Provides operations to call the destinationReport method. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdRequestBuilder : BaseRequestBuilder + public partial class MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategoryRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Usage: endDateTime={endDateTime} /// Path parameters for the request /// The request adapter to use to execute the requests. /// Usage: startDateTime={startDateTime} - public MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter, DateTimeOffset? endDateTime = default, DateTimeOffset? startDateTime = default) : base(requestAdapter, "{+baseurl}/networkAccess/reports/microsoft.graph.networkaccess.destinationReport(startDateTime={startDateTime},endDateTime={endDateTime},aiAgentId='@aiAgentId',aiAgentName='@aiAgentName',agentTypeId='@agentTypeId',agentVirtualId='@agentVirtualId'){?%24count,%24filter,%24search,%24skip,%24top,agentTypeId*,agentVirtualId*,aiAgentId*,aiAgentName*}", pathParameters) + public MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategoryRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter, DateTimeOffset? endDateTime = default, DateTimeOffset? startDateTime = default) : base(requestAdapter, "{+baseurl}/networkAccess/reports/microsoft.graph.networkaccess.destinationReport(startDateTime={startDateTime},endDateTime={endDateTime},aiAgentId='@aiAgentId',aiAgentName='@aiAgentName',agentTypeId='@agentTypeId',agentVirtualId='@agentVirtualId',deviceCategory='@deviceCategory'){?%24count,%24filter,%24search,%24skip,%24top,agentTypeId*,agentVirtualId*,aiAgentId*,aiAgentName*,deviceCategory*}", pathParameters) { if (endDateTime != null) PathParameters.Add("endDateTime", endDateTime); if (startDateTime != null) PathParameters.Add("startDateTime", startDateTime); } /// - /// Instantiates a new and sets the default values. + /// 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 MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/networkAccess/reports/microsoft.graph.networkaccess.destinationReport(startDateTime={startDateTime},endDateTime={endDateTime},aiAgentId='@aiAgentId',aiAgentName='@aiAgentName',agentTypeId='@agentTypeId',agentVirtualId='@agentVirtualId'){?%24count,%24filter,%24search,%24skip,%24top,agentTypeId*,agentVirtualId*,aiAgentId*,aiAgentName*}", rawUrl) + public MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategoryRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/networkAccess/reports/microsoft.graph.networkaccess.destinationReport(startDateTime={startDateTime},endDateTime={endDateTime},aiAgentId='@aiAgentId',aiAgentName='@aiAgentName',agentTypeId='@agentTypeId',agentVirtualId='@agentVirtualId',deviceCategory='@deviceCategory'){?%24count,%24filter,%24search,%24skip,%24top,agentTypeId*,agentVirtualId*,aiAgentId*,aiAgentName*,deviceCategory*}", rawUrl) { } /// /// Invoke function destinationReport /// - /// A + /// 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 GetAsDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategoryGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategoryGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); @@ -58,23 +58,23 @@ public MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateT { { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualId.DestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategory.DestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategoryGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function destinationReport /// - /// A + /// 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 - [Obsolete("This method is obsolete. Use GetAsDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdGetResponseAsync instead.")] + [Obsolete("This method is obsolete. Use GetAsDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategoryGetResponseAsync instead.")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); @@ -82,7 +82,7 @@ public MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateT { { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualId.DestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategory.DestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategoryResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function destinationReport @@ -91,11 +91,11 @@ public MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateT /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); @@ -106,17 +106,17 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualId.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdRequestBuilder WithUrl(string rawUrl) + public global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategory.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategoryRequestBuilder WithUrl(string rawUrl) { - return new global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualId.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdRequestBuilder(rawUrl, RequestAdapter); + return new global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategory.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategoryRequestBuilder(rawUrl, RequestAdapter); } /// /// Invoke function destinationReport /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdRequestBuilderGetQueryParameters + public partial class MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategoryRequestBuilderGetQueryParameters { /// Usage: agentTypeId='@agentTypeId' #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -161,6 +161,16 @@ public partial class MicrosoftGraphNetworkaccessDestinationReportWithStartDateTi /// Include count of items [QueryParameter("%24count")] public bool? Count { get; set; } + /// Usage: deviceCategory='@deviceCategory' +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("deviceCategory")] + public string? DeviceCategory { get; set; } +#nullable restore +#else + [QueryParameter("deviceCategory")] + public string DeviceCategory { get; set; } +#endif /// Filter items by property values #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -193,7 +203,7 @@ public partial class MicrosoftGraphNetworkaccessDestinationReportWithStartDateTi /// [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 MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdRequestBuilderGetRequestConfiguration : RequestConfiguration + public partial class MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategoryRequestBuilderGetRequestConfiguration : RequestConfiguration { } } diff --git a/src/Microsoft.Graph/Generated/NetworkAccess/Reports/ReportsRequestBuilder.cs b/src/Microsoft.Graph/Generated/NetworkAccess/Reports/ReportsRequestBuilder.cs index e0c371cdf190..23bf0b836ed1 100644 --- a/src/Microsoft.Graph/Generated/NetworkAccess/Reports/ReportsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/NetworkAccess/Reports/ReportsRequestBuilder.cs @@ -3,7 +3,7 @@ using Microsoft.Graph.Beta.Models.Networkaccess; using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessCrossTenantAccessReportWithStartDateTimeWithEndDateTime; -using Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualId; +using Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategory; using Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdAiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdCloudApplicationNameCloudApplicationNameDestinationUrlDestinationUrl; using Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessEntitiesSummariesWithStartDateTimeWithEndDateTime; using Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetApplicationUsageAnalyticsWithStartDateTimeWithEndDateTimeWithAggregatedBy; @@ -110,14 +110,14 @@ public async Task DeleteAsync(Action /// Provides operations to call the destinationReport method. /// - /// A + /// A /// Usage: endDateTime={endDateTime} /// Usage: startDateTime={startDateTime} - public global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualId.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdRequestBuilder MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualId(DateTimeOffset? endDateTime, DateTimeOffset? startDateTime) + public global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategory.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategoryRequestBuilder MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategory(DateTimeOffset? endDateTime, DateTimeOffset? startDateTime) { if(ReferenceEquals(endDateTime, null)) throw new ArgumentNullException(nameof(endDateTime)); if(ReferenceEquals(startDateTime, null)) throw new ArgumentNullException(nameof(startDateTime)); - return new global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualId.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdRequestBuilder(PathParameters, RequestAdapter, endDateTime, startDateTime); + return new global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategory.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategoryRequestBuilder(PathParameters, RequestAdapter, endDateTime, startDateTime); } /// /// Provides operations to call the deviceReport method. diff --git a/src/Microsoft.Graph/Generated/Organization/Item/Settings/SettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/Item/Settings/SettingsRequestBuilder.cs index 33afa24b083e..39e3413850d3 100644 --- a/src/Microsoft.Graph/Generated/Organization/Item/Settings/SettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Organization/Item/Settings/SettingsRequestBuilder.cs @@ -28,6 +28,7 @@ public partial class SettingsRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Organization.Item.Settings.ContactInsights.ContactInsightsRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the itemInsights property of the microsoft.graph.organizationSettings entity. + [Obsolete("The Organization ItemInsights endpoint will stop returning data on January 1st, 2024. Please use the new Admin People ItemInsights endpoint. as of 2023-10/Beta:ItemInsightsOranizationSettings on 2023-10-17 and will be removed 2024-01-01")] public global::Microsoft.Graph.Beta.Organization.Item.Settings.ItemInsights.ItemInsightsRequestBuilder ItemInsights { get => new global::Microsoft.Graph.Beta.Organization.Item.Settings.ItemInsights.ItemInsightsRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Planner/PlannerRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/PlannerRequestBuilder.cs index d8d9741c2670..dcd07406c3f1 100644 --- a/src/Microsoft.Graph/Generated/Planner/PlannerRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Planner/PlannerRequestBuilder.cs @@ -31,6 +31,7 @@ public partial class PlannerRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Planner.Buckets.BucketsRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the goals property of the microsoft.graph.planner entity. + [Obsolete("private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26")] public global::Microsoft.Graph.Beta.Planner.Goals.GoalsRequestBuilder Goals { get => new global::Microsoft.Graph.Beta.Planner.Goals.GoalsRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs index 2b2693b943d7..78eab5742450 100644 --- a/src/Microsoft.Graph/Generated/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs @@ -54,6 +54,7 @@ public partial class PlannerPlanItemRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Planner.Plans.Item.GetUsageRights.GetUsageRightsRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the goals property of the microsoft.graph.plannerPlan entity. + [Obsolete("private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26")] public global::Microsoft.Graph.Beta.Planner.Plans.Item.Goals.GoalsRequestBuilder Goals { get => new global::Microsoft.Graph.Beta.Planner.Plans.Item.Goals.GoalsRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Policies/RoleManagementPolicies/Item/Rules/RulesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/RoleManagementPolicies/Item/Rules/RulesRequestBuilder.cs index f2b771de9550..cb36b7a28fbb 100644 --- a/src/Microsoft.Graph/Generated/Policies/RoleManagementPolicies/Item/Rules/RulesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/RoleManagementPolicies/Item/Rules/RulesRequestBuilder.cs @@ -54,7 +54,7 @@ public RulesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base { } /// - /// Get the rules defined for a role management policy. The rules are a collection of following types that are derived from the unifiedRoleManagementPolicyRule object:+ unifiedRoleManagementPolicyApprovalRule+ unifiedRoleManagementPolicyAuthenticationContextRule+ unifiedRoleManagementPolicyEnablementRule+ unifiedRoleManagementPolicyExpirationRule+ unifiedRoleManagementPolicyNotificationRule To retrieve rules for a policy that applies to Azure RBAC, use the Azure REST PIM API for role management policies. + /// Get the rules defined for a role management policy. The rules are a collection of following types that are derived from the unifiedRoleManagementPolicyRule object:+ unifiedRoleManagementPolicyApprovalRule+ unifiedRoleManagementPolicyAuthenticationContextRule+ unifiedRoleManagementPolicyCustomExtensionRule+ unifiedRoleManagementPolicyEnablementRule+ unifiedRoleManagementPolicyExpirationRule+ unifiedRoleManagementPolicyNotificationRule To retrieve rules for a policy that applies to Azure RBAC, use the Azure REST PIM API for role management policies. /// Find more info here /// /// A @@ -103,7 +103,7 @@ public RulesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.UnifiedRoleManagementPolicyRule.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get the rules defined for a role management policy. The rules are a collection of following types that are derived from the unifiedRoleManagementPolicyRule object:+ unifiedRoleManagementPolicyApprovalRule+ unifiedRoleManagementPolicyAuthenticationContextRule+ unifiedRoleManagementPolicyEnablementRule+ unifiedRoleManagementPolicyExpirationRule+ unifiedRoleManagementPolicyNotificationRule To retrieve rules for a policy that applies to Azure RBAC, use the Azure REST PIM API for role management policies. + /// Get the rules defined for a role management policy. The rules are a collection of following types that are derived from the unifiedRoleManagementPolicyRule object:+ unifiedRoleManagementPolicyApprovalRule+ unifiedRoleManagementPolicyAuthenticationContextRule+ unifiedRoleManagementPolicyCustomExtensionRule+ unifiedRoleManagementPolicyEnablementRule+ unifiedRoleManagementPolicyExpirationRule+ unifiedRoleManagementPolicyNotificationRule To retrieve rules for a policy that applies to Azure RBAC, use the Azure REST PIM API for role management policies. /// /// 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.RoleManagementPolicies.Item.Rules.RulesRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get the rules defined for a role management policy. The rules are a collection of following types that are derived from the unifiedRoleManagementPolicyRule object:+ unifiedRoleManagementPolicyApprovalRule+ unifiedRoleManagementPolicyAuthenticationContextRule+ unifiedRoleManagementPolicyEnablementRule+ unifiedRoleManagementPolicyExpirationRule+ unifiedRoleManagementPolicyNotificationRule To retrieve rules for a policy that applies to Azure RBAC, use the Azure REST PIM API for role management policies. + /// Get the rules defined for a role management policy. The rules are a collection of following types that are derived from the unifiedRoleManagementPolicyRule object:+ unifiedRoleManagementPolicyApprovalRule+ unifiedRoleManagementPolicyAuthenticationContextRule+ unifiedRoleManagementPolicyCustomExtensionRule+ unifiedRoleManagementPolicyEnablementRule+ unifiedRoleManagementPolicyExpirationRule+ unifiedRoleManagementPolicyNotificationRule To retrieve rules for a policy that applies to Azure RBAC, use the Azure REST PIM API for role management policies. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RulesRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Print/PrintRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/PrintRequestBuilder.cs index efc6f5462850..0efc4f13fa27 100644 --- a/src/Microsoft.Graph/Generated/Print/PrintRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/PrintRequestBuilder.cs @@ -41,6 +41,7 @@ public partial class PrintRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Print.Printers.PrintersRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the printerShares property of the microsoft.graph.print entity. + [Obsolete("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] public global::Microsoft.Graph.Beta.Print.PrinterShares.PrinterSharesRequestBuilder PrinterShares { get => new global::Microsoft.Graph.Beta.Print.PrinterShares.PrinterSharesRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Print/PrinterShares/Item/AllowedGroups/Item/GroupItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/PrinterShares/Item/AllowedGroups/Item/GroupItemRequestBuilder.cs index 3604dca750dc..444c394cc137 100644 --- a/src/Microsoft.Graph/Generated/Print/PrinterShares/Item/AllowedGroups/Item/GroupItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/PrinterShares/Item/AllowedGroups/Item/GroupItemRequestBuilder.cs @@ -17,11 +17,13 @@ namespace Microsoft.Graph.Beta.Print.PrinterShares.Item.AllowedGroups.Item public partial class GroupItemRequestBuilder : BaseRequestBuilder { /// Provides operations to manage the collection of print entities. + [Obsolete("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] public global::Microsoft.Graph.Beta.Print.PrinterShares.Item.AllowedGroups.Item.Ref.RefRequestBuilder Ref { get => new global::Microsoft.Graph.Beta.Print.PrinterShares.Item.AllowedGroups.Item.Ref.RefRequestBuilder(PathParameters, RequestAdapter); } /// The serviceProvisioningErrors property + [Obsolete("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] public global::Microsoft.Graph.Beta.Print.PrinterShares.Item.AllowedGroups.Item.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder ServiceProvisioningErrors { get => new global::Microsoft.Graph.Beta.Print.PrinterShares.Item.AllowedGroups.Item.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Print/PrinterShares/Item/AllowedUsers/Item/UserItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/PrinterShares/Item/AllowedUsers/Item/UserItemRequestBuilder.cs index 20fff99ed215..3df8995b6523 100644 --- a/src/Microsoft.Graph/Generated/Print/PrinterShares/Item/AllowedUsers/Item/UserItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/PrinterShares/Item/AllowedUsers/Item/UserItemRequestBuilder.cs @@ -18,16 +18,19 @@ namespace Microsoft.Graph.Beta.Print.PrinterShares.Item.AllowedUsers.Item public partial class UserItemRequestBuilder : BaseRequestBuilder { /// The mailboxSettings property + [Obsolete("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] public global::Microsoft.Graph.Beta.Print.PrinterShares.Item.AllowedUsers.Item.MailboxSettings.MailboxSettingsRequestBuilder MailboxSettings { get => new global::Microsoft.Graph.Beta.Print.PrinterShares.Item.AllowedUsers.Item.MailboxSettings.MailboxSettingsRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the collection of print entities. + [Obsolete("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] public global::Microsoft.Graph.Beta.Print.PrinterShares.Item.AllowedUsers.Item.Ref.RefRequestBuilder Ref { get => new global::Microsoft.Graph.Beta.Print.PrinterShares.Item.AllowedUsers.Item.Ref.RefRequestBuilder(PathParameters, RequestAdapter); } /// The serviceProvisioningErrors property + [Obsolete("The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] public global::Microsoft.Graph.Beta.Print.PrinterShares.Item.AllowedUsers.Item.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder ServiceProvisioningErrors { get => new global::Microsoft.Graph.Beta.Print.PrinterShares.Item.AllowedUsers.Item.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/Item/PrintJobItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/Item/PrintJobItemRequestBuilder.cs index c883873bd2d1..c2a29d318b8a 100644 --- a/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/Item/PrintJobItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/Item/PrintJobItemRequestBuilder.cs @@ -37,6 +37,7 @@ public partial class PrintJobItemRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Print.Printers.Item.Jobs.Item.Cancel.CancelRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to call the cancelPrintJob method. + [Obsolete("The cancelPrintJob API is deprecated and will stop returning data on July 31, 2023. Please use the cancel API instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] public global::Microsoft.Graph.Beta.Print.Printers.Item.Jobs.Item.CancelPrintJob.CancelPrintJobRequestBuilder CancelPrintJob { get => new global::Microsoft.Graph.Beta.Print.Printers.Item.Jobs.Item.CancelPrintJob.CancelPrintJobRequestBuilder(PathParameters, RequestAdapter); @@ -57,6 +58,7 @@ public partial class PrintJobItemRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Print.Printers.Item.Jobs.Item.Start.StartRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to call the startPrintJob method. + [Obsolete("The startPrintJob API is deprecated and will stop returning data on July 31, 2023. Please use the start API instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] public global::Microsoft.Graph.Beta.Print.Printers.Item.Jobs.Item.StartPrintJob.StartPrintJobRequestBuilder StartPrintJob { get => new global::Microsoft.Graph.Beta.Print.Printers.Item.Jobs.Item.StartPrintJob.StartPrintJobRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Print/Printers/Item/PrinterItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Printers/Item/PrinterItemRequestBuilder.cs index 7b5d44e1825e..ba5fd2acbd7a 100644 --- a/src/Microsoft.Graph/Generated/Print/Printers/Item/PrinterItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Printers/Item/PrinterItemRequestBuilder.cs @@ -32,6 +32,7 @@ public partial class PrinterItemRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Print.Printers.Item.Connectors.ConnectorsRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to call the getCapabilities method. + [Obsolete("The getCapabilities API is deprecated and will stop returning data on July 31, 2023. Please use the capabilities property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] public global::Microsoft.Graph.Beta.Print.Printers.Item.GetCapabilities.GetCapabilitiesRequestBuilder GetCapabilities { get => new global::Microsoft.Graph.Beta.Print.Printers.Item.GetCapabilities.GetCapabilitiesRequestBuilder(PathParameters, RequestAdapter); @@ -42,6 +43,7 @@ public partial class PrinterItemRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Print.Printers.Item.Jobs.JobsRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to call the resetDefaults method. + [Obsolete("The resetDefaults API is deprecated and will stop returning data on July 31, 2023. Please use the restoreFactoryDefaults API instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] public global::Microsoft.Graph.Beta.Print.Printers.Item.ResetDefaults.ResetDefaultsRequestBuilder ResetDefaults { get => new global::Microsoft.Graph.Beta.Print.Printers.Item.ResetDefaults.ResetDefaultsRequestBuilder(PathParameters, RequestAdapter); @@ -52,6 +54,7 @@ public partial class PrinterItemRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Print.Printers.Item.RestoreFactoryDefaults.RestoreFactoryDefaultsRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the share property of the microsoft.graph.printer entity. + [Obsolete("The share navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] public global::Microsoft.Graph.Beta.Print.Printers.Item.Share.ShareRequestBuilder Share { get => new global::Microsoft.Graph.Beta.Print.Printers.Item.Share.ShareRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/Item/PrintJobItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/Item/PrintJobItemRequestBuilder.cs index 1fd8681a692e..af463fb7f245 100644 --- a/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/Item/PrintJobItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/Item/PrintJobItemRequestBuilder.cs @@ -37,6 +37,7 @@ public partial class PrintJobItemRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Print.Shares.Item.Jobs.Item.Cancel.CancelRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to call the cancelPrintJob method. + [Obsolete("The cancelPrintJob API is deprecated and will stop returning data on July 31, 2023. Please use the cancel API instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] public global::Microsoft.Graph.Beta.Print.Shares.Item.Jobs.Item.CancelPrintJob.CancelPrintJobRequestBuilder CancelPrintJob { get => new global::Microsoft.Graph.Beta.Print.Shares.Item.Jobs.Item.CancelPrintJob.CancelPrintJobRequestBuilder(PathParameters, RequestAdapter); @@ -57,6 +58,7 @@ public partial class PrintJobItemRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Print.Shares.Item.Jobs.Item.Start.StartRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to call the startPrintJob method. + [Obsolete("The startPrintJob API is deprecated and will stop returning data on July 31, 2023. Please use the start API instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] public global::Microsoft.Graph.Beta.Print.Shares.Item.Jobs.Item.StartPrintJob.StartPrintJobRequestBuilder StartPrintJob { get => new global::Microsoft.Graph.Beta.Print.Shares.Item.Jobs.Item.StartPrintJob.StartPrintJobRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Privacy/PrivacyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Privacy/PrivacyRequestBuilder.cs index eb3356b93a6b..80075debdeae 100644 --- a/src/Microsoft.Graph/Generated/Privacy/PrivacyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Privacy/PrivacyRequestBuilder.cs @@ -20,6 +20,7 @@ namespace Microsoft.Graph.Beta.Privacy public partial class PrivacyRequestBuilder : BaseRequestBuilder { /// Provides operations to manage the subjectRightsRequests property of the microsoft.graph.privacy entity. + [Obsolete("The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20")] public global::Microsoft.Graph.Beta.Privacy.SubjectRightsRequests.SubjectRightsRequestsRequestBuilder SubjectRightsRequests { get => new global::Microsoft.Graph.Beta.Privacy.SubjectRightsRequests.SubjectRightsRequestsRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Reports/GetMicrosoft365Emissions/GetMicrosoft365EmissionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetMicrosoft365Emissions/GetMicrosoft365EmissionsRequestBuilder.cs new file mode 100644 index 000000000000..5cb764d80b97 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Reports/GetMicrosoft365Emissions/GetMicrosoft365EmissionsRequestBuilder.cs @@ -0,0 +1,97 @@ +// +#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.Reports.GetMicrosoft365Emissions +{ + /// + /// Provides operations to call the getMicrosoft365Emissions method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GetMicrosoft365EmissionsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public GetMicrosoft365EmissionsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/reports/getMicrosoft365Emissions()", 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 GetMicrosoft365EmissionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/reports/getMicrosoft365Emissions()", rawUrl) + { + } + /// + /// Invoke function getMicrosoft365Emissions + /// + /// 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); + } + /// + /// Invoke function getMicrosoft365Emissions + /// + /// 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/octet-stream, application/json"); + 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.Reports.GetMicrosoft365Emissions.GetMicrosoft365EmissionsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Reports.GetMicrosoft365Emissions.GetMicrosoft365EmissionsRequestBuilder(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 GetMicrosoft365EmissionsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Reports/ReportsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/ReportsRequestBuilder.cs index 01e7c65f616f..80364bd5bd4d 100644 --- a/src/Microsoft.Graph/Generated/Reports/ReportsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/ReportsRequestBuilder.cs @@ -50,6 +50,7 @@ using Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUsageUserDetailWithPeriodversionVersion; using Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUserCountSummaryWithPeriodversionVersion; using Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUserCountTrendWithPeriodversionVersion; +using Microsoft.Graph.Beta.Reports.GetMicrosoft365Emissions; using Microsoft.Graph.Beta.Reports.GetOffice365ActivationCounts; using Microsoft.Graph.Beta.Reports.GetOffice365ActivationsUserCounts; using Microsoft.Graph.Beta.Reports.GetOffice365ActivationsUserDetail; @@ -202,6 +203,7 @@ public partial class ReportsRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Reports.Correlations.CorrelationsRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the credentialUserRegistrationDetails property of the microsoft.graph.reportRoot entity. + [Obsolete("The Reporting credentialUserRegistrationDetails API is deprecated and will stop returning data on June 30, 2024. Please use the new userRegistrationDetails API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30")] public global::Microsoft.Graph.Beta.Reports.CredentialUserRegistrationDetails.CredentialUserRegistrationDetailsRequestBuilder CredentialUserRegistrationDetails { get => new global::Microsoft.Graph.Beta.Reports.CredentialUserRegistrationDetails.CredentialUserRegistrationDetailsRequestBuilder(PathParameters, RequestAdapter); @@ -222,11 +224,13 @@ public partial class ReportsRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Reports.DailyPrintUsageByUser.DailyPrintUsageByUserRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the dailyPrintUsageSummariesByPrinter property of the microsoft.graph.reportRoot entity. + [Obsolete("The dailyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] public global::Microsoft.Graph.Beta.Reports.DailyPrintUsageSummariesByPrinter.DailyPrintUsageSummariesByPrinterRequestBuilder DailyPrintUsageSummariesByPrinter { get => new global::Microsoft.Graph.Beta.Reports.DailyPrintUsageSummariesByPrinter.DailyPrintUsageSummariesByPrinterRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the dailyPrintUsageSummariesByUser property of the microsoft.graph.reportRoot entity. + [Obsolete("The dailyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsage navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] public global::Microsoft.Graph.Beta.Reports.DailyPrintUsageSummariesByUser.DailyPrintUsageSummariesByUserRequestBuilder DailyPrintUsageSummariesByUser { get => new global::Microsoft.Graph.Beta.Reports.DailyPrintUsageSummariesByUser.DailyPrintUsageSummariesByUserRequestBuilder(PathParameters, RequestAdapter); @@ -247,16 +251,19 @@ public partial class ReportsRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Reports.GetApiUsageserviceAreaServiceAreaPeriodPeriodAppIdAppId.GetApiUsageserviceAreaServiceAreaPeriodPeriodAppIdAppIdRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to call the getAttackSimulationRepeatOffenders method. + [Obsolete("This report function api is deprecated and will stop returning data on August 20, 2022. Api is now moved to /reports/security. Please use the new API. as of 2022-05/Tasks_And_Plans on 2022-05-24 and will be removed 2022-08-20")] public global::Microsoft.Graph.Beta.Reports.GetAttackSimulationRepeatOffenders.GetAttackSimulationRepeatOffendersRequestBuilder GetAttackSimulationRepeatOffenders { get => new global::Microsoft.Graph.Beta.Reports.GetAttackSimulationRepeatOffenders.GetAttackSimulationRepeatOffendersRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to call the getAttackSimulationSimulationUserCoverage method. + [Obsolete("This report function api is deprecated and will stop returning data on August 20, 2022. Api is now moved to /reports/security. Please use the new API. as of 2022-05/Tasks_And_Plans on 2022-05-24 and will be removed 2022-08-20")] public global::Microsoft.Graph.Beta.Reports.GetAttackSimulationSimulationUserCoverage.GetAttackSimulationSimulationUserCoverageRequestBuilder GetAttackSimulationSimulationUserCoverage { get => new global::Microsoft.Graph.Beta.Reports.GetAttackSimulationSimulationUserCoverage.GetAttackSimulationSimulationUserCoverageRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to call the getAttackSimulationTrainingUserCoverage method. + [Obsolete("This report function api is deprecated and will stop returning data on August 20, 2022. Api is now moved to /reports/security. Please use the new API. as of 2022-05/Tasks_And_Plans on 2022-05-24 and will be removed 2022-08-20")] public global::Microsoft.Graph.Beta.Reports.GetAttackSimulationTrainingUserCoverage.GetAttackSimulationTrainingUserCoverageRequestBuilder GetAttackSimulationTrainingUserCoverage { get => new global::Microsoft.Graph.Beta.Reports.GetAttackSimulationTrainingUserCoverage.GetAttackSimulationTrainingUserCoverageRequestBuilder(PathParameters, RequestAdapter); @@ -266,6 +273,11 @@ public partial class ReportsRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Reports.GetCredentialUserRegistrationCount.GetCredentialUserRegistrationCountRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the getMicrosoft365Emissions method. + public global::Microsoft.Graph.Beta.Reports.GetMicrosoft365Emissions.GetMicrosoft365EmissionsRequestBuilder GetMicrosoft365Emissions + { + get => new global::Microsoft.Graph.Beta.Reports.GetMicrosoft365Emissions.GetMicrosoft365EmissionsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the getOffice365ActivationCounts method. public global::Microsoft.Graph.Beta.Reports.GetOffice365ActivationCounts.GetOffice365ActivationCountsRequestBuilder GetOffice365ActivationCounts { @@ -322,11 +334,13 @@ public partial class ReportsRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Reports.MonthlyPrintUsageByUser.MonthlyPrintUsageByUserRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the monthlyPrintUsageSummariesByPrinter property of the microsoft.graph.reportRoot entity. + [Obsolete("The monthlyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] public global::Microsoft.Graph.Beta.Reports.MonthlyPrintUsageSummariesByPrinter.MonthlyPrintUsageSummariesByPrinterRequestBuilder MonthlyPrintUsageSummariesByPrinter { get => new global::Microsoft.Graph.Beta.Reports.MonthlyPrintUsageSummariesByPrinter.MonthlyPrintUsageSummariesByPrinterRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the monthlyPrintUsageSummariesByUser property of the microsoft.graph.reportRoot entity. + [Obsolete("The monthlyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByUser navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] public global::Microsoft.Graph.Beta.Reports.MonthlyPrintUsageSummariesByUser.MonthlyPrintUsageSummariesByUserRequestBuilder MonthlyPrintUsageSummariesByUser { get => new global::Microsoft.Graph.Beta.Reports.MonthlyPrintUsageSummariesByUser.MonthlyPrintUsageSummariesByUserRequestBuilder(PathParameters, RequestAdapter); @@ -357,6 +371,7 @@ public partial class ReportsRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Reports.Sla.SlaRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the userCredentialUsageDetails property of the microsoft.graph.reportRoot entity. + [Obsolete("The Reporting userCredentialUsageDetails API is deprecated and will stop returning data on June 30, 2025. Please use the new userEventsSummary API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30")] public global::Microsoft.Graph.Beta.Reports.UserCredentialUsageDetails.UserCredentialUsageDetailsRequestBuilder UserCredentialUsageDetails { get => new global::Microsoft.Graph.Beta.Reports.UserCredentialUsageDetails.UserCredentialUsageDetailsRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Reports/UserInsights/Daily/DailyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/UserInsights/Daily/DailyRequestBuilder.cs index e94ecf4b1b2a..430ee665d5b3 100644 --- a/src/Microsoft.Graph/Generated/Reports/UserInsights/Daily/DailyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/UserInsights/Daily/DailyRequestBuilder.cs @@ -43,6 +43,7 @@ public partial class DailyRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Reports.UserInsights.Daily.InactiveUsers.InactiveUsersRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the inactiveUsersByApplication property of the microsoft.graph.dailyUserInsightMetricsRoot entity. + [Obsolete("The Inactive Users By Application Metric is deprecated and will stop returning data on February 16, 2024. Please use the existing Inactive Users API. as of 2024-02/Remove_Breakdown_APIs on 2024-02-02 and will be removed 2024-02-16")] public global::Microsoft.Graph.Beta.Reports.UserInsights.Daily.InactiveUsersByApplication.InactiveUsersByApplicationRequestBuilder InactiveUsersByApplication { get => new global::Microsoft.Graph.Beta.Reports.UserInsights.Daily.InactiveUsersByApplication.InactiveUsersByApplicationRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Reports/UserInsights/Monthly/MonthlyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/UserInsights/Monthly/MonthlyRequestBuilder.cs index 8264066f6cc5..377f49da8666 100644 --- a/src/Microsoft.Graph/Generated/Reports/UserInsights/Monthly/MonthlyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/UserInsights/Monthly/MonthlyRequestBuilder.cs @@ -43,6 +43,7 @@ public partial class MonthlyRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Reports.UserInsights.Monthly.InactiveUsers.InactiveUsersRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the inactiveUsersByApplication property of the microsoft.graph.monthlyUserInsightMetricsRoot entity. + [Obsolete("The Inactive Users By Application Metric is deprecated and will stop returning data on February 16, 2024. Please use the existing Inactive Users API. as of 2024-02/Remove_Breakdown_APIs on 2024-02-02 and will be removed 2024-02-16")] public global::Microsoft.Graph.Beta.Reports.UserInsights.Monthly.InactiveUsersByApplication.InactiveUsersByApplicationRequestBuilder InactiveUsersByApplication { get => new global::Microsoft.Graph.Beta.Reports.UserInsights.Monthly.InactiveUsersByApplication.InactiveUsersByApplicationRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleRequests/Item/UnifiedRoleAssignmentScheduleRequestItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleRequests/Item/UnifiedRoleAssignmentScheduleRequestItemRequestBuilder.cs index 98ade4e48bf3..e13fef580ba5 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleRequests/Item/UnifiedRoleAssignmentScheduleRequestItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleRequests/Item/UnifiedRoleAssignmentScheduleRequestItemRequestBuilder.cs @@ -9,6 +9,7 @@ using Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleAssignmentScheduleRequests.Item.Principal; using Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleAssignmentScheduleRequests.Item.RoleDefinition; using Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleAssignmentScheduleRequests.Item.TargetSchedule; +using Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleAssignmentScheduleRequests.Item.UpdateRequest; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -60,6 +61,11 @@ public partial class UnifiedRoleAssignmentScheduleRequestItemRequestBuilder : Ba { get => new global::Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleAssignmentScheduleRequests.Item.TargetSchedule.TargetScheduleRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the updateRequest method. + public global::Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleAssignmentScheduleRequests.Item.UpdateRequest.UpdateRequestRequestBuilder UpdateRequest + { + get => new global::Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleAssignmentScheduleRequests.Item.UpdateRequest.UpdateRequestRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleRequests/Item/UpdateRequest/UpdateRequestPostRequestBody.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleRequests/Item/UpdateRequest/UpdateRequestPostRequestBody.cs new file mode 100644 index 000000000000..6e6903449f43 --- /dev/null +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleRequests/Item/UpdateRequest/UpdateRequestPostRequestBody.cs @@ -0,0 +1,126 @@ +// +#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.RoleManagement.DirectoryNamespace.RoleAssignmentScheduleRequests.Item.UpdateRequest +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class UpdateRequestPostRequestBody : 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 evaluationId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? EvaluationId + { + get { return BackingStore?.Get("evaluationId"); } + set { BackingStore?.Set("evaluationId", value); } + } +#nullable restore +#else + public string EvaluationId + { + get { return BackingStore?.Get("evaluationId"); } + set { BackingStore?.Set("evaluationId", value); } + } +#endif + /// The evaluationOutcome property + public global::Microsoft.Graph.Beta.Models.EvaluationOutcome? EvaluationOutcome + { + get { return BackingStore?.Get("evaluationOutcome"); } + set { BackingStore?.Set("evaluationOutcome", value); } + } + /// The reason property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Reason + { + get { return BackingStore?.Get("reason"); } + set { BackingStore?.Set("reason", value); } + } +#nullable restore +#else + public string Reason + { + get { return BackingStore?.Get("reason"); } + set { BackingStore?.Set("reason", value); } + } +#endif + /// The scheduleInfo property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.RequestSchedule? ScheduleInfo + { + get { return BackingStore?.Get("scheduleInfo"); } + set { BackingStore?.Set("scheduleInfo", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.RequestSchedule ScheduleInfo + { + get { return BackingStore?.Get("scheduleInfo"); } + set { BackingStore?.Set("scheduleInfo", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public UpdateRequestPostRequestBody() + { + 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.RoleManagement.DirectoryNamespace.RoleAssignmentScheduleRequests.Item.UpdateRequest.UpdateRequestPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleAssignmentScheduleRequests.Item.UpdateRequest.UpdateRequestPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "evaluationId", n => { EvaluationId = n.GetStringValue(); } }, + { "evaluationOutcome", n => { EvaluationOutcome = n.GetEnumValue(); } }, + { "reason", n => { Reason = n.GetStringValue(); } }, + { "scheduleInfo", n => { ScheduleInfo = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.RequestSchedule.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("evaluationId", EvaluationId); + writer.WriteEnumValue("evaluationOutcome", EvaluationOutcome); + writer.WriteStringValue("reason", Reason); + writer.WriteObjectValue("scheduleInfo", ScheduleInfo); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleRequests/Item/UpdateRequest/UpdateRequestRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleRequests/Item/UpdateRequest/UpdateRequestRequestBuilder.cs new file mode 100644 index 000000000000..b59630183a62 --- /dev/null +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleRequests/Item/UpdateRequest/UpdateRequestRequestBuilder.cs @@ -0,0 +1,104 @@ +// +#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.RoleManagement.DirectoryNamespace.RoleAssignmentScheduleRequests.Item.UpdateRequest +{ + /// + /// Provides operations to call the updateRequest method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UpdateRequestRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public UpdateRequestRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/directory/roleAssignmentScheduleRequests/{unifiedRoleAssignmentScheduleRequest%2Did}/updateRequest", 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 UpdateRequestRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/directory/roleAssignmentScheduleRequests/{unifiedRoleAssignmentScheduleRequest%2Did}/updateRequest", rawUrl) + { + } + /// + /// Update a unifiedRoleAssignmentScheduleRequest object with the result of a custom extension evaluation for a Microsoft Entra role assignment request. + /// 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 PostAsync(global::Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleAssignmentScheduleRequests.Item.UpdateRequest.UpdateRequestPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleAssignmentScheduleRequests.Item.UpdateRequest.UpdateRequestPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) 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.UnifiedRoleAssignmentScheduleRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update a unifiedRoleAssignmentScheduleRequest object with the result of a custom extension evaluation for a Microsoft Entra role assignment request. + /// + /// 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.RoleManagement.DirectoryNamespace.RoleAssignmentScheduleRequests.Item.UpdateRequest.UpdateRequestPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleAssignmentScheduleRequests.Item.UpdateRequest.UpdateRequestPostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) 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.RoleManagement.DirectoryNamespace.RoleAssignmentScheduleRequests.Item.UpdateRequest.UpdateRequestRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleAssignmentScheduleRequests.Item.UpdateRequest.UpdateRequestRequestBuilder(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 UpdateRequestRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/RoleAssignmentScheduleRequests/Item/UnifiedRoleAssignmentScheduleRequestItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/RoleAssignmentScheduleRequests/Item/UnifiedRoleAssignmentScheduleRequestItemRequestBuilder.cs index 927448e203a6..0f33b18750e5 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/RoleAssignmentScheduleRequests/Item/UnifiedRoleAssignmentScheduleRequestItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/RoleAssignmentScheduleRequests/Item/UnifiedRoleAssignmentScheduleRequestItemRequestBuilder.cs @@ -9,6 +9,7 @@ using Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleAssignmentScheduleRequests.Item.Principal; using Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleAssignmentScheduleRequests.Item.RoleDefinition; using Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleAssignmentScheduleRequests.Item.TargetSchedule; +using Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleAssignmentScheduleRequests.Item.UpdateRequest; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -60,6 +61,11 @@ public partial class UnifiedRoleAssignmentScheduleRequestItemRequestBuilder : Ba { get => new global::Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleAssignmentScheduleRequests.Item.TargetSchedule.TargetScheduleRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the updateRequest method. + public global::Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleAssignmentScheduleRequests.Item.UpdateRequest.UpdateRequestRequestBuilder UpdateRequest + { + get => new global::Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleAssignmentScheduleRequests.Item.UpdateRequest.UpdateRequestRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/RoleAssignmentScheduleRequests/Item/UpdateRequest/UpdateRequestPostRequestBody.cs b/src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/RoleAssignmentScheduleRequests/Item/UpdateRequest/UpdateRequestPostRequestBody.cs new file mode 100644 index 000000000000..dbe28f5b3ef4 --- /dev/null +++ b/src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/RoleAssignmentScheduleRequests/Item/UpdateRequest/UpdateRequestPostRequestBody.cs @@ -0,0 +1,126 @@ +// +#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.RoleManagement.EnterpriseApps.Item.RoleAssignmentScheduleRequests.Item.UpdateRequest +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class UpdateRequestPostRequestBody : 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 evaluationId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? EvaluationId + { + get { return BackingStore?.Get("evaluationId"); } + set { BackingStore?.Set("evaluationId", value); } + } +#nullable restore +#else + public string EvaluationId + { + get { return BackingStore?.Get("evaluationId"); } + set { BackingStore?.Set("evaluationId", value); } + } +#endif + /// The evaluationOutcome property + public global::Microsoft.Graph.Beta.Models.EvaluationOutcome? EvaluationOutcome + { + get { return BackingStore?.Get("evaluationOutcome"); } + set { BackingStore?.Set("evaluationOutcome", value); } + } + /// The reason property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Reason + { + get { return BackingStore?.Get("reason"); } + set { BackingStore?.Set("reason", value); } + } +#nullable restore +#else + public string Reason + { + get { return BackingStore?.Get("reason"); } + set { BackingStore?.Set("reason", value); } + } +#endif + /// The scheduleInfo property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.RequestSchedule? ScheduleInfo + { + get { return BackingStore?.Get("scheduleInfo"); } + set { BackingStore?.Set("scheduleInfo", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.RequestSchedule ScheduleInfo + { + get { return BackingStore?.Get("scheduleInfo"); } + set { BackingStore?.Set("scheduleInfo", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public UpdateRequestPostRequestBody() + { + 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.RoleManagement.EnterpriseApps.Item.RoleAssignmentScheduleRequests.Item.UpdateRequest.UpdateRequestPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleAssignmentScheduleRequests.Item.UpdateRequest.UpdateRequestPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "evaluationId", n => { EvaluationId = n.GetStringValue(); } }, + { "evaluationOutcome", n => { EvaluationOutcome = n.GetEnumValue(); } }, + { "reason", n => { Reason = n.GetStringValue(); } }, + { "scheduleInfo", n => { ScheduleInfo = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.RequestSchedule.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("evaluationId", EvaluationId); + writer.WriteEnumValue("evaluationOutcome", EvaluationOutcome); + writer.WriteStringValue("reason", Reason); + writer.WriteObjectValue("scheduleInfo", ScheduleInfo); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/RoleAssignmentScheduleRequests/Item/UpdateRequest/UpdateRequestRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/RoleAssignmentScheduleRequests/Item/UpdateRequest/UpdateRequestRequestBuilder.cs new file mode 100644 index 000000000000..dfb5e0b3dfd8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/RoleAssignmentScheduleRequests/Item/UpdateRequest/UpdateRequestRequestBuilder.cs @@ -0,0 +1,104 @@ +// +#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.RoleManagement.EnterpriseApps.Item.RoleAssignmentScheduleRequests.Item.UpdateRequest +{ + /// + /// Provides operations to call the updateRequest method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UpdateRequestRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public UpdateRequestRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/enterpriseApps/{rbacApplication%2Did}/roleAssignmentScheduleRequests/{unifiedRoleAssignmentScheduleRequest%2Did}/updateRequest", 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 UpdateRequestRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/enterpriseApps/{rbacApplication%2Did}/roleAssignmentScheduleRequests/{unifiedRoleAssignmentScheduleRequest%2Did}/updateRequest", rawUrl) + { + } + /// + /// Update a unifiedRoleAssignmentScheduleRequest object with the result of a custom extension evaluation for a Microsoft Entra role assignment request. + /// 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 PostAsync(global::Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleAssignmentScheduleRequests.Item.UpdateRequest.UpdateRequestPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleAssignmentScheduleRequests.Item.UpdateRequest.UpdateRequestPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) 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.UnifiedRoleAssignmentScheduleRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update a unifiedRoleAssignmentScheduleRequest object with the result of a custom extension evaluation for a Microsoft Entra role assignment request. + /// + /// 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.RoleManagement.EnterpriseApps.Item.RoleAssignmentScheduleRequests.Item.UpdateRequest.UpdateRequestPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleAssignmentScheduleRequests.Item.UpdateRequest.UpdateRequestPostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) 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.RoleManagement.EnterpriseApps.Item.RoleAssignmentScheduleRequests.Item.UpdateRequest.UpdateRequestRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleAssignmentScheduleRequests.Item.UpdateRequest.UpdateRequestRequestBuilder(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 UpdateRequestRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/UnifiedRoleAssignmentScheduleRequestItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/UnifiedRoleAssignmentScheduleRequestItemRequestBuilder.cs index 9a500998d999..22d49cf3bd14 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/UnifiedRoleAssignmentScheduleRequestItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/UnifiedRoleAssignmentScheduleRequestItemRequestBuilder.cs @@ -9,6 +9,7 @@ using Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleAssignmentScheduleRequests.Item.Principal; using Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleAssignmentScheduleRequests.Item.RoleDefinition; using Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleAssignmentScheduleRequests.Item.TargetSchedule; +using Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleAssignmentScheduleRequests.Item.UpdateRequest; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -60,6 +61,11 @@ public partial class UnifiedRoleAssignmentScheduleRequestItemRequestBuilder : Ba { get => new global::Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleAssignmentScheduleRequests.Item.TargetSchedule.TargetScheduleRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the updateRequest method. + public global::Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleAssignmentScheduleRequests.Item.UpdateRequest.UpdateRequestRequestBuilder UpdateRequest + { + get => new global::Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleAssignmentScheduleRequests.Item.UpdateRequest.UpdateRequestRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/UpdateRequest/UpdateRequestPostRequestBody.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/UpdateRequest/UpdateRequestPostRequestBody.cs new file mode 100644 index 000000000000..68c39674fab9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/UpdateRequest/UpdateRequestPostRequestBody.cs @@ -0,0 +1,126 @@ +// +#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.RoleManagement.EntitlementManagement.RoleAssignmentScheduleRequests.Item.UpdateRequest +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class UpdateRequestPostRequestBody : 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 evaluationId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? EvaluationId + { + get { return BackingStore?.Get("evaluationId"); } + set { BackingStore?.Set("evaluationId", value); } + } +#nullable restore +#else + public string EvaluationId + { + get { return BackingStore?.Get("evaluationId"); } + set { BackingStore?.Set("evaluationId", value); } + } +#endif + /// The evaluationOutcome property + public global::Microsoft.Graph.Beta.Models.EvaluationOutcome? EvaluationOutcome + { + get { return BackingStore?.Get("evaluationOutcome"); } + set { BackingStore?.Set("evaluationOutcome", value); } + } + /// The reason property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Reason + { + get { return BackingStore?.Get("reason"); } + set { BackingStore?.Set("reason", value); } + } +#nullable restore +#else + public string Reason + { + get { return BackingStore?.Get("reason"); } + set { BackingStore?.Set("reason", value); } + } +#endif + /// The scheduleInfo property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.RequestSchedule? ScheduleInfo + { + get { return BackingStore?.Get("scheduleInfo"); } + set { BackingStore?.Set("scheduleInfo", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.RequestSchedule ScheduleInfo + { + get { return BackingStore?.Get("scheduleInfo"); } + set { BackingStore?.Set("scheduleInfo", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public UpdateRequestPostRequestBody() + { + 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.RoleManagement.EntitlementManagement.RoleAssignmentScheduleRequests.Item.UpdateRequest.UpdateRequestPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleAssignmentScheduleRequests.Item.UpdateRequest.UpdateRequestPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "evaluationId", n => { EvaluationId = n.GetStringValue(); } }, + { "evaluationOutcome", n => { EvaluationOutcome = n.GetEnumValue(); } }, + { "reason", n => { Reason = n.GetStringValue(); } }, + { "scheduleInfo", n => { ScheduleInfo = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.RequestSchedule.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("evaluationId", EvaluationId); + writer.WriteEnumValue("evaluationOutcome", EvaluationOutcome); + writer.WriteStringValue("reason", Reason); + writer.WriteObjectValue("scheduleInfo", ScheduleInfo); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/UpdateRequest/UpdateRequestRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/UpdateRequest/UpdateRequestRequestBuilder.cs new file mode 100644 index 000000000000..d92f8ecb11a0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/UpdateRequest/UpdateRequestRequestBuilder.cs @@ -0,0 +1,104 @@ +// +#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.RoleManagement.EntitlementManagement.RoleAssignmentScheduleRequests.Item.UpdateRequest +{ + /// + /// Provides operations to call the updateRequest method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UpdateRequestRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public UpdateRequestRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/entitlementManagement/roleAssignmentScheduleRequests/{unifiedRoleAssignmentScheduleRequest%2Did}/updateRequest", 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 UpdateRequestRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/entitlementManagement/roleAssignmentScheduleRequests/{unifiedRoleAssignmentScheduleRequest%2Did}/updateRequest", rawUrl) + { + } + /// + /// Update a unifiedRoleAssignmentScheduleRequest object with the result of a custom extension evaluation for a Microsoft Entra role assignment request. + /// 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 PostAsync(global::Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleAssignmentScheduleRequests.Item.UpdateRequest.UpdateRequestPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleAssignmentScheduleRequests.Item.UpdateRequest.UpdateRequestPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) 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.UnifiedRoleAssignmentScheduleRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update a unifiedRoleAssignmentScheduleRequest object with the result of a custom extension evaluation for a Microsoft Entra role assignment request. + /// + /// 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.RoleManagement.EntitlementManagement.RoleAssignmentScheduleRequests.Item.UpdateRequest.UpdateRequestPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleAssignmentScheduleRequests.Item.UpdateRequest.UpdateRequestPostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) 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.RoleManagement.EntitlementManagement.RoleAssignmentScheduleRequests.Item.UpdateRequest.UpdateRequestRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleAssignmentScheduleRequests.Item.UpdateRequest.UpdateRequestRequestBuilder(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 UpdateRequestRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Security/CaseManagement/CaseTypeConfigurations/Item/CaseTypeConfigurationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/CaseManagement/CaseTypeConfigurations/Item/CaseTypeConfigurationItemRequestBuilder.cs index e1b85c1a8a08..fb520b2a0113 100644 --- a/src/Microsoft.Graph/Generated/Security/CaseManagement/CaseTypeConfigurations/Item/CaseTypeConfigurationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/CaseManagement/CaseTypeConfigurations/Item/CaseTypeConfigurationItemRequestBuilder.cs @@ -3,6 +3,7 @@ using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models.Security.CaseManagement; using Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.CustomFields; +using Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.SlaPolicies; using Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.Statuses; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; @@ -25,6 +26,11 @@ public partial class CaseTypeConfigurationItemRequestBuilder : BaseRequestBuilde { get => new global::Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.CustomFields.CustomFieldsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the slaPolicies property of the microsoft.graph.security.caseManagement.caseTypeConfiguration entity. + public global::Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.SlaPolicies.SlaPoliciesRequestBuilder SlaPolicies + { + get => new global::Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.SlaPolicies.SlaPoliciesRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the statuses property of the microsoft.graph.security.caseManagement.caseTypeConfiguration entity. public global::Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.Statuses.StatusesRequestBuilder Statuses { diff --git a/src/Microsoft.Graph/Generated/Security/CaseManagement/CaseTypeConfigurations/Item/SlaPolicies/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/CaseManagement/CaseTypeConfigurations/Item/SlaPolicies/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..32a4a6ed2dc0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/CaseManagement/CaseTypeConfigurations/Item/SlaPolicies/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.Security.CaseManagement.CaseTypeConfigurations.Item.SlaPolicies.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}/security/caseManagement/caseTypeConfigurations/{caseTypeConfiguration%2Did}/slaPolicies/$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}/security/caseManagement/caseTypeConfigurations/{caseTypeConfiguration%2Did}/slaPolicies/$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.Security.CaseManagement.CaseTypeConfigurations.Item.SlaPolicies.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.SlaPolicies.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/Security/CaseManagement/CaseTypeConfigurations/Item/SlaPolicies/Item/SlaPolicyDefinitionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/CaseManagement/CaseTypeConfigurations/Item/SlaPolicies/Item/SlaPolicyDefinitionItemRequestBuilder.cs new file mode 100644 index 000000000000..71524cf5f1af --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/CaseManagement/CaseTypeConfigurations/Item/SlaPolicies/Item/SlaPolicyDefinitionItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models.Security.CaseManagement; +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.CaseManagement.CaseTypeConfigurations.Item.SlaPolicies.Item +{ + /// + /// Provides operations to manage the slaPolicies property of the microsoft.graph.security.caseManagement.caseTypeConfiguration entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SlaPolicyDefinitionItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public SlaPolicyDefinitionItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/caseManagement/caseTypeConfigurations/{caseTypeConfiguration%2Did}/slaPolicies/{slaPolicyDefinition%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 SlaPolicyDefinitionItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/caseManagement/caseTypeConfigurations/{caseTypeConfiguration%2Did}/slaPolicies/{slaPolicyDefinition%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property slaPolicies for security + /// + /// 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); + } + /// + /// The contained SLA policy definitions configured for this case type. Supports $filter and $orderby on createdBy, createdDateTime, description, displayName, id, isActive, lastModifiedBy, and lastModifiedDateTime on the collection endpoint. For information about supported query parameters, see List slaPolicies. Also supports $count, $select, $skip, and $top on the collection endpoint. Supports $expand=slaPolicies when getting a case type configuration. + /// + /// 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.Security.CaseManagement.SlaPolicyDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property slaPolicies in security + /// + /// 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.Security.CaseManagement.SlaPolicyDefinition body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.Security.CaseManagement.SlaPolicyDefinition body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) 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.Security.CaseManagement.SlaPolicyDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property slaPolicies for security + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The contained SLA policy definitions configured for this case type. Supports $filter and $orderby on createdBy, createdDateTime, description, displayName, id, isActive, lastModifiedBy, and lastModifiedDateTime on the collection endpoint. For information about supported query parameters, see List slaPolicies. Also supports $count, $select, $skip, and $top on the collection endpoint. Supports $expand=slaPolicies when getting a case type configuration. + /// + /// 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 slaPolicies in security + /// + /// 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.Security.CaseManagement.SlaPolicyDefinition body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.Security.CaseManagement.SlaPolicyDefinition body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) 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.Security.CaseManagement.CaseTypeConfigurations.Item.SlaPolicies.Item.SlaPolicyDefinitionItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.SlaPolicies.Item.SlaPolicyDefinitionItemRequestBuilder(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 SlaPolicyDefinitionItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// The contained SLA policy definitions configured for this case type. Supports $filter and $orderby on createdBy, createdDateTime, description, displayName, id, isActive, lastModifiedBy, and lastModifiedDateTime on the collection endpoint. For information about supported query parameters, see List slaPolicies. Also supports $count, $select, $skip, and $top on the collection endpoint. Supports $expand=slaPolicies when getting a case type configuration. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SlaPolicyDefinitionItemRequestBuilderGetQueryParameters + { + /// 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 SlaPolicyDefinitionItemRequestBuilderGetRequestConfiguration : 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 SlaPolicyDefinitionItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Security/CaseManagement/CaseTypeConfigurations/Item/SlaPolicies/SlaPoliciesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/CaseManagement/CaseTypeConfigurations/Item/SlaPolicies/SlaPoliciesRequestBuilder.cs new file mode 100644 index 000000000000..d3dae862a355 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/CaseManagement/CaseTypeConfigurations/Item/SlaPolicies/SlaPoliciesRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models.Security.CaseManagement; +using Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.SlaPolicies.Count; +using Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.SlaPolicies.Item; +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.CaseManagement.CaseTypeConfigurations.Item.SlaPolicies +{ + /// + /// Provides operations to manage the slaPolicies property of the microsoft.graph.security.caseManagement.caseTypeConfiguration entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SlaPoliciesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.SlaPolicies.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.SlaPolicies.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the slaPolicies property of the microsoft.graph.security.caseManagement.caseTypeConfiguration entity. + /// The unique identifier of slaPolicyDefinition + /// A + public global::Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.SlaPolicies.Item.SlaPolicyDefinitionItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("slaPolicyDefinition%2Did", position); + return new global::Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.SlaPolicies.Item.SlaPolicyDefinitionItemRequestBuilder(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 SlaPoliciesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/caseManagement/caseTypeConfigurations/{caseTypeConfiguration%2Did}/slaPolicies{?%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 SlaPoliciesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/caseManagement/caseTypeConfigurations/{caseTypeConfiguration%2Did}/slaPolicies{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The contained SLA policy definitions configured for this case type. Supports $filter and $orderby on createdBy, createdDateTime, description, displayName, id, isActive, lastModifiedBy, and lastModifiedDateTime on the collection endpoint. For information about supported query parameters, see List slaPolicies. Also supports $count, $select, $skip, and $top on the collection endpoint. Supports $expand=slaPolicies when getting a case type configuration. + /// + /// 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.Security.CaseManagement.SlaPolicyDefinitionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to slaPolicies for security + /// + /// 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.Security.CaseManagement.SlaPolicyDefinition body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.Security.CaseManagement.SlaPolicyDefinition body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) 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.Security.CaseManagement.SlaPolicyDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The contained SLA policy definitions configured for this case type. Supports $filter and $orderby on createdBy, createdDateTime, description, displayName, id, isActive, lastModifiedBy, and lastModifiedDateTime on the collection endpoint. For information about supported query parameters, see List slaPolicies. Also supports $count, $select, $skip, and $top on the collection endpoint. Supports $expand=slaPolicies when getting a case type configuration. + /// + /// 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 slaPolicies for security + /// + /// 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.Security.CaseManagement.SlaPolicyDefinition body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.Security.CaseManagement.SlaPolicyDefinition body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) 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.CaseManagement.CaseTypeConfigurations.Item.SlaPolicies.SlaPoliciesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.SlaPolicies.SlaPoliciesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The contained SLA policy definitions configured for this case type. Supports $filter and $orderby on createdBy, createdDateTime, description, displayName, id, isActive, lastModifiedBy, and lastModifiedDateTime on the collection endpoint. For information about supported query parameters, see List slaPolicies. Also supports $count, $select, $skip, and $top on the collection endpoint. Supports $expand=slaPolicies when getting a case type configuration. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SlaPoliciesRequestBuilderGetQueryParameters + { + /// 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 SlaPoliciesRequestBuilderGetRequestConfiguration : 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 SlaPoliciesRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/ProcessContent/ProcessContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/ProcessContent/ProcessContentRequestBuilder.cs index 4bebd4cc94c8..3dc49a3ddb36 100644 --- a/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/ProcessContent/ProcessContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/ProcessContent/ProcessContentRequestBuilder.cs @@ -35,7 +35,7 @@ public ProcessContentRequestBuilder(string rawUrl, IRequestAdapter requestAdapte { } /// - /// Evaluate content against Microsoft Purview Data Loss Prevention (DLP) policies and return the policy actions that apply to the supplied content. Use this API when an application needs to evaluate content before or during data movement. In Agent-to-Tool (A2T) scenarios, the agent runtime calls this API before invoking an external tool to determine whether the content should be allowed, blocked, or audited according to Microsoft Purview policies. For A2T scenarios: The response contains any applicable policy actions together with the protection scope state, allowing callers to determine whether cached protection scopes should be refreshed. + /// Process content from an agent interaction against tenant data protection policies. The protected agent is identified in protectedAppMetadata.applicationLocation, and the other parties in the interaction are identified in activityMetadata.participants. /// Find more info here /// /// A @@ -61,7 +61,7 @@ public ProcessContentRequestBuilder(string rawUrl, IRequestAdapter requestAdapte return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ProcessContentResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Evaluate content against Microsoft Purview Data Loss Prevention (DLP) policies and return the policy actions that apply to the supplied content. Use this API when an application needs to evaluate content before or during data movement. In Agent-to-Tool (A2T) scenarios, the agent runtime calls this API before invoking an external tool to determine whether the content should be allowed, blocked, or audited according to Microsoft Purview policies. For A2T scenarios: The response contains any applicable policy actions together with the protection scope state, allowing callers to determine whether cached protection scopes should be refreshed. + /// Process content from an agent interaction against tenant data protection policies. The protected agent is identified in protectedAppMetadata.applicationLocation, and the other parties in the interaction are identified in activityMetadata.participants. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputeRequestBuilder.cs index 7c483bc5127c..72b0eadc8f42 100644 --- a/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputeRequestBuilder.cs @@ -34,7 +34,8 @@ public ComputeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Invoke action compute + /// Compute tenant-wide data protection policies and actions, including user, group, or agent policy scopes. + /// Find more info here /// /// A /// The request body @@ -59,7 +60,8 @@ public ComputeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Invoke action compute + /// Compute tenant-wide data protection policies and actions, including user, group, or agent policy scopes. + /// Find more info here /// /// A /// The request body @@ -85,7 +87,7 @@ public ComputeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputeResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Invoke action compute + /// Compute tenant-wide data protection policies and actions, including user, group, or agent policy scopes. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilder.cs index a440cee85444..076d518c2639 100644 --- a/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilder.cs @@ -63,7 +63,7 @@ public async Task DeleteAsync(Action - /// Container for actions related to computing tenant-wide data protection scopes. + /// The container for actions related to computing tenant-wide data protection scopes. /// /// A /// Cancellation token to use when cancelling requests @@ -130,7 +130,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Container for actions related to computing tenant-wide data protection scopes. + /// The container for actions related to computing tenant-wide data protection scopes. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -188,7 +188,7 @@ public partial class ProtectionScopesRequestBuilderDeleteRequestConfiguration : { } /// - /// Container for actions related to computing tenant-wide data protection scopes. + /// The container for actions related to computing tenant-wide data protection scopes. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ProtectionScopesRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Security/SecurityRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/SecurityRequestBuilder.cs index 2d31bddd31f8..e835b4701992 100644 --- a/src/Microsoft.Graph/Generated/Security/SecurityRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/SecurityRequestBuilder.cs @@ -58,6 +58,7 @@ namespace Microsoft.Graph.Beta.Security public partial class SecurityRequestBuilder : BaseRequestBuilder { /// Provides operations to manage the alerts property of the microsoft.graph.security entity. + [Obsolete("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10")] public global::Microsoft.Graph.Beta.Security.Alerts.AlertsRequestBuilder Alerts { get => new global::Microsoft.Graph.Beta.Security.Alerts.AlertsRequestBuilder(PathParameters, RequestAdapter); @@ -88,6 +89,7 @@ public partial class SecurityRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Security.Cases.CasesRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the cloudAppSecurityProfiles property of the microsoft.graph.security entity. + [Obsolete("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10")] public global::Microsoft.Graph.Beta.Security.CloudAppSecurityProfiles.CloudAppSecurityProfilesRequestBuilder CloudAppSecurityProfiles { get => new global::Microsoft.Graph.Beta.Security.CloudAppSecurityProfiles.CloudAppSecurityProfilesRequestBuilder(PathParameters, RequestAdapter); @@ -108,16 +110,19 @@ public partial class SecurityRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the domainSecurityProfiles property of the microsoft.graph.security entity. + [Obsolete("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10")] public global::Microsoft.Graph.Beta.Security.DomainSecurityProfiles.DomainSecurityProfilesRequestBuilder DomainSecurityProfiles { get => new global::Microsoft.Graph.Beta.Security.DomainSecurityProfiles.DomainSecurityProfilesRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the fileSecurityProfiles property of the microsoft.graph.security entity. + [Obsolete("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10")] public global::Microsoft.Graph.Beta.Security.FileSecurityProfiles.FileSecurityProfilesRequestBuilder FileSecurityProfiles { get => new global::Microsoft.Graph.Beta.Security.FileSecurityProfiles.FileSecurityProfilesRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the hostSecurityProfiles property of the microsoft.graph.security entity. + [Obsolete("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10")] public global::Microsoft.Graph.Beta.Security.HostSecurityProfiles.HostSecurityProfilesRequestBuilder HostSecurityProfiles { get => new global::Microsoft.Graph.Beta.Security.HostSecurityProfiles.HostSecurityProfilesRequestBuilder(PathParameters, RequestAdapter); @@ -143,6 +148,7 @@ public partial class SecurityRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Security.InformationProtection.InformationProtectionRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the ipSecurityProfiles property of the microsoft.graph.security entity. + [Obsolete("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10")] public global::Microsoft.Graph.Beta.Security.IpSecurityProfiles.IpSecurityProfilesRequestBuilder IpSecurityProfiles { get => new global::Microsoft.Graph.Beta.Security.IpSecurityProfiles.IpSecurityProfilesRequestBuilder(PathParameters, RequestAdapter); @@ -173,6 +179,7 @@ public partial class SecurityRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Security.Partner.PartnerRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the providerTenantSettings property of the microsoft.graph.security entity. + [Obsolete("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10")] public global::Microsoft.Graph.Beta.Security.ProviderTenantSettings.ProviderTenantSettingsRequestBuilder ProviderTenantSettings { get => new global::Microsoft.Graph.Beta.Security.ProviderTenantSettings.ProviderTenantSettingsRequestBuilder(PathParameters, RequestAdapter); @@ -193,6 +200,7 @@ public partial class SecurityRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Security.SecureScores.SecureScoresRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the securityActions property of the microsoft.graph.security entity. + [Obsolete("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10")] public global::Microsoft.Graph.Beta.Security.SecurityActions.SecurityActionsRequestBuilder SecurityActions { get => new global::Microsoft.Graph.Beta.Security.SecurityActions.SecurityActionsRequestBuilder(PathParameters, RequestAdapter); @@ -218,6 +226,7 @@ public partial class SecurityRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Security.ThreatSubmission.ThreatSubmissionRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the tiIndicators property of the microsoft.graph.security entity. + [Obsolete("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10")] public global::Microsoft.Graph.Beta.Security.TiIndicators.TiIndicatorsRequestBuilder TiIndicators { get => new global::Microsoft.Graph.Beta.Security.TiIndicators.TiIndicatorsRequestBuilder(PathParameters, RequestAdapter); @@ -233,6 +242,7 @@ public partial class SecurityRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Security.TriggerTypes.TriggerTypesRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the userSecurityProfiles property of the microsoft.graph.security entity. + [Obsolete("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10")] public global::Microsoft.Graph.Beta.Security.UserSecurityProfiles.UserSecurityProfilesRequestBuilder UserSecurityProfiles { get => new global::Microsoft.Graph.Beta.Security.UserSecurityProfiles.UserSecurityProfilesRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/ObjectConnections/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/ObjectConnections/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..44167b6ade14 --- /dev/null +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/ObjectConnections/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.ServicePrincipals.Item.Synchronization.Jobs.Item.ObjectConnections.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}/servicePrincipals/{servicePrincipal%2Did}/synchronization/jobs/{synchronizationJob%2Did}/objectConnections/$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}/servicePrincipals/{servicePrincipal%2Did}/synchronization/jobs/{synchronizationJob%2Did}/objectConnections/$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.ServicePrincipals.Item.Synchronization.Jobs.Item.ObjectConnections.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.ObjectConnections.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/ServicePrincipals/Item/Synchronization/Jobs/Item/ObjectConnections/Item/ObjectConnectionObjectItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/ObjectConnections/Item/ObjectConnectionObjectItemRequestBuilder.cs new file mode 100644 index 000000000000..ee542984394c --- /dev/null +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/ObjectConnections/Item/ObjectConnectionObjectItemRequestBuilder.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.ServicePrincipals.Item.Synchronization.Jobs.Item.ObjectConnections.Item +{ + /// + /// Provides operations to manage the objectConnections property of the microsoft.graph.synchronizationJob entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ObjectConnectionObjectItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ObjectConnectionObjectItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/synchronization/jobs/{synchronizationJob%2Did}/objectConnections/{objectConnection%2DobjectId}{?%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 ObjectConnectionObjectItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/synchronization/jobs/{synchronizationJob%2Did}/objectConnections/{objectConnection%2DobjectId}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete an objectConnection to clear the cached linkage record for an object in a synchronizationJob. The service clears the corresponding connector data store cache entry so the object is re-evaluated during a later synchronization cycle. This operation clears the linkage record; it doesn't delete the source or target directory object. + /// Find more info here + /// + /// 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 the objectConnection cached linkage record for a known object in a synchronizationJob. During public preview, you must specify a known objectId. Collection listing isn't supported; a GET request to the objectConnections collection returns 400 Bad Request. + /// 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.ObjectConnection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property objectConnections in servicePrincipals + /// + /// A + /// Represents a connector data store linkage record for an object in a synchronization job. + /// 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.ObjectConnection body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.ObjectConnection body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) 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.ObjectConnection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete an objectConnection to clear the cached linkage record for an object in a synchronizationJob. The service clears the corresponding connector data store cache entry so the object is re-evaluated during a later synchronization cycle. This operation clears the linkage record; it doesn't delete the source or target directory object. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Get the objectConnection cached linkage record for a known object in a synchronizationJob. During public preview, you must specify a known objectId. Collection listing isn't supported; a GET request to the objectConnections collection returns 400 Bad Request. + /// + /// 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 objectConnections in servicePrincipals + /// + /// A + /// Represents a connector data store linkage record for an object in a synchronization job. + /// 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.ObjectConnection body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.ObjectConnection body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) 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.ServicePrincipals.Item.Synchronization.Jobs.Item.ObjectConnections.Item.ObjectConnectionObjectItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.ObjectConnections.Item.ObjectConnectionObjectItemRequestBuilder(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 ObjectConnectionObjectItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get the objectConnection cached linkage record for a known object in a synchronizationJob. During public preview, you must specify a known objectId. Collection listing isn't supported; a GET request to the objectConnections collection returns 400 Bad Request. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ObjectConnectionObjectItemRequestBuilderGetQueryParameters + { + /// 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 ObjectConnectionObjectItemRequestBuilderGetRequestConfiguration : 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 ObjectConnectionObjectItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/ObjectConnections/ObjectConnectionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/ObjectConnections/ObjectConnectionsRequestBuilder.cs new file mode 100644 index 000000000000..03dd5c228426 --- /dev/null +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/ObjectConnections/ObjectConnectionsRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.ObjectConnections.Count; +using Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.ObjectConnections.Item; +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.ServicePrincipals.Item.Synchronization.Jobs.Item.ObjectConnections +{ + /// + /// Provides operations to manage the objectConnections property of the microsoft.graph.synchronizationJob entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ObjectConnectionsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.ObjectConnections.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.ObjectConnections.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the objectConnections property of the microsoft.graph.synchronizationJob entity. + /// The unique identifier of objectConnection + /// A + public global::Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.ObjectConnections.Item.ObjectConnectionObjectItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("objectConnection%2DobjectId", position); + return new global::Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.ObjectConnections.Item.ObjectConnectionObjectItemRequestBuilder(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 ObjectConnectionsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/synchronization/jobs/{synchronizationJob%2Did}/objectConnections{?%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 ObjectConnectionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/synchronization/jobs/{synchronizationJob%2Did}/objectConnections{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get the objectConnection cached linkage record for a known object in a synchronizationJob. During public preview, you must specify a known objectId. Collection listing isn't supported; a GET request to the objectConnections collection returns 400 Bad Request. + /// + /// 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.ObjectConnectionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to objectConnections for servicePrincipals + /// + /// A + /// Represents a connector data store linkage record for an object in a synchronization job. + /// 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.ObjectConnection body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.ObjectConnection body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) 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.ObjectConnection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the objectConnection cached linkage record for a known object in a synchronizationJob. During public preview, you must specify a known objectId. Collection listing isn't supported; a GET request to the objectConnections collection returns 400 Bad Request. + /// + /// 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 objectConnections for servicePrincipals + /// + /// A + /// Represents a connector data store linkage record for an object in a synchronization job. + /// 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.ObjectConnection body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.ObjectConnection body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) 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.ServicePrincipals.Item.Synchronization.Jobs.Item.ObjectConnections.ObjectConnectionsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.ObjectConnections.ObjectConnectionsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the objectConnection cached linkage record for a known object in a synchronizationJob. During public preview, you must specify a known objectId. Collection listing isn't supported; a GET request to the objectConnections collection returns 400 Bad Request. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ObjectConnectionsRequestBuilderGetQueryParameters + { + /// 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 ObjectConnectionsRequestBuilderGetRequestConfiguration : 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 ObjectConnectionsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/SynchronizationJobItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/SynchronizationJobItemRequestBuilder.cs index b822a4eb6070..b24adc880af6 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/SynchronizationJobItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/SynchronizationJobItemRequestBuilder.cs @@ -3,6 +3,7 @@ using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; using Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.BulkUpload; +using Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.ObjectConnections; using Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.Pause; using Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.ProvisionOnDemand; using Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.Restart; @@ -30,6 +31,11 @@ public partial class SynchronizationJobItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.BulkUpload.BulkUploadRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the objectConnections property of the microsoft.graph.synchronizationJob entity. + public global::Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.ObjectConnections.ObjectConnectionsRequestBuilder ObjectConnections + { + get => new global::Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.ObjectConnections.ObjectConnectionsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the pause method. public global::Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.Pause.PauseRequestBuilder Pause { @@ -56,6 +62,7 @@ public partial class SynchronizationJobItemRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.Start.StartRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to call the validateCredentials method. + [Obsolete("Use validateConnectivity instead. This action will be removed. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06")] public global::Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.ValidateCredentials.ValidateCredentialsRequestBuilder ValidateCredentials { get => new global::Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.ValidateCredentials.ValidateCredentialsRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/JobsRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/JobsRequestBuilder.cs index 9378340cac45..97f4c40de85e 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/JobsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/JobsRequestBuilder.cs @@ -27,6 +27,7 @@ public partial class JobsRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Count.CountRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to call the validateCredentials method. + [Obsolete("Use validateConnectivity instead. This action will be removed. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06")] public global::Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.ValidateCredentials.ValidateCredentialsRequestBuilder ValidateCredentials { get => new global::Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.ValidateCredentials.ValidateCredentialsRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/SynchronizationRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/SynchronizationRequestBuilder.cs index 1ddef658cabc..65c2a5decd64 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/SynchronizationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/SynchronizationRequestBuilder.cs @@ -24,6 +24,7 @@ namespace Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization public partial class SynchronizationRequestBuilder : BaseRequestBuilder { /// Provides operations to call the acquireAccessToken method. + [Obsolete("This action acquires an access token via Oauth Code Grant Flow. Code Grant will be completely deprecated so this action will be obsolete. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06")] public global::Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.AcquireAccessToken.AcquireAccessTokenRequestBuilder AcquireAccessToken { get => new global::Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.AcquireAccessToken.AcquireAccessTokenRequestBuilder(PathParameters, RequestAdapter); @@ -39,6 +40,7 @@ public partial class SynchronizationRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Ping.PingRequestBuilder(PathParameters, RequestAdapter); } /// The secrets property + [Obsolete("Use connectivityParameters for oauth flows and scim endpoint connectivity. Use SynchronizationJobSettings for job-specific settings This property will be removed. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06")] public global::Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Secrets.SecretsRequestBuilder Secrets { get => new global::Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Secrets.SecretsRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Sites/Item/InformationProtection/InformationProtectionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/InformationProtection/InformationProtectionRequestBuilder.cs index 8cfbba99ece7..e3d1b7918922 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/InformationProtection/InformationProtectionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/InformationProtection/InformationProtectionRequestBuilder.cs @@ -39,16 +39,19 @@ public partial class InformationProtectionRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Sites.Item.InformationProtection.DataLossPreventionPolicies.DataLossPreventionPoliciesRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to call the decryptBuffer method. + [Obsolete("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15")] public global::Microsoft.Graph.Beta.Sites.Item.InformationProtection.DecryptBuffer.DecryptBufferRequestBuilder DecryptBuffer { get => new global::Microsoft.Graph.Beta.Sites.Item.InformationProtection.DecryptBuffer.DecryptBufferRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to call the encryptBuffer method. + [Obsolete("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15")] public global::Microsoft.Graph.Beta.Sites.Item.InformationProtection.EncryptBuffer.EncryptBufferRequestBuilder EncryptBuffer { get => new global::Microsoft.Graph.Beta.Sites.Item.InformationProtection.EncryptBuffer.EncryptBufferRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the policy property of the microsoft.graph.informationProtection entity. + [Obsolete("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15")] public global::Microsoft.Graph.Beta.Sites.Item.InformationProtection.Policy.PolicyRequestBuilder Policy { get => new global::Microsoft.Graph.Beta.Sites.Item.InformationProtection.Policy.PolicyRequestBuilder(PathParameters, RequestAdapter); @@ -64,6 +67,7 @@ public partial class InformationProtectionRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityPolicySettings.SensitivityPolicySettingsRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to call the signDigest method. + [Obsolete("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15")] public global::Microsoft.Graph.Beta.Sites.Item.InformationProtection.SignDigest.SignDigestRequestBuilder SignDigest { get => new global::Microsoft.Graph.Beta.Sites.Item.InformationProtection.SignDigest.SignDigestRequestBuilder(PathParameters, RequestAdapter); @@ -74,6 +78,7 @@ public partial class InformationProtectionRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Sites.Item.InformationProtection.ThreatAssessmentRequests.ThreatAssessmentRequestsRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to call the verifySignature method. + [Obsolete("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15")] public global::Microsoft.Graph.Beta.Sites.Item.InformationProtection.VerifySignature.VerifySignatureRequestBuilder VerifySignature { get => new global::Microsoft.Graph.Beta.Sites.Item.InformationProtection.VerifySignature.VerifySignatureRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/RestorePoints/Search/SearchRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/RestorePoints/Search/SearchRequestBuilder.cs index 7687e29660fb..1a9c74f10287 100644 --- a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/RestorePoints/Search/SearchRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/RestorePoints/Search/SearchRequestBuilder.cs @@ -35,7 +35,7 @@ public SearchRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas { } /// - /// Search for the restorePoint objects associated with a protectionUnit. Optionally provide policyId to scope the search to a protection policy and validate that the specified protection units belong to that policy. + /// Search for the restorePoint objects associated with a protectionUnit. You can also provide policyId to scope the search to a protection policy and validate that the specified protection units belong to that policy. /// Find more info here /// /// A @@ -61,7 +61,7 @@ public SearchRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.RestorePointSearchResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Search for the restorePoint objects associated with a protectionUnit. Optionally provide policyId to scope the search to a protection policy and validate that the specified protection units belong to that policy. + /// Search for the restorePoint objects associated with a protectionUnit. You can also provide policyId to scope the search to a protection policy and validate that the specified protection units belong to that policy. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Solutions/Migrations/CrossTenantMigrationJobs/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/Migrations/CrossTenantMigrationJobs/Count/CountRequestBuilder.cs index 3070963e8e3c..9e0b4cd6ce45 100644 --- a/src/Microsoft.Graph/Generated/Solutions/Migrations/CrossTenantMigrationJobs/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/Migrations/CrossTenantMigrationJobs/Count/CountRequestBuilder.cs @@ -40,7 +40,6 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base /// 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(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -62,7 +61,6 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) @@ -82,7 +80,6 @@ public RequestInformation ToGetRequestInformation(Action /// A /// The raw URL to use for the request builder. - [Obsolete(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09")] public global::Microsoft.Graph.Beta.Solutions.Migrations.CrossTenantMigrationJobs.Count.CountRequestBuilder WithUrl(string rawUrl) { return new global::Microsoft.Graph.Beta.Solutions.Migrations.CrossTenantMigrationJobs.Count.CountRequestBuilder(rawUrl, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Solutions/Migrations/CrossTenantMigrationJobs/CrossTenantMigrationJobsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/Migrations/CrossTenantMigrationJobs/CrossTenantMigrationJobsRequestBuilder.cs index 059d20e3b942..c985c2d90960 100644 --- a/src/Microsoft.Graph/Generated/Solutions/Migrations/CrossTenantMigrationJobs/CrossTenantMigrationJobsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/Migrations/CrossTenantMigrationJobs/CrossTenantMigrationJobsRequestBuilder.cs @@ -21,7 +21,6 @@ namespace Microsoft.Graph.Beta.Solutions.Migrations.CrossTenantMigrationJobs public partial class CrossTenantMigrationJobsRequestBuilder : BaseRequestBuilder { /// Provides operations to count the resources in the collection. - [Obsolete(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09")] public global::Microsoft.Graph.Beta.Solutions.Migrations.CrossTenantMigrationJobs.Count.CountRequestBuilder Count { get => new global::Microsoft.Graph.Beta.Solutions.Migrations.CrossTenantMigrationJobs.Count.CountRequestBuilder(PathParameters, RequestAdapter); @@ -29,7 +28,6 @@ public partial class CrossTenantMigrationJobsRequestBuilder : BaseRequestBuilder /// Provides operations to manage the crossTenantMigrationJobs property of the microsoft.graph.migrationsRoot entity. /// The unique identifier of crossTenantMigrationJob /// A - [Obsolete(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09")] public global::Microsoft.Graph.Beta.Solutions.Migrations.CrossTenantMigrationJobs.Item.CrossTenantMigrationJobItemRequestBuilder this[string position] { get @@ -56,14 +54,13 @@ public CrossTenantMigrationJobsRequestBuilder(string rawUrl, IRequestAdapter req { } /// - /// Get a list of the crossTenantMigrationJob objects and their properties. By default 20 objects are returned. More can be retrieved through the @odata.nextLink url provided in the response. + /// Get a list of the crossTenantMigrationJob objects and their properties. By default, 20 objects are returned. You can retrieve more objects by using the @odata.nextLink URL provided in the response. /// 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 - [Obsolete(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -81,7 +78,7 @@ public CrossTenantMigrationJobsRequestBuilder(string rawUrl, IRequestAdapter req return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CrossTenantMigrationJobCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new crossTenantMigrationJob. A job defines the migration batch but doesn't start validation or migration. After you create the job, call validate to verify tenant and resource configuration, then call migrate to begin the actual migration. + /// Create a new crossTenantMigrationJob object. A job defines the migration batch but doesn't start validation or migration. After you create the job, call validate to verify tenant and resource configuration, then call migrate to begin the actual migration. /// Find more info here /// /// A @@ -89,7 +86,6 @@ public CrossTenantMigrationJobsRequestBuilder(string rawUrl, IRequestAdapter req /// 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(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public async Task PostAsync(global::Microsoft.Graph.Beta.Models.CrossTenantMigrationJob body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -108,11 +104,10 @@ public CrossTenantMigrationJobsRequestBuilder(string rawUrl, IRequestAdapter req return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CrossTenantMigrationJob.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get a list of the crossTenantMigrationJob objects and their properties. By default 20 objects are returned. More can be retrieved through the @odata.nextLink url provided in the response. + /// Get a list of the crossTenantMigrationJob objects and their properties. By default, 20 objects are returned. You can retrieve more objects by using the @odata.nextLink URL provided in the response. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) @@ -128,12 +123,11 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new crossTenantMigrationJob. A job defines the migration batch but doesn't start validation or migration. After you create the job, call validate to verify tenant and resource configuration, then call migrate to begin the actual migration. + /// Create a new crossTenantMigrationJob object. A job defines the migration batch but doesn't start validation or migration. After you create the job, call validate to verify tenant and resource configuration, then call migrate to begin the actual migration. /// /// A /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.CrossTenantMigrationJob body, Action>? requestConfiguration = default) @@ -155,13 +149,12 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. /// /// A /// The raw URL to use for the request builder. - [Obsolete(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09")] public global::Microsoft.Graph.Beta.Solutions.Migrations.CrossTenantMigrationJobs.CrossTenantMigrationJobsRequestBuilder WithUrl(string rawUrl) { return new global::Microsoft.Graph.Beta.Solutions.Migrations.CrossTenantMigrationJobs.CrossTenantMigrationJobsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get a list of the crossTenantMigrationJob objects and their properties. By default 20 objects are returned. More can be retrieved through the @odata.nextLink url provided in the response. + /// Get a list of the crossTenantMigrationJob objects and their properties. By default, 20 objects are returned. You can retrieve more objects by using the @odata.nextLink URL provided in the response. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class CrossTenantMigrationJobsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Solutions/Migrations/CrossTenantMigrationJobs/Item/Cancel/CancelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/Migrations/CrossTenantMigrationJobs/Item/Cancel/CancelRequestBuilder.cs index cd7f216b3cd7..216886f0ac0d 100644 --- a/src/Microsoft.Graph/Generated/Solutions/Migrations/CrossTenantMigrationJobs/Item/Cancel/CancelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/Migrations/CrossTenantMigrationJobs/Item/Cancel/CancelRequestBuilder.cs @@ -42,7 +42,6 @@ public CancelRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas /// 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(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -64,7 +63,6 @@ public CancelRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) @@ -84,7 +82,6 @@ public RequestInformation ToPostRequestInformation(Action /// A /// The raw URL to use for the request builder. - [Obsolete(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09")] public global::Microsoft.Graph.Beta.Solutions.Migrations.CrossTenantMigrationJobs.Item.Cancel.CancelRequestBuilder WithUrl(string rawUrl) { return new global::Microsoft.Graph.Beta.Solutions.Migrations.CrossTenantMigrationJobs.Item.Cancel.CancelRequestBuilder(rawUrl, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Solutions/Migrations/CrossTenantMigrationJobs/Item/CrossTenantMigrationJobItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/Migrations/CrossTenantMigrationJobs/Item/CrossTenantMigrationJobItemRequestBuilder.cs index aa481648d423..f3e889b6e015 100644 --- a/src/Microsoft.Graph/Generated/Solutions/Migrations/CrossTenantMigrationJobs/Item/CrossTenantMigrationJobItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/Migrations/CrossTenantMigrationJobs/Item/CrossTenantMigrationJobItemRequestBuilder.cs @@ -23,25 +23,21 @@ namespace Microsoft.Graph.Beta.Solutions.Migrations.CrossTenantMigrationJobs.Ite public partial class CrossTenantMigrationJobItemRequestBuilder : BaseRequestBuilder { /// Provides operations to call the cancel method. - [Obsolete(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09")] public global::Microsoft.Graph.Beta.Solutions.Migrations.CrossTenantMigrationJobs.Item.Cancel.CancelRequestBuilder Cancel { get => new global::Microsoft.Graph.Beta.Solutions.Migrations.CrossTenantMigrationJobs.Item.Cancel.CancelRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to call the migrate method. - [Obsolete(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09")] public global::Microsoft.Graph.Beta.Solutions.Migrations.CrossTenantMigrationJobs.Item.Migrate.MigrateRequestBuilder Migrate { get => new global::Microsoft.Graph.Beta.Solutions.Migrations.CrossTenantMigrationJobs.Item.Migrate.MigrateRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the users property of the microsoft.graph.crossTenantMigrationJob entity. - [Obsolete(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09")] public global::Microsoft.Graph.Beta.Solutions.Migrations.CrossTenantMigrationJobs.Item.Users.UsersRequestBuilder Users { get => new global::Microsoft.Graph.Beta.Solutions.Migrations.CrossTenantMigrationJobs.Item.Users.UsersRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to call the validate method. - [Obsolete(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09")] public global::Microsoft.Graph.Beta.Solutions.Migrations.CrossTenantMigrationJobs.Item.Validate.ValidateRequestBuilder Validate { get => new global::Microsoft.Graph.Beta.Solutions.Migrations.CrossTenantMigrationJobs.Item.Validate.ValidateRequestBuilder(PathParameters, RequestAdapter); @@ -68,7 +64,6 @@ public CrossTenantMigrationJobItemRequestBuilder(string rawUrl, IRequestAdapter /// 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(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -86,14 +81,13 @@ public async Task DeleteAsync(Action - /// Read the properties and relationships of crossTenantMigrationJob object. Includes details of the crossTenantMigrationJob , but not details of the individual crossTenantMigrationTasks of the crossTenantMigrationJob. + /// Read the properties and relationships of a crossTenantMigrationJob object. This API provides details about the migration job, but not about the individual crossTenantMigrationTasks objects associated with the migration job. /// 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 - [Obsolete(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -111,7 +105,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.CrossTenantMigrationJob.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the completeAfterDateTime of a crossTenantMigrationJob object. Only updates to the completeAfterDateTime are supported. Use this function to change when the crossTenantMigrationJob starts processing. If completeAfterDateTime is set to the past, the crossTenantMigrationJob starts processing. + /// Update the completeAfterDateTime property of a crossTenantMigrationJob object. Only updates to completeAfterDateTime are supported. This property specifies when the migration job can proceed toward completion. If the value is in the past, the service treats it as already due and proceeds toward completion during its next processing cycle. This behavior doesn't bypass earlier validation or synchronization stages. /// Find more info here /// /// A @@ -119,7 +113,6 @@ public async Task DeleteAsync(ActionCancellation 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(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.CrossTenantMigrationJob body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -142,7 +135,6 @@ public async Task DeleteAsync(Action /// A /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) @@ -158,11 +150,10 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read the properties and relationships of crossTenantMigrationJob object. Includes details of the crossTenantMigrationJob , but not details of the individual crossTenantMigrationTasks of the crossTenantMigrationJob. + /// Read the properties and relationships of a crossTenantMigrationJob object. This API provides details about the migration job, but not about the individual crossTenantMigrationTasks objects associated with the migration job. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) @@ -178,12 +169,11 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the completeAfterDateTime of a crossTenantMigrationJob object. Only updates to the completeAfterDateTime are supported. Use this function to change when the crossTenantMigrationJob starts processing. If completeAfterDateTime is set to the past, the crossTenantMigrationJob starts processing. + /// Update the completeAfterDateTime property of a crossTenantMigrationJob object. Only updates to completeAfterDateTime are supported. This property specifies when the migration job can proceed toward completion. If the value is in the past, the service treats it as already due and proceeds toward completion during its next processing cycle. This behavior doesn't bypass earlier validation or synchronization stages. /// /// A /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.CrossTenantMigrationJob body, Action>? requestConfiguration = default) @@ -205,7 +195,6 @@ public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta /// /// A /// The raw URL to use for the request builder. - [Obsolete(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09")] public global::Microsoft.Graph.Beta.Solutions.Migrations.CrossTenantMigrationJobs.Item.CrossTenantMigrationJobItemRequestBuilder WithUrl(string rawUrl) { return new global::Microsoft.Graph.Beta.Solutions.Migrations.CrossTenantMigrationJobs.Item.CrossTenantMigrationJobItemRequestBuilder(rawUrl, RequestAdapter); @@ -219,7 +208,7 @@ public partial class CrossTenantMigrationJobItemRequestBuilderDeleteRequestConfi { } /// - /// Read the properties and relationships of crossTenantMigrationJob object. Includes details of the crossTenantMigrationJob , but not details of the individual crossTenantMigrationTasks of the crossTenantMigrationJob. + /// Read the properties and relationships of a crossTenantMigrationJob object. This API provides details about the migration job, but not about the individual crossTenantMigrationTasks objects associated with the migration job. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class CrossTenantMigrationJobItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Solutions/Migrations/CrossTenantMigrationJobs/Item/Migrate/MigrateRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/Migrations/CrossTenantMigrationJobs/Item/Migrate/MigrateRequestBuilder.cs index ff0abcb42669..6a8449675653 100644 --- a/src/Microsoft.Graph/Generated/Solutions/Migrations/CrossTenantMigrationJobs/Item/Migrate/MigrateRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/Migrations/CrossTenantMigrationJobs/Item/Migrate/MigrateRequestBuilder.cs @@ -42,7 +42,6 @@ public MigrateRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba /// 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(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -64,7 +63,6 @@ public MigrateRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) @@ -84,7 +82,6 @@ public RequestInformation ToPostRequestInformation(Action /// A /// The raw URL to use for the request builder. - [Obsolete(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09")] public global::Microsoft.Graph.Beta.Solutions.Migrations.CrossTenantMigrationJobs.Item.Migrate.MigrateRequestBuilder WithUrl(string rawUrl) { return new global::Microsoft.Graph.Beta.Solutions.Migrations.CrossTenantMigrationJobs.Item.Migrate.MigrateRequestBuilder(rawUrl, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Solutions/Migrations/CrossTenantMigrationJobs/Item/Users/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/Migrations/CrossTenantMigrationJobs/Item/Users/Count/CountRequestBuilder.cs index 5cbb673565bc..58ec01bf9fb7 100644 --- a/src/Microsoft.Graph/Generated/Solutions/Migrations/CrossTenantMigrationJobs/Item/Users/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/Migrations/CrossTenantMigrationJobs/Item/Users/Count/CountRequestBuilder.cs @@ -40,7 +40,6 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base /// 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(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -62,7 +61,6 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) @@ -82,7 +80,6 @@ public RequestInformation ToGetRequestInformation(Action /// A /// The raw URL to use for the request builder. - [Obsolete(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09")] public global::Microsoft.Graph.Beta.Solutions.Migrations.CrossTenantMigrationJobs.Item.Users.Count.CountRequestBuilder WithUrl(string rawUrl) { return new global::Microsoft.Graph.Beta.Solutions.Migrations.CrossTenantMigrationJobs.Item.Users.Count.CountRequestBuilder(rawUrl, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Solutions/Migrations/CrossTenantMigrationJobs/Item/Users/Item/Cancel/CancelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/Migrations/CrossTenantMigrationJobs/Item/Users/Item/Cancel/CancelRequestBuilder.cs index 0c810dee14bd..438d63f1be59 100644 --- a/src/Microsoft.Graph/Generated/Solutions/Migrations/CrossTenantMigrationJobs/Item/Users/Item/Cancel/CancelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/Migrations/CrossTenantMigrationJobs/Item/Users/Item/Cancel/CancelRequestBuilder.cs @@ -35,14 +35,13 @@ public CancelRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas { } /// - /// Cancel a specific crossTenantMigrationTask for a User within a CrossTenantMigrationJob. If the User migration can't be canceled or is in a terminal state, a 409 CONFLICT response code is returned, and the migration continues. + /// Cancel a specific crossTenantMigrationTask for a user in a crossTenantMigrationJob. If the user migration can't be canceled or is in a terminal state, a 409 Conflict response code is returned, and the migration continues. /// 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 - [Obsolete(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -60,11 +59,10 @@ public CancelRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CrossTenantMigrationCancelResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Cancel a specific crossTenantMigrationTask for a User within a CrossTenantMigrationJob. If the User migration can't be canceled or is in a terminal state, a 409 CONFLICT response code is returned, and the migration continues. + /// Cancel a specific crossTenantMigrationTask for a user in a crossTenantMigrationJob. If the user migration can't be canceled or is in a terminal state, a 409 Conflict response code is returned, and the migration continues. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) @@ -84,7 +82,6 @@ public RequestInformation ToPostRequestInformation(Action /// A /// The raw URL to use for the request builder. - [Obsolete(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09")] public global::Microsoft.Graph.Beta.Solutions.Migrations.CrossTenantMigrationJobs.Item.Users.Item.Cancel.CancelRequestBuilder WithUrl(string rawUrl) { return new global::Microsoft.Graph.Beta.Solutions.Migrations.CrossTenantMigrationJobs.Item.Users.Item.Cancel.CancelRequestBuilder(rawUrl, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Solutions/Migrations/CrossTenantMigrationJobs/Item/Users/Item/CrossTenantMigrationTaskItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/Migrations/CrossTenantMigrationJobs/Item/Users/Item/CrossTenantMigrationTaskItemRequestBuilder.cs index 4c22a5577bf4..d432d9a83e53 100644 --- a/src/Microsoft.Graph/Generated/Solutions/Migrations/CrossTenantMigrationJobs/Item/Users/Item/CrossTenantMigrationTaskItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/Migrations/CrossTenantMigrationJobs/Item/Users/Item/CrossTenantMigrationTaskItemRequestBuilder.cs @@ -20,7 +20,6 @@ namespace Microsoft.Graph.Beta.Solutions.Migrations.CrossTenantMigrationJobs.Ite public partial class CrossTenantMigrationTaskItemRequestBuilder : BaseRequestBuilder { /// Provides operations to call the cancel method. - [Obsolete(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09")] public global::Microsoft.Graph.Beta.Solutions.Migrations.CrossTenantMigrationJobs.Item.Users.Item.Cancel.CancelRequestBuilder Cancel { get => new global::Microsoft.Graph.Beta.Solutions.Migrations.CrossTenantMigrationJobs.Item.Users.Item.Cancel.CancelRequestBuilder(PathParameters, RequestAdapter); @@ -47,7 +46,6 @@ public CrossTenantMigrationTaskItemRequestBuilder(string rawUrl, IRequestAdapter /// 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(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -65,14 +63,13 @@ public async Task DeleteAsync(Action - /// Read the properties and relationships of crossTenantMigrationTask, which shows the details of the migration task for a single user of a crossTenantMigrationJob. The crossTenantMigrationTask contains the status details of migrations for the workloads specified in the crossTenantMigrationJob. + /// Read the properties and relationships of a crossTenantMigrationTask object that provides details about the migration task for a single user in a crossTenantMigrationJob. The crossTenantMigrationTask contains the status details of migrations for the workloads specified in the crossTenantMigrationJob. /// 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 - [Obsolete(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -97,7 +94,6 @@ public async Task DeleteAsync(ActionCancellation 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(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.CrossTenantMigrationTask body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -120,7 +116,6 @@ public async Task DeleteAsync(Action /// A /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) @@ -136,11 +131,10 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read the properties and relationships of crossTenantMigrationTask, which shows the details of the migration task for a single user of a crossTenantMigrationJob. The crossTenantMigrationTask contains the status details of migrations for the workloads specified in the crossTenantMigrationJob. + /// Read the properties and relationships of a crossTenantMigrationTask object that provides details about the migration task for a single user in a crossTenantMigrationJob. The crossTenantMigrationTask contains the status details of migrations for the workloads specified in the crossTenantMigrationJob. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) @@ -161,7 +155,6 @@ public RequestInformation ToGetRequestInformation(ActionA /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.CrossTenantMigrationTask body, Action>? requestConfiguration = default) @@ -183,7 +176,6 @@ public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta /// /// A /// The raw URL to use for the request builder. - [Obsolete(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09")] public global::Microsoft.Graph.Beta.Solutions.Migrations.CrossTenantMigrationJobs.Item.Users.Item.CrossTenantMigrationTaskItemRequestBuilder WithUrl(string rawUrl) { return new global::Microsoft.Graph.Beta.Solutions.Migrations.CrossTenantMigrationJobs.Item.Users.Item.CrossTenantMigrationTaskItemRequestBuilder(rawUrl, RequestAdapter); @@ -197,7 +189,7 @@ public partial class CrossTenantMigrationTaskItemRequestBuilderDeleteRequestConf { } /// - /// Read the properties and relationships of crossTenantMigrationTask, which shows the details of the migration task for a single user of a crossTenantMigrationJob. The crossTenantMigrationTask contains the status details of migrations for the workloads specified in the crossTenantMigrationJob. + /// Read the properties and relationships of a crossTenantMigrationTask object that provides details about the migration task for a single user in a crossTenantMigrationJob. The crossTenantMigrationTask contains the status details of migrations for the workloads specified in the crossTenantMigrationJob. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class CrossTenantMigrationTaskItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Solutions/Migrations/CrossTenantMigrationJobs/Item/Users/UsersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/Migrations/CrossTenantMigrationJobs/Item/Users/UsersRequestBuilder.cs index e8b40c068d40..b19de993005c 100644 --- a/src/Microsoft.Graph/Generated/Solutions/Migrations/CrossTenantMigrationJobs/Item/Users/UsersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/Migrations/CrossTenantMigrationJobs/Item/Users/UsersRequestBuilder.cs @@ -21,7 +21,6 @@ namespace Microsoft.Graph.Beta.Solutions.Migrations.CrossTenantMigrationJobs.Ite public partial class UsersRequestBuilder : BaseRequestBuilder { /// Provides operations to count the resources in the collection. - [Obsolete(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09")] public global::Microsoft.Graph.Beta.Solutions.Migrations.CrossTenantMigrationJobs.Item.Users.Count.CountRequestBuilder Count { get => new global::Microsoft.Graph.Beta.Solutions.Migrations.CrossTenantMigrationJobs.Item.Users.Count.CountRequestBuilder(PathParameters, RequestAdapter); @@ -29,7 +28,6 @@ public partial class UsersRequestBuilder : BaseRequestBuilder /// Provides operations to manage the users property of the microsoft.graph.crossTenantMigrationJob entity. /// The unique identifier of crossTenantMigrationTask /// A - [Obsolete(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09")] public global::Microsoft.Graph.Beta.Solutions.Migrations.CrossTenantMigrationJobs.Item.Users.Item.CrossTenantMigrationTaskItemRequestBuilder this[string position] { get @@ -63,7 +61,6 @@ public UsersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base /// 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(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -88,7 +85,6 @@ public UsersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base /// 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(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public async Task PostAsync(global::Microsoft.Graph.Beta.Models.CrossTenantMigrationTask body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -111,7 +107,6 @@ public UsersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) @@ -132,7 +127,6 @@ public RequestInformation ToGetRequestInformation(ActionA /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.CrossTenantMigrationTask body, Action>? requestConfiguration = default) @@ -154,7 +148,6 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. /// /// A /// The raw URL to use for the request builder. - [Obsolete(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09")] public global::Microsoft.Graph.Beta.Solutions.Migrations.CrossTenantMigrationJobs.Item.Users.UsersRequestBuilder WithUrl(string rawUrl) { return new global::Microsoft.Graph.Beta.Solutions.Migrations.CrossTenantMigrationJobs.Item.Users.UsersRequestBuilder(rawUrl, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Solutions/Migrations/CrossTenantMigrationJobs/Item/Validate/ValidateRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/Migrations/CrossTenantMigrationJobs/Item/Validate/ValidateRequestBuilder.cs index 81b5a12a52da..cfdeb07728d5 100644 --- a/src/Microsoft.Graph/Generated/Solutions/Migrations/CrossTenantMigrationJobs/Item/Validate/ValidateRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/Migrations/CrossTenantMigrationJobs/Item/Validate/ValidateRequestBuilder.cs @@ -42,7 +42,6 @@ public ValidateRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b /// 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(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -64,7 +63,6 @@ public ValidateRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) @@ -84,7 +82,6 @@ public RequestInformation ToPostRequestInformation(Action /// A /// The raw URL to use for the request builder. - [Obsolete(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09")] public global::Microsoft.Graph.Beta.Solutions.Migrations.CrossTenantMigrationJobs.Item.Validate.ValidateRequestBuilder WithUrl(string rawUrl) { return new global::Microsoft.Graph.Beta.Solutions.Migrations.CrossTenantMigrationJobs.Item.Validate.ValidateRequestBuilder(rawUrl, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Solutions/Migrations/CrossTenantMigrationJobsWithDisplayName/Cancel/CancelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/Migrations/CrossTenantMigrationJobsWithDisplayName/Cancel/CancelRequestBuilder.cs index de9ff29132e3..44adddbfb9b3 100644 --- a/src/Microsoft.Graph/Generated/Solutions/Migrations/CrossTenantMigrationJobsWithDisplayName/Cancel/CancelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/Migrations/CrossTenantMigrationJobsWithDisplayName/Cancel/CancelRequestBuilder.cs @@ -42,7 +42,6 @@ public CancelRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas /// 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(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -64,7 +63,6 @@ public CancelRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) @@ -84,7 +82,6 @@ public RequestInformation ToPostRequestInformation(Action /// A /// The raw URL to use for the request builder. - [Obsolete(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09")] public global::Microsoft.Graph.Beta.Solutions.Migrations.CrossTenantMigrationJobsWithDisplayName.Cancel.CancelRequestBuilder WithUrl(string rawUrl) { return new global::Microsoft.Graph.Beta.Solutions.Migrations.CrossTenantMigrationJobsWithDisplayName.Cancel.CancelRequestBuilder(rawUrl, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Solutions/Migrations/CrossTenantMigrationJobsWithDisplayName/CrossTenantMigrationJobsWithDisplayNameRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/Migrations/CrossTenantMigrationJobsWithDisplayName/CrossTenantMigrationJobsWithDisplayNameRequestBuilder.cs index 572dc389a8f5..6963f9b220b6 100644 --- a/src/Microsoft.Graph/Generated/Solutions/Migrations/CrossTenantMigrationJobsWithDisplayName/CrossTenantMigrationJobsWithDisplayNameRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/Migrations/CrossTenantMigrationJobsWithDisplayName/CrossTenantMigrationJobsWithDisplayNameRequestBuilder.cs @@ -22,19 +22,16 @@ namespace Microsoft.Graph.Beta.Solutions.Migrations.CrossTenantMigrationJobsWith public partial class CrossTenantMigrationJobsWithDisplayNameRequestBuilder : BaseRequestBuilder { /// Provides operations to call the cancel method. - [Obsolete(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09")] public global::Microsoft.Graph.Beta.Solutions.Migrations.CrossTenantMigrationJobsWithDisplayName.Cancel.CancelRequestBuilder Cancel { get => new global::Microsoft.Graph.Beta.Solutions.Migrations.CrossTenantMigrationJobsWithDisplayName.Cancel.CancelRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to call the migrate method. - [Obsolete(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09")] public global::Microsoft.Graph.Beta.Solutions.Migrations.CrossTenantMigrationJobsWithDisplayName.Migrate.MigrateRequestBuilder Migrate { get => new global::Microsoft.Graph.Beta.Solutions.Migrations.CrossTenantMigrationJobsWithDisplayName.Migrate.MigrateRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to call the validate method. - [Obsolete(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09")] public global::Microsoft.Graph.Beta.Solutions.Migrations.CrossTenantMigrationJobsWithDisplayName.Validate.ValidateRequestBuilder Validate { get => new global::Microsoft.Graph.Beta.Solutions.Migrations.CrossTenantMigrationJobsWithDisplayName.Validate.ValidateRequestBuilder(PathParameters, RequestAdapter); @@ -63,7 +60,6 @@ public CrossTenantMigrationJobsWithDisplayNameRequestBuilder(string rawUrl, IReq /// 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(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -81,14 +77,13 @@ public async Task DeleteAsync(Action - /// Read the properties and relationships of crossTenantMigrationJob object. Includes details of the crossTenantMigrationJob , but not details of the individual crossTenantMigrationTasks of the crossTenantMigrationJob. + /// Read the properties and relationships of a crossTenantMigrationJob object. This API provides details about the migration job, but not about the individual crossTenantMigrationTasks objects associated with the migration job. /// 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 - [Obsolete(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -106,7 +101,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.CrossTenantMigrationJob.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the completeAfterDateTime of a crossTenantMigrationJob object. Only updates to the completeAfterDateTime are supported. Use this function to change when the crossTenantMigrationJob starts processing. If completeAfterDateTime is set to the past, the crossTenantMigrationJob starts processing. + /// Update the completeAfterDateTime property of a crossTenantMigrationJob object. Only updates to completeAfterDateTime are supported. This property specifies when the migration job can proceed toward completion. If the value is in the past, the service treats it as already due and proceeds toward completion during its next processing cycle. This behavior doesn't bypass earlier validation or synchronization stages. /// Find more info here /// /// A @@ -114,7 +109,6 @@ public async Task DeleteAsync(ActionCancellation 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(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.CrossTenantMigrationJob body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -137,7 +131,6 @@ public async Task DeleteAsync(Action /// A /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) @@ -153,11 +146,10 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read the properties and relationships of crossTenantMigrationJob object. Includes details of the crossTenantMigrationJob , but not details of the individual crossTenantMigrationTasks of the crossTenantMigrationJob. + /// Read the properties and relationships of a crossTenantMigrationJob object. This API provides details about the migration job, but not about the individual crossTenantMigrationTasks objects associated with the migration job. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) @@ -173,12 +165,11 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the completeAfterDateTime of a crossTenantMigrationJob object. Only updates to the completeAfterDateTime are supported. Use this function to change when the crossTenantMigrationJob starts processing. If completeAfterDateTime is set to the past, the crossTenantMigrationJob starts processing. + /// Update the completeAfterDateTime property of a crossTenantMigrationJob object. Only updates to completeAfterDateTime are supported. This property specifies when the migration job can proceed toward completion. If the value is in the past, the service treats it as already due and proceeds toward completion during its next processing cycle. This behavior doesn't bypass earlier validation or synchronization stages. /// /// A /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.CrossTenantMigrationJob body, Action>? requestConfiguration = default) @@ -200,7 +191,6 @@ public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta /// /// A /// The raw URL to use for the request builder. - [Obsolete(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09")] public global::Microsoft.Graph.Beta.Solutions.Migrations.CrossTenantMigrationJobsWithDisplayName.CrossTenantMigrationJobsWithDisplayNameRequestBuilder WithUrl(string rawUrl) { return new global::Microsoft.Graph.Beta.Solutions.Migrations.CrossTenantMigrationJobsWithDisplayName.CrossTenantMigrationJobsWithDisplayNameRequestBuilder(rawUrl, RequestAdapter); @@ -214,7 +204,7 @@ public partial class CrossTenantMigrationJobsWithDisplayNameRequestBuilderDelete { } /// - /// Read the properties and relationships of crossTenantMigrationJob object. Includes details of the crossTenantMigrationJob , but not details of the individual crossTenantMigrationTasks of the crossTenantMigrationJob. + /// Read the properties and relationships of a crossTenantMigrationJob object. This API provides details about the migration job, but not about the individual crossTenantMigrationTasks objects associated with the migration job. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class CrossTenantMigrationJobsWithDisplayNameRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Solutions/Migrations/CrossTenantMigrationJobsWithDisplayName/Migrate/MigrateRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/Migrations/CrossTenantMigrationJobsWithDisplayName/Migrate/MigrateRequestBuilder.cs index 7014972b5c43..fa4388e6b0f3 100644 --- a/src/Microsoft.Graph/Generated/Solutions/Migrations/CrossTenantMigrationJobsWithDisplayName/Migrate/MigrateRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/Migrations/CrossTenantMigrationJobsWithDisplayName/Migrate/MigrateRequestBuilder.cs @@ -42,7 +42,6 @@ public MigrateRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba /// 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(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -64,7 +63,6 @@ public MigrateRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) @@ -84,7 +82,6 @@ public RequestInformation ToPostRequestInformation(Action /// A /// The raw URL to use for the request builder. - [Obsolete(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09")] public global::Microsoft.Graph.Beta.Solutions.Migrations.CrossTenantMigrationJobsWithDisplayName.Migrate.MigrateRequestBuilder WithUrl(string rawUrl) { return new global::Microsoft.Graph.Beta.Solutions.Migrations.CrossTenantMigrationJobsWithDisplayName.Migrate.MigrateRequestBuilder(rawUrl, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Solutions/Migrations/CrossTenantMigrationJobsWithDisplayName/Validate/ValidateRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/Migrations/CrossTenantMigrationJobsWithDisplayName/Validate/ValidateRequestBuilder.cs index 0ac72688f878..b3bf79d321b7 100644 --- a/src/Microsoft.Graph/Generated/Solutions/Migrations/CrossTenantMigrationJobsWithDisplayName/Validate/ValidateRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/Migrations/CrossTenantMigrationJobsWithDisplayName/Validate/ValidateRequestBuilder.cs @@ -42,7 +42,6 @@ public ValidateRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b /// 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(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -64,7 +63,6 @@ public ValidateRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) @@ -84,7 +82,6 @@ public RequestInformation ToPostRequestInformation(Action /// A /// The raw URL to use for the request builder. - [Obsolete(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09")] public global::Microsoft.Graph.Beta.Solutions.Migrations.CrossTenantMigrationJobsWithDisplayName.Validate.ValidateRequestBuilder WithUrl(string rawUrl) { return new global::Microsoft.Graph.Beta.Solutions.Migrations.CrossTenantMigrationJobsWithDisplayName.Validate.ValidateRequestBuilder(rawUrl, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Solutions/Migrations/MigrationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/Migrations/MigrationsRequestBuilder.cs index 0804f1a13163..6e1efc35e000 100644 --- a/src/Microsoft.Graph/Generated/Solutions/Migrations/MigrationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/Migrations/MigrationsRequestBuilder.cs @@ -21,7 +21,6 @@ namespace Microsoft.Graph.Beta.Solutions.Migrations public partial class MigrationsRequestBuilder : BaseRequestBuilder { /// Provides operations to manage the crossTenantMigrationJobs property of the microsoft.graph.migrationsRoot entity. - [Obsolete(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09")] public global::Microsoft.Graph.Beta.Solutions.Migrations.CrossTenantMigrationJobs.CrossTenantMigrationJobsRequestBuilder CrossTenantMigrationJobs { get => new global::Microsoft.Graph.Beta.Solutions.Migrations.CrossTenantMigrationJobs.CrossTenantMigrationJobsRequestBuilder(PathParameters, RequestAdapter); @@ -47,7 +46,6 @@ public MigrationsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : /// /// A /// Alternate key of crossTenantMigrationJob - [Obsolete(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09")] public global::Microsoft.Graph.Beta.Solutions.Migrations.CrossTenantMigrationJobsWithDisplayName.CrossTenantMigrationJobsWithDisplayNameRequestBuilder CrossTenantMigrationJobsWithDisplayName(string displayName) { if(string.IsNullOrEmpty(displayName)) throw new ArgumentNullException(nameof(displayName)); @@ -59,7 +57,6 @@ public MigrationsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : /// 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(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -83,7 +80,6 @@ public async Task DeleteAsync(ActionCancellation 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(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -108,7 +104,6 @@ public async Task DeleteAsync(ActionCancellation 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(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.MigrationsRoot body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -131,7 +126,6 @@ public async Task DeleteAsync(Action /// A /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) @@ -151,7 +145,6 @@ public RequestInformation ToDeleteRequestInformation(Action /// A /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) @@ -172,7 +165,6 @@ public RequestInformation ToGetRequestInformation(ActionA /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.MigrationsRoot body, Action>? requestConfiguration = default) @@ -194,7 +186,6 @@ public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta /// /// A /// The raw URL to use for the request builder. - [Obsolete(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09")] public global::Microsoft.Graph.Beta.Solutions.Migrations.MigrationsRequestBuilder WithUrl(string rawUrl) { return new global::Microsoft.Graph.Beta.Solutions.Migrations.MigrationsRequestBuilder(rawUrl, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs index e3edd881feaf..0c537c5ac74f 100644 --- a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs @@ -54,6 +54,7 @@ public partial class PlannerPlanItemRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.GetUsageRights.GetUsageRightsRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the goals property of the microsoft.graph.plannerPlan entity. + [Obsolete("private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26")] public global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Goals.GoalsRequestBuilder Goals { get => new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Goals.GoalsRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs index b9610bbbbaf4..98e50af6b009 100644 --- a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs @@ -54,6 +54,7 @@ public partial class PlannerPlanItemRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.GetUsageRights.GetUsageRightsRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the goals property of the microsoft.graph.plannerPlan entity. + [Obsolete("private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26")] public global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Goals.GoalsRequestBuilder Goals { get => new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Goals.GoalsRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs index a68ca51d1634..700d96c99a62 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs @@ -54,6 +54,7 @@ public partial class PlannerPlanItemRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.GetUsageRights.GetUsageRightsRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the goals property of the microsoft.graph.plannerPlan entity. + [Obsolete("private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26")] public global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Goals.GoalsRequestBuilder Goals { get => new global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Goals.GoalsRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs index 12618a5029a6..0a3c7acc5cb6 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs @@ -54,6 +54,7 @@ public partial class PlannerPlanItemRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.GetUsageRights.GetUsageRightsRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the goals property of the microsoft.graph.plannerPlan entity. + [Obsolete("private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26")] public global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Goals.GoalsRequestBuilder Goals { get => new global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Goals.GoalsRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs index dad58919d071..0f37d4319c21 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs @@ -54,6 +54,7 @@ public partial class PlannerPlanItemRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.GetUsageRights.GetUsageRightsRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the goals property of the microsoft.graph.plannerPlan entity. + [Obsolete("private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26")] public global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Goals.GoalsRequestBuilder Goals { get => new global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Goals.GoalsRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Teamwork/Messaging/CustomEmojis/Item/TeamworkCustomEmojiItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/Messaging/CustomEmojis/Item/TeamworkCustomEmojiItemRequestBuilder.cs index 3163e0bc78f1..4e18ff9898df 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/Messaging/CustomEmojis/Item/TeamworkCustomEmojiItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/Messaging/CustomEmojis/Item/TeamworkCustomEmojiItemRequestBuilder.cs @@ -2,6 +2,7 @@ #pragma warning disable CS0618 using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Teamwork.Messaging.CustomEmojis.Item.Value; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -18,6 +19,11 @@ namespace Microsoft.Graph.Beta.Teamwork.Messaging.CustomEmojis.Item [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class TeamworkCustomEmojiItemRequestBuilder : BaseRequestBuilder { + /// Provides operations to manage the media for the teamwork entity. + public global::Microsoft.Graph.Beta.Teamwork.Messaging.CustomEmojis.Item.Value.ContentRequestBuilder Content + { + get => new global::Microsoft.Graph.Beta.Teamwork.Messaging.CustomEmojis.Item.Value.ContentRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// @@ -35,7 +41,8 @@ public TeamworkCustomEmojiItemRequestBuilder(string rawUrl, IRequestAdapter requ { } /// - /// Delete navigation property customEmojis for teamwork + /// Delete a custom emoji by display name from the teamwork messaging of the organization. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -57,7 +64,8 @@ public async Task DeleteAsync(Action - /// The collection of custom emojis available in organization messaging. + /// Get a single custom emoji or the raw image content of a custom emoji by display name from the teamwork messaging of the organization. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -105,7 +113,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.TeamworkCustomEmoji.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete navigation property customEmojis for teamwork + /// Delete a custom emoji by display name from the teamwork messaging of the organization. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -124,7 +132,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// The collection of custom emojis available in organization messaging. + /// Get a single custom emoji or the raw image content of a custom emoji by display name from the teamwork messaging of the organization. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +190,7 @@ public partial class TeamworkCustomEmojiItemRequestBuilderDeleteRequestConfigura { } /// - /// The collection of custom emojis available in organization messaging. + /// Get a single custom emoji or the raw image content of a custom emoji by display name from the teamwork messaging of the organization. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class TeamworkCustomEmojiItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Teamwork/Messaging/CustomEmojis/Item/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/Messaging/CustomEmojis/Item/Value/ContentRequestBuilder.cs new file mode 100644 index 000000000000..74b36b170815 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/Messaging/CustomEmojis/Item/Value/ContentRequestBuilder.cs @@ -0,0 +1,203 @@ +// +#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.Teamwork.Messaging.CustomEmojis.Item.Value +{ + /// + /// Provides operations to manage the media for the teamwork entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContentRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ContentRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/messaging/customEmojis/{teamworkCustomEmoji%2Did}/$value", 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 ContentRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/messaging/customEmojis/{teamworkCustomEmoji%2Did}/$value", rawUrl) + { + } + /// + /// Delete a custom emoji by display name from the teamwork messaging of the organization. + /// Find more info here + /// + /// 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 a list of custom emojis available in the teamwork messaging of the organization. + /// 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.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The unique identifier for an entity. Read-only. + /// + /// A + /// Binary 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 PutAsync(Stream body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PutAsync(Stream body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPutRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete a custom emoji by display name from the teamwork messaging of the organization. + /// + /// 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 a list of custom emojis available in the teamwork messaging of the organization. + /// + /// 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/octet-stream, application/json"); + return requestInfo; + } + /// + /// The unique identifier for an entity. Read-only. + /// + /// A + /// Binary 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 ToPutRequestInformation(Stream body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPutRequestInformation(Stream body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PUT, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetStreamContent(body, "application/octet-stream"); + 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.Teamwork.Messaging.CustomEmojis.Item.Value.ContentRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teamwork.Messaging.CustomEmojis.Item.Value.ContentRequestBuilder(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 ContentRequestBuilderDeleteRequestConfiguration : 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 ContentRequestBuilderGetRequestConfiguration : 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 ContentRequestBuilderPutRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teamwork/Messaging/CustomEmojisWithDisplayName/CustomEmojisWithDisplayNameRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/Messaging/CustomEmojisWithDisplayName/CustomEmojisWithDisplayNameRequestBuilder.cs index eb016c13e899..bade6a90f8a3 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/Messaging/CustomEmojisWithDisplayName/CustomEmojisWithDisplayNameRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/Messaging/CustomEmojisWithDisplayName/CustomEmojisWithDisplayNameRequestBuilder.cs @@ -37,7 +37,8 @@ public CustomEmojisWithDisplayNameRequestBuilder(string rawUrl, IRequestAdapter { } /// - /// Delete navigation property customEmojis for teamwork + /// Delete a custom emoji by display name from the teamwork messaging of the organization. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -59,7 +60,8 @@ public async Task DeleteAsync(Action - /// The collection of custom emojis available in organization messaging. + /// Get a single custom emoji or the raw image content of a custom emoji by display name from the teamwork messaging of the organization. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -107,7 +109,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.TeamworkCustomEmoji.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete navigation property customEmojis for teamwork + /// Delete a custom emoji by display name from the teamwork messaging of the organization. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -126,7 +128,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// The collection of custom emojis available in organization messaging. + /// Get a single custom emoji or the raw image content of a custom emoji by display name from the teamwork messaging of the organization. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -184,7 +186,7 @@ public partial class CustomEmojisWithDisplayNameRequestBuilderDeleteRequestConfi { } /// - /// The collection of custom emojis available in organization messaging. + /// Get a single custom emoji or the raw image content of a custom emoji by display name from the teamwork messaging of the organization. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class CustomEmojisWithDisplayNameRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs index c9c7f45ec210..c34fe47608f0 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs @@ -54,6 +54,7 @@ public partial class PlannerPlanItemRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.GetUsageRights.GetUsageRightsRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the goals property of the microsoft.graph.plannerPlan entity. + [Obsolete("private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26")] public global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Goals.GoalsRequestBuilder Goals { get => new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Goals.GoalsRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs index 3dde766f19cf..b1a80da2e31e 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs @@ -54,6 +54,7 @@ public partial class PlannerPlanItemRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.GetUsageRights.GetUsageRightsRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the goals property of the microsoft.graph.plannerPlan entity. + [Obsolete("private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26")] public global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Goals.GoalsRequestBuilder Goals { get => new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Goals.GoalsRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Users/Item/CloudPCs/Item/CloudPCItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CloudPCs/Item/CloudPCItemRequestBuilder.cs index b826e13256b1..abfe48226cec 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CloudPCs/Item/CloudPCItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CloudPCs/Item/CloudPCItemRequestBuilder.cs @@ -12,6 +12,7 @@ using Microsoft.Graph.Beta.Users.Item.CloudPCs.Item.PowerOff; using Microsoft.Graph.Beta.Users.Item.CloudPCs.Item.PowerOn; using Microsoft.Graph.Beta.Users.Item.CloudPCs.Item.Reboot; +using Microsoft.Graph.Beta.Users.Item.CloudPCs.Item.Relocate; using Microsoft.Graph.Beta.Users.Item.CloudPCs.Item.Rename; using Microsoft.Graph.Beta.Users.Item.CloudPCs.Item.Reprovision; using Microsoft.Graph.Beta.Users.Item.CloudPCs.Item.Resize; @@ -63,6 +64,7 @@ public partial class CloudPCItemRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Users.Item.CloudPCs.Item.GetCloudPcConnectivityHistory.GetCloudPcConnectivityHistoryRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to call the getCloudPcLaunchInfo method. + [Obsolete("Starting from Oct 30, 2026, this API: getCloudPcLaunchInfo will be deprecated and no longer be supported. Please use the new API:retrieveCloudPcLaunchDetail to retrieve same details. as of 2025-09/cloudPcLaunchInfo on 2025-09-30 and will be removed 2026-10-30")] public global::Microsoft.Graph.Beta.Users.Item.CloudPCs.Item.GetCloudPcLaunchInfo.GetCloudPcLaunchInfoRequestBuilder GetCloudPcLaunchInfo { get => new global::Microsoft.Graph.Beta.Users.Item.CloudPCs.Item.GetCloudPcLaunchInfo.GetCloudPcLaunchInfoRequestBuilder(PathParameters, RequestAdapter); @@ -92,6 +94,11 @@ public partial class CloudPCItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Users.Item.CloudPCs.Item.Reboot.RebootRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the relocate method. + public global::Microsoft.Graph.Beta.Users.Item.CloudPCs.Item.Relocate.RelocateRequestBuilder Relocate + { + get => new global::Microsoft.Graph.Beta.Users.Item.CloudPCs.Item.Relocate.RelocateRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the rename method. public global::Microsoft.Graph.Beta.Users.Item.CloudPCs.Item.Rename.RenameRequestBuilder Rename { diff --git a/src/Microsoft.Graph/Generated/Users/Item/CloudPCs/Item/Relocate/RelocatePostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/CloudPCs/Item/Relocate/RelocatePostRequestBody.cs new file mode 100644 index 000000000000..f51c1579b5a3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/CloudPCs/Item/Relocate/RelocatePostRequestBody.cs @@ -0,0 +1,82 @@ +// +#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.CloudPCs.Item.Relocate +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RelocatePostRequestBody : 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 domainJoinConfigurations property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? DomainJoinConfigurations + { + get { return BackingStore?.Get?>("domainJoinConfigurations"); } + set { BackingStore?.Set("domainJoinConfigurations", value); } + } +#nullable restore +#else + public List DomainJoinConfigurations + { + get { return BackingStore?.Get>("domainJoinConfigurations"); } + set { BackingStore?.Set("domainJoinConfigurations", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RelocatePostRequestBody() + { + 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.CloudPCs.Item.Relocate.RelocatePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Users.Item.CloudPCs.Item.Relocate.RelocatePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "domainJoinConfigurations", n => { DomainJoinConfigurations = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.CloudPcDomainJoinConfiguration.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfObjectValues("domainJoinConfigurations", DomainJoinConfigurations); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/CloudPCs/Item/Relocate/RelocateRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CloudPCs/Item/Relocate/RelocateRequestBuilder.cs new file mode 100644 index 000000000000..aada1eeae3ff --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/CloudPCs/Item/Relocate/RelocateRequestBuilder.cs @@ -0,0 +1,101 @@ +// +#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.CloudPCs.Item.Relocate +{ + /// + /// Provides operations to call the relocate method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RelocateRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RelocateRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/cloudPCs/{cloudPC%2Did}/relocate", 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 RelocateRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/cloudPCs/{cloudPC%2Did}/relocate", rawUrl) + { + } + /// + /// Invoke action relocate + /// + /// 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.Users.Item.CloudPCs.Item.Relocate.RelocatePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Users.Item.CloudPCs.Item.Relocate.RelocatePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action relocate + /// + /// 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.CloudPCs.Item.Relocate.RelocatePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Users.Item.CloudPCs.Item.Relocate.RelocatePostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) 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.CloudPCs.Item.Relocate.RelocateRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.CloudPCs.Item.Relocate.RelocateRequestBuilder(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 RelocateRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/InformationProtection/InformationProtectionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/InformationProtection/InformationProtectionRequestBuilder.cs index 72868d7cf962..7c9dee0aaac4 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/InformationProtection/InformationProtectionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/InformationProtection/InformationProtectionRequestBuilder.cs @@ -39,16 +39,19 @@ public partial class InformationProtectionRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Users.Item.InformationProtection.DataLossPreventionPolicies.DataLossPreventionPoliciesRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to call the decryptBuffer method. + [Obsolete("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15")] public global::Microsoft.Graph.Beta.Users.Item.InformationProtection.DecryptBuffer.DecryptBufferRequestBuilder DecryptBuffer { get => new global::Microsoft.Graph.Beta.Users.Item.InformationProtection.DecryptBuffer.DecryptBufferRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to call the encryptBuffer method. + [Obsolete("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15")] public global::Microsoft.Graph.Beta.Users.Item.InformationProtection.EncryptBuffer.EncryptBufferRequestBuilder EncryptBuffer { get => new global::Microsoft.Graph.Beta.Users.Item.InformationProtection.EncryptBuffer.EncryptBufferRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the policy property of the microsoft.graph.informationProtection entity. + [Obsolete("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15")] public global::Microsoft.Graph.Beta.Users.Item.InformationProtection.Policy.PolicyRequestBuilder Policy { get => new global::Microsoft.Graph.Beta.Users.Item.InformationProtection.Policy.PolicyRequestBuilder(PathParameters, RequestAdapter); @@ -64,6 +67,7 @@ public partial class InformationProtectionRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityPolicySettings.SensitivityPolicySettingsRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to call the signDigest method. + [Obsolete("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15")] public global::Microsoft.Graph.Beta.Users.Item.InformationProtection.SignDigest.SignDigestRequestBuilder SignDigest { get => new global::Microsoft.Graph.Beta.Users.Item.InformationProtection.SignDigest.SignDigestRequestBuilder(PathParameters, RequestAdapter); @@ -74,6 +78,7 @@ public partial class InformationProtectionRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Users.Item.InformationProtection.ThreatAssessmentRequests.ThreatAssessmentRequestsRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to call the verifySignature method. + [Obsolete("This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15")] public global::Microsoft.Graph.Beta.Users.Item.InformationProtection.VerifySignature.VerifySignatureRequestBuilder VerifySignature { get => new global::Microsoft.Graph.Beta.Users.Item.InformationProtection.VerifySignature.VerifySignatureRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Users/Item/Insights/InsightsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Insights/InsightsRequestBuilder.cs index 84a3fdf0e550..58ce1ab0452b 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Insights/InsightsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Insights/InsightsRequestBuilder.cs @@ -22,6 +22,7 @@ namespace Microsoft.Graph.Beta.Users.Item.Insights public partial class InsightsRequestBuilder : BaseRequestBuilder { /// Provides operations to manage the shared property of the microsoft.graph.officeGraphInsights entity. + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] public global::Microsoft.Graph.Beta.Users.Item.Insights.Shared.SharedRequestBuilder Shared { get => new global::Microsoft.Graph.Beta.Users.Item.Insights.Shared.SharedRequestBuilder(PathParameters, RequestAdapter); @@ -32,6 +33,7 @@ public partial class InsightsRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Users.Item.Insights.Trending.TrendingRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the used property of the microsoft.graph.officeGraphInsights entity. + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] public global::Microsoft.Graph.Beta.Users.Item.Insights.Used.UsedRequestBuilder Used { get => new global::Microsoft.Graph.Beta.Users.Item.Insights.Used.UsedRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MailFolderItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MailFolderItemRequestBuilder.cs index 568ae0bc2eea..b799d3c549b6 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MailFolderItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MailFolderItemRequestBuilder.cs @@ -53,6 +53,7 @@ public partial class MailFolderItemRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Move.MoveRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the operations property of the microsoft.graph.mailFolder entity. + [Obsolete(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI on 2024-04-29 and will be removed 2024-06-30")] public global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Operations.OperationsRequestBuilder Operations { get => new global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Operations.OperationsRequestBuilder(PathParameters, RequestAdapter); @@ -63,6 +64,7 @@ public partial class MailFolderItemRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.PermanentDelete.PermanentDeleteRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to call the updateAllMessagesReadState method. + [Obsolete(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI on 2024-04-29 and will be removed 2024-06-30")] public global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.UpdateAllMessagesReadState.UpdateAllMessagesReadStateRequestBuilder UpdateAllMessagesReadState { get => new global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.UpdateAllMessagesReadState.UpdateAllMessagesReadStateRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/MessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/MessageItemRequestBuilder.cs index 3cec9cce203c..52c9a4d4b0f0 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/MessageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/MessageItemRequestBuilder.cs @@ -77,11 +77,13 @@ public partial class MessageItemRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Messages.Item.Forward.ForwardRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to call the markAsJunk method. + [Obsolete("The MarkAsJunk API is deprecated and will stop working from Dec 30, 2025. Please use the ReportMessage API. as of 2022-09/Mark_As_Junk on 2025-04-25 and will be removed 2025-12-30")] public global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Messages.Item.MarkAsJunk.MarkAsJunkRequestBuilder MarkAsJunk { get => new global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Messages.Item.MarkAsJunk.MarkAsJunkRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to call the markAsNotJunk method. + [Obsolete("The MarkAsNotJunk API is deprecated and will stop working from Dec 30, 2025. Please use the ReportMessage API. as of 2022-09/Mark_As_Not_Junk on 2025-04-25 and will be removed 2025-12-30")] public global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Messages.Item.MarkAsNotJunk.MarkAsNotJunkRequestBuilder MarkAsNotJunk { get => new global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Messages.Item.MarkAsNotJunk.MarkAsNotJunkRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/MailFolderItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/MailFolderItemRequestBuilder.cs index 9c700354ee87..935ee6cf1e25 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/MailFolderItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/MailFolderItemRequestBuilder.cs @@ -59,6 +59,7 @@ public partial class MailFolderItemRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Move.MoveRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the operations property of the microsoft.graph.mailFolder entity. + [Obsolete(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI on 2024-04-29 and will be removed 2024-06-30")] public global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Operations.OperationsRequestBuilder Operations { get => new global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Operations.OperationsRequestBuilder(PathParameters, RequestAdapter); @@ -69,6 +70,7 @@ public partial class MailFolderItemRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.PermanentDelete.PermanentDeleteRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to call the updateAllMessagesReadState method. + [Obsolete(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI on 2024-04-29 and will be removed 2024-06-30")] public global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.UpdateAllMessagesReadState.UpdateAllMessagesReadStateRequestBuilder UpdateAllMessagesReadState { get => new global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.UpdateAllMessagesReadState.UpdateAllMessagesReadStateRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/MessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/MessageItemRequestBuilder.cs index b4d4518f6876..74ab7869215f 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/MessageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/MessageItemRequestBuilder.cs @@ -77,11 +77,13 @@ public partial class MessageItemRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Messages.Item.Forward.ForwardRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to call the markAsJunk method. + [Obsolete("The MarkAsJunk API is deprecated and will stop working from Dec 30, 2025. Please use the ReportMessage API. as of 2022-09/Mark_As_Junk on 2025-04-25 and will be removed 2025-12-30")] public global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Messages.Item.MarkAsJunk.MarkAsJunkRequestBuilder MarkAsJunk { get => new global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Messages.Item.MarkAsJunk.MarkAsJunkRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to call the markAsNotJunk method. + [Obsolete("The MarkAsNotJunk API is deprecated and will stop working from Dec 30, 2025. Please use the ReportMessage API. as of 2022-09/Mark_As_Not_Junk on 2025-04-25 and will be removed 2025-12-30")] public global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Messages.Item.MarkAsNotJunk.MarkAsNotJunkRequestBuilder MarkAsNotJunk { get => new global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Messages.Item.MarkAsNotJunk.MarkAsNotJunkRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/ManagedDeviceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/ManagedDeviceItemRequestBuilder.cs index 9282bef02e05..3883ff1f5355 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/ManagedDeviceItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/ManagedDeviceItemRequestBuilder.cs @@ -327,6 +327,7 @@ public partial class ManagedDeviceItemRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RotateRecoveryLockPasscode.RotateRecoveryLockPasscodeRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the securityBaselineStates property of the microsoft.graph.managedDevice entity. + [Obsolete("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07")] public global::Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.SecurityBaselineStates.SecurityBaselineStatesRequestBuilder SecurityBaselineStates { get => new global::Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.SecurityBaselineStates.SecurityBaselineStatesRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/MessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/MessageItemRequestBuilder.cs index 2769049b9b13..094ed977108a 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/MessageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/MessageItemRequestBuilder.cs @@ -77,11 +77,13 @@ public partial class MessageItemRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Users.Item.Messages.Item.Forward.ForwardRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to call the markAsJunk method. + [Obsolete("The MarkAsJunk API is deprecated and will stop working from Dec 30, 2025. Please use the ReportMessage API. as of 2022-09/Mark_As_Junk on 2025-04-25 and will be removed 2025-12-30")] public global::Microsoft.Graph.Beta.Users.Item.Messages.Item.MarkAsJunk.MarkAsJunkRequestBuilder MarkAsJunk { get => new global::Microsoft.Graph.Beta.Users.Item.Messages.Item.MarkAsJunk.MarkAsJunkRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to call the markAsNotJunk method. + [Obsolete("The MarkAsNotJunk API is deprecated and will stop working from Dec 30, 2025. Please use the ReportMessage API. as of 2022-09/Mark_As_Not_Junk on 2025-04-25 and will be removed 2025-12-30")] public global::Microsoft.Graph.Beta.Users.Item.Messages.Item.MarkAsNotJunk.MarkAsNotJunkRequestBuilder MarkAsNotJunk { get => new global::Microsoft.Graph.Beta.Users.Item.Messages.Item.MarkAsNotJunk.MarkAsNotJunkRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Users/Item/OnlineMeetings/Item/OnlineMeetingItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/OnlineMeetings/Item/OnlineMeetingItemRequestBuilder.cs index 798c68571116..0207a2df4c24 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/OnlineMeetings/Item/OnlineMeetingItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/OnlineMeetings/Item/OnlineMeetingItemRequestBuilder.cs @@ -77,6 +77,7 @@ public partial class OnlineMeetingItemRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Users.Item.OnlineMeetings.Item.Recordings.RecordingsRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the registration property of the microsoft.graph.onlineMeeting entity. + [Obsolete("The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12")] public global::Microsoft.Graph.Beta.Users.Item.OnlineMeetings.Item.Registration.RegistrationRequestBuilder Registration { get => new global::Microsoft.Graph.Beta.Users.Item.OnlineMeetings.Item.Registration.RegistrationRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Users/Item/Outlook/OutlookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Outlook/OutlookRequestBuilder.cs index a02f3951d9d8..3afb175a7891 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Outlook/OutlookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Outlook/OutlookRequestBuilder.cs @@ -41,16 +41,19 @@ public partial class OutlookRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Users.Item.Outlook.SupportedTimeZones.SupportedTimeZonesRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the taskFolders property of the microsoft.graph.outlookUser entity. + [Obsolete("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20")] public global::Microsoft.Graph.Beta.Users.Item.Outlook.TaskFolders.TaskFoldersRequestBuilder TaskFolders { get => new global::Microsoft.Graph.Beta.Users.Item.Outlook.TaskFolders.TaskFoldersRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the taskGroups property of the microsoft.graph.outlookUser entity. + [Obsolete("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20")] public global::Microsoft.Graph.Beta.Users.Item.Outlook.TaskGroups.TaskGroupsRequestBuilder TaskGroups { get => new global::Microsoft.Graph.Beta.Users.Item.Outlook.TaskGroups.TaskGroupsRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the tasks property of the microsoft.graph.outlookUser entity. + [Obsolete("The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20")] public global::Microsoft.Graph.Beta.Users.Item.Outlook.Tasks.TasksRequestBuilder Tasks { get => new global::Microsoft.Graph.Beta.Users.Item.Outlook.Tasks.TasksRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs index fa317081e6b7..559ea52270a9 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs @@ -54,6 +54,7 @@ public partial class PlannerPlanItemRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.GetUsageRights.GetUsageRightsRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the goals property of the microsoft.graph.plannerPlan entity. + [Obsolete("private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26")] public global::Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Goals.GoalsRequestBuilder Goals { get => new global::Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Goals.GoalsRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Users/Item/UserItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/UserItemRequestBuilder.cs index b8831f1e8005..1145dbd951a7 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/UserItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/UserItemRequestBuilder.cs @@ -537,6 +537,7 @@ public partial class UserItemRequestBuilder : BaseRequestBuilder get => new global::Microsoft.Graph.Beta.Users.Item.MobileAppTroubleshootingEvents.MobileAppTroubleshootingEventsRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the notifications property of the microsoft.graph.user entity. + [Obsolete("The Graph Notification API is deprecated and will stop returning data on March 20, 2023. as of 2023-03/Notification_Deprecation on 2023-03-09 and will be removed 2023-03-20")] public global::Microsoft.Graph.Beta.Users.Item.Notifications.NotificationsRequestBuilder Notifications { get => new global::Microsoft.Graph.Beta.Users.Item.Notifications.NotificationsRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/kiota-dom-export.txt b/src/Microsoft.Graph/Generated/kiota-dom-export.txt index 0dbd94ffbff4..454ee7786fcb 100644 --- a/src/Microsoft.Graph/Generated/kiota-dom-export.txt +++ b/src/Microsoft.Graph/Generated/kiota-dom-export.txt @@ -3136,6 +3136,257 @@ Microsoft.Graph.Beta.Admin.Windows.Updates.Catalog.Entries.Item.CatalogEntryItem Microsoft.Graph.Beta.Admin.Windows.Updates.Catalog.Entries.Item.CatalogEntryItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Admin.Windows.Updates.Catalog.Entries.Item.CatalogEntryItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.WindowsUpdates.CatalogEntry; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Admin.Windows.Updates.Catalog.Entries.Item.CatalogEntryItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.Windows.Updates.Catalog.Entries.Item.CatalogEntryItemRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.applicableCatalogSummariesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.applicableCatalogSummariesRequestBuilder.applicableCatalogSummariesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.applicableCatalogSummariesRequestBuilder.applicableCatalogSummariesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.applicableCatalogSummariesRequestBuilder.applicableCatalogSummariesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.applicableCatalogSummariesRequestBuilder.applicableCatalogSummariesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.applicableCatalogSummariesRequestBuilder.applicableCatalogSummariesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.applicableCatalogSummariesRequestBuilder.applicableCatalogSummariesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.applicableCatalogSummariesRequestBuilder.applicableCatalogSummariesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.applicableCatalogSummariesRequestBuilder.applicableCatalogSummariesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.applicableCatalogSummariesRequestBuilder.applicableCatalogSummariesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.applicableCatalogSummariesRequestBuilder::[ApplicableCatalogSummaryId:string]:global.Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.ApplicableCatalogSummaryItemRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.applicableCatalogSummariesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.applicableCatalogSummariesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.applicableCatalogSummariesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Count.CountRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.applicableCatalogSummariesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.WindowsUpdates.ApplicableCatalogSummaryCollectionResponse +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.applicableCatalogSummariesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.applicableCatalogSummariesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.ApplicableCatalogSummariesRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Count.CountRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.AggregatedDevices.aggregatedDevicesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.AggregatedDevices.aggregatedDevicesRequestBuilder.aggregatedDevicesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.AggregatedDevices.aggregatedDevicesRequestBuilder.aggregatedDevicesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.AggregatedDevices.aggregatedDevicesRequestBuilder.aggregatedDevicesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.AggregatedDevices.aggregatedDevicesRequestBuilder.aggregatedDevicesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.AggregatedDevices.aggregatedDevicesRequestBuilder.aggregatedDevicesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.AggregatedDevices.aggregatedDevicesRequestBuilder.aggregatedDevicesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.AggregatedDevices.aggregatedDevicesRequestBuilder.aggregatedDevicesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.AggregatedDevices.aggregatedDevicesRequestBuilder.aggregatedDevicesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.AggregatedDevices.aggregatedDevicesRequestBuilder.aggregatedDevicesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.AggregatedDevices.aggregatedDevicesRequestBuilder::[ApplicableDeviceId:string]:global.Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.AggregatedDevices.Item.ApplicableDeviceItemRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.AggregatedDevices.aggregatedDevicesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.AggregatedDevices.aggregatedDevicesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.AggregatedDevices.aggregatedDevicesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.AggregatedDevices.Count.CountRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.AggregatedDevices.aggregatedDevicesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.WindowsUpdates.ApplicableDeviceCollectionResponse +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.AggregatedDevices.aggregatedDevicesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.AggregatedDevices.aggregatedDevicesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.AggregatedDevices.AggregatedDevicesRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.AggregatedDevices.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.AggregatedDevices.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.AggregatedDevices.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.AggregatedDevices.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.AggregatedDevices.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.AggregatedDevices.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.AggregatedDevices.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.AggregatedDevices.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.AggregatedDevices.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.AggregatedDevices.Count.CountRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.AggregatedDevices.Item.ApplicableDeviceItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.AggregatedDevices.Item.ApplicableDeviceItemRequestBuilder.ApplicableDeviceItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.AggregatedDevices.Item.ApplicableDeviceItemRequestBuilder.ApplicableDeviceItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.AggregatedDevices.Item.ApplicableDeviceItemRequestBuilder.ApplicableDeviceItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.AggregatedDevices.Item.ApplicableDeviceItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.AggregatedDevices.Item.ApplicableDeviceItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.AggregatedDevices.Item.ApplicableDeviceItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.WindowsUpdates.ApplicableDevice +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.AggregatedDevices.Item.ApplicableDeviceItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.AggregatedDevices.Item.ApplicableDeviceItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.AggregatedDevices.Item.ApplicableDeviceItemRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.ApplicableCatalogSummaryItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.ApplicableCatalogSummaryItemRequestBuilder.ApplicableCatalogSummaryItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.ApplicableCatalogSummaryItemRequestBuilder.ApplicableCatalogSummaryItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.ApplicableCatalogSummaryItemRequestBuilder.ApplicableCatalogSummaryItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.ApplicableCatalogSummaryItemRequestBuilder::|public|aggregatedDevices:global.Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.AggregatedDevices.AggregatedDevicesRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.ApplicableCatalogSummaryItemRequestBuilder::|public|catalogEntry:global.Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.CatalogEntry.CatalogEntryRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.ApplicableCatalogSummaryItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.ApplicableCatalogSummaryItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.ApplicableCatalogSummaryItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.WindowsUpdates.ApplicableCatalogSummary +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.ApplicableCatalogSummaryItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.ApplicableCatalogSummaryItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.ApplicableCatalogSummaryItemRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.CatalogEntry.catalogEntryRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.CatalogEntry.catalogEntryRequestBuilder.catalogEntryRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.CatalogEntry.catalogEntryRequestBuilder.catalogEntryRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.CatalogEntry.catalogEntryRequestBuilder.catalogEntryRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.CatalogEntry.catalogEntryRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.CatalogEntry.catalogEntryRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.CatalogEntry.catalogEntryRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.WindowsUpdates.CatalogEntry +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.CatalogEntry.catalogEntryRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.CatalogEntry.catalogEntryRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.CatalogEntry.CatalogEntryRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.dataRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.dataRequestBuilder.dataRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.dataRequestBuilder.dataRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.dataRequestBuilder.dataRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.dataRequestBuilder.dataRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.dataRequestBuilder.dataRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.dataRequestBuilder::|public|applicableCatalogSummaries:global.Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.ApplicableCatalogSummariesRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.dataRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.dataRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.dataRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.dataRequestBuilder::|public|deviceProfiles:global.Microsoft.Graph.Beta.Admin.Windows.Updates.Data.DeviceProfiles.DeviceProfilesRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.dataRequestBuilder::|public|drivers:global.Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.DriversRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.dataRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.WindowsUpdates.UpdateData +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.dataRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.WindowsUpdates.UpdateData; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.WindowsUpdates.UpdateData +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.dataRequestBuilder::|public|policyAssignments:global.Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.PolicyAssignmentsRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.dataRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.dataRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.dataRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.WindowsUpdates.UpdateData; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.dataRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.Windows.Updates.Data.DataRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.DeviceProfiles.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.DeviceProfiles.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.DeviceProfiles.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.DeviceProfiles.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.DeviceProfiles.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.DeviceProfiles.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.DeviceProfiles.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.DeviceProfiles.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.DeviceProfiles.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.Windows.Updates.Data.DeviceProfiles.Count.CountRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.DeviceProfiles.deviceProfilesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.DeviceProfiles.deviceProfilesRequestBuilder.deviceProfilesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.DeviceProfiles.deviceProfilesRequestBuilder.deviceProfilesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.DeviceProfiles.deviceProfilesRequestBuilder.deviceProfilesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.DeviceProfiles.deviceProfilesRequestBuilder.deviceProfilesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.DeviceProfiles.deviceProfilesRequestBuilder.deviceProfilesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.DeviceProfiles.deviceProfilesRequestBuilder.deviceProfilesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.DeviceProfiles.deviceProfilesRequestBuilder.deviceProfilesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.DeviceProfiles.deviceProfilesRequestBuilder.deviceProfilesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.DeviceProfiles.deviceProfilesRequestBuilder.deviceProfilesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.DeviceProfiles.deviceProfilesRequestBuilder::[DeviceProfileId:string]:global.Microsoft.Graph.Beta.Admin.Windows.Updates.Data.DeviceProfiles.Item.DeviceProfileItemRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.DeviceProfiles.deviceProfilesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.DeviceProfiles.deviceProfilesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.DeviceProfiles.deviceProfilesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Admin.Windows.Updates.Data.DeviceProfiles.Count.CountRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.DeviceProfiles.deviceProfilesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.WindowsUpdates.DeviceProfileCollectionResponse +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.DeviceProfiles.deviceProfilesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.DeviceProfiles.deviceProfilesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.Windows.Updates.Data.DeviceProfiles.DeviceProfilesRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.DeviceProfiles.Item.DeviceProfileItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.DeviceProfiles.Item.DeviceProfileItemRequestBuilder.DeviceProfileItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.DeviceProfiles.Item.DeviceProfileItemRequestBuilder.DeviceProfileItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.DeviceProfiles.Item.DeviceProfileItemRequestBuilder.DeviceProfileItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.DeviceProfiles.Item.DeviceProfileItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.DeviceProfiles.Item.DeviceProfileItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.DeviceProfiles.Item.DeviceProfileItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.WindowsUpdates.DeviceProfile +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.DeviceProfiles.Item.DeviceProfileItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.DeviceProfiles.Item.DeviceProfileItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.Windows.Updates.Data.DeviceProfiles.Item.DeviceProfileItemRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Count.CountRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.driversRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.driversRequestBuilder.driversRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.driversRequestBuilder.driversRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.driversRequestBuilder.driversRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.driversRequestBuilder.driversRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.driversRequestBuilder.driversRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.driversRequestBuilder.driversRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.driversRequestBuilder.driversRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.driversRequestBuilder.driversRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.driversRequestBuilder.driversRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.driversRequestBuilder::[DriverUpdateReportId:string]:global.Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DriverUpdateReportItemRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.driversRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.driversRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.driversRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Count.CountRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.driversRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.WindowsUpdates.DriverUpdateReportCollectionResponse +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.driversRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.driversRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.DriversRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DeviceStatuses.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DeviceStatuses.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DeviceStatuses.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DeviceStatuses.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DeviceStatuses.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DeviceStatuses.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DeviceStatuses.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DeviceStatuses.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DeviceStatuses.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DeviceStatuses.Count.CountRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DeviceStatuses.deviceStatusesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DeviceStatuses.deviceStatusesRequestBuilder.deviceStatusesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DeviceStatuses.deviceStatusesRequestBuilder.deviceStatusesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DeviceStatuses.deviceStatusesRequestBuilder.deviceStatusesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DeviceStatuses.deviceStatusesRequestBuilder.deviceStatusesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DeviceStatuses.deviceStatusesRequestBuilder.deviceStatusesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DeviceStatuses.deviceStatusesRequestBuilder.deviceStatusesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DeviceStatuses.deviceStatusesRequestBuilder.deviceStatusesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DeviceStatuses.deviceStatusesRequestBuilder.deviceStatusesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DeviceStatuses.deviceStatusesRequestBuilder.deviceStatusesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DeviceStatuses.deviceStatusesRequestBuilder::[DriverUpdateDeviceStatusId:string]:global.Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DeviceStatuses.Item.DriverUpdateDeviceStatusItemRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DeviceStatuses.deviceStatusesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DeviceStatuses.deviceStatusesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DeviceStatuses.deviceStatusesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DeviceStatuses.Count.CountRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DeviceStatuses.deviceStatusesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.WindowsUpdates.DriverUpdateDeviceStatusCollectionResponse +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DeviceStatuses.deviceStatusesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DeviceStatuses.deviceStatusesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DeviceStatuses.DeviceStatusesRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DeviceStatuses.Item.DriverUpdateDeviceStatusItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DeviceStatuses.Item.DriverUpdateDeviceStatusItemRequestBuilder.DriverUpdateDeviceStatusItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DeviceStatuses.Item.DriverUpdateDeviceStatusItemRequestBuilder.DriverUpdateDeviceStatusItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DeviceStatuses.Item.DriverUpdateDeviceStatusItemRequestBuilder.DriverUpdateDeviceStatusItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DeviceStatuses.Item.DriverUpdateDeviceStatusItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DeviceStatuses.Item.DriverUpdateDeviceStatusItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DeviceStatuses.Item.DriverUpdateDeviceStatusItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.WindowsUpdates.DriverUpdateDeviceStatus +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DeviceStatuses.Item.DriverUpdateDeviceStatusItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DeviceStatuses.Item.DriverUpdateDeviceStatusItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DeviceStatuses.Item.DriverUpdateDeviceStatusItemRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DriverUpdateReportItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DriverUpdateReportItemRequestBuilder.DriverUpdateReportItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DriverUpdateReportItemRequestBuilder.DriverUpdateReportItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DriverUpdateReportItemRequestBuilder.DriverUpdateReportItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DriverUpdateReportItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DriverUpdateReportItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DriverUpdateReportItemRequestBuilder::|public|deviceStatuses:global.Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DeviceStatuses.DeviceStatusesRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DriverUpdateReportItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.WindowsUpdates.DriverUpdateReport +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DriverUpdateReportItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DriverUpdateReportItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DriverUpdateReportItemRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.Count.CountRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.Item.DeviceProfile.deviceProfileRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.Item.DeviceProfile.deviceProfileRequestBuilder.deviceProfileRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.Item.DeviceProfile.deviceProfileRequestBuilder.deviceProfileRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.Item.DeviceProfile.deviceProfileRequestBuilder.deviceProfileRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.Item.DeviceProfile.deviceProfileRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.Item.DeviceProfile.deviceProfileRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.Item.DeviceProfile.deviceProfileRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.WindowsUpdates.DeviceProfile +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.Item.DeviceProfile.deviceProfileRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.Item.DeviceProfile.deviceProfileRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.Item.DeviceProfile.DeviceProfileRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.Item.PolicyAssignmentItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.Item.PolicyAssignmentItemRequestBuilder.PolicyAssignmentItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.Item.PolicyAssignmentItemRequestBuilder.PolicyAssignmentItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.Item.PolicyAssignmentItemRequestBuilder.PolicyAssignmentItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.Item.PolicyAssignmentItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.Item.PolicyAssignmentItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.Item.PolicyAssignmentItemRequestBuilder::|public|deviceProfile:global.Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.Item.DeviceProfile.DeviceProfileRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.Item.PolicyAssignmentItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.WindowsUpdates.PolicyAssignment +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.Item.PolicyAssignmentItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.Item.PolicyAssignmentItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.Item.PolicyAssignmentItemRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.policyAssignmentsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.policyAssignmentsRequestBuilder.policyAssignmentsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.policyAssignmentsRequestBuilder.policyAssignmentsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.policyAssignmentsRequestBuilder.policyAssignmentsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.policyAssignmentsRequestBuilder.policyAssignmentsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.policyAssignmentsRequestBuilder.policyAssignmentsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.policyAssignmentsRequestBuilder.policyAssignmentsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.policyAssignmentsRequestBuilder.policyAssignmentsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.policyAssignmentsRequestBuilder.policyAssignmentsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.policyAssignmentsRequestBuilder.policyAssignmentsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.policyAssignmentsRequestBuilder::[PolicyAssignmentId:string]:global.Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.Item.PolicyAssignmentItemRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.policyAssignmentsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.policyAssignmentsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.policyAssignmentsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.Count.CountRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.policyAssignmentsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.WindowsUpdates.PolicyAssignmentCollectionResponse +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.policyAssignmentsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.policyAssignmentsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.PolicyAssignmentsRequestBuilder Microsoft.Graph.Beta.Admin.Windows.Updates.DeploymentAudiences.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Admin.Windows.Updates.DeploymentAudiences.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.Admin.Windows.Updates.DeploymentAudiences.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -4251,6 +4502,87 @@ Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Count.CountRequestBuilder::| Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Count.CountRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.applicableCatalogsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.applicableCatalogsRequestBuilder.applicableCatalogsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.applicableCatalogsRequestBuilder.applicableCatalogsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.applicableCatalogsRequestBuilder.applicableCatalogsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.applicableCatalogsRequestBuilder.applicableCatalogsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.applicableCatalogsRequestBuilder.applicableCatalogsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.applicableCatalogsRequestBuilder.applicableCatalogsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.applicableCatalogsRequestBuilder.applicableCatalogsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.applicableCatalogsRequestBuilder.applicableCatalogsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.applicableCatalogsRequestBuilder.applicableCatalogsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.applicableCatalogsRequestBuilder::[ApplicableCatalogId:string]:global.Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.ApplicableCatalogItemRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.applicableCatalogsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.applicableCatalogsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.applicableCatalogsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Count.CountRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.applicableCatalogsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.WindowsUpdates.ApplicableCatalogCollectionResponse +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.applicableCatalogsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.applicableCatalogsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.ApplicableCatalogsRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Count.CountRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.ApplicableCatalogItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.ApplicableCatalogItemRequestBuilder.ApplicableCatalogItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.ApplicableCatalogItemRequestBuilder.ApplicableCatalogItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.ApplicableCatalogItemRequestBuilder.ApplicableCatalogItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.ApplicableCatalogItemRequestBuilder::|public|catalogEntry:global.Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.CatalogEntry.CatalogEntryRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.ApplicableCatalogItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.ApplicableCatalogItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.ApplicableCatalogItemRequestBuilder::|public|devices:global.Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.Devices.DevicesRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.ApplicableCatalogItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.WindowsUpdates.ApplicableCatalog +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.ApplicableCatalogItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.ApplicableCatalogItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.ApplicableCatalogItemRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.CatalogEntry.catalogEntryRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.CatalogEntry.catalogEntryRequestBuilder.catalogEntryRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.CatalogEntry.catalogEntryRequestBuilder.catalogEntryRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.CatalogEntry.catalogEntryRequestBuilder.catalogEntryRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.CatalogEntry.catalogEntryRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.CatalogEntry.catalogEntryRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.CatalogEntry.catalogEntryRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.WindowsUpdates.CatalogEntry +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.CatalogEntry.catalogEntryRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.CatalogEntry.catalogEntryRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.CatalogEntry.CatalogEntryRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.Devices.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.Devices.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.Devices.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.Devices.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.Devices.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.Devices.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.Devices.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.Devices.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.Devices.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.Devices.Count.CountRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.Devices.devicesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.Devices.devicesRequestBuilder.devicesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.Devices.devicesRequestBuilder.devicesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.Devices.devicesRequestBuilder.devicesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.Devices.devicesRequestBuilder.devicesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.Devices.devicesRequestBuilder.devicesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.Devices.devicesRequestBuilder.devicesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.Devices.devicesRequestBuilder.devicesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.Devices.devicesRequestBuilder.devicesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.Devices.devicesRequestBuilder.devicesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.Devices.devicesRequestBuilder::[ApplicableDeviceId:string]:global.Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.Devices.Item.ApplicableDeviceItemRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.Devices.devicesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.Devices.devicesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.Devices.devicesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.Devices.Count.CountRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.Devices.devicesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.WindowsUpdates.ApplicableDeviceCollectionResponse +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.Devices.devicesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.Devices.devicesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.Devices.DevicesRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.Devices.Item.ApplicableDeviceItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.Devices.Item.ApplicableDeviceItemRequestBuilder.ApplicableDeviceItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.Devices.Item.ApplicableDeviceItemRequestBuilder.ApplicableDeviceItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.Devices.Item.ApplicableDeviceItemRequestBuilder.ApplicableDeviceItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.Devices.Item.ApplicableDeviceItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.Devices.Item.ApplicableDeviceItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.Devices.Item.ApplicableDeviceItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.WindowsUpdates.ApplicableDevice +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.Devices.Item.ApplicableDeviceItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.Devices.Item.ApplicableDeviceItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.Devices.Item.ApplicableDeviceItemRequestBuilder Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.applicableContentRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.applicableContentRequestBuilder.applicableContentRequestBuilderGetQueryParameters::|public|Count:bool? Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.applicableContentRequestBuilder.applicableContentRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -4410,6 +4742,7 @@ Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.PolicyItemRequestBuilde Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.PolicyItemRequestBuilder.PolicyItemRequestBuilderGetQueryParameters::|public|Select:string[] Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.PolicyItemRequestBuilder.PolicyItemRequestBuilderGetRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.PolicyItemRequestBuilder.PolicyItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.PolicyItemRequestBuilder::|public|applicableCatalogs:global.Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.ApplicableCatalogsRequestBuilder Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.PolicyItemRequestBuilder::|public|applicableContent:global.Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.ApplicableContentRequestBuilder Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.PolicyItemRequestBuilder::|public|approvals:global.Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.ApprovalsRequestBuilder Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.PolicyItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -4846,6 +5179,66 @@ Microsoft.Graph.Beta.Admin.Windows.Updates.ResourceConnections.resourceConnectio Microsoft.Graph.Beta.Admin.Windows.Updates.ResourceConnections.resourceConnectionsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Admin.Windows.Updates.ResourceConnections.resourceConnectionsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.WindowsUpdates.ResourceConnection; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Admin.Windows.Updates.ResourceConnections.resourceConnectionsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.Windows.Updates.ResourceConnections.ResourceConnectionsRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.MdmAppSettings.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.MdmAppSettings.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.MdmAppSettings.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.MdmAppSettings.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.MdmAppSettings.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.MdmAppSettings.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.MdmAppSettings.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.MdmAppSettings.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.MdmAppSettings.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.MdmAppSettings.Count.CountRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.MdmAppSettings.Item.MdmAppSettingMdmAppItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.MdmAppSettings.Item.MdmAppSettingMdmAppItemRequestBuilder.MdmAppSettingMdmAppItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.MdmAppSettings.Item.MdmAppSettingMdmAppItemRequestBuilder.MdmAppSettingMdmAppItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.MdmAppSettings.Item.MdmAppSettingMdmAppItemRequestBuilder.MdmAppSettingMdmAppItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.MdmAppSettings.Item.MdmAppSettingMdmAppItemRequestBuilder.MdmAppSettingMdmAppItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.MdmAppSettings.Item.MdmAppSettingMdmAppItemRequestBuilder.MdmAppSettingMdmAppItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.MdmAppSettings.Item.MdmAppSettingMdmAppItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.MdmAppSettings.Item.MdmAppSettingMdmAppItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.MdmAppSettings.Item.MdmAppSettingMdmAppItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.MdmAppSettings.Item.MdmAppSettingMdmAppItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.WindowsUpdates.MdmAppSetting +Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.MdmAppSettings.Item.MdmAppSettingMdmAppItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.WindowsUpdates.MdmAppSetting; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.WindowsUpdates.MdmAppSetting +Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.MdmAppSettings.Item.MdmAppSettingMdmAppItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.MdmAppSettings.Item.MdmAppSettingMdmAppItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.MdmAppSettings.Item.MdmAppSettingMdmAppItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.WindowsUpdates.MdmAppSetting; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.MdmAppSettings.Item.MdmAppSettingMdmAppItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.MdmAppSettings.Item.MdmAppSettingMdmAppItemRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.MdmAppSettings.mdmAppSettingsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.MdmAppSettings.mdmAppSettingsRequestBuilder.mdmAppSettingsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.MdmAppSettings.mdmAppSettingsRequestBuilder.mdmAppSettingsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.MdmAppSettings.mdmAppSettingsRequestBuilder.mdmAppSettingsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.MdmAppSettings.mdmAppSettingsRequestBuilder.mdmAppSettingsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.MdmAppSettings.mdmAppSettingsRequestBuilder.mdmAppSettingsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.MdmAppSettings.mdmAppSettingsRequestBuilder.mdmAppSettingsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.MdmAppSettings.mdmAppSettingsRequestBuilder.mdmAppSettingsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.MdmAppSettings.mdmAppSettingsRequestBuilder.mdmAppSettingsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.MdmAppSettings.mdmAppSettingsRequestBuilder.mdmAppSettingsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.MdmAppSettings.mdmAppSettingsRequestBuilder.mdmAppSettingsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.MdmAppSettings.mdmAppSettingsRequestBuilder::[MdmAppSettingMdmAppId:string]:global.Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.MdmAppSettings.Item.MdmAppSettingMdmAppItemRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.MdmAppSettings.mdmAppSettingsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.MdmAppSettings.mdmAppSettingsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.MdmAppSettings.mdmAppSettingsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.MdmAppSettings.Count.CountRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.MdmAppSettings.mdmAppSettingsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.WindowsUpdates.MdmAppSettingCollectionResponse +Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.MdmAppSettings.mdmAppSettingsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.WindowsUpdates.MdmAppSetting; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.WindowsUpdates.MdmAppSetting +Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.MdmAppSettings.mdmAppSettingsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.MdmAppSettings.mdmAppSettingsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.WindowsUpdates.MdmAppSetting; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.MdmAppSettings.mdmAppSettingsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.MdmAppSettings.MdmAppSettingsRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.tenantSettingsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.tenantSettingsRequestBuilder.tenantSettingsRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.tenantSettingsRequestBuilder.tenantSettingsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.tenantSettingsRequestBuilder.tenantSettingsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.tenantSettingsRequestBuilder.tenantSettingsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.tenantSettingsRequestBuilder.tenantSettingsRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.tenantSettingsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.tenantSettingsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.tenantSettingsRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.tenantSettingsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.WindowsUpdates.TenantSetting +Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.tenantSettingsRequestBuilder::|public|mdmAppSettings:global.Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.MdmAppSettings.MdmAppSettingsRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.tenantSettingsRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.WindowsUpdates.TenantSetting; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.WindowsUpdates.TenantSetting +Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.tenantSettingsRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.tenantSettingsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.tenantSettingsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.WindowsUpdates.TenantSetting; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.tenantSettingsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.TenantSettingsRequestBuilder Microsoft.Graph.Beta.Admin.Windows.Updates.UpdatableAssets.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Admin.Windows.Updates.UpdatableAssets.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.Admin.Windows.Updates.UpdatableAssets.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -5651,6 +6044,7 @@ Microsoft.Graph.Beta.Admin.Windows.Updates.updatesRequestBuilder.updatesRequestB Microsoft.Graph.Beta.Admin.Windows.Updates.updatesRequestBuilder::|public|catalog:global.Microsoft.Graph.Beta.Admin.Windows.Updates.Catalog.CatalogRequestBuilder Microsoft.Graph.Beta.Admin.Windows.Updates.updatesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Admin.Windows.Updates.updatesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.updatesRequestBuilder::|public|data:global.Microsoft.Graph.Beta.Admin.Windows.Updates.Data.DataRequestBuilder Microsoft.Graph.Beta.Admin.Windows.Updates.updatesRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Admin.Windows.Updates.updatesRequestBuilder::|public|deploymentAudiences:global.Microsoft.Graph.Beta.Admin.Windows.Updates.DeploymentAudiences.DeploymentAudiencesRequestBuilder Microsoft.Graph.Beta.Admin.Windows.Updates.updatesRequestBuilder::|public|deployments:global.Microsoft.Graph.Beta.Admin.Windows.Updates.Deployments.DeploymentsRequestBuilder @@ -5659,6 +6053,7 @@ Microsoft.Graph.Beta.Admin.Windows.Updates.updatesRequestBuilder::|public|PatchA Microsoft.Graph.Beta.Admin.Windows.Updates.updatesRequestBuilder::|public|policies:global.Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.PoliciesRequestBuilder Microsoft.Graph.Beta.Admin.Windows.Updates.updatesRequestBuilder::|public|products:global.Microsoft.Graph.Beta.Admin.Windows.Updates.Products.ProductsRequestBuilder Microsoft.Graph.Beta.Admin.Windows.Updates.updatesRequestBuilder::|public|resourceConnections:global.Microsoft.Graph.Beta.Admin.Windows.Updates.ResourceConnections.ResourceConnectionsRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.updatesRequestBuilder::|public|tenantSettings:global.Microsoft.Graph.Beta.Admin.Windows.Updates.TenantSettings.TenantSettingsRequestBuilder Microsoft.Graph.Beta.Admin.Windows.Updates.updatesRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Admin.Windows.Updates.updatesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Admin.Windows.Updates.updatesRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.AdminWindowsUpdates; requestConfiguration?:Action>):RequestInformation @@ -9577,6 +9972,50 @@ Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.BulkUpload.Valu Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.BulkUpload.Value.ContentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.BulkUpload.Value.ContentRequestBuilder::|public|ToPutRequestInformation(body:Stream; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.BulkUpload.Value.ContentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.BulkUpload.Value.ContentRequestBuilder +Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.ObjectConnections.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.ObjectConnections.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.ObjectConnections.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.ObjectConnections.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.ObjectConnections.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.ObjectConnections.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.ObjectConnections.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.ObjectConnections.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.ObjectConnections.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.ObjectConnections.Count.CountRequestBuilder +Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.ObjectConnections.Item.ObjectConnectionObjectItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.ObjectConnections.Item.ObjectConnectionObjectItemRequestBuilder.ObjectConnectionObjectItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.ObjectConnections.Item.ObjectConnectionObjectItemRequestBuilder.ObjectConnectionObjectItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.ObjectConnections.Item.ObjectConnectionObjectItemRequestBuilder.ObjectConnectionObjectItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.ObjectConnections.Item.ObjectConnectionObjectItemRequestBuilder.ObjectConnectionObjectItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.ObjectConnections.Item.ObjectConnectionObjectItemRequestBuilder.ObjectConnectionObjectItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.ObjectConnections.Item.ObjectConnectionObjectItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.ObjectConnections.Item.ObjectConnectionObjectItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.ObjectConnections.Item.ObjectConnectionObjectItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.ObjectConnections.Item.ObjectConnectionObjectItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ObjectConnection +Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.ObjectConnections.Item.ObjectConnectionObjectItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.ObjectConnection; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ObjectConnection +Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.ObjectConnections.Item.ObjectConnectionObjectItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.ObjectConnections.Item.ObjectConnectionObjectItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.ObjectConnections.Item.ObjectConnectionObjectItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.ObjectConnection; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.ObjectConnections.Item.ObjectConnectionObjectItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.ObjectConnections.Item.ObjectConnectionObjectItemRequestBuilder +Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.ObjectConnections.objectConnectionsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.ObjectConnections.objectConnectionsRequestBuilder.objectConnectionsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.ObjectConnections.objectConnectionsRequestBuilder.objectConnectionsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.ObjectConnections.objectConnectionsRequestBuilder.objectConnectionsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.ObjectConnections.objectConnectionsRequestBuilder.objectConnectionsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.ObjectConnections.objectConnectionsRequestBuilder.objectConnectionsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.ObjectConnections.objectConnectionsRequestBuilder.objectConnectionsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.ObjectConnections.objectConnectionsRequestBuilder.objectConnectionsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.ObjectConnections.objectConnectionsRequestBuilder.objectConnectionsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.ObjectConnections.objectConnectionsRequestBuilder.objectConnectionsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.ObjectConnections.objectConnectionsRequestBuilder.objectConnectionsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.ObjectConnections.objectConnectionsRequestBuilder::[ObjectConnectionObjectId:string]:global.Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.ObjectConnections.Item.ObjectConnectionObjectItemRequestBuilder +Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.ObjectConnections.objectConnectionsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.ObjectConnections.objectConnectionsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.ObjectConnections.objectConnectionsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.ObjectConnections.Count.CountRequestBuilder +Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.ObjectConnections.objectConnectionsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ObjectConnectionCollectionResponse +Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.ObjectConnections.objectConnectionsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.ObjectConnection; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ObjectConnection +Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.ObjectConnections.objectConnectionsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.ObjectConnections.objectConnectionsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.ObjectConnection; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.ObjectConnections.objectConnectionsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.ObjectConnections.ObjectConnectionsRequestBuilder Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.Pause.pauseRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.Pause.pauseRequestBuilder.pauseRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.Pause.pauseRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -9766,6 +10205,7 @@ Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.Synchronization Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.SynchronizationJobItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.SynchronizationJobItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.SynchronizationJobItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.SynchronizationJob +Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.SynchronizationJobItemRequestBuilder::|public|objectConnections:global.Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.ObjectConnections.ObjectConnectionsRequestBuilder Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.SynchronizationJobItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.SynchronizationJob; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.SynchronizationJob Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.SynchronizationJobItemRequestBuilder::|public|pause:global.Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.Pause.PauseRequestBuilder Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.SynchronizationJobItemRequestBuilder::|public|provisionOnDemand:global.Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.ProvisionOnDemand.ProvisionOnDemandRequestBuilder @@ -49706,6 +50146,7 @@ Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.CloudPCItemR Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.CloudPCItemRequestBuilder::|public|powerOff:global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.PowerOff.PowerOffRequestBuilder Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.CloudPCItemRequestBuilder::|public|powerOn:global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.PowerOn.PowerOnRequestBuilder Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.CloudPCItemRequestBuilder::|public|reboot:global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Reboot.RebootRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.CloudPCItemRequestBuilder::|public|relocate:global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Relocate.RelocateRequestBuilder Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.CloudPCItemRequestBuilder::|public|rename:global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Rename.RenameRequestBuilder Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.CloudPCItemRequestBuilder::|public|reprovision:global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Reprovision.ReprovisionRequestBuilder Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.CloudPCItemRequestBuilder::|public|resize:global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Resize.ResizeRequestBuilder @@ -49822,6 +50263,21 @@ Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Reboot.reboo Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Reboot.rebootRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Reboot.rebootRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Reboot.rebootRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Reboot.RebootRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Relocate.relocatePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Relocate.relocatePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Relocate.relocatePostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Relocate.relocatePostRequestBody::|public|DomainJoinConfigurations:List +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Relocate.relocatePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Relocate.relocatePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Relocate.relocatePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Relocate.RelocatePostRequestBody +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Relocate.relocatePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Relocate.relocateRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Relocate.relocateRequestBuilder.relocateRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Relocate.relocateRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Relocate.relocateRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Relocate.relocateRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Relocate.RelocatePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Relocate.relocateRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Relocate.RelocatePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Relocate.relocateRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Relocate.RelocateRequestBuilder Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Rename.renamePostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Rename.renamePostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Rename.renamePostRequestBody::|public|constructor():void @@ -50494,6 +50950,7 @@ Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.OnPremisesConnections.Item Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.OnPremisesConnections.Item.UpdateAdDomainPassword.updateAdDomainPasswordPostRequestBody::|public|AdDomainPassword:string Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.OnPremisesConnections.Item.UpdateAdDomainPassword.updateAdDomainPasswordPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.OnPremisesConnections.Item.UpdateAdDomainPassword.updateAdDomainPasswordPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.OnPremisesConnections.Item.UpdateAdDomainPassword.updateAdDomainPasswordPostRequestBody::|public|DomainJoinCredential:global.Microsoft.Graph.Beta.Models.CloudPcDomainJoinCredential Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.OnPremisesConnections.Item.UpdateAdDomainPassword.updateAdDomainPasswordPostRequestBody::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.OnPremisesConnections.Item.UpdateAdDomainPassword.updateAdDomainPasswordPostRequestBody::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.OnPremisesConnections.Item.UpdateAdDomainPassword.updateAdDomainPasswordPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.OnPremisesConnections.Item.UpdateAdDomainPassword.UpdateAdDomainPasswordPostRequestBody @@ -140409,6 +140866,50 @@ Microsoft.Graph.Beta.IdentityGovernance.PermissionsManagement.ScheduledPermissio Microsoft.Graph.Beta.IdentityGovernance.PermissionsManagement.ScheduledPermissionsRequests.scheduledPermissionsRequestsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.IdentityGovernance.PermissionsManagement.ScheduledPermissionsRequests.scheduledPermissionsRequestsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.ScheduledPermissionsRequest; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.IdentityGovernance.PermissionsManagement.ScheduledPermissionsRequests.scheduledPermissionsRequestsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.PermissionsManagement.ScheduledPermissionsRequests.ScheduledPermissionsRequestsRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.CustomExtensions.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.CustomExtensions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.CustomExtensions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.CustomExtensions.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.CustomExtensions.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.CustomExtensions.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.CustomExtensions.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.CustomExtensions.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.CustomExtensions.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.CustomExtensions.Count.CountRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.CustomExtensions.customExtensionsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.CustomExtensions.customExtensionsRequestBuilder.customExtensionsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.CustomExtensions.customExtensionsRequestBuilder.customExtensionsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.CustomExtensions.customExtensionsRequestBuilder.customExtensionsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.CustomExtensions.customExtensionsRequestBuilder.customExtensionsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.CustomExtensions.customExtensionsRequestBuilder.customExtensionsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.CustomExtensions.customExtensionsRequestBuilder.customExtensionsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.CustomExtensions.customExtensionsRequestBuilder.customExtensionsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.CustomExtensions.customExtensionsRequestBuilder.customExtensionsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.CustomExtensions.customExtensionsRequestBuilder.customExtensionsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.CustomExtensions.customExtensionsRequestBuilder.customExtensionsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.CustomExtensions.customExtensionsRequestBuilder::[RoleManagementCustomCalloutExtensionId:string]:global.Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.CustomExtensions.Item.RoleManagementCustomCalloutExtensionItemRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.CustomExtensions.customExtensionsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.CustomExtensions.customExtensionsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.CustomExtensions.customExtensionsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.CustomExtensions.Count.CountRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.CustomExtensions.customExtensionsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.RoleManagementCustomCalloutExtensionCollectionResponse +Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.CustomExtensions.customExtensionsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.RoleManagementCustomCalloutExtension; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.RoleManagementCustomCalloutExtension +Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.CustomExtensions.customExtensionsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.CustomExtensions.customExtensionsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.RoleManagementCustomCalloutExtension; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.CustomExtensions.customExtensionsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.CustomExtensions.CustomExtensionsRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.CustomExtensions.Item.RoleManagementCustomCalloutExtensionItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.CustomExtensions.Item.RoleManagementCustomCalloutExtensionItemRequestBuilder.RoleManagementCustomCalloutExtensionItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.CustomExtensions.Item.RoleManagementCustomCalloutExtensionItemRequestBuilder.RoleManagementCustomCalloutExtensionItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.CustomExtensions.Item.RoleManagementCustomCalloutExtensionItemRequestBuilder.RoleManagementCustomCalloutExtensionItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.CustomExtensions.Item.RoleManagementCustomCalloutExtensionItemRequestBuilder.RoleManagementCustomCalloutExtensionItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.CustomExtensions.Item.RoleManagementCustomCalloutExtensionItemRequestBuilder.RoleManagementCustomCalloutExtensionItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.CustomExtensions.Item.RoleManagementCustomCalloutExtensionItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.CustomExtensions.Item.RoleManagementCustomCalloutExtensionItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.CustomExtensions.Item.RoleManagementCustomCalloutExtensionItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.CustomExtensions.Item.RoleManagementCustomCalloutExtensionItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.RoleManagementCustomCalloutExtension +Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.CustomExtensions.Item.RoleManagementCustomCalloutExtensionItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.RoleManagementCustomCalloutExtension; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.RoleManagementCustomCalloutExtension +Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.CustomExtensions.Item.RoleManagementCustomCalloutExtensionItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.CustomExtensions.Item.RoleManagementCustomCalloutExtensionItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.CustomExtensions.Item.RoleManagementCustomCalloutExtensionItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.RoleManagementCustomCalloutExtension; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.CustomExtensions.Item.RoleManagementCustomCalloutExtensionItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.CustomExtensions.Item.RoleManagementCustomCalloutExtensionItemRequestBuilder Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.Group.AssignmentApprovals.assignmentApprovalsRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.Group.AssignmentApprovals.assignmentApprovalsRequestBuilder.assignmentApprovalsRequestBuilderGetQueryParameters::|public|Count:bool? Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.Group.AssignmentApprovals.assignmentApprovalsRequestBuilder.assignmentApprovalsRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -140778,6 +141279,7 @@ Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.Group.AssignmentSchedul Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleRequests.Item.PrivilegedAccessGroupAssignmentScheduleRequestItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleRequests.Item.PrivilegedAccessGroupAssignmentScheduleRequestItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleRequests.Item.PrivilegedAccessGroupAssignmentScheduleRequestItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PrivilegedAccessGroupAssignmentScheduleRequest; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleRequests.Item.PrivilegedAccessGroupAssignmentScheduleRequestItemRequestBuilder::|public|updateRequest:global.Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleRequests.Item.UpdateRequest.UpdateRequestRequestBuilder Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleRequests.Item.PrivilegedAccessGroupAssignmentScheduleRequestItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleRequests.Item.PrivilegedAccessGroupAssignmentScheduleRequestItemRequestBuilder Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleRequests.Item.TargetSchedule.targetScheduleRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleRequests.Item.TargetSchedule.targetScheduleRequestBuilder.targetScheduleRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -140788,6 +141290,24 @@ Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.Group.AssignmentSchedul Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleRequests.Item.TargetSchedule.targetScheduleRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PrivilegedAccessGroupEligibilitySchedule Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleRequests.Item.TargetSchedule.targetScheduleRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleRequests.Item.TargetSchedule.targetScheduleRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleRequests.Item.TargetSchedule.TargetScheduleRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleRequests.Item.UpdateRequest.updateRequestPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleRequests.Item.UpdateRequest.updateRequestPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleRequests.Item.UpdateRequest.updateRequestPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleRequests.Item.UpdateRequest.updateRequestPostRequestBody::|public|EvaluationId:string +Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleRequests.Item.UpdateRequest.updateRequestPostRequestBody::|public|EvaluationOutcome:global.Microsoft.Graph.Beta.Models.EvaluationOutcome? +Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleRequests.Item.UpdateRequest.updateRequestPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleRequests.Item.UpdateRequest.updateRequestPostRequestBody::|public|Reason:string +Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleRequests.Item.UpdateRequest.updateRequestPostRequestBody::|public|ScheduleInfo:global.Microsoft.Graph.Beta.Models.RequestSchedule +Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleRequests.Item.UpdateRequest.updateRequestPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleRequests.Item.UpdateRequest.updateRequestPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleRequests.Item.UpdateRequest.UpdateRequestPostRequestBody +Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleRequests.Item.UpdateRequest.updateRequestPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleRequests.Item.UpdateRequest.updateRequestRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleRequests.Item.UpdateRequest.updateRequestRequestBuilder.updateRequestRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleRequests.Item.UpdateRequest.updateRequestRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleRequests.Item.UpdateRequest.updateRequestRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleRequests.Item.UpdateRequest.updateRequestRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleRequests.Item.UpdateRequest.UpdateRequestPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PrivilegedAccessGroupAssignmentScheduleRequest +Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleRequests.Item.UpdateRequest.updateRequestRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleRequests.Item.UpdateRequest.UpdateRequestPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleRequests.Item.UpdateRequest.updateRequestRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleRequests.Item.UpdateRequest.UpdateRequestRequestBuilder Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.Group.AssignmentSchedules.assignmentSchedulesRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.Group.AssignmentSchedules.assignmentSchedulesRequestBuilder.assignmentSchedulesRequestBuilderGetQueryParameters::|public|Count:bool? Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.Group.AssignmentSchedules.assignmentSchedulesRequestBuilder.assignmentSchedulesRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -141347,6 +141867,7 @@ Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.privilegedAccessRequest Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.privilegedAccessRequestBuilder.privilegedAccessRequestBuilderPatchRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.privilegedAccessRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.privilegedAccessRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.privilegedAccessRequestBuilder::|public|customExtensions:global.Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.CustomExtensions.CustomExtensionsRequestBuilder Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.privilegedAccessRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.privilegedAccessRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PrivilegedAccessRoot Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.privilegedAccessRequestBuilder::|public|group:global.Microsoft.Graph.Beta.IdentityGovernance.PrivilegedAccess.Group.GroupRequestBuilder @@ -148710,6 +149231,7 @@ Microsoft.Graph.Beta.Me.CloudPCs.Item.CloudPCItemRequestBuilder::|public|PatchAs Microsoft.Graph.Beta.Me.CloudPCs.Item.CloudPCItemRequestBuilder::|public|powerOff:global.Microsoft.Graph.Beta.Me.CloudPCs.Item.PowerOff.PowerOffRequestBuilder Microsoft.Graph.Beta.Me.CloudPCs.Item.CloudPCItemRequestBuilder::|public|powerOn:global.Microsoft.Graph.Beta.Me.CloudPCs.Item.PowerOn.PowerOnRequestBuilder Microsoft.Graph.Beta.Me.CloudPCs.Item.CloudPCItemRequestBuilder::|public|reboot:global.Microsoft.Graph.Beta.Me.CloudPCs.Item.Reboot.RebootRequestBuilder +Microsoft.Graph.Beta.Me.CloudPCs.Item.CloudPCItemRequestBuilder::|public|relocate:global.Microsoft.Graph.Beta.Me.CloudPCs.Item.Relocate.RelocateRequestBuilder Microsoft.Graph.Beta.Me.CloudPCs.Item.CloudPCItemRequestBuilder::|public|rename:global.Microsoft.Graph.Beta.Me.CloudPCs.Item.Rename.RenameRequestBuilder Microsoft.Graph.Beta.Me.CloudPCs.Item.CloudPCItemRequestBuilder::|public|reprovision:global.Microsoft.Graph.Beta.Me.CloudPCs.Item.Reprovision.ReprovisionRequestBuilder Microsoft.Graph.Beta.Me.CloudPCs.Item.CloudPCItemRequestBuilder::|public|resize:global.Microsoft.Graph.Beta.Me.CloudPCs.Item.Resize.ResizeRequestBuilder @@ -148826,6 +149348,21 @@ Microsoft.Graph.Beta.Me.CloudPCs.Item.Reboot.rebootRequestBuilder::|public|const Microsoft.Graph.Beta.Me.CloudPCs.Item.Reboot.rebootRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Me.CloudPCs.Item.Reboot.rebootRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Me.CloudPCs.Item.Reboot.rebootRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.CloudPCs.Item.Reboot.RebootRequestBuilder +Microsoft.Graph.Beta.Me.CloudPCs.Item.Relocate.relocatePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Me.CloudPCs.Item.Relocate.relocatePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Me.CloudPCs.Item.Relocate.relocatePostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Me.CloudPCs.Item.Relocate.relocatePostRequestBody::|public|DomainJoinConfigurations:List +Microsoft.Graph.Beta.Me.CloudPCs.Item.Relocate.relocatePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Me.CloudPCs.Item.Relocate.relocatePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Me.CloudPCs.Item.Relocate.relocatePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Me.CloudPCs.Item.Relocate.RelocatePostRequestBody +Microsoft.Graph.Beta.Me.CloudPCs.Item.Relocate.relocatePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Me.CloudPCs.Item.Relocate.relocateRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.CloudPCs.Item.Relocate.relocateRequestBuilder.relocateRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.CloudPCs.Item.Relocate.relocateRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.CloudPCs.Item.Relocate.relocateRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.CloudPCs.Item.Relocate.relocateRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Me.CloudPCs.Item.Relocate.RelocatePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Me.CloudPCs.Item.Relocate.relocateRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Me.CloudPCs.Item.Relocate.RelocatePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.CloudPCs.Item.Relocate.relocateRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.CloudPCs.Item.Relocate.RelocateRequestBuilder Microsoft.Graph.Beta.Me.CloudPCs.Item.Rename.renamePostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Me.CloudPCs.Item.Rename.renamePostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Me.CloudPCs.Item.Rename.renamePostRequestBody::|public|constructor():void @@ -167833,6 +168370,16 @@ Microsoft.Graph.Beta.Models.accessReviewApplyAction::|public|OdataType:string Microsoft.Graph.Beta.Models.accessReviewApplyAction::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.accessReviewApplyAction::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.AccessReviewApplyAction Microsoft.Graph.Beta.Models.accessReviewApplyAction~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.accessReviewCatalogResourceType::0000-none +Microsoft.Graph.Beta.Models.accessReviewCatalogResourceType::0001-accessPackage +Microsoft.Graph.Beta.Models.accessReviewCatalogResourceType::0002-unknownFutureValue +Microsoft.Graph.Beta.Models.accessReviewCatalogScope-->global.Microsoft.Graph.Beta.Models.AccessReviewResourceScope +Microsoft.Graph.Beta.Models.accessReviewCatalogScope::|public|AdditionalCatalogResourceTypes:global.Microsoft.Graph.Beta.Models.AccessReviewCatalogResourceType? +Microsoft.Graph.Beta.Models.accessReviewCatalogScope::|public|constructor():void +Microsoft.Graph.Beta.Models.accessReviewCatalogScope::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.accessReviewCatalogScope::|public|OdataType:string +Microsoft.Graph.Beta.Models.accessReviewCatalogScope::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.accessReviewCatalogScope::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.AccessReviewCatalogScope Microsoft.Graph.Beta.Models.accessReviewCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse Microsoft.Graph.Beta.Models.accessReviewCollectionResponse::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.accessReviewCollectionResponse::|public|Serialize(writer:ISerializationWriter):void @@ -168558,7 +169105,8 @@ Microsoft.Graph.Beta.Models.activityLogOperationType::0007-protectionUnitLevelOf Microsoft.Graph.Beta.Models.activityLogOperationType::0008-policyLevelOffboarding Microsoft.Graph.Beta.Models.activityLogOperationType::0009-restoreTaskCreated Microsoft.Graph.Beta.Models.activityLogOperationType::0010-restoreTaskCompleted -Microsoft.Graph.Beta.Models.activityLogOperationType::0011-unknownFutureValue +Microsoft.Graph.Beta.Models.activityLogOperationType::0011-backupPolicyDeleted +Microsoft.Graph.Beta.Models.activityLogOperationType::0012-unknownFutureValue Microsoft.Graph.Beta.Models.activityLogResultStatus::0000-succeeded Microsoft.Graph.Beta.Models.activityLogResultStatus::0001-failed Microsoft.Graph.Beta.Models.activityLogResultStatus::0002-partiallySucceeded @@ -168832,6 +169380,7 @@ Microsoft.Graph.Beta.Models.adminWindows::|public|Updates:global.Microsoft.Graph Microsoft.Graph.Beta.Models.adminWindows::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.AdminWindows Microsoft.Graph.Beta.Models.adminWindowsUpdates-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.adminWindowsUpdates::|public|Catalog:global.Microsoft.Graph.Beta.Models.WindowsUpdates.Catalog +Microsoft.Graph.Beta.Models.adminWindowsUpdates::|public|Data:global.Microsoft.Graph.Beta.Models.WindowsUpdates.UpdateData Microsoft.Graph.Beta.Models.adminWindowsUpdates::|public|DeploymentAudiences:List Microsoft.Graph.Beta.Models.adminWindowsUpdates::|public|Deployments:List Microsoft.Graph.Beta.Models.adminWindowsUpdates::|public|GetFieldDeserializers():IDictionary> @@ -168840,6 +169389,7 @@ Microsoft.Graph.Beta.Models.adminWindowsUpdates::|public|Policies:List Microsoft.Graph.Beta.Models.adminWindowsUpdates::|public|ResourceConnections:List Microsoft.Graph.Beta.Models.adminWindowsUpdates::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.adminWindowsUpdates::|public|TenantSettings:global.Microsoft.Graph.Beta.Models.WindowsUpdates.TenantSetting Microsoft.Graph.Beta.Models.adminWindowsUpdates::|public|UpdatableAssets:List Microsoft.Graph.Beta.Models.adminWindowsUpdates::|public|UpdatePolicies:List Microsoft.Graph.Beta.Models.adminWindowsUpdates::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.AdminWindowsUpdates @@ -172376,6 +172926,7 @@ Microsoft.Graph.Beta.Models.applicationLocation~~>IAdditionalDataHolder; IBacked Microsoft.Graph.Beta.Models.applicationMode::0000-manual Microsoft.Graph.Beta.Models.applicationMode::0001-automatic Microsoft.Graph.Beta.Models.applicationMode::0002-recommended +Microsoft.Graph.Beta.Models.applicationMode::0003-unknownFutureValue Microsoft.Graph.Beta.Models.applicationPermissionsRequired::0000-unknown Microsoft.Graph.Beta.Models.applicationPermissionsRequired::0001-anonymous Microsoft.Graph.Beta.Models.applicationPermissionsRequired::0002-guest @@ -172832,6 +173383,7 @@ Microsoft.Graph.Beta.Models.appManagementPolicyCollectionResponse::|static|publi Microsoft.Graph.Beta.Models.appManagementRestrictionState::0000-enabled Microsoft.Graph.Beta.Models.appManagementRestrictionState::0001-disabled Microsoft.Graph.Beta.Models.appManagementRestrictionState::0002-unknownFutureValue +Microsoft.Graph.Beta.Models.appManagementRestrictionState::0003-audit Microsoft.Graph.Beta.Models.appManagementServicePrincipalConfiguration-->global.Microsoft.Graph.Beta.Models.AppManagementConfiguration Microsoft.Graph.Beta.Models.appManagementServicePrincipalConfiguration::|public|constructor():void Microsoft.Graph.Beta.Models.appManagementServicePrincipalConfiguration::|public|GetFieldDeserializers():IDictionary> @@ -174330,6 +174882,7 @@ Microsoft.Graph.Beta.Models.authenticationEventType::0003-attributeCollectionSta Microsoft.Graph.Beta.Models.authenticationEventType::0004-attributeCollectionSubmit Microsoft.Graph.Beta.Models.authenticationEventType::0005-emailOtpSend Microsoft.Graph.Beta.Models.authenticationEventType::0006-passwordSubmit +Microsoft.Graph.Beta.Models.authenticationEventType::0007-passwordUpdate Microsoft.Graph.Beta.Models.authenticationFailure-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.authenticationFailure::|public|Count:long? Microsoft.Graph.Beta.Models.authenticationFailure::|public|GetFieldDeserializers():IDictionary> @@ -177972,6 +178525,7 @@ Microsoft.Graph.Beta.Models.changeUefiSettingsPermission::0001-none Microsoft.Graph.Beta.Models.channel-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.channel::|public|AllMembers:List Microsoft.Graph.Beta.Models.channel::|public|CreatedDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.channel::|public|DeletedDateTime:DateTimeOffset? Microsoft.Graph.Beta.Models.channel::|public|Description:string Microsoft.Graph.Beta.Models.channel::|public|DisplayName:string Microsoft.Graph.Beta.Models.channel::|public|Email:string @@ -179479,6 +180033,13 @@ Microsoft.Graph.Beta.Models.cloudPcBulkReinstallAgent::|public|GetFieldDeseriali Microsoft.Graph.Beta.Models.cloudPcBulkReinstallAgent::|public|OdataType:string Microsoft.Graph.Beta.Models.cloudPcBulkReinstallAgent::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.cloudPcBulkReinstallAgent::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CloudPcBulkReinstallAgent +Microsoft.Graph.Beta.Models.cloudPcBulkRelocate-->global.Microsoft.Graph.Beta.Models.CloudPcBulkAction +Microsoft.Graph.Beta.Models.cloudPcBulkRelocate::|public|constructor():void +Microsoft.Graph.Beta.Models.cloudPcBulkRelocate::|public|DomainJoinConfigurations:List +Microsoft.Graph.Beta.Models.cloudPcBulkRelocate::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.cloudPcBulkRelocate::|public|OdataType:string +Microsoft.Graph.Beta.Models.cloudPcBulkRelocate::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.cloudPcBulkRelocate::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CloudPcBulkRelocate Microsoft.Graph.Beta.Models.cloudPcBulkReprovision-->global.Microsoft.Graph.Beta.Models.CloudPcBulkAction Microsoft.Graph.Beta.Models.cloudPcBulkReprovision::|public|constructor():void Microsoft.Graph.Beta.Models.cloudPcBulkReprovision::|public|GetFieldDeserializers():IDictionary> @@ -179828,9 +180389,47 @@ Microsoft.Graph.Beta.Models.cloudPcDomainJoinConfiguration::|public|Serialize(wr Microsoft.Graph.Beta.Models.cloudPcDomainJoinConfiguration::|public|Type:global.Microsoft.Graph.Beta.Models.CloudPcDomainJoinType? Microsoft.Graph.Beta.Models.cloudPcDomainJoinConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CloudPcDomainJoinConfiguration Microsoft.Graph.Beta.Models.cloudPcDomainJoinConfiguration~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.cloudPcDomainJoinCredential::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.cloudPcDomainJoinCredential::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.cloudPcDomainJoinCredential::|public|constructor():void +Microsoft.Graph.Beta.Models.cloudPcDomainJoinCredential::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.cloudPcDomainJoinCredential::|public|OdataType:string +Microsoft.Graph.Beta.Models.cloudPcDomainJoinCredential::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.cloudPcDomainJoinCredential::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CloudPcDomainJoinCredential +Microsoft.Graph.Beta.Models.cloudPcDomainJoinCredential~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.cloudPcDomainJoinKeyVaultIntentConfiguration::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.cloudPcDomainJoinKeyVaultIntentConfiguration::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.cloudPcDomainJoinKeyVaultIntentConfiguration::|public|constructor():void +Microsoft.Graph.Beta.Models.cloudPcDomainJoinKeyVaultIntentConfiguration::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.cloudPcDomainJoinKeyVaultIntentConfiguration::|public|OdataType:string +Microsoft.Graph.Beta.Models.cloudPcDomainJoinKeyVaultIntentConfiguration::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.cloudPcDomainJoinKeyVaultIntentConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CloudPcDomainJoinKeyVaultIntentConfiguration +Microsoft.Graph.Beta.Models.cloudPcDomainJoinKeyVaultIntentConfiguration~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.cloudPcDomainJoinKeyVaultPasswordConfiguration-->global.Microsoft.Graph.Beta.Models.CloudPcDomainJoinKeyVaultIntentConfiguration +Microsoft.Graph.Beta.Models.cloudPcDomainJoinKeyVaultPasswordConfiguration::|public|constructor():void +Microsoft.Graph.Beta.Models.cloudPcDomainJoinKeyVaultPasswordConfiguration::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.cloudPcDomainJoinKeyVaultPasswordConfiguration::|public|OdataType:string +Microsoft.Graph.Beta.Models.cloudPcDomainJoinKeyVaultPasswordConfiguration::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.cloudPcDomainJoinKeyVaultPasswordConfiguration::|public|UserIdentity:global.Microsoft.Graph.Beta.Models.CloudPcDomainJoinUserIdentity +Microsoft.Graph.Beta.Models.cloudPcDomainJoinKeyVaultPasswordConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CloudPcDomainJoinKeyVaultPasswordConfiguration +Microsoft.Graph.Beta.Models.cloudPcDomainJoinPlainTextUserIdentity-->global.Microsoft.Graph.Beta.Models.CloudPcDomainJoinUserIdentity +Microsoft.Graph.Beta.Models.cloudPcDomainJoinPlainTextUserIdentity::|public|constructor():void +Microsoft.Graph.Beta.Models.cloudPcDomainJoinPlainTextUserIdentity::|public|DomainUserPrincipalName:string +Microsoft.Graph.Beta.Models.cloudPcDomainJoinPlainTextUserIdentity::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.cloudPcDomainJoinPlainTextUserIdentity::|public|OdataType:string +Microsoft.Graph.Beta.Models.cloudPcDomainJoinPlainTextUserIdentity::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.cloudPcDomainJoinPlainTextUserIdentity::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CloudPcDomainJoinPlainTextUserIdentity Microsoft.Graph.Beta.Models.cloudPcDomainJoinType::0000-azureADJoin Microsoft.Graph.Beta.Models.cloudPcDomainJoinType::0001-hybridAzureADJoin Microsoft.Graph.Beta.Models.cloudPcDomainJoinType::0002-unknownFutureValue +Microsoft.Graph.Beta.Models.cloudPcDomainJoinUserIdentity::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.cloudPcDomainJoinUserIdentity::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.cloudPcDomainJoinUserIdentity::|public|constructor():void +Microsoft.Graph.Beta.Models.cloudPcDomainJoinUserIdentity::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.cloudPcDomainJoinUserIdentity::|public|OdataType:string +Microsoft.Graph.Beta.Models.cloudPcDomainJoinUserIdentity::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.cloudPcDomainJoinUserIdentity::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CloudPcDomainJoinUserIdentity +Microsoft.Graph.Beta.Models.cloudPcDomainJoinUserIdentity~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.cloudPcEntraGroupDetail::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.cloudPcEntraGroupDetail::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.cloudPcEntraGroupDetail::|public|constructor():void @@ -180096,6 +180695,16 @@ Microsoft.Graph.Beta.Models.cloudPCInaccessibleReportName::0000-inaccessibleClou Microsoft.Graph.Beta.Models.cloudPCInaccessibleReportName::0001-inaccessibleCloudPcTrendReport Microsoft.Graph.Beta.Models.cloudPCInaccessibleReportName::0002-unknownFutureValue Microsoft.Graph.Beta.Models.cloudPCInaccessibleReportName::0003-regionalInaccessibleCloudPcTrendReport +Microsoft.Graph.Beta.Models.cloudPcKeyVaultDomainJoinCredential-->global.Microsoft.Graph.Beta.Models.CloudPcDomainJoinCredential +Microsoft.Graph.Beta.Models.cloudPcKeyVaultDomainJoinCredential::|public|constructor():void +Microsoft.Graph.Beta.Models.cloudPcKeyVaultDomainJoinCredential::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.cloudPcKeyVaultDomainJoinCredential::|public|KeyVaultIntentConfiguration:global.Microsoft.Graph.Beta.Models.CloudPcDomainJoinKeyVaultIntentConfiguration +Microsoft.Graph.Beta.Models.cloudPcKeyVaultDomainJoinCredential::|public|KeyVaultResourceId:string +Microsoft.Graph.Beta.Models.cloudPcKeyVaultDomainJoinCredential::|public|OdataType:string +Microsoft.Graph.Beta.Models.cloudPcKeyVaultDomainJoinCredential::|public|SecretName:string +Microsoft.Graph.Beta.Models.cloudPcKeyVaultDomainJoinCredential::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.cloudPcKeyVaultDomainJoinCredential::|public|ServiceConnectorResourceId:string +Microsoft.Graph.Beta.Models.cloudPcKeyVaultDomainJoinCredential::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CloudPcKeyVaultDomainJoinCredential Microsoft.Graph.Beta.Models.cloudPcLaunchDetail::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.cloudPcLaunchDetail::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.cloudPcLaunchDetail::|public|CloudPcId:string @@ -180216,6 +180825,7 @@ Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnection::|public|AdDomainUsernam Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnection::|public|AlternateResourceUrl:string Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnection::|public|ConnectionType:global.Microsoft.Graph.Beta.Models.CloudPcOnPremisesConnectionType? Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnection::|public|DisplayName:string +Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnection::|public|DomainJoinCredential:global.Microsoft.Graph.Beta.Models.CloudPcDomainJoinCredential Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnection::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnection::|public|HealthCheckPaused:bool? Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnection::|public|HealthCheckStatus:global.Microsoft.Graph.Beta.Models.CloudPcOnPremisesConnectionStatus? @@ -180317,17 +180927,25 @@ Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheckErrorType::005 Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheckErrorType::0056-permissionCheckNoWindows365NetworkInterfaceContributorRole Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheckErrorType::0057-permissionCheckTransientServiceError Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheckErrorType::0058-permissionCheckUnknownError -Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheckErrorType::0059-udpConnectivityCheckStunUrlNotAllowListed -Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheckErrorType::0060-udpConnectivityCheckTurnUrlNotAllowListed -Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheckErrorType::0061-udpConnectivityCheckUrlsNotAllowListed -Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheckErrorType::0062-udpConnectivityCheckUnknownError -Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheckErrorType::0063-internalServerErrorDeploymentCanceled -Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheckErrorType::0064-internalServerErrorAllocateResourceFailed -Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheckErrorType::0065-internalServerErrorVMDeploymentTimeout -Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheckErrorType::0066-internalServerErrorUnableToRunDscScript -Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheckErrorType::0067-ssoCheckKerberosConfigurationError -Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheckErrorType::0068-internalServerUnknownError -Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheckErrorType::0069-unknownFutureValue +Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheckErrorType::0059-keyVaultSecretCheckAccessDenied +Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheckErrorType::0060-keyVaultSecretCheckVaultNotReachable +Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheckErrorType::0061-keyVaultSecretCheckNotFound +Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheckErrorType::0062-keyVaultSecretCheckDisabled +Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheckErrorType::0063-keyVaultSecretCheckExpired +Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheckErrorType::0064-keyVaultSecretCheckEmptyValue +Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheckErrorType::0065-keyVaultSecretCheckTransientServiceError +Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheckErrorType::0066-keyVaultSecretCheckUnknownError +Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheckErrorType::0067-udpConnectivityCheckStunUrlNotAllowListed +Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheckErrorType::0068-udpConnectivityCheckTurnUrlNotAllowListed +Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheckErrorType::0069-udpConnectivityCheckUrlsNotAllowListed +Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheckErrorType::0070-udpConnectivityCheckUnknownError +Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheckErrorType::0071-internalServerErrorDeploymentCanceled +Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheckErrorType::0072-internalServerErrorAllocateResourceFailed +Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheckErrorType::0073-internalServerErrorVMDeploymentTimeout +Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheckErrorType::0074-internalServerErrorUnableToRunDscScript +Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheckErrorType::0075-ssoCheckKerberosConfigurationError +Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheckErrorType::0076-internalServerUnknownError +Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheckErrorType::0077-unknownFutureValue Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionHealthCheck~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionStatus::0000-pending Microsoft.Graph.Beta.Models.cloudPcOnPremisesConnectionStatus::0001-running @@ -180441,6 +181059,14 @@ Microsoft.Graph.Beta.Models.cloudPcPerformanceMetricNamesType::0012-unknownFutur Microsoft.Graph.Beta.Models.cloudPCPerformanceReportName::0000-performanceTrendReport Microsoft.Graph.Beta.Models.cloudPCPerformanceReportName::0001-unknownFutureValue Microsoft.Graph.Beta.Models.cloudPCPerformanceReportName::0002-cloudPcInsightReport +Microsoft.Graph.Beta.Models.cloudPcPlainTextDomainJoinCredential-->global.Microsoft.Graph.Beta.Models.CloudPcDomainJoinCredential +Microsoft.Graph.Beta.Models.cloudPcPlainTextDomainJoinCredential::|public|constructor():void +Microsoft.Graph.Beta.Models.cloudPcPlainTextDomainJoinCredential::|public|DomainPassword:string +Microsoft.Graph.Beta.Models.cloudPcPlainTextDomainJoinCredential::|public|DomainUserPrincipalName:string +Microsoft.Graph.Beta.Models.cloudPcPlainTextDomainJoinCredential::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.cloudPcPlainTextDomainJoinCredential::|public|OdataType:string +Microsoft.Graph.Beta.Models.cloudPcPlainTextDomainJoinCredential::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.cloudPcPlainTextDomainJoinCredential::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CloudPcPlainTextDomainJoinCredential Microsoft.Graph.Beta.Models.cloudPcPolicyApplyActionResult-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.cloudPcPolicyApplyActionResult::|public|FinishDateTime:DateTimeOffset? Microsoft.Graph.Beta.Models.cloudPcPolicyApplyActionResult::|public|GetFieldDeserializers():IDictionary> @@ -183328,12 +183954,48 @@ Microsoft.Graph.Beta.Models.copilotPackageDetail::|public|GetFieldDeserializers( Microsoft.Graph.Beta.Models.copilotPackageDetail::|public|LastUsedDateTime:DateTimeOffset? Microsoft.Graph.Beta.Models.copilotPackageDetail::|public|LongDescription:string Microsoft.Graph.Beta.Models.copilotPackageDetail::|public|OdataType:string +Microsoft.Graph.Beta.Models.copilotPackageDetail::|public|RequestMetadata:global.Microsoft.Graph.Beta.Models.CopilotPackageRequestMetadata Microsoft.Graph.Beta.Models.copilotPackageDetail::|public|Sensitivity:string Microsoft.Graph.Beta.Models.copilotPackageDetail::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.copilotPackageDetail::|public|SharedWithUsersAndGroups:List Microsoft.Graph.Beta.Models.copilotPackageDetail::|public|TotalRunTimeInHours:double? Microsoft.Graph.Beta.Models.copilotPackageDetail::|public|TotalSessions:int? Microsoft.Graph.Beta.Models.copilotPackageDetail::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CopilotPackageDetail +Microsoft.Graph.Beta.Models.copilotPackageRequestInfo::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.copilotPackageRequestInfo::|public|AdditionalMetadata:UntypedNode +Microsoft.Graph.Beta.Models.copilotPackageRequestInfo::|public|Assignees:List +Microsoft.Graph.Beta.Models.copilotPackageRequestInfo::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.copilotPackageRequestInfo::|public|constructor():void +Microsoft.Graph.Beta.Models.copilotPackageRequestInfo::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.copilotPackageRequestInfo::|public|Identifier:string +Microsoft.Graph.Beta.Models.copilotPackageRequestInfo::|public|OdataType:string +Microsoft.Graph.Beta.Models.copilotPackageRequestInfo::|public|RequestedBy:global.Microsoft.Graph.Beta.Models.EmailAddress +Microsoft.Graph.Beta.Models.copilotPackageRequestInfo::|public|RequestedDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.copilotPackageRequestInfo::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.copilotPackageRequestInfo::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CopilotPackageRequestInfo +Microsoft.Graph.Beta.Models.copilotPackageRequestInfo~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.copilotPackageRequestMetadata::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.copilotPackageRequestMetadata::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.copilotPackageRequestMetadata::|public|constructor():void +Microsoft.Graph.Beta.Models.copilotPackageRequestMetadata::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.copilotPackageRequestMetadata::|public|OdataType:string +Microsoft.Graph.Beta.Models.copilotPackageRequestMetadata::|public|Requests:List +Microsoft.Graph.Beta.Models.copilotPackageRequestMetadata::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.copilotPackageRequestMetadata::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CopilotPackageRequestMetadata +Microsoft.Graph.Beta.Models.copilotPackageRequestMetadata~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.copilotPackageRequestPrincipal-->global.Microsoft.Graph.Beta.Models.Identity +Microsoft.Graph.Beta.Models.copilotPackageRequestPrincipal::|public|constructor():void +Microsoft.Graph.Beta.Models.copilotPackageRequestPrincipal::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.copilotPackageRequestPrincipal::|public|OdataType:string +Microsoft.Graph.Beta.Models.copilotPackageRequestPrincipal::|public|PrincipalType:global.Microsoft.Graph.Beta.Models.CopilotPackageRequestPrincipalType? +Microsoft.Graph.Beta.Models.copilotPackageRequestPrincipal::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.copilotPackageRequestPrincipal::|public|UserPrincipalName:string +Microsoft.Graph.Beta.Models.copilotPackageRequestPrincipal::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CopilotPackageRequestPrincipal +Microsoft.Graph.Beta.Models.copilotPackageRequestPrincipalType::0000-user +Microsoft.Graph.Beta.Models.copilotPackageRequestPrincipalType::0001-group +Microsoft.Graph.Beta.Models.copilotPackageRequestPrincipalType::0002-agentApplication +Microsoft.Graph.Beta.Models.copilotPackageRequestPrincipalType::0003-agentUser +Microsoft.Graph.Beta.Models.copilotPackageRequestPrincipalType::0004-unknownFutureValue Microsoft.Graph.Beta.Models.copilotPackageRequestStatus::0000-pending Microsoft.Graph.Beta.Models.copilotPackageRequestStatus::0001-approved Microsoft.Graph.Beta.Models.copilotPackageRequestStatus::0002-rejected @@ -183355,7 +184017,92 @@ Microsoft.Graph.Beta.Models.copilotPolicySetting::|public|OdataType:string Microsoft.Graph.Beta.Models.copilotPolicySetting::|public|PolicyId:string Microsoft.Graph.Beta.Models.copilotPolicySetting::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.copilotPolicySetting::|public|Value:string +Microsoft.Graph.Beta.Models.copilotPolicySetting::|public|ValueObject:global.Microsoft.Graph.Beta.Models.CopilotPolicySettingValueObject Microsoft.Graph.Beta.Models.copilotPolicySetting::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CopilotPolicySetting +Microsoft.Graph.Beta.Models.copilotPolicySettingAgentSharingLimit::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.copilotPolicySettingAgentSharingLimit::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.copilotPolicySettingAgentSharingLimit::|public|constructor():void +Microsoft.Graph.Beta.Models.copilotPolicySettingAgentSharingLimit::|public|Default:string +Microsoft.Graph.Beta.Models.copilotPolicySettingAgentSharingLimit::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.copilotPolicySettingAgentSharingLimit::|public|MaxValue:string +Microsoft.Graph.Beta.Models.copilotPolicySettingAgentSharingLimit::|public|MinValue:string +Microsoft.Graph.Beta.Models.copilotPolicySettingAgentSharingLimit::|public|OdataType:string +Microsoft.Graph.Beta.Models.copilotPolicySettingAgentSharingLimit::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.copilotPolicySettingAgentSharingLimit::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CopilotPolicySettingAgentSharingLimit +Microsoft.Graph.Beta.Models.copilotPolicySettingAgentSharingLimit~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.copilotPolicySettingAgentSharingValueObject-->global.Microsoft.Graph.Beta.Models.CopilotPolicySettingValueObject +Microsoft.Graph.Beta.Models.copilotPolicySettingAgentSharingValueObject::|public|AgentSharingLimit:global.Microsoft.Graph.Beta.Models.CopilotPolicySettingAgentSharingLimit +Microsoft.Graph.Beta.Models.copilotPolicySettingAgentSharingValueObject::|public|constructor():void +Microsoft.Graph.Beta.Models.copilotPolicySettingAgentSharingValueObject::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.copilotPolicySettingAgentSharingValueObject::|public|IsSharingWithGroupsEnabled:bool? +Microsoft.Graph.Beta.Models.copilotPolicySettingAgentSharingValueObject::|public|IsUserSharingLimitEnabled:bool? +Microsoft.Graph.Beta.Models.copilotPolicySettingAgentSharingValueObject::|public|OdataType:string +Microsoft.Graph.Beta.Models.copilotPolicySettingAgentSharingValueObject::|public|OrganizationWideSharingAssignment:global.Microsoft.Graph.Beta.Models.CopilotPolicySettingUserAssignment +Microsoft.Graph.Beta.Models.copilotPolicySettingAgentSharingValueObject::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.copilotPolicySettingAgentSharingValueObject::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CopilotPolicySettingAgentSharingValueObject +Microsoft.Graph.Beta.Models.copilotPolicySettingAgentUserAccessValueObject-->global.Microsoft.Graph.Beta.Models.CopilotPolicySettingValueObject +Microsoft.Graph.Beta.Models.copilotPolicySettingAgentUserAccessValueObject::|public|constructor():void +Microsoft.Graph.Beta.Models.copilotPolicySettingAgentUserAccessValueObject::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.copilotPolicySettingAgentUserAccessValueObject::|public|Members:List +Microsoft.Graph.Beta.Models.copilotPolicySettingAgentUserAccessValueObject::|public|OdataType:string +Microsoft.Graph.Beta.Models.copilotPolicySettingAgentUserAccessValueObject::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.copilotPolicySettingAgentUserAccessValueObject::|public|UserAssignmentCategory:global.Microsoft.Graph.Beta.Models.CopilotPolicySettingUserAssignmentCategory? +Microsoft.Graph.Beta.Models.copilotPolicySettingAgentUserAccessValueObject::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CopilotPolicySettingAgentUserAccessValueObject +Microsoft.Graph.Beta.Models.copilotPolicySettingAllowedAgentTypesValueObject-->global.Microsoft.Graph.Beta.Models.CopilotPolicySettingValueObject +Microsoft.Graph.Beta.Models.copilotPolicySettingAllowedAgentTypesValueObject::|public|AreISVAppsAllowed:bool? +Microsoft.Graph.Beta.Models.copilotPolicySettingAllowedAgentTypesValueObject::|public|AreMicrosoftAppsAllowed:bool? +Microsoft.Graph.Beta.Models.copilotPolicySettingAllowedAgentTypesValueObject::|public|AreMicrosoftCertifiedThirdPartyAppsAllowed:bool? +Microsoft.Graph.Beta.Models.copilotPolicySettingAllowedAgentTypesValueObject::|public|AreTenantScopedAppsAllowed:bool? +Microsoft.Graph.Beta.Models.copilotPolicySettingAllowedAgentTypesValueObject::|public|constructor():void +Microsoft.Graph.Beta.Models.copilotPolicySettingAllowedAgentTypesValueObject::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.copilotPolicySettingAllowedAgentTypesValueObject::|public|OdataType:string +Microsoft.Graph.Beta.Models.copilotPolicySettingAllowedAgentTypesValueObject::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.copilotPolicySettingAllowedAgentTypesValueObject::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CopilotPolicySettingAllowedAgentTypesValueObject +Microsoft.Graph.Beta.Models.copilotPolicySettingAssignmentMember::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.copilotPolicySettingAssignmentMember::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.copilotPolicySettingAssignmentMember::|public|constructor():void +Microsoft.Graph.Beta.Models.copilotPolicySettingAssignmentMember::|public|DirectoryObjectId:string +Microsoft.Graph.Beta.Models.copilotPolicySettingAssignmentMember::|public|DirectoryObjectType:global.Microsoft.Graph.Beta.Models.CopilotPolicySettingDirectoryObjectType? +Microsoft.Graph.Beta.Models.copilotPolicySettingAssignmentMember::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.copilotPolicySettingAssignmentMember::|public|OdataType:string +Microsoft.Graph.Beta.Models.copilotPolicySettingAssignmentMember::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.copilotPolicySettingAssignmentMember::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CopilotPolicySettingAssignmentMember +Microsoft.Graph.Beta.Models.copilotPolicySettingAssignmentMember~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.copilotPolicySettingDirectoryObjectType::0000-user +Microsoft.Graph.Beta.Models.copilotPolicySettingDirectoryObjectType::0001-group +Microsoft.Graph.Beta.Models.copilotPolicySettingDirectoryObjectType::0002-agentAppId +Microsoft.Graph.Beta.Models.copilotPolicySettingDirectoryObjectType::0003-agentUser +Microsoft.Graph.Beta.Models.copilotPolicySettingDirectoryObjectType::0004-unknownFutureValue +Microsoft.Graph.Beta.Models.copilotPolicySettingTeamsMeetingValueObject-->global.Microsoft.Graph.Beta.Models.CopilotPolicySettingValueObject +Microsoft.Graph.Beta.Models.copilotPolicySettingTeamsMeetingValueObject::|public|constructor():void +Microsoft.Graph.Beta.Models.copilotPolicySettingTeamsMeetingValueObject::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.copilotPolicySettingTeamsMeetingValueObject::|public|IsTranscriptionAllowed:bool? +Microsoft.Graph.Beta.Models.copilotPolicySettingTeamsMeetingValueObject::|public|MeetingCopilotMode:global.Microsoft.Graph.Beta.Models.MeetingCopilotMode? +Microsoft.Graph.Beta.Models.copilotPolicySettingTeamsMeetingValueObject::|public|OdataType:string +Microsoft.Graph.Beta.Models.copilotPolicySettingTeamsMeetingValueObject::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.copilotPolicySettingTeamsMeetingValueObject::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CopilotPolicySettingTeamsMeetingValueObject +Microsoft.Graph.Beta.Models.copilotPolicySettingUserAssignment::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.copilotPolicySettingUserAssignment::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.copilotPolicySettingUserAssignment::|public|constructor():void +Microsoft.Graph.Beta.Models.copilotPolicySettingUserAssignment::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.copilotPolicySettingUserAssignment::|public|Members:List +Microsoft.Graph.Beta.Models.copilotPolicySettingUserAssignment::|public|OdataType:string +Microsoft.Graph.Beta.Models.copilotPolicySettingUserAssignment::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.copilotPolicySettingUserAssignment::|public|UserAssignmentCategory:global.Microsoft.Graph.Beta.Models.CopilotPolicySettingUserAssignmentCategory? +Microsoft.Graph.Beta.Models.copilotPolicySettingUserAssignment::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CopilotPolicySettingUserAssignment +Microsoft.Graph.Beta.Models.copilotPolicySettingUserAssignmentCategory::0000-everyone +Microsoft.Graph.Beta.Models.copilotPolicySettingUserAssignmentCategory::0001-noOne +Microsoft.Graph.Beta.Models.copilotPolicySettingUserAssignmentCategory::0002-specificUsers +Microsoft.Graph.Beta.Models.copilotPolicySettingUserAssignmentCategory::0003-unknownFutureValue +Microsoft.Graph.Beta.Models.copilotPolicySettingUserAssignment~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.copilotPolicySettingValueObject::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.copilotPolicySettingValueObject::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.copilotPolicySettingValueObject::|public|constructor():void +Microsoft.Graph.Beta.Models.copilotPolicySettingValueObject::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.copilotPolicySettingValueObject::|public|OdataType:string +Microsoft.Graph.Beta.Models.copilotPolicySettingValueObject::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.copilotPolicySettingValueObject::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CopilotPolicySettingValueObject +Microsoft.Graph.Beta.Models.copilotPolicySettingValueObject~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.copilotReportRoot-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.copilotReportRoot::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.copilotReportRoot::|public|OdataType:string @@ -184168,6 +184915,11 @@ Microsoft.Graph.Beta.Models.customCalloutExtensionCollectionResponse::|public|Ge Microsoft.Graph.Beta.Models.customCalloutExtensionCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.customCalloutExtensionCollectionResponse::|public|Value:List Microsoft.Graph.Beta.Models.customCalloutExtensionCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CustomCalloutExtensionCollectionResponse +Microsoft.Graph.Beta.Models.customCalloutExtensionType::0000-preApproval +Microsoft.Graph.Beta.Models.customCalloutExtensionType::0001-postApproval +Microsoft.Graph.Beta.Models.customCalloutExtensionType::0002-grant +Microsoft.Graph.Beta.Models.customCalloutExtensionType::0003-revoke +Microsoft.Graph.Beta.Models.customCalloutExtensionType::0004-unknownFutureValue Microsoft.Graph.Beta.Models.customChoiceOption-->global.Microsoft.Graph.Beta.Models.PlannerDelta Microsoft.Graph.Beta.Models.customChoiceOption::|public|DisplayName:string Microsoft.Graph.Beta.Models.customChoiceOption::|public|Extensions:global.Microsoft.Graph.Beta.Models.ExtensionFieldCollection @@ -184551,6 +185303,12 @@ Microsoft.Graph.Beta.Models.customExtensionOverwriteConfiguration::|public|Odata Microsoft.Graph.Beta.Models.customExtensionOverwriteConfiguration::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.customExtensionOverwriteConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CustomExtensionOverwriteConfiguration Microsoft.Graph.Beta.Models.customExtensionOverwriteConfiguration~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.customExtensionResourceType::0000-entraRoles +Microsoft.Graph.Beta.Models.customExtensionResourceType::0001-azureResources +Microsoft.Graph.Beta.Models.customExtensionResourceType::0002-entraGroups +Microsoft.Graph.Beta.Models.customExtensionResourceType::0003-unknownFutureValue +Microsoft.Graph.Beta.Models.customExtensionResourceType::0004-applicationAuthorization +Microsoft.Graph.Beta.Models.customExtensionResourceType::0005-appRoles Microsoft.Graph.Beta.Models.customExtensionStageSetting-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.customExtensionStageSetting::|public|CustomExtension:global.Microsoft.Graph.Beta.Models.CustomCalloutExtension Microsoft.Graph.Beta.Models.customExtensionStageSetting::|public|GetFieldDeserializers():IDictionary> @@ -193570,7 +194328,6 @@ Microsoft.Graph.Beta.Models.evaluationErrorDetail::|public|AdditionalData:IDicti Microsoft.Graph.Beta.Models.evaluationErrorDetail::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.evaluationErrorDetail::|public|constructor():void Microsoft.Graph.Beta.Models.evaluationErrorDetail::|public|ErrorCategory:global.Microsoft.Graph.Beta.Models.EvaluationErrorCategory? -Microsoft.Graph.Beta.Models.evaluationErrorDetail::|public|ErrorMessage:string Microsoft.Graph.Beta.Models.evaluationErrorDetail::|public|ErrorType:global.Microsoft.Graph.Beta.Models.EvaluationErrorType? Microsoft.Graph.Beta.Models.evaluationErrorDetail::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.evaluationErrorDetail::|public|OdataType:string @@ -193579,28 +194336,21 @@ Microsoft.Graph.Beta.Models.evaluationErrorDetail::|static|public|CreateFromDisc Microsoft.Graph.Beta.Models.evaluationErrorDetail~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.evaluationErrorType::0000-unsupportedFile Microsoft.Graph.Beta.Models.evaluationErrorType::0001-passwordProtectedFile -Microsoft.Graph.Beta.Models.evaluationErrorType::0002-fileTooLarge -Microsoft.Graph.Beta.Models.evaluationErrorType::0003-archiveSizeTooLarge -Microsoft.Graph.Beta.Models.evaluationErrorType::0004-textExceedsMceThreshold -Microsoft.Graph.Beta.Models.evaluationErrorType::0005-partiallyScannedArchive -Microsoft.Graph.Beta.Models.evaluationErrorType::0006-partialImageExtraction -Microsoft.Graph.Beta.Models.evaluationErrorType::0007-imageOcrPartialResult -Microsoft.Graph.Beta.Models.evaluationErrorType::0008-ocrProcessingFailure -Microsoft.Graph.Beta.Models.evaluationErrorType::0009-ocrQuotaExhausted -Microsoft.Graph.Beta.Models.evaluationErrorType::0010-classificationServiceError -Microsoft.Graph.Beta.Models.evaluationErrorType::0011-sitExtractionFailure -Microsoft.Graph.Beta.Models.evaluationErrorType::0012-textExtractionFailure -Microsoft.Graph.Beta.Models.evaluationErrorType::0013-archiveTextExtractionError -Microsoft.Graph.Beta.Models.evaluationErrorType::0014-missingOrInvalidConfiguration -Microsoft.Graph.Beta.Models.evaluationErrorType::0015-agentFailure -Microsoft.Graph.Beta.Models.evaluationErrorType::0016-enforcementTimeout -Microsoft.Graph.Beta.Models.evaluationErrorType::0017-osOverride -Microsoft.Graph.Beta.Models.evaluationErrorType::0018-processNonExistent -Microsoft.Graph.Beta.Models.evaluationErrorType::0019-other -Microsoft.Graph.Beta.Models.evaluationErrorType::0020-serviceTimeout -Microsoft.Graph.Beta.Models.evaluationErrorType::0021-serviceError -Microsoft.Graph.Beta.Models.evaluationErrorType::0022-serviceUnavailable -Microsoft.Graph.Beta.Models.evaluationErrorType::0023-unknownFutureValue +Microsoft.Graph.Beta.Models.evaluationErrorType::0002-missingOrInvalidConfiguration +Microsoft.Graph.Beta.Models.evaluationErrorType::0003-agentFailure +Microsoft.Graph.Beta.Models.evaluationErrorType::0004-enforcementTimeout +Microsoft.Graph.Beta.Models.evaluationErrorType::0005-osOverride +Microsoft.Graph.Beta.Models.evaluationErrorType::0006-processNonExistent +Microsoft.Graph.Beta.Models.evaluationErrorType::0007-other +Microsoft.Graph.Beta.Models.evaluationErrorType::0008-serviceTimeout +Microsoft.Graph.Beta.Models.evaluationErrorType::0009-serviceError +Microsoft.Graph.Beta.Models.evaluationErrorType::0010-serviceUnavailable +Microsoft.Graph.Beta.Models.evaluationErrorType::0011-contentTooLarge +Microsoft.Graph.Beta.Models.evaluationErrorType::0012-partiallyScanned +Microsoft.Graph.Beta.Models.evaluationErrorType::0013-unscannable +Microsoft.Graph.Beta.Models.evaluationErrorType::0014-billingNotSetup +Microsoft.Graph.Beta.Models.evaluationErrorType::0015-authenticationOrAuthorizationFailed +Microsoft.Graph.Beta.Models.evaluationErrorType::0016-unknownFutureValue Microsoft.Graph.Beta.Models.evaluationIncompleteActivityMetadata-->global.Microsoft.Graph.Beta.Models.ProcessContentMetadataBase Microsoft.Graph.Beta.Models.evaluationIncompleteActivityMetadata::|public|constructor():void Microsoft.Graph.Beta.Models.evaluationIncompleteActivityMetadata::|public|ErrorAction:global.Microsoft.Graph.Beta.Models.ErrorActions? @@ -193609,6 +194359,9 @@ Microsoft.Graph.Beta.Models.evaluationIncompleteActivityMetadata::|public|Inspec Microsoft.Graph.Beta.Models.evaluationIncompleteActivityMetadata::|public|OdataType:string Microsoft.Graph.Beta.Models.evaluationIncompleteActivityMetadata::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.evaluationIncompleteActivityMetadata::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.EvaluationIncompleteActivityMetadata +Microsoft.Graph.Beta.Models.evaluationOutcome::0000-approved +Microsoft.Graph.Beta.Models.evaluationOutcome::0001-denied +Microsoft.Graph.Beta.Models.evaluationOutcome::0002-unknownFutureValue Microsoft.Graph.Beta.Models.evaluationScope::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.evaluationScope::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.evaluationScope::|public|constructor():void @@ -196204,6 +196957,7 @@ Microsoft.Graph.Beta.Models.group::|public|IsManagementRestricted:bool? Microsoft.Graph.Beta.Models.group::|public|IsSubscribedByMail:bool? Microsoft.Graph.Beta.Models.group::|public|LicenseProcessingState:global.Microsoft.Graph.Beta.Models.LicenseProcessingState Microsoft.Graph.Beta.Models.group::|public|Mail:string +Microsoft.Graph.Beta.Models.group::|public|MailboxId:string Microsoft.Graph.Beta.Models.group::|public|MailEnabled:bool? Microsoft.Graph.Beta.Models.group::|public|MailNickname:string Microsoft.Graph.Beta.Models.group::|public|MemberOf:List @@ -198016,6 +198770,7 @@ Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyReport::|public|Su Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyReport::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyReport Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyRule-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyRule::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyRule::|public|GracePeriodInDays:int? Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyRule::|public|IsEnabled:bool? Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyRule::|public|OdataType:string Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyRule::|public|Serialize(writer:ISerializationWriter):void @@ -198327,6 +199082,13 @@ Microsoft.Graph.Beta.Models.IdentityGovernance.runSummary::|public|TotalTasks:in Microsoft.Graph.Beta.Models.IdentityGovernance.runSummary::|public|TotalUsers:int? Microsoft.Graph.Beta.Models.IdentityGovernance.runSummary::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.IdentityGovernance.RunSummary Microsoft.Graph.Beta.Models.IdentityGovernance.runSummary~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.IdentityGovernance.selectedAgentBuilderPlatformsSubjectSet-->global.Microsoft.Graph.Beta.Models.SubjectSet +Microsoft.Graph.Beta.Models.IdentityGovernance.selectedAgentBuilderPlatformsSubjectSet::|public|constructor():void +Microsoft.Graph.Beta.Models.IdentityGovernance.selectedAgentBuilderPlatformsSubjectSet::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.IdentityGovernance.selectedAgentBuilderPlatformsSubjectSet::|public|IncludedAgentBuilderPlatforms:global.Microsoft.Graph.Beta.Models.IdentityGovernance.AgentBuilderPlatforms? +Microsoft.Graph.Beta.Models.IdentityGovernance.selectedAgentBuilderPlatformsSubjectSet::|public|OdataType:string +Microsoft.Graph.Beta.Models.IdentityGovernance.selectedAgentBuilderPlatformsSubjectSet::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.IdentityGovernance.selectedAgentBuilderPlatformsSubjectSet::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.IdentityGovernance.SelectedAgentBuilderPlatformsSubjectSet Microsoft.Graph.Beta.Models.IdentityGovernance.selectedObjectsSubjectSet-->global.Microsoft.Graph.Beta.Models.SubjectSet Microsoft.Graph.Beta.Models.IdentityGovernance.selectedObjectsSubjectSet::|public|constructor():void Microsoft.Graph.Beta.Models.IdentityGovernance.selectedObjectsSubjectSet::|public|GetFieldDeserializers():IDictionary> @@ -206687,6 +207449,11 @@ Microsoft.Graph.Beta.Models.meetingChatMode::0000-enabled Microsoft.Graph.Beta.Models.meetingChatMode::0001-disabled Microsoft.Graph.Beta.Models.meetingChatMode::0002-limited Microsoft.Graph.Beta.Models.meetingChatMode::0003-unknownFutureValue +Microsoft.Graph.Beta.Models.meetingCopilotMode::0000-enabled +Microsoft.Graph.Beta.Models.meetingCopilotMode::0001-enabledWithTranscript +Microsoft.Graph.Beta.Models.meetingCopilotMode::0002-enabledWithTranscriptDefaultOn +Microsoft.Graph.Beta.Models.meetingCopilotMode::0003-disabled +Microsoft.Graph.Beta.Models.meetingCopilotMode::0004-unknownFutureValue Microsoft.Graph.Beta.Models.meetingEngagement::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.meetingEngagement::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.meetingEngagement::|public|constructor():void @@ -210762,6 +211529,24 @@ Microsoft.Graph.Beta.Models.oAuthConsentAppDetail::|public|OdataType:string Microsoft.Graph.Beta.Models.oAuthConsentAppDetail::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.oAuthConsentAppDetail::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.OAuthConsentAppDetail Microsoft.Graph.Beta.Models.oAuthConsentAppDetail~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.objectConnection::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.objectConnection::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.objectConnection::|public|constructor():void +Microsoft.Graph.Beta.Models.objectConnection::|public|DisplayName:string +Microsoft.Graph.Beta.Models.objectConnection::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.objectConnection::|public|ObjectId:string +Microsoft.Graph.Beta.Models.objectConnection::|public|ObjectTypeName:string +Microsoft.Graph.Beta.Models.objectConnection::|public|OdataType:string +Microsoft.Graph.Beta.Models.objectConnection::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.objectConnection::|public|SourceAnchor:string +Microsoft.Graph.Beta.Models.objectConnection::|public|TargetAnchor:string +Microsoft.Graph.Beta.Models.objectConnection::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ObjectConnection +Microsoft.Graph.Beta.Models.objectConnectionCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Models.objectConnectionCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.objectConnectionCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.objectConnectionCollectionResponse::|public|Value:List +Microsoft.Graph.Beta.Models.objectConnectionCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ObjectConnectionCollectionResponse +Microsoft.Graph.Beta.Models.objectConnection~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.objectDefinition::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.objectDefinition::|public|Attributes:List Microsoft.Graph.Beta.Models.objectDefinition::|public|BackingStore:IBackingStore @@ -211794,6 +212579,36 @@ Microsoft.Graph.Beta.Models.onPasswordSubmitListener::|public|Handler:global.Mic Microsoft.Graph.Beta.Models.onPasswordSubmitListener::|public|OdataType:string Microsoft.Graph.Beta.Models.onPasswordSubmitListener::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.onPasswordSubmitListener::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.OnPasswordSubmitListener +Microsoft.Graph.Beta.Models.onPasswordUpdateCustomExtension-->global.Microsoft.Graph.Beta.Models.CustomAuthenticationExtension +Microsoft.Graph.Beta.Models.onPasswordUpdateCustomExtension::|public|constructor():void +Microsoft.Graph.Beta.Models.onPasswordUpdateCustomExtension::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.onPasswordUpdateCustomExtension::|public|OdataType:string +Microsoft.Graph.Beta.Models.onPasswordUpdateCustomExtension::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.onPasswordUpdateCustomExtension::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.OnPasswordUpdateCustomExtension +Microsoft.Graph.Beta.Models.onPasswordUpdateCustomExtensionHandler-->global.Microsoft.Graph.Beta.Models.OnPasswordUpdateHandler +Microsoft.Graph.Beta.Models.onPasswordUpdateCustomExtensionHandler::|public|Configuration:global.Microsoft.Graph.Beta.Models.CustomExtensionOverwriteConfiguration +Microsoft.Graph.Beta.Models.onPasswordUpdateCustomExtensionHandler::|public|constructor():void +Microsoft.Graph.Beta.Models.onPasswordUpdateCustomExtensionHandler::|public|CustomExtension:global.Microsoft.Graph.Beta.Models.OnPasswordUpdateCustomExtension +Microsoft.Graph.Beta.Models.onPasswordUpdateCustomExtensionHandler::|public|ExpirationDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.onPasswordUpdateCustomExtensionHandler::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.onPasswordUpdateCustomExtensionHandler::|public|OdataType:string +Microsoft.Graph.Beta.Models.onPasswordUpdateCustomExtensionHandler::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.onPasswordUpdateCustomExtensionHandler::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.OnPasswordUpdateCustomExtensionHandler +Microsoft.Graph.Beta.Models.onPasswordUpdateHandler::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.onPasswordUpdateHandler::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.onPasswordUpdateHandler::|public|constructor():void +Microsoft.Graph.Beta.Models.onPasswordUpdateHandler::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.onPasswordUpdateHandler::|public|OdataType:string +Microsoft.Graph.Beta.Models.onPasswordUpdateHandler::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.onPasswordUpdateHandler::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.OnPasswordUpdateHandler +Microsoft.Graph.Beta.Models.onPasswordUpdateHandler~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.onPasswordUpdateListener-->global.Microsoft.Graph.Beta.Models.AuthenticationEventListener +Microsoft.Graph.Beta.Models.onPasswordUpdateListener::|public|constructor():void +Microsoft.Graph.Beta.Models.onPasswordUpdateListener::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.onPasswordUpdateListener::|public|Handler:global.Microsoft.Graph.Beta.Models.OnPasswordUpdateHandler +Microsoft.Graph.Beta.Models.onPasswordUpdateListener::|public|OdataType:string +Microsoft.Graph.Beta.Models.onPasswordUpdateListener::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.onPasswordUpdateListener::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.OnPasswordUpdateListener Microsoft.Graph.Beta.Models.onPhoneMethodLoadStartExternalUsersAuthHandler-->global.Microsoft.Graph.Beta.Models.OnPhoneMethodLoadStartHandler Microsoft.Graph.Beta.Models.onPhoneMethodLoadStartExternalUsersAuthHandler::|public|constructor():void Microsoft.Graph.Beta.Models.onPhoneMethodLoadStartExternalUsersAuthHandler::|public|GetFieldDeserializers():IDictionary> @@ -217873,6 +218688,7 @@ Microsoft.Graph.Beta.Models.privilegedAccessGroupRelationships::0000-owner Microsoft.Graph.Beta.Models.privilegedAccessGroupRelationships::0001-member Microsoft.Graph.Beta.Models.privilegedAccessGroupRelationships::0002-unknownFutureValue Microsoft.Graph.Beta.Models.privilegedAccessRoot-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.privilegedAccessRoot::|public|CustomExtensions:List Microsoft.Graph.Beta.Models.privilegedAccessRoot::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.privilegedAccessRoot::|public|Group:global.Microsoft.Graph.Beta.Models.PrivilegedAccessGroup Microsoft.Graph.Beta.Models.privilegedAccessRoot::|public|OdataType:string @@ -218196,6 +219012,7 @@ Microsoft.Graph.Beta.Models.processContentMetadataBase::|public|Length:long? Microsoft.Graph.Beta.Models.processContentMetadataBase::|public|ModifiedDateTime:DateTimeOffset? Microsoft.Graph.Beta.Models.processContentMetadataBase::|public|Name:string Microsoft.Graph.Beta.Models.processContentMetadataBase::|public|OdataType:string +Microsoft.Graph.Beta.Models.processContentMetadataBase::|public|SensitivityLabels:List Microsoft.Graph.Beta.Models.processContentMetadataBase::|public|SequenceNumber:long? Microsoft.Graph.Beta.Models.processContentMetadataBase::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.processContentMetadataBase::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ProcessContentMetadataBase @@ -221008,10 +221825,10 @@ Microsoft.Graph.Beta.Models.restoreTaskActivityLog::|public|GetFieldDeserializer Microsoft.Graph.Beta.Models.restoreTaskActivityLog::|public|OdataType:string Microsoft.Graph.Beta.Models.restoreTaskActivityLog::|public|RestoreArtifactDetails:global.Microsoft.Graph.Beta.Models.RestoreArtifactDetails Microsoft.Graph.Beta.Models.restoreTaskActivityLog::|public|RestoreCompletionDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.restoreTaskActivityLog::|public|RestoreJobType:global.Microsoft.Graph.Beta.Models.RestoreJobType? Microsoft.Graph.Beta.Models.restoreTaskActivityLog::|public|RestoreSessionId:string Microsoft.Graph.Beta.Models.restoreTaskActivityLog::|public|RestoreSessionStatus:global.Microsoft.Graph.Beta.Models.RestoreSessionStatus? Microsoft.Graph.Beta.Models.restoreTaskActivityLog::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Beta.Models.restoreTaskActivityLog::|public|Tags:global.Microsoft.Graph.Beta.Models.RestorePointTags? Microsoft.Graph.Beta.Models.restoreTaskActivityLog::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.RestoreTaskActivityLog Microsoft.Graph.Beta.Models.restoreTimeRange::0000-before Microsoft.Graph.Beta.Models.restoreTimeRange::0001-after @@ -221227,6 +222044,7 @@ Microsoft.Graph.Beta.Models.riskAlert::|public|OdataType:string Microsoft.Graph.Beta.Models.riskAlert::|public|ProviderAlertId:string Microsoft.Graph.Beta.Models.riskAlert::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.riskAlert::|public|Severity:global.Microsoft.Graph.Beta.Models.Severity? +Microsoft.Graph.Beta.Models.riskAlert::|public|Source:string Microsoft.Graph.Beta.Models.riskAlert::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.RiskAlert Microsoft.Graph.Beta.Models.riskAlert~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.riskDetail::0000-none @@ -221549,6 +222367,21 @@ Microsoft.Graph.Beta.Models.roleManagementAlert::|public|OdataType:string Microsoft.Graph.Beta.Models.roleManagementAlert::|public|Operations:List Microsoft.Graph.Beta.Models.roleManagementAlert::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.roleManagementAlert::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.RoleManagementAlert +Microsoft.Graph.Beta.Models.roleManagementCustomCalloutExtension-->global.Microsoft.Graph.Beta.Models.CustomCalloutExtension +Microsoft.Graph.Beta.Models.roleManagementCustomCalloutExtension::|public|constructor():void +Microsoft.Graph.Beta.Models.roleManagementCustomCalloutExtension::|public|CustomAttributes:List +Microsoft.Graph.Beta.Models.roleManagementCustomCalloutExtension::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.roleManagementCustomCalloutExtension::|public|IsEnabled:bool? +Microsoft.Graph.Beta.Models.roleManagementCustomCalloutExtension::|public|OdataType:string +Microsoft.Graph.Beta.Models.roleManagementCustomCalloutExtension::|public|ResourceType:global.Microsoft.Graph.Beta.Models.CustomExtensionResourceType? +Microsoft.Graph.Beta.Models.roleManagementCustomCalloutExtension::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.roleManagementCustomCalloutExtension::|public|Type:global.Microsoft.Graph.Beta.Models.CustomCalloutExtensionType? +Microsoft.Graph.Beta.Models.roleManagementCustomCalloutExtension::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.RoleManagementCustomCalloutExtension +Microsoft.Graph.Beta.Models.roleManagementCustomCalloutExtensionCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Models.roleManagementCustomCalloutExtensionCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.roleManagementCustomCalloutExtensionCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.roleManagementCustomCalloutExtensionCollectionResponse::|public|Value:List +Microsoft.Graph.Beta.Models.roleManagementCustomCalloutExtensionCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.RoleManagementCustomCalloutExtensionCollectionResponse Microsoft.Graph.Beta.Models.roleManagement~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.roleMembershipGovernanceCriteria-->global.Microsoft.Graph.Beta.Models.GovernanceCriteria Microsoft.Graph.Beta.Models.roleMembershipGovernanceCriteria::|public|constructor():void @@ -223364,6 +224197,7 @@ Microsoft.Graph.Beta.Models.Security.alertTemplate::|public|constructor():void Microsoft.Graph.Beta.Models.Security.alertTemplate::|public|CustomDetails:global.Microsoft.Graph.Beta.Models.Security.AlertCustomDetails Microsoft.Graph.Beta.Models.Security.alertTemplate::|public|Description:string Microsoft.Graph.Beta.Models.Security.alertTemplate::|public|EntityMappings:global.Microsoft.Graph.Beta.Models.Security.EntityMappingConfiguration +Microsoft.Graph.Beta.Models.Security.alertTemplate::|public|EventGroupingKind:global.Microsoft.Graph.Beta.Models.Security.EventGroupingKind? Microsoft.Graph.Beta.Models.Security.alertTemplate::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.Security.alertTemplate::|public|ImpactedAssets:List Microsoft.Graph.Beta.Models.Security.alertTemplate::|public|MitreTechniques:List @@ -224735,6 +225569,7 @@ Microsoft.Graph.Beta.Models.Security.CaseManagement.caseTypeConfiguration::|publ Microsoft.Graph.Beta.Models.Security.CaseManagement.caseTypeConfiguration::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.Security.CaseManagement.caseTypeConfiguration::|public|OdataType:string Microsoft.Graph.Beta.Models.Security.CaseManagement.caseTypeConfiguration::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.CaseManagement.caseTypeConfiguration::|public|SlaPolicies:List Microsoft.Graph.Beta.Models.Security.CaseManagement.caseTypeConfiguration::|public|Statuses:List Microsoft.Graph.Beta.Models.Security.CaseManagement.caseTypeConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.CaseManagement.CaseTypeConfiguration Microsoft.Graph.Beta.Models.Security.CaseManagement.caseTypeConfigurationCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse @@ -225021,6 +225856,92 @@ Microsoft.Graph.Beta.Models.Security.CaseManagement.relationCollectionResponse:: Microsoft.Graph.Beta.Models.Security.CaseManagement.relationCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.Security.CaseManagement.relationCollectionResponse::|public|Value:List Microsoft.Graph.Beta.Models.Security.CaseManagement.relationCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.CaseManagement.RelationCollectionResponse +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyCondition-->global.Microsoft.Graph.Beta.Models.Security.CaseManagement.SlaPolicyConditionBase +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyCondition::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyCondition::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyCondition::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyCondition::|public|Operator:global.Microsoft.Graph.Beta.Models.Security.CaseManagement.SlaPolicyConditionOperator? +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyCondition::|public|Property:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyCondition::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyCondition::|public|Values:List +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyCondition::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.CaseManagement.SlaPolicyCondition +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyConditionBase::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyConditionBase::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyConditionBase::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyConditionBase::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyConditionBase::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyConditionBase::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyConditionBase::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.CaseManagement.SlaPolicyConditionBase +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyConditionBase~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyConditionOperator::0000-equals +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyConditionOperator::0001-notEquals +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyConditionOperator::0002-contains +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyConditionOperator::0003-doesNotContain +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyConditionOperator::0004-isEmpty +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyConditionOperator::0005-isNotEmpty +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyConditionOperator::0006-changed +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyConditionOperator::0007-changedTo +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyConditionOperator::0008-changedFrom +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyConditionOperator::0009-isBefore +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyConditionOperator::0010-isAfter +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyConditionOperator::0011-greaterThan +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyConditionOperator::0012-lessThan +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyConditionOperator::0013-anyOf +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyConditionOperator::0014-noneOf +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyConditionOperator::0015-unknownFutureValue +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyCriteriaBlock-->global.Microsoft.Graph.Beta.Models.Security.CaseManagement.SlaPolicyConditionBase +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyCriteriaBlock::|public|Conditions:List +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyCriteriaBlock::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyCriteriaBlock::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyCriteriaBlock::|public|LogicalOperator:global.Microsoft.Graph.Beta.Models.Security.CaseManagement.SlaPolicyLogicalOperator? +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyCriteriaBlock::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyCriteriaBlock::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyCriteriaBlock::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.CaseManagement.SlaPolicyCriteriaBlock +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyDefinition-->global.Microsoft.Graph.Beta.Models.Security.CaseManagement.CaseManagementEntity +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyDefinition::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyDefinition::|public|Description:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyDefinition::|public|DisplayName:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyDefinition::|public|ExitCriteria:global.Microsoft.Graph.Beta.Models.Security.CaseManagement.SlaPolicyCriteriaBlock +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyDefinition::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyDefinition::|public|IsActive:bool? +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyDefinition::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyDefinition::|public|PauseCriteria:global.Microsoft.Graph.Beta.Models.Security.CaseManagement.SlaPolicyCriteriaBlock +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyDefinition::|public|RecalculateCondition:global.Microsoft.Graph.Beta.Models.Security.CaseManagement.SlaPolicyRecalculateCondition +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyDefinition::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyDefinition::|public|SetCriteria:global.Microsoft.Graph.Beta.Models.Security.CaseManagement.SlaPolicyCriteriaBlock +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyDefinition::|public|Timers:List +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyDefinition::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.CaseManagement.SlaPolicyDefinition +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyDefinitionCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyDefinitionCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyDefinitionCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyDefinitionCollectionResponse::|public|Value:List +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyDefinitionCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.CaseManagement.SlaPolicyDefinitionCollectionResponse +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyLogicalOperator::0000-and +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyLogicalOperator::0001-or +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyLogicalOperator::0002-unknownFutureValue +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyRecalculateCondition::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyRecalculateCondition::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyRecalculateCondition::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyRecalculateCondition::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyRecalculateCondition::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyRecalculateCondition::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyRecalculateCondition::|public|ShouldResetTime:bool? +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyRecalculateCondition::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.CaseManagement.SlaPolicyRecalculateCondition +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyRecalculateCondition~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyTimer::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyTimer::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyTimer::|public|BreachThresholdInMinutes:int? +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyTimer::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyTimer::|public|Filters:global.Microsoft.Graph.Beta.Models.Security.CaseManagement.SlaPolicyCriteriaBlock +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyTimer::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyTimer::|public|IsDefault:bool? +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyTimer::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyTimer::|public|Order:int? +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyTimer::|public|PolicyTimerId:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyTimer::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyTimer::|public|WarningThresholdInMinutes:int? +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyTimer::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.CaseManagement.SlaPolicyTimer +Microsoft.Graph.Beta.Models.Security.CaseManagement.slaPolicyTimer~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.Security.CaseManagement.statusDefinition-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.Security.CaseManagement.statusDefinition::|public|CustomStatuses:List Microsoft.Graph.Beta.Models.Security.CaseManagement.statusDefinition::|public|DisplayName:string @@ -227226,6 +228147,9 @@ Microsoft.Graph.Beta.Models.Security.eopSubmissionFeedEntityAuditRecord::|public Microsoft.Graph.Beta.Models.Security.eopSubmissionFeedEntityAuditRecord::|public|OdataType:string Microsoft.Graph.Beta.Models.Security.eopSubmissionFeedEntityAuditRecord::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.Security.eopSubmissionFeedEntityAuditRecord::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.EopSubmissionFeedEntityAuditRecord +Microsoft.Graph.Beta.Models.Security.eventGroupingKind::0000-alertPerEvent +Microsoft.Graph.Beta.Models.Security.eventGroupingKind::0001-singleAlert +Microsoft.Graph.Beta.Models.Security.eventGroupingKind::0002-unknownFutureValue Microsoft.Graph.Beta.Models.Security.eventPropagationResult::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.Security.eventPropagationResult::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.Security.eventPropagationResult::|public|constructor():void @@ -230364,6 +231288,7 @@ Microsoft.Graph.Beta.Models.Security.ruleSchedule::|public|BackingStore:IBacking Microsoft.Graph.Beta.Models.Security.ruleSchedule::|public|constructor():void Microsoft.Graph.Beta.Models.Security.ruleSchedule::|public|Frequency:TimeSpan? Microsoft.Graph.Beta.Models.Security.ruleSchedule::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.ruleSchedule::|public|Lookback:TimeSpan? Microsoft.Graph.Beta.Models.Security.ruleSchedule::|public|NextRunDateTime:DateTimeOffset? Microsoft.Graph.Beta.Models.Security.ruleSchedule::|public|OdataType:string Microsoft.Graph.Beta.Models.Security.ruleSchedule::|public|Period:string @@ -235083,6 +236008,7 @@ Microsoft.Graph.Beta.Models.smsAuthenticationMethodConfiguration::|public|GetFie Microsoft.Graph.Beta.Models.smsAuthenticationMethodConfiguration::|public|IncludeTargets:List Microsoft.Graph.Beta.Models.smsAuthenticationMethodConfiguration::|public|OdataType:string Microsoft.Graph.Beta.Models.smsAuthenticationMethodConfiguration::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.smsAuthenticationMethodConfiguration::|public|TelecomProviderSettings:global.Microsoft.Graph.Beta.Models.TelecomProviderSettings Microsoft.Graph.Beta.Models.smsAuthenticationMethodConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.SmsAuthenticationMethodConfiguration Microsoft.Graph.Beta.Models.smsAuthenticationMethodTarget-->global.Microsoft.Graph.Beta.Models.AuthenticationMethodTarget Microsoft.Graph.Beta.Models.smsAuthenticationMethodTarget::|public|GetFieldDeserializers():IDictionary> @@ -236003,6 +236929,7 @@ Microsoft.Graph.Beta.Models.synchronizationError~~>IAdditionalDataHolder; IBacke Microsoft.Graph.Beta.Models.synchronizationJob-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.synchronizationJob::|public|BulkUpload:global.Microsoft.Graph.Beta.Models.BulkUpload Microsoft.Graph.Beta.Models.synchronizationJob::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.synchronizationJob::|public|ObjectConnections:List Microsoft.Graph.Beta.Models.synchronizationJob::|public|OdataType:string Microsoft.Graph.Beta.Models.synchronizationJob::|public|Schedule:global.Microsoft.Graph.Beta.Models.SynchronizationSchedule Microsoft.Graph.Beta.Models.synchronizationJob::|public|Schema:global.Microsoft.Graph.Beta.Models.SynchronizationSchema @@ -237431,8 +238358,8 @@ Microsoft.Graph.Beta.Models.teamworkConversationIdentityType::0000-team Microsoft.Graph.Beta.Models.teamworkConversationIdentityType::0001-channel Microsoft.Graph.Beta.Models.teamworkConversationIdentityType::0002-chat Microsoft.Graph.Beta.Models.teamworkConversationIdentityType::0003-unknownFutureValue -Microsoft.Graph.Beta.Models.teamworkCustomEmoji-->global.Microsoft.Graph.Beta.Models.Entity -Microsoft.Graph.Beta.Models.teamworkCustomEmoji::|public|ContentBytes:string +Microsoft.Graph.Beta.Models.teamworkCustomEmoji-->global.Microsoft.Graph.Beta.Models.TeamworkHostedContent +Microsoft.Graph.Beta.Models.teamworkCustomEmoji::|public|constructor():void Microsoft.Graph.Beta.Models.teamworkCustomEmoji::|public|CreatedBy:global.Microsoft.Graph.Beta.Models.CustomEmojiFromIdentitySet Microsoft.Graph.Beta.Models.teamworkCustomEmoji::|public|CreatedDateTime:DateTimeOffset? Microsoft.Graph.Beta.Models.teamworkCustomEmoji::|public|DisplayName:string @@ -237948,6 +238875,18 @@ Microsoft.Graph.Beta.Models.teamworkUserIdentityType::0006-phoneUser Microsoft.Graph.Beta.Models.teamworkUserIdentityType::0007-unknownFutureValue Microsoft.Graph.Beta.Models.teamworkUserIdentityType::0008-emailUser Microsoft.Graph.Beta.Models.teamworkUserIdentityType::0009-azureCommunicationServicesUser +Microsoft.Graph.Beta.Models.telecomProviderSettings::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.telecomProviderSettings::|public|AppId:Guid? +Microsoft.Graph.Beta.Models.telecomProviderSettings::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.telecomProviderSettings::|public|constructor():void +Microsoft.Graph.Beta.Models.telecomProviderSettings::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.telecomProviderSettings::|public|IsEvaluationModeEnabled:bool? +Microsoft.Graph.Beta.Models.telecomProviderSettings::|public|MigrationPercentage:int? +Microsoft.Graph.Beta.Models.telecomProviderSettings::|public|OdataType:string +Microsoft.Graph.Beta.Models.telecomProviderSettings::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.telecomProviderSettings::|public|Url:string +Microsoft.Graph.Beta.Models.telecomProviderSettings::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.TelecomProviderSettings +Microsoft.Graph.Beta.Models.telecomProviderSettings~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.teleconferenceDeviceAudioQuality-->global.Microsoft.Graph.Beta.Models.TeleconferenceDeviceMediaQuality Microsoft.Graph.Beta.Models.teleconferenceDeviceAudioQuality::|public|constructor():void Microsoft.Graph.Beta.Models.teleconferenceDeviceAudioQuality::|public|GetFieldDeserializers():IDictionary> @@ -239637,6 +240576,7 @@ Microsoft.Graph.Beta.Models.unifiedRoleAssignmentScheduleRequestCollectionRespon Microsoft.Graph.Beta.Models.unifiedRoleAssignmentScheduleRequestCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.UnifiedRoleAssignmentScheduleRequestCollectionResponse Microsoft.Graph.Beta.Models.unifiedRoleDefinition-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.unifiedRoleDefinition::|public|AllowedPrincipalTypes:global.Microsoft.Graph.Beta.Models.AllowedRolePrincipalTypes? +Microsoft.Graph.Beta.Models.unifiedRoleDefinition::|public|DeletedDateTime:DateTimeOffset? Microsoft.Graph.Beta.Models.unifiedRoleDefinition::|public|Description:string Microsoft.Graph.Beta.Models.unifiedRoleDefinition::|public|DisplayName:string Microsoft.Graph.Beta.Models.unifiedRoleDefinition::|public|GetFieldDeserializers():IDictionary> @@ -239822,6 +240762,16 @@ Microsoft.Graph.Beta.Models.unifiedRoleManagementPolicyCollectionResponse::|publ Microsoft.Graph.Beta.Models.unifiedRoleManagementPolicyCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.unifiedRoleManagementPolicyCollectionResponse::|public|Value:List Microsoft.Graph.Beta.Models.unifiedRoleManagementPolicyCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.UnifiedRoleManagementPolicyCollectionResponse +Microsoft.Graph.Beta.Models.unifiedRoleManagementPolicyCustomExtensionRule-->global.Microsoft.Graph.Beta.Models.UnifiedRoleManagementPolicyRule +Microsoft.Graph.Beta.Models.unifiedRoleManagementPolicyCustomExtensionRule::|public|constructor():void +Microsoft.Graph.Beta.Models.unifiedRoleManagementPolicyCustomExtensionRule::|public|CustomAttributes:List +Microsoft.Graph.Beta.Models.unifiedRoleManagementPolicyCustomExtensionRule::|public|CustomExtensionId:string +Microsoft.Graph.Beta.Models.unifiedRoleManagementPolicyCustomExtensionRule::|public|DisplayName:string +Microsoft.Graph.Beta.Models.unifiedRoleManagementPolicyCustomExtensionRule::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.unifiedRoleManagementPolicyCustomExtensionRule::|public|IsEnabled:bool? +Microsoft.Graph.Beta.Models.unifiedRoleManagementPolicyCustomExtensionRule::|public|OdataType:string +Microsoft.Graph.Beta.Models.unifiedRoleManagementPolicyCustomExtensionRule::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.unifiedRoleManagementPolicyCustomExtensionRule::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.UnifiedRoleManagementPolicyCustomExtensionRule Microsoft.Graph.Beta.Models.unifiedRoleManagementPolicyEnablementRule-->global.Microsoft.Graph.Beta.Models.UnifiedRoleManagementPolicyRule Microsoft.Graph.Beta.Models.unifiedRoleManagementPolicyEnablementRule::|public|constructor():void Microsoft.Graph.Beta.Models.unifiedRoleManagementPolicyEnablementRule::|public|EnabledRules:List @@ -242892,6 +243842,7 @@ Microsoft.Graph.Beta.Models.voiceAuthenticationMethodConfiguration::|public|Incl Microsoft.Graph.Beta.Models.voiceAuthenticationMethodConfiguration::|public|IsOfficePhoneAllowed:bool? Microsoft.Graph.Beta.Models.voiceAuthenticationMethodConfiguration::|public|OdataType:string Microsoft.Graph.Beta.Models.voiceAuthenticationMethodConfiguration::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.voiceAuthenticationMethodConfiguration::|public|TelecomProviderSettings:global.Microsoft.Graph.Beta.Models.TelecomProviderSettings Microsoft.Graph.Beta.Models.voiceAuthenticationMethodConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.VoiceAuthenticationMethodConfiguration Microsoft.Graph.Beta.Models.voiceAuthenticationMethodTarget-->global.Microsoft.Graph.Beta.Models.AuthenticationMethodTarget Microsoft.Graph.Beta.Models.voiceAuthenticationMethodTarget::|public|GetFieldDeserializers():IDictionary> @@ -247057,6 +248008,35 @@ Microsoft.Graph.Beta.Models.windowsUpdateRolloutSettings::|public|OfferStartDate Microsoft.Graph.Beta.Models.windowsUpdateRolloutSettings::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.windowsUpdateRolloutSettings::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.WindowsUpdateRolloutSettings Microsoft.Graph.Beta.Models.windowsUpdateRolloutSettings~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.WindowsUpdates.applicableCatalog-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.WindowsUpdates.applicableCatalog::|public|CatalogEntry:global.Microsoft.Graph.Beta.Models.WindowsUpdates.CatalogEntry +Microsoft.Graph.Beta.Models.WindowsUpdates.applicableCatalog::|public|DeviceCount:int? +Microsoft.Graph.Beta.Models.WindowsUpdates.applicableCatalog::|public|Devices:List +Microsoft.Graph.Beta.Models.WindowsUpdates.applicableCatalog::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.WindowsUpdates.applicableCatalog::|public|HasRecommendedDevice:bool? +Microsoft.Graph.Beta.Models.WindowsUpdates.applicableCatalog::|public|OdataType:string +Microsoft.Graph.Beta.Models.WindowsUpdates.applicableCatalog::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.WindowsUpdates.applicableCatalog::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.WindowsUpdates.ApplicableCatalog +Microsoft.Graph.Beta.Models.WindowsUpdates.applicableCatalogCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Models.WindowsUpdates.applicableCatalogCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.WindowsUpdates.applicableCatalogCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.WindowsUpdates.applicableCatalogCollectionResponse::|public|Value:List +Microsoft.Graph.Beta.Models.WindowsUpdates.applicableCatalogCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.WindowsUpdates.ApplicableCatalogCollectionResponse +Microsoft.Graph.Beta.Models.WindowsUpdates.applicableCatalogSummary-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.WindowsUpdates.applicableCatalogSummary::|public|AggregatedDeviceCount:int? +Microsoft.Graph.Beta.Models.WindowsUpdates.applicableCatalogSummary::|public|AggregatedDevices:List +Microsoft.Graph.Beta.Models.WindowsUpdates.applicableCatalogSummary::|public|CatalogEntry:global.Microsoft.Graph.Beta.Models.WindowsUpdates.CatalogEntry +Microsoft.Graph.Beta.Models.WindowsUpdates.applicableCatalogSummary::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.WindowsUpdates.applicableCatalogSummary::|public|HasRecommendedDevice:bool? +Microsoft.Graph.Beta.Models.WindowsUpdates.applicableCatalogSummary::|public|OdataType:string +Microsoft.Graph.Beta.Models.WindowsUpdates.applicableCatalogSummary::|public|Policies:List +Microsoft.Graph.Beta.Models.WindowsUpdates.applicableCatalogSummary::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.WindowsUpdates.applicableCatalogSummary::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.WindowsUpdates.ApplicableCatalogSummary +Microsoft.Graph.Beta.Models.WindowsUpdates.applicableCatalogSummaryCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Models.WindowsUpdates.applicableCatalogSummaryCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.WindowsUpdates.applicableCatalogSummaryCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.WindowsUpdates.applicableCatalogSummaryCollectionResponse::|public|Value:List +Microsoft.Graph.Beta.Models.WindowsUpdates.applicableCatalogSummaryCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.WindowsUpdates.ApplicableCatalogSummaryCollectionResponse Microsoft.Graph.Beta.Models.WindowsUpdates.applicableContent::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.WindowsUpdates.applicableContent::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.WindowsUpdates.applicableContent::|public|CatalogEntry:global.Microsoft.Graph.Beta.Models.WindowsUpdates.CatalogEntry @@ -247088,6 +248068,17 @@ Microsoft.Graph.Beta.Models.WindowsUpdates.applicableContentDeviceMatchCollectio Microsoft.Graph.Beta.Models.WindowsUpdates.applicableContentDeviceMatchCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.WindowsUpdates.ApplicableContentDeviceMatchCollectionResponse Microsoft.Graph.Beta.Models.WindowsUpdates.applicableContentDeviceMatch~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.WindowsUpdates.applicableContent~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.WindowsUpdates.applicableDevice-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.WindowsUpdates.applicableDevice::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.WindowsUpdates.applicableDevice::|public|IsRecommended:bool? +Microsoft.Graph.Beta.Models.WindowsUpdates.applicableDevice::|public|OdataType:string +Microsoft.Graph.Beta.Models.WindowsUpdates.applicableDevice::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.WindowsUpdates.applicableDevice::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.WindowsUpdates.ApplicableDevice +Microsoft.Graph.Beta.Models.WindowsUpdates.applicableDeviceCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Models.WindowsUpdates.applicableDeviceCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.WindowsUpdates.applicableDeviceCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.WindowsUpdates.applicableDeviceCollectionResponse::|public|Value:List +Microsoft.Graph.Beta.Models.WindowsUpdates.applicableDeviceCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.WindowsUpdates.ApplicableDeviceCollectionResponse Microsoft.Graph.Beta.Models.WindowsUpdates.approvalRule::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.WindowsUpdates.approvalRule::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.WindowsUpdates.approvalRule::|public|constructor():void @@ -247100,6 +248091,9 @@ Microsoft.Graph.Beta.Models.WindowsUpdates.approvalRule~~>IAdditionalDataHolder; Microsoft.Graph.Beta.Models.WindowsUpdates.approvalStatus::0000-approved Microsoft.Graph.Beta.Models.WindowsUpdates.approvalStatus::0001-suspended Microsoft.Graph.Beta.Models.WindowsUpdates.approvalStatus::0002-unknownFutureValue +Microsoft.Graph.Beta.Models.WindowsUpdates.approvedBy::0000-system +Microsoft.Graph.Beta.Models.WindowsUpdates.approvedBy::0001-user +Microsoft.Graph.Beta.Models.WindowsUpdates.approvedBy::0002-unknownFutureValue Microsoft.Graph.Beta.Models.WindowsUpdates.assignedGroup::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.WindowsUpdates.assignedGroup::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.WindowsUpdates.assignedGroup::|public|constructor():void @@ -247334,6 +248328,75 @@ Microsoft.Graph.Beta.Models.WindowsUpdates.deploymentStateValue::0003-faulted Microsoft.Graph.Beta.Models.WindowsUpdates.deploymentStateValue::0004-archived Microsoft.Graph.Beta.Models.WindowsUpdates.deploymentStateValue::0005-unknownFutureValue Microsoft.Graph.Beta.Models.WindowsUpdates.deploymentState~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.WindowsUpdates.deviceClientState::0000-offering +Microsoft.Graph.Beta.Models.WindowsUpdates.deviceClientState::0001-onHold +Microsoft.Graph.Beta.Models.WindowsUpdates.deviceClientState::0002-installing +Microsoft.Graph.Beta.Models.WindowsUpdates.deviceClientState::0003-installed +Microsoft.Graph.Beta.Models.WindowsUpdates.deviceClientState::0004-cancelled +Microsoft.Graph.Beta.Models.WindowsUpdates.deviceClientState::0005-uninstalling +Microsoft.Graph.Beta.Models.WindowsUpdates.deviceClientState::0006-uninstalled +Microsoft.Graph.Beta.Models.WindowsUpdates.deviceClientState::0007-notOffering +Microsoft.Graph.Beta.Models.WindowsUpdates.deviceClientState::0008-unknownFutureValue +Microsoft.Graph.Beta.Models.WindowsUpdates.deviceClientSubstate::0000-deferred +Microsoft.Graph.Beta.Models.WindowsUpdates.deviceClientSubstate::0001-offerReady +Microsoft.Graph.Beta.Models.WindowsUpdates.deviceClientSubstate::0002-paused +Microsoft.Graph.Beta.Models.WindowsUpdates.deviceClientSubstate::0003-offerReceived +Microsoft.Graph.Beta.Models.WindowsUpdates.deviceClientSubstate::0004-downloadStart +Microsoft.Graph.Beta.Models.WindowsUpdates.deviceClientSubstate::0005-downloadComplete +Microsoft.Graph.Beta.Models.WindowsUpdates.deviceClientSubstate::0006-installStart +Microsoft.Graph.Beta.Models.WindowsUpdates.deviceClientSubstate::0007-installComplete +Microsoft.Graph.Beta.Models.WindowsUpdates.deviceClientSubstate::0008-restartRequired +Microsoft.Graph.Beta.Models.WindowsUpdates.deviceClientSubstate::0009-restartInitiated +Microsoft.Graph.Beta.Models.WindowsUpdates.deviceClientSubstate::0010-restartComplete +Microsoft.Graph.Beta.Models.WindowsUpdates.deviceClientSubstate::0011-updateInstalled +Microsoft.Graph.Beta.Models.WindowsUpdates.deviceClientSubstate::0012-rollbackComplete +Microsoft.Graph.Beta.Models.WindowsUpdates.deviceClientSubstate::0013-userCancelled +Microsoft.Graph.Beta.Models.WindowsUpdates.deviceClientSubstate::0014-deviceCancelled +Microsoft.Graph.Beta.Models.WindowsUpdates.deviceClientSubstate::0015-uninstall +Microsoft.Graph.Beta.Models.WindowsUpdates.deviceClientSubstate::0016-rollback +Microsoft.Graph.Beta.Models.WindowsUpdates.deviceClientSubstate::0017-updateUninstalled +Microsoft.Graph.Beta.Models.WindowsUpdates.deviceClientSubstate::0018-notSupported +Microsoft.Graph.Beta.Models.WindowsUpdates.deviceClientSubstate::0019-previousUpdateInProgress +Microsoft.Graph.Beta.Models.WindowsUpdates.deviceClientSubstate::0020-unknownFutureValue +Microsoft.Graph.Beta.Models.WindowsUpdates.deviceProfile-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.WindowsUpdates.deviceProfile::|public|AzureAdDeviceId:string +Microsoft.Graph.Beta.Models.WindowsUpdates.deviceProfile::|public|DeviceModel:string +Microsoft.Graph.Beta.Models.WindowsUpdates.deviceProfile::|public|DeviceName:string +Microsoft.Graph.Beta.Models.WindowsUpdates.deviceProfile::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.WindowsUpdates.deviceProfile::|public|HotpatchReadiness:global.Microsoft.Graph.Beta.Models.WindowsUpdates.HotpatchReadiness? +Microsoft.Graph.Beta.Models.WindowsUpdates.deviceProfile::|public|OdataType:string +Microsoft.Graph.Beta.Models.WindowsUpdates.deviceProfile::|public|OsBuild:string +Microsoft.Graph.Beta.Models.WindowsUpdates.deviceProfile::|public|OsStatus:global.Microsoft.Graph.Beta.Models.WindowsUpdates.OsStatus? +Microsoft.Graph.Beta.Models.WindowsUpdates.deviceProfile::|public|OsVersion:string +Microsoft.Graph.Beta.Models.WindowsUpdates.deviceProfile::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.WindowsUpdates.deviceProfile::|public|SerialNumber:string +Microsoft.Graph.Beta.Models.WindowsUpdates.deviceProfile::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.WindowsUpdates.DeviceProfile +Microsoft.Graph.Beta.Models.WindowsUpdates.deviceProfileCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Models.WindowsUpdates.deviceProfileCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.WindowsUpdates.deviceProfileCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.WindowsUpdates.deviceProfileCollectionResponse::|public|Value:List +Microsoft.Graph.Beta.Models.WindowsUpdates.deviceProfileCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.WindowsUpdates.DeviceProfileCollectionResponse +Microsoft.Graph.Beta.Models.WindowsUpdates.deviceServiceState::0000-unknown +Microsoft.Graph.Beta.Models.WindowsUpdates.deviceServiceState::0001-pending +Microsoft.Graph.Beta.Models.WindowsUpdates.deviceServiceState::0002-offering +Microsoft.Graph.Beta.Models.WindowsUpdates.deviceServiceState::0003-onHold +Microsoft.Graph.Beta.Models.WindowsUpdates.deviceServiceState::0004-cancelled +Microsoft.Graph.Beta.Models.WindowsUpdates.deviceServiceState::0005-notOffering +Microsoft.Graph.Beta.Models.WindowsUpdates.deviceServiceState::0006-unknownFutureValue +Microsoft.Graph.Beta.Models.WindowsUpdates.deviceServiceSubstate::0000-unknown +Microsoft.Graph.Beta.Models.WindowsUpdates.deviceServiceSubstate::0001-scheduled +Microsoft.Graph.Beta.Models.WindowsUpdates.deviceServiceSubstate::0002-offerReady +Microsoft.Graph.Beta.Models.WindowsUpdates.deviceServiceSubstate::0003-adminPaused +Microsoft.Graph.Beta.Models.WindowsUpdates.deviceServiceSubstate::0004-adminCancelled +Microsoft.Graph.Beta.Models.WindowsUpdates.deviceServiceSubstate::0005-removedFromDeployment +Microsoft.Graph.Beta.Models.WindowsUpdates.deviceServiceSubstate::0006-notOffering +Microsoft.Graph.Beta.Models.WindowsUpdates.deviceServiceSubstate::0007-unknownFutureValue +Microsoft.Graph.Beta.Models.WindowsUpdates.driverUpdateApprovalRule-->global.Microsoft.Graph.Beta.Models.WindowsUpdates.ApprovalRule +Microsoft.Graph.Beta.Models.WindowsUpdates.driverUpdateApprovalRule::|public|constructor():void +Microsoft.Graph.Beta.Models.WindowsUpdates.driverUpdateApprovalRule::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.WindowsUpdates.driverUpdateApprovalRule::|public|OdataType:string +Microsoft.Graph.Beta.Models.WindowsUpdates.driverUpdateApprovalRule::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.WindowsUpdates.driverUpdateApprovalRule::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.WindowsUpdates.DriverUpdateApprovalRule Microsoft.Graph.Beta.Models.WindowsUpdates.driverUpdateCatalogEntry-->global.Microsoft.Graph.Beta.Models.WindowsUpdates.SoftwareUpdateCatalogEntry Microsoft.Graph.Beta.Models.WindowsUpdates.driverUpdateCatalogEntry::|public|constructor():void Microsoft.Graph.Beta.Models.WindowsUpdates.driverUpdateCatalogEntry::|public|Description:string @@ -247347,12 +248410,61 @@ Microsoft.Graph.Beta.Models.WindowsUpdates.driverUpdateCatalogEntry::|public|Set Microsoft.Graph.Beta.Models.WindowsUpdates.driverUpdateCatalogEntry::|public|Version:string Microsoft.Graph.Beta.Models.WindowsUpdates.driverUpdateCatalogEntry::|public|VersionDateTime:DateTimeOffset? Microsoft.Graph.Beta.Models.WindowsUpdates.driverUpdateCatalogEntry::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.WindowsUpdates.DriverUpdateCatalogEntry +Microsoft.Graph.Beta.Models.WindowsUpdates.driverUpdateDeviceStatus-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.WindowsUpdates.driverUpdateDeviceStatus::|public|AadDeviceId:string +Microsoft.Graph.Beta.Models.WindowsUpdates.driverUpdateDeviceStatus::|public|ClientState:global.Microsoft.Graph.Beta.Models.WindowsUpdates.DeviceClientState? +Microsoft.Graph.Beta.Models.WindowsUpdates.driverUpdateDeviceStatus::|public|ClientSubstate:global.Microsoft.Graph.Beta.Models.WindowsUpdates.DeviceClientSubstate? +Microsoft.Graph.Beta.Models.WindowsUpdates.driverUpdateDeviceStatus::|public|DeviceName:string +Microsoft.Graph.Beta.Models.WindowsUpdates.driverUpdateDeviceStatus::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.WindowsUpdates.driverUpdateDeviceStatus::|public|LastEventDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.WindowsUpdates.driverUpdateDeviceStatus::|public|OdataType:string +Microsoft.Graph.Beta.Models.WindowsUpdates.driverUpdateDeviceStatus::|public|PolicyId:string +Microsoft.Graph.Beta.Models.WindowsUpdates.driverUpdateDeviceStatus::|public|PolicyName:string +Microsoft.Graph.Beta.Models.WindowsUpdates.driverUpdateDeviceStatus::|public|RingId:string +Microsoft.Graph.Beta.Models.WindowsUpdates.driverUpdateDeviceStatus::|public|RingName:string +Microsoft.Graph.Beta.Models.WindowsUpdates.driverUpdateDeviceStatus::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.WindowsUpdates.driverUpdateDeviceStatus::|public|ServiceState:global.Microsoft.Graph.Beta.Models.WindowsUpdates.DeviceServiceState? +Microsoft.Graph.Beta.Models.WindowsUpdates.driverUpdateDeviceStatus::|public|ServiceSubstate:global.Microsoft.Graph.Beta.Models.WindowsUpdates.DeviceServiceSubstate? +Microsoft.Graph.Beta.Models.WindowsUpdates.driverUpdateDeviceStatus::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.WindowsUpdates.DriverUpdateDeviceStatus +Microsoft.Graph.Beta.Models.WindowsUpdates.driverUpdateDeviceStatusCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Models.WindowsUpdates.driverUpdateDeviceStatusCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.WindowsUpdates.driverUpdateDeviceStatusCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.WindowsUpdates.driverUpdateDeviceStatusCollectionResponse::|public|Value:List +Microsoft.Graph.Beta.Models.WindowsUpdates.driverUpdateDeviceStatusCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.WindowsUpdates.DriverUpdateDeviceStatusCollectionResponse Microsoft.Graph.Beta.Models.WindowsUpdates.driverUpdateFilter-->global.Microsoft.Graph.Beta.Models.WindowsUpdates.WindowsUpdateFilter Microsoft.Graph.Beta.Models.WindowsUpdates.driverUpdateFilter::|public|constructor():void Microsoft.Graph.Beta.Models.WindowsUpdates.driverUpdateFilter::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.WindowsUpdates.driverUpdateFilter::|public|OdataType:string Microsoft.Graph.Beta.Models.WindowsUpdates.driverUpdateFilter::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.WindowsUpdates.driverUpdateFilter::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.WindowsUpdates.DriverUpdateFilter +Microsoft.Graph.Beta.Models.WindowsUpdates.driverUpdatePolicy-->global.Microsoft.Graph.Beta.Models.WindowsUpdates.Policy +Microsoft.Graph.Beta.Models.WindowsUpdates.driverUpdatePolicy::|public|constructor():void +Microsoft.Graph.Beta.Models.WindowsUpdates.driverUpdatePolicy::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.WindowsUpdates.driverUpdatePolicy::|public|OdataType:string +Microsoft.Graph.Beta.Models.WindowsUpdates.driverUpdatePolicy::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.WindowsUpdates.driverUpdatePolicy::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.WindowsUpdates.DriverUpdatePolicy +Microsoft.Graph.Beta.Models.WindowsUpdates.driverUpdateReport-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.WindowsUpdates.driverUpdateReport::|public|Class:string +Microsoft.Graph.Beta.Models.WindowsUpdates.driverUpdateReport::|public|DeviceStatuses:List +Microsoft.Graph.Beta.Models.WindowsUpdates.driverUpdateReport::|public|DisplayName:string +Microsoft.Graph.Beta.Models.WindowsUpdates.driverUpdateReport::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.WindowsUpdates.driverUpdateReport::|public|Manufacturer:string +Microsoft.Graph.Beta.Models.WindowsUpdates.driverUpdateReport::|public|OdataType:string +Microsoft.Graph.Beta.Models.WindowsUpdates.driverUpdateReport::|public|ReleaseDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.WindowsUpdates.driverUpdateReport::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.WindowsUpdates.driverUpdateReport::|public|Version:string +Microsoft.Graph.Beta.Models.WindowsUpdates.driverUpdateReport::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.WindowsUpdates.DriverUpdateReport +Microsoft.Graph.Beta.Models.WindowsUpdates.driverUpdateReportCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Models.WindowsUpdates.driverUpdateReportCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.WindowsUpdates.driverUpdateReportCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.WindowsUpdates.driverUpdateReportCollectionResponse::|public|Value:List +Microsoft.Graph.Beta.Models.WindowsUpdates.driverUpdateReportCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.WindowsUpdates.DriverUpdateReportCollectionResponse +Microsoft.Graph.Beta.Models.WindowsUpdates.driverUpdateRing-->global.Microsoft.Graph.Beta.Models.WindowsUpdates.Ring +Microsoft.Graph.Beta.Models.WindowsUpdates.driverUpdateRing::|public|constructor():void +Microsoft.Graph.Beta.Models.WindowsUpdates.driverUpdateRing::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.WindowsUpdates.driverUpdateRing::|public|OdataType:string +Microsoft.Graph.Beta.Models.WindowsUpdates.driverUpdateRing::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.WindowsUpdates.driverUpdateRing::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.WindowsUpdates.DriverUpdateRing Microsoft.Graph.Beta.Models.WindowsUpdates.durationDrivenRolloutSettings-->global.Microsoft.Graph.Beta.Models.WindowsUpdates.GradualRolloutSettings Microsoft.Graph.Beta.Models.WindowsUpdates.durationDrivenRolloutSettings::|public|constructor():void Microsoft.Graph.Beta.Models.WindowsUpdates.durationDrivenRolloutSettings::|public|DurationUntilDeploymentEnd:TimeSpan? @@ -247408,6 +248520,21 @@ Microsoft.Graph.Beta.Models.WindowsUpdates.featureUpdateCatalogEntry::|public|Od Microsoft.Graph.Beta.Models.WindowsUpdates.featureUpdateCatalogEntry::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.WindowsUpdates.featureUpdateCatalogEntry::|public|Version:string Microsoft.Graph.Beta.Models.WindowsUpdates.featureUpdateCatalogEntry::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.WindowsUpdates.FeatureUpdateCatalogEntry +Microsoft.Graph.Beta.Models.WindowsUpdates.featureUpdatePolicy-->global.Microsoft.Graph.Beta.Models.WindowsUpdates.Policy +Microsoft.Graph.Beta.Models.WindowsUpdates.featureUpdatePolicy::|public|constructor():void +Microsoft.Graph.Beta.Models.WindowsUpdates.featureUpdatePolicy::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.WindowsUpdates.featureUpdatePolicy::|public|OdataType:string +Microsoft.Graph.Beta.Models.WindowsUpdates.featureUpdatePolicy::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.WindowsUpdates.featureUpdatePolicy::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.WindowsUpdates.FeatureUpdatePolicy +Microsoft.Graph.Beta.Models.WindowsUpdates.featureUpdateRing-->global.Microsoft.Graph.Beta.Models.WindowsUpdates.Ring +Microsoft.Graph.Beta.Models.WindowsUpdates.featureUpdateRing::|public|constructor():void +Microsoft.Graph.Beta.Models.WindowsUpdates.featureUpdateRing::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.WindowsUpdates.featureUpdateRing::|public|IsOfferOptional:bool? +Microsoft.Graph.Beta.Models.WindowsUpdates.featureUpdateRing::|public|OdataType:string +Microsoft.Graph.Beta.Models.WindowsUpdates.featureUpdateRing::|public|OfferDurationInDays:int? +Microsoft.Graph.Beta.Models.WindowsUpdates.featureUpdateRing::|public|OfferIntervalInDays:int? +Microsoft.Graph.Beta.Models.WindowsUpdates.featureUpdateRing::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.WindowsUpdates.featureUpdateRing::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.WindowsUpdates.FeatureUpdateRing Microsoft.Graph.Beta.Models.WindowsUpdates.gradualRolloutSettings::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.WindowsUpdates.gradualRolloutSettings::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.WindowsUpdates.gradualRolloutSettings::|public|constructor():void @@ -247425,6 +248552,9 @@ Microsoft.Graph.Beta.Models.WindowsUpdates.groupAssignment::|public|OdataType:st Microsoft.Graph.Beta.Models.WindowsUpdates.groupAssignment::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.WindowsUpdates.groupAssignment::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.WindowsUpdates.GroupAssignment Microsoft.Graph.Beta.Models.WindowsUpdates.groupAssignment~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.WindowsUpdates.hotpatchReadiness::0000-ready +Microsoft.Graph.Beta.Models.WindowsUpdates.hotpatchReadiness::0001-notReady +Microsoft.Graph.Beta.Models.WindowsUpdates.hotpatchReadiness::0002-unknownFutureValue Microsoft.Graph.Beta.Models.WindowsUpdates.includedGroupAssignment-->global.Microsoft.Graph.Beta.Models.WindowsUpdates.GroupAssignment Microsoft.Graph.Beta.Models.WindowsUpdates.includedGroupAssignment::|public|Assignments:List Microsoft.Graph.Beta.Models.WindowsUpdates.includedGroupAssignment::|public|constructor():void @@ -247479,6 +248609,21 @@ Microsoft.Graph.Beta.Models.WindowsUpdates.knownIssueHistoryItem::|public|OdataT Microsoft.Graph.Beta.Models.WindowsUpdates.knownIssueHistoryItem::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.WindowsUpdates.knownIssueHistoryItem::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.WindowsUpdates.KnownIssueHistoryItem Microsoft.Graph.Beta.Models.WindowsUpdates.knownIssueHistoryItem~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.WindowsUpdates.mdmAppSetting::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.WindowsUpdates.mdmAppSetting::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.WindowsUpdates.mdmAppSetting::|public|constructor():void +Microsoft.Graph.Beta.Models.WindowsUpdates.mdmAppSetting::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.WindowsUpdates.mdmAppSetting::|public|IsHotpatchEnabled:bool? +Microsoft.Graph.Beta.Models.WindowsUpdates.mdmAppSetting::|public|MdmAppId:string +Microsoft.Graph.Beta.Models.WindowsUpdates.mdmAppSetting::|public|OdataType:string +Microsoft.Graph.Beta.Models.WindowsUpdates.mdmAppSetting::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.WindowsUpdates.mdmAppSetting::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.WindowsUpdates.MdmAppSetting +Microsoft.Graph.Beta.Models.WindowsUpdates.mdmAppSettingCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Models.WindowsUpdates.mdmAppSettingCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.WindowsUpdates.mdmAppSettingCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.WindowsUpdates.mdmAppSettingCollectionResponse::|public|Value:List +Microsoft.Graph.Beta.Models.WindowsUpdates.mdmAppSettingCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.WindowsUpdates.MdmAppSettingCollectionResponse +Microsoft.Graph.Beta.Models.WindowsUpdates.mdmAppSetting~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.WindowsUpdates.monitoringAction::0000-alertError Microsoft.Graph.Beta.Models.WindowsUpdates.monitoringAction::0001-offerFallback Microsoft.Graph.Beta.Models.WindowsUpdates.monitoringAction::0002-pauseDeployment @@ -247515,7 +248660,12 @@ Microsoft.Graph.Beta.Models.WindowsUpdates.operationalInsightsConnection::|publi Microsoft.Graph.Beta.Models.WindowsUpdates.operationalInsightsConnection::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.WindowsUpdates.operationalInsightsConnection::|public|WorkspaceName:string Microsoft.Graph.Beta.Models.WindowsUpdates.operationalInsightsConnection::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.WindowsUpdates.OperationalInsightsConnection +Microsoft.Graph.Beta.Models.WindowsUpdates.osStatus::0000-endOfServicing +Microsoft.Graph.Beta.Models.WindowsUpdates.osStatus::0001-inServicing +Microsoft.Graph.Beta.Models.WindowsUpdates.osStatus::0002-nearEndOfServicing +Microsoft.Graph.Beta.Models.WindowsUpdates.osStatus::0003-unknownFutureValue Microsoft.Graph.Beta.Models.WindowsUpdates.policy-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.WindowsUpdates.policy::|public|ApplicableCatalogs:List Microsoft.Graph.Beta.Models.WindowsUpdates.policy::|public|ApplicableContent:List Microsoft.Graph.Beta.Models.WindowsUpdates.policy::|public|ApprovalRules:List Microsoft.Graph.Beta.Models.WindowsUpdates.policy::|public|Approvals:List @@ -247529,6 +248679,7 @@ Microsoft.Graph.Beta.Models.WindowsUpdates.policy::|public|Rings:Listglobal.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.WindowsUpdates.policyApproval::|public|ApprovedBy:global.Microsoft.Graph.Beta.Models.WindowsUpdates.ApprovedBy? Microsoft.Graph.Beta.Models.WindowsUpdates.policyApproval::|public|CatalogEntry:global.Microsoft.Graph.Beta.Models.WindowsUpdates.CatalogEntry Microsoft.Graph.Beta.Models.WindowsUpdates.policyApproval::|public|CatalogEntryId:string Microsoft.Graph.Beta.Models.WindowsUpdates.policyApproval::|public|CreatedDateTime:DateTimeOffset? @@ -247536,6 +248687,7 @@ Microsoft.Graph.Beta.Models.WindowsUpdates.policyApproval::|public|GetFieldDeser Microsoft.Graph.Beta.Models.WindowsUpdates.policyApproval::|public|LastModifiedDateTime:DateTimeOffset? Microsoft.Graph.Beta.Models.WindowsUpdates.policyApproval::|public|OdataType:string Microsoft.Graph.Beta.Models.WindowsUpdates.policyApproval::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.WindowsUpdates.policyApproval::|public|StartDateTime:DateTimeOffset? Microsoft.Graph.Beta.Models.WindowsUpdates.policyApproval::|public|Status:global.Microsoft.Graph.Beta.Models.WindowsUpdates.ApprovalStatus? Microsoft.Graph.Beta.Models.WindowsUpdates.policyApproval::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.WindowsUpdates.PolicyApproval Microsoft.Graph.Beta.Models.WindowsUpdates.policyApprovalCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse @@ -247543,6 +248695,20 @@ Microsoft.Graph.Beta.Models.WindowsUpdates.policyApprovalCollectionResponse::|pu Microsoft.Graph.Beta.Models.WindowsUpdates.policyApprovalCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.WindowsUpdates.policyApprovalCollectionResponse::|public|Value:List Microsoft.Graph.Beta.Models.WindowsUpdates.policyApprovalCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.WindowsUpdates.PolicyApprovalCollectionResponse +Microsoft.Graph.Beta.Models.WindowsUpdates.policyAssignment-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.WindowsUpdates.policyAssignment::|public|AzureAdDeviceId:string +Microsoft.Graph.Beta.Models.WindowsUpdates.policyAssignment::|public|DeviceProfile:global.Microsoft.Graph.Beta.Models.WindowsUpdates.DeviceProfile +Microsoft.Graph.Beta.Models.WindowsUpdates.policyAssignment::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.WindowsUpdates.policyAssignment::|public|OdataType:string +Microsoft.Graph.Beta.Models.WindowsUpdates.policyAssignment::|public|PolicyId:string +Microsoft.Graph.Beta.Models.WindowsUpdates.policyAssignment::|public|PolicyName:string +Microsoft.Graph.Beta.Models.WindowsUpdates.policyAssignment::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.WindowsUpdates.policyAssignment::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.WindowsUpdates.PolicyAssignment +Microsoft.Graph.Beta.Models.WindowsUpdates.policyAssignmentCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Models.WindowsUpdates.policyAssignmentCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.WindowsUpdates.policyAssignmentCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.WindowsUpdates.policyAssignmentCollectionResponse::|public|Value:List +Microsoft.Graph.Beta.Models.WindowsUpdates.policyAssignmentCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.WindowsUpdates.PolicyAssignmentCollectionResponse Microsoft.Graph.Beta.Models.WindowsUpdates.policyCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse Microsoft.Graph.Beta.Models.WindowsUpdates.policyCollectionResponse::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.WindowsUpdates.policyCollectionResponse::|public|Serialize(writer:ISerializationWriter):void @@ -247762,6 +248928,13 @@ Microsoft.Graph.Beta.Models.WindowsUpdates.softwareUpdateFilter::|public|GetFiel Microsoft.Graph.Beta.Models.WindowsUpdates.softwareUpdateFilter::|public|OdataType:string Microsoft.Graph.Beta.Models.WindowsUpdates.softwareUpdateFilter::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.WindowsUpdates.softwareUpdateFilter::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.WindowsUpdates.SoftwareUpdateFilter +Microsoft.Graph.Beta.Models.WindowsUpdates.tenantSetting-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.WindowsUpdates.tenantSetting::|public|AreDataProcessorServiceForWindowsFeaturesEnabled:bool? +Microsoft.Graph.Beta.Models.WindowsUpdates.tenantSetting::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.WindowsUpdates.tenantSetting::|public|MdmAppSettings:List +Microsoft.Graph.Beta.Models.WindowsUpdates.tenantSetting::|public|OdataType:string +Microsoft.Graph.Beta.Models.WindowsUpdates.tenantSetting::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.WindowsUpdates.tenantSetting::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.WindowsUpdates.TenantSetting Microsoft.Graph.Beta.Models.WindowsUpdates.updatableAsset-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.WindowsUpdates.updatableAsset::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.WindowsUpdates.updatableAsset::|public|OdataType:string @@ -247801,6 +248974,15 @@ Microsoft.Graph.Beta.Models.WindowsUpdates.updateCategoryEnrollmentInformation:: Microsoft.Graph.Beta.Models.WindowsUpdates.updateCategoryEnrollmentInformation::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.WindowsUpdates.updateCategoryEnrollmentInformation::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.WindowsUpdates.UpdateCategoryEnrollmentInformation Microsoft.Graph.Beta.Models.WindowsUpdates.updateCategoryEnrollmentInformation~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.WindowsUpdates.updateData-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.WindowsUpdates.updateData::|public|ApplicableCatalogSummaries:List +Microsoft.Graph.Beta.Models.WindowsUpdates.updateData::|public|DeviceProfiles:List +Microsoft.Graph.Beta.Models.WindowsUpdates.updateData::|public|Drivers:List +Microsoft.Graph.Beta.Models.WindowsUpdates.updateData::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.WindowsUpdates.updateData::|public|OdataType:string +Microsoft.Graph.Beta.Models.WindowsUpdates.updateData::|public|PolicyAssignments:List +Microsoft.Graph.Beta.Models.WindowsUpdates.updateData::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.WindowsUpdates.updateData::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.WindowsUpdates.UpdateData Microsoft.Graph.Beta.Models.WindowsUpdates.updateManagementEnrollment::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.WindowsUpdates.updateManagementEnrollment::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.WindowsUpdates.updateManagementEnrollment::|public|constructor():void @@ -250898,30 +252080,31 @@ Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessCrossTenan Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessCrossTenantAccessReportWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessCrossTenantAccessReportWithStartDateTimeWithEndDateTimeRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessCrossTenantAccessReportWithStartDateTimeWithEndDateTime.CrossTenantAccessReportWithStartDateTimeWithEndDateTimeResponse Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessCrossTenantAccessReportWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessCrossTenantAccessReportWithStartDateTimeWithEndDateTimeRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessCrossTenantAccessReportWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessCrossTenantAccessReportWithStartDateTimeWithEndDateTimeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessCrossTenantAccessReportWithStartDateTimeWithEndDateTime.MicrosoftGraphNetworkaccessCrossTenantAccessReportWithStartDateTimeWithEndDateTimeRequestBuilder -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualId.destinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdGetResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualId.destinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdGetResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualId.destinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdGetResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualId.destinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdGetResponse::|public|Value:List -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualId.destinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualId.DestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdGetResponse -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualId.destinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdResponse-->global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualId.DestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdGetResponse -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualId.destinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualId.DestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdResponse -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualId.microsoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualId.microsoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdRequestBuilder.microsoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdRequestBuilderGetQueryParameters::|public|AgentTypeId:string -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualId.microsoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdRequestBuilder.microsoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdRequestBuilderGetQueryParameters::|public|AgentVirtualId:string -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualId.microsoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdRequestBuilder.microsoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdRequestBuilderGetQueryParameters::|public|AiAgentId:string -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualId.microsoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdRequestBuilder.microsoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdRequestBuilderGetQueryParameters::|public|AiAgentName:string -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualId.microsoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdRequestBuilder.microsoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualId.microsoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdRequestBuilder.microsoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualId.microsoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdRequestBuilder.microsoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualId.microsoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdRequestBuilder.microsoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualId.microsoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdRequestBuilder.microsoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualId.microsoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdRequestBuilder.microsoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualId.microsoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter; endDateTime?:DateTimeOffset?; startDateTime?:DateTimeOffset?):void -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualId.microsoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualId.microsoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdRequestBuilder::|public|GetAsDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualId.DestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdGetResponse -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualId.microsoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualId.DestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdResponse -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualId.microsoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualId.microsoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualId.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdRequestBuilder +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategory.destinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategoryGetResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategory.destinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategoryGetResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategory.destinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategoryGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategory.destinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategoryGetResponse::|public|Value:List +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategory.destinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategoryGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategory.DestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategoryGetResponse +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategory.destinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategoryResponse-->global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategory.DestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategoryGetResponse +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategory.destinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategoryResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategory.DestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategoryResponse +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategory.microsoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategoryRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategory.microsoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategoryRequestBuilder.microsoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategoryRequestBuilderGetQueryParameters::|public|AgentTypeId:string +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategory.microsoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategoryRequestBuilder.microsoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategoryRequestBuilderGetQueryParameters::|public|AgentVirtualId:string +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategory.microsoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategoryRequestBuilder.microsoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategoryRequestBuilderGetQueryParameters::|public|AiAgentId:string +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategory.microsoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategoryRequestBuilder.microsoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategoryRequestBuilderGetQueryParameters::|public|AiAgentName:string +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategory.microsoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategoryRequestBuilder.microsoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategoryRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategory.microsoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategoryRequestBuilder.microsoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategoryRequestBuilderGetQueryParameters::|public|DeviceCategory:string +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategory.microsoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategoryRequestBuilder.microsoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategoryRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategory.microsoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategoryRequestBuilder.microsoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategoryRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategory.microsoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategoryRequestBuilder.microsoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategoryRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategory.microsoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategoryRequestBuilder.microsoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategoryRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategory.microsoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategoryRequestBuilder.microsoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategoryRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategory.microsoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategoryRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter; endDateTime?:DateTimeOffset?; startDateTime?:DateTimeOffset?):void +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategory.microsoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategoryRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategory.microsoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategoryRequestBuilder::|public|GetAsDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategoryGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategory.DestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategoryGetResponse +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategory.microsoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategoryRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategory.DestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategoryResponse +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategory.microsoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategoryRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategory.microsoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategoryRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategory.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategoryRequestBuilder Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdAiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdCloudApplicationNameCloudApplicationNameDestinationUrlDestinationUrl.deviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdAiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdCloudApplicationNameCloudApplicationNameDestinationUrlDestinationUrlGetResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdAiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdCloudApplicationNameCloudApplicationNameDestinationUrlDestinationUrl.deviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdAiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdCloudApplicationNameCloudApplicationNameDestinationUrlDestinationUrlGetResponse::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdAiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdCloudApplicationNameCloudApplicationNameDestinationUrlDestinationUrl.deviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdAiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdCloudApplicationNameCloudApplicationNameDestinationUrlDestinationUrlGetResponse::|public|Serialize(writer:ISerializationWriter):void @@ -251214,7 +252397,7 @@ Microsoft.Graph.Beta.NetworkAccess.Reports.reportsRequestBuilder::|public|constr Microsoft.Graph.Beta.NetworkAccess.Reports.reportsRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.NetworkAccess.Reports.reportsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Networkaccess.Reports Microsoft.Graph.Beta.NetworkAccess.Reports.reportsRequestBuilder::|public|microsoftGraphNetworkaccessCrossTenantAccessReportWithStartDateTimeWithEndDateTime(endDateTime:DateTimeOffset?; startDateTime:DateTimeOffset?):global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessCrossTenantAccessReportWithStartDateTimeWithEndDateTime.MicrosoftGraphNetworkaccessCrossTenantAccessReportWithStartDateTimeWithEndDateTimeRequestBuilder -Microsoft.Graph.Beta.NetworkAccess.Reports.reportsRequestBuilder::|public|microsoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualId(endDateTime:DateTimeOffset?; startDateTime:DateTimeOffset?):global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualId.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdRequestBuilder +Microsoft.Graph.Beta.NetworkAccess.Reports.reportsRequestBuilder::|public|microsoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategory(endDateTime:DateTimeOffset?; startDateTime:DateTimeOffset?):global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategory.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeaiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDeviceCategoryDeviceCategoryRequestBuilder Microsoft.Graph.Beta.NetworkAccess.Reports.reportsRequestBuilder::|public|microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdAiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdCloudApplicationNameCloudApplicationNameDestinationUrlDestinationUrl(endDateTime:DateTimeOffset?; startDateTime:DateTimeOffset?):global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdAiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdCloudApplicationNameCloudApplicationNameDestinationUrlDestinationUrl.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdAiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdCloudApplicationNameCloudApplicationNameDestinationUrlDestinationUrlRequestBuilder Microsoft.Graph.Beta.NetworkAccess.Reports.reportsRequestBuilder::|public|microsoftGraphNetworkaccessEntitiesSummariesWithStartDateTimeWithEndDateTime(endDateTime:DateTimeOffset?; startDateTime:DateTimeOffset?):global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessEntitiesSummariesWithStartDateTimeWithEndDateTime.MicrosoftGraphNetworkaccessEntitiesSummariesWithStartDateTimeWithEndDateTimeRequestBuilder Microsoft.Graph.Beta.NetworkAccess.Reports.reportsRequestBuilder::|public|microsoftGraphNetworkaccessGetApplicationUsageAnalyticsWithStartDateTimeWithEndDateTimeWithAggregatedBy(aggregatedBy:string; endDateTime:DateTimeOffset?; startDateTime:DateTimeOffset?):global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetApplicationUsageAnalyticsWithStartDateTimeWithEndDateTimeWithAggregatedBy.MicrosoftGraphNetworkaccessGetApplicationUsageAnalyticsWithStartDateTimeWithEndDateTimeWithAggregatedByRequestBuilder @@ -265010,6 +266193,13 @@ Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUserCountTrendWithPeriodversi Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUserCountTrendWithPeriodversionVersion.getMicrosoft365CopilotUserCountTrendWithPeriodversionVersionRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUserCountTrendWithPeriodversionVersion.getMicrosoft365CopilotUserCountTrendWithPeriodversionVersionRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUserCountTrendWithPeriodversionVersion.getMicrosoft365CopilotUserCountTrendWithPeriodversionVersionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUserCountTrendWithPeriodversionVersion.GetMicrosoft365CopilotUserCountTrendWithPeriodversionVersionRequestBuilder +Microsoft.Graph.Beta.Reports.GetMicrosoft365Emissions.getMicrosoft365EmissionsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Reports.GetMicrosoft365Emissions.getMicrosoft365EmissionsRequestBuilder.getMicrosoft365EmissionsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Reports.GetMicrosoft365Emissions.getMicrosoft365EmissionsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Reports.GetMicrosoft365Emissions.getMicrosoft365EmissionsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Reports.GetMicrosoft365Emissions.getMicrosoft365EmissionsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream +Microsoft.Graph.Beta.Reports.GetMicrosoft365Emissions.getMicrosoft365EmissionsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Reports.GetMicrosoft365Emissions.getMicrosoft365EmissionsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Reports.GetMicrosoft365Emissions.GetMicrosoft365EmissionsRequestBuilder Microsoft.Graph.Beta.Reports.GetOffice365ActivationCounts.getOffice365ActivationCountsRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Reports.GetOffice365ActivationCounts.getOffice365ActivationCountsRequestBuilder.getOffice365ActivationCountsRequestBuilderGetRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Reports.GetOffice365ActivationCounts.getOffice365ActivationCountsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -266725,6 +267915,7 @@ Microsoft.Graph.Beta.Reports.reportsRequestBuilder::|public|getMailboxUsageStora Microsoft.Graph.Beta.Reports.reportsRequestBuilder::|public|getMicrosoft365CopilotUsageUserDetailWithPeriodversionVersion(period:string):global.Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUsageUserDetailWithPeriodversionVersion.GetMicrosoft365CopilotUsageUserDetailWithPeriodversionVersionRequestBuilder Microsoft.Graph.Beta.Reports.reportsRequestBuilder::|public|getMicrosoft365CopilotUserCountSummaryWithPeriodversionVersion(period:string):global.Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUserCountSummaryWithPeriodversionVersion.GetMicrosoft365CopilotUserCountSummaryWithPeriodversionVersionRequestBuilder Microsoft.Graph.Beta.Reports.reportsRequestBuilder::|public|getMicrosoft365CopilotUserCountTrendWithPeriodversionVersion(period:string):global.Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUserCountTrendWithPeriodversionVersion.GetMicrosoft365CopilotUserCountTrendWithPeriodversionVersionRequestBuilder +Microsoft.Graph.Beta.Reports.reportsRequestBuilder::|public|getMicrosoft365Emissions:global.Microsoft.Graph.Beta.Reports.GetMicrosoft365Emissions.GetMicrosoft365EmissionsRequestBuilder Microsoft.Graph.Beta.Reports.reportsRequestBuilder::|public|getOffice365ActivationCounts:global.Microsoft.Graph.Beta.Reports.GetOffice365ActivationCounts.GetOffice365ActivationCountsRequestBuilder Microsoft.Graph.Beta.Reports.reportsRequestBuilder::|public|getOffice365ActivationsUserCounts:global.Microsoft.Graph.Beta.Reports.GetOffice365ActivationsUserCounts.GetOffice365ActivationsUserCountsRequestBuilder Microsoft.Graph.Beta.Reports.reportsRequestBuilder::|public|getOffice365ActivationsUserDetail:global.Microsoft.Graph.Beta.Reports.GetOffice365ActivationsUserDetail.GetOffice365ActivationsUserDetailRequestBuilder @@ -271022,7 +272213,26 @@ Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleAssignmentScheduleReq Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleAssignmentScheduleRequests.Item.UnifiedRoleAssignmentScheduleRequestItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleAssignmentScheduleRequests.Item.UnifiedRoleAssignmentScheduleRequestItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleAssignmentScheduleRequests.Item.UnifiedRoleAssignmentScheduleRequestItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.UnifiedRoleAssignmentScheduleRequest; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleAssignmentScheduleRequests.Item.UnifiedRoleAssignmentScheduleRequestItemRequestBuilder::|public|updateRequest:global.Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleAssignmentScheduleRequests.Item.UpdateRequest.UpdateRequestRequestBuilder Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleAssignmentScheduleRequests.Item.UnifiedRoleAssignmentScheduleRequestItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleAssignmentScheduleRequests.Item.UnifiedRoleAssignmentScheduleRequestItemRequestBuilder +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleAssignmentScheduleRequests.Item.UpdateRequest.updateRequestPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleAssignmentScheduleRequests.Item.UpdateRequest.updateRequestPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleAssignmentScheduleRequests.Item.UpdateRequest.updateRequestPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleAssignmentScheduleRequests.Item.UpdateRequest.updateRequestPostRequestBody::|public|EvaluationId:string +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleAssignmentScheduleRequests.Item.UpdateRequest.updateRequestPostRequestBody::|public|EvaluationOutcome:global.Microsoft.Graph.Beta.Models.EvaluationOutcome? +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleAssignmentScheduleRequests.Item.UpdateRequest.updateRequestPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleAssignmentScheduleRequests.Item.UpdateRequest.updateRequestPostRequestBody::|public|Reason:string +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleAssignmentScheduleRequests.Item.UpdateRequest.updateRequestPostRequestBody::|public|ScheduleInfo:global.Microsoft.Graph.Beta.Models.RequestSchedule +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleAssignmentScheduleRequests.Item.UpdateRequest.updateRequestPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleAssignmentScheduleRequests.Item.UpdateRequest.updateRequestPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleAssignmentScheduleRequests.Item.UpdateRequest.UpdateRequestPostRequestBody +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleAssignmentScheduleRequests.Item.UpdateRequest.updateRequestPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleAssignmentScheduleRequests.Item.UpdateRequest.updateRequestRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleAssignmentScheduleRequests.Item.UpdateRequest.updateRequestRequestBuilder.updateRequestRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleAssignmentScheduleRequests.Item.UpdateRequest.updateRequestRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleAssignmentScheduleRequests.Item.UpdateRequest.updateRequestRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleAssignmentScheduleRequests.Item.UpdateRequest.updateRequestRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleAssignmentScheduleRequests.Item.UpdateRequest.UpdateRequestPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UnifiedRoleAssignmentScheduleRequest +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleAssignmentScheduleRequests.Item.UpdateRequest.updateRequestRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleAssignmentScheduleRequests.Item.UpdateRequest.UpdateRequestPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleAssignmentScheduleRequests.Item.UpdateRequest.updateRequestRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleAssignmentScheduleRequests.Item.UpdateRequest.UpdateRequestRequestBuilder Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleAssignmentScheduleRequests.roleAssignmentScheduleRequestsRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleAssignmentScheduleRequests.roleAssignmentScheduleRequestsRequestBuilder.roleAssignmentScheduleRequestsRequestBuilderGetQueryParameters::|public|Count:bool? Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleAssignmentScheduleRequests.roleAssignmentScheduleRequestsRequestBuilder.roleAssignmentScheduleRequestsRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -272608,7 +273818,26 @@ Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleAssignmentScheduleRe Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleAssignmentScheduleRequests.Item.UnifiedRoleAssignmentScheduleRequestItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleAssignmentScheduleRequests.Item.UnifiedRoleAssignmentScheduleRequestItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleAssignmentScheduleRequests.Item.UnifiedRoleAssignmentScheduleRequestItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.UnifiedRoleAssignmentScheduleRequest; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleAssignmentScheduleRequests.Item.UnifiedRoleAssignmentScheduleRequestItemRequestBuilder::|public|updateRequest:global.Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleAssignmentScheduleRequests.Item.UpdateRequest.UpdateRequestRequestBuilder Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleAssignmentScheduleRequests.Item.UnifiedRoleAssignmentScheduleRequestItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleAssignmentScheduleRequests.Item.UnifiedRoleAssignmentScheduleRequestItemRequestBuilder +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleAssignmentScheduleRequests.Item.UpdateRequest.updateRequestPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleAssignmentScheduleRequests.Item.UpdateRequest.updateRequestPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleAssignmentScheduleRequests.Item.UpdateRequest.updateRequestPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleAssignmentScheduleRequests.Item.UpdateRequest.updateRequestPostRequestBody::|public|EvaluationId:string +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleAssignmentScheduleRequests.Item.UpdateRequest.updateRequestPostRequestBody::|public|EvaluationOutcome:global.Microsoft.Graph.Beta.Models.EvaluationOutcome? +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleAssignmentScheduleRequests.Item.UpdateRequest.updateRequestPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleAssignmentScheduleRequests.Item.UpdateRequest.updateRequestPostRequestBody::|public|Reason:string +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleAssignmentScheduleRequests.Item.UpdateRequest.updateRequestPostRequestBody::|public|ScheduleInfo:global.Microsoft.Graph.Beta.Models.RequestSchedule +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleAssignmentScheduleRequests.Item.UpdateRequest.updateRequestPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleAssignmentScheduleRequests.Item.UpdateRequest.updateRequestPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleAssignmentScheduleRequests.Item.UpdateRequest.UpdateRequestPostRequestBody +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleAssignmentScheduleRequests.Item.UpdateRequest.updateRequestPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleAssignmentScheduleRequests.Item.UpdateRequest.updateRequestRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleAssignmentScheduleRequests.Item.UpdateRequest.updateRequestRequestBuilder.updateRequestRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleAssignmentScheduleRequests.Item.UpdateRequest.updateRequestRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleAssignmentScheduleRequests.Item.UpdateRequest.updateRequestRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleAssignmentScheduleRequests.Item.UpdateRequest.updateRequestRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleAssignmentScheduleRequests.Item.UpdateRequest.UpdateRequestPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UnifiedRoleAssignmentScheduleRequest +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleAssignmentScheduleRequests.Item.UpdateRequest.updateRequestRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleAssignmentScheduleRequests.Item.UpdateRequest.UpdateRequestPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleAssignmentScheduleRequests.Item.UpdateRequest.updateRequestRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleAssignmentScheduleRequests.Item.UpdateRequest.UpdateRequestRequestBuilder Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleAssignmentScheduleRequests.roleAssignmentScheduleRequestsRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleAssignmentScheduleRequests.roleAssignmentScheduleRequestsRequestBuilder.roleAssignmentScheduleRequestsRequestBuilderGetQueryParameters::|public|Count:bool? Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleAssignmentScheduleRequests.roleAssignmentScheduleRequestsRequestBuilder.roleAssignmentScheduleRequestsRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -274165,7 +275394,26 @@ Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleAssignmentSchedule Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleAssignmentScheduleRequests.Item.UnifiedRoleAssignmentScheduleRequestItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleAssignmentScheduleRequests.Item.UnifiedRoleAssignmentScheduleRequestItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleAssignmentScheduleRequests.Item.UnifiedRoleAssignmentScheduleRequestItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.UnifiedRoleAssignmentScheduleRequest; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleAssignmentScheduleRequests.Item.UnifiedRoleAssignmentScheduleRequestItemRequestBuilder::|public|updateRequest:global.Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleAssignmentScheduleRequests.Item.UpdateRequest.UpdateRequestRequestBuilder Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleAssignmentScheduleRequests.Item.UnifiedRoleAssignmentScheduleRequestItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleAssignmentScheduleRequests.Item.UnifiedRoleAssignmentScheduleRequestItemRequestBuilder +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleAssignmentScheduleRequests.Item.UpdateRequest.updateRequestPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleAssignmentScheduleRequests.Item.UpdateRequest.updateRequestPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleAssignmentScheduleRequests.Item.UpdateRequest.updateRequestPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleAssignmentScheduleRequests.Item.UpdateRequest.updateRequestPostRequestBody::|public|EvaluationId:string +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleAssignmentScheduleRequests.Item.UpdateRequest.updateRequestPostRequestBody::|public|EvaluationOutcome:global.Microsoft.Graph.Beta.Models.EvaluationOutcome? +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleAssignmentScheduleRequests.Item.UpdateRequest.updateRequestPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleAssignmentScheduleRequests.Item.UpdateRequest.updateRequestPostRequestBody::|public|Reason:string +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleAssignmentScheduleRequests.Item.UpdateRequest.updateRequestPostRequestBody::|public|ScheduleInfo:global.Microsoft.Graph.Beta.Models.RequestSchedule +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleAssignmentScheduleRequests.Item.UpdateRequest.updateRequestPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleAssignmentScheduleRequests.Item.UpdateRequest.updateRequestPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleAssignmentScheduleRequests.Item.UpdateRequest.UpdateRequestPostRequestBody +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleAssignmentScheduleRequests.Item.UpdateRequest.updateRequestPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleAssignmentScheduleRequests.Item.UpdateRequest.updateRequestRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleAssignmentScheduleRequests.Item.UpdateRequest.updateRequestRequestBuilder.updateRequestRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleAssignmentScheduleRequests.Item.UpdateRequest.updateRequestRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleAssignmentScheduleRequests.Item.UpdateRequest.updateRequestRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleAssignmentScheduleRequests.Item.UpdateRequest.updateRequestRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleAssignmentScheduleRequests.Item.UpdateRequest.UpdateRequestPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UnifiedRoleAssignmentScheduleRequest +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleAssignmentScheduleRequests.Item.UpdateRequest.updateRequestRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleAssignmentScheduleRequests.Item.UpdateRequest.UpdateRequestPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleAssignmentScheduleRequests.Item.UpdateRequest.updateRequestRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleAssignmentScheduleRequests.Item.UpdateRequest.UpdateRequestRequestBuilder Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleAssignmentScheduleRequests.roleAssignmentScheduleRequestsRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleAssignmentScheduleRequests.roleAssignmentScheduleRequestsRequestBuilder.roleAssignmentScheduleRequestsRequestBuilderGetQueryParameters::|public|Count:bool? Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleAssignmentScheduleRequests.roleAssignmentScheduleRequestsRequestBuilder.roleAssignmentScheduleRequestsRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -276938,6 +278186,7 @@ Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.CaseTyp Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.CaseTypeConfigurationItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.CaseTypeConfigurationItemRequestBuilder::|public|customFields:global.Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.CustomFields.CustomFieldsRequestBuilder Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.CaseTypeConfigurationItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Security.CaseManagement.CaseTypeConfiguration +Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.CaseTypeConfigurationItemRequestBuilder::|public|slaPolicies:global.Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.SlaPolicies.SlaPoliciesRequestBuilder Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.CaseTypeConfigurationItemRequestBuilder::|public|statuses:global.Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.Statuses.StatusesRequestBuilder Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.CaseTypeConfigurationItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.CaseTypeConfigurationItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.CaseTypeConfigurationItemRequestBuilder @@ -276976,6 +278225,50 @@ Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.CustomF Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.CustomFields.Item.CustomFieldDefinitionItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Security.CaseManagement.CustomFieldDefinition Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.CustomFields.Item.CustomFieldDefinitionItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.CustomFields.Item.CustomFieldDefinitionItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.CustomFields.Item.CustomFieldDefinitionItemRequestBuilder +Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.SlaPolicies.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.SlaPolicies.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.SlaPolicies.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.SlaPolicies.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.SlaPolicies.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.SlaPolicies.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.SlaPolicies.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.SlaPolicies.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.SlaPolicies.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.SlaPolicies.Count.CountRequestBuilder +Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.SlaPolicies.Item.SlaPolicyDefinitionItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.SlaPolicies.Item.SlaPolicyDefinitionItemRequestBuilder.SlaPolicyDefinitionItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.SlaPolicies.Item.SlaPolicyDefinitionItemRequestBuilder.SlaPolicyDefinitionItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.SlaPolicies.Item.SlaPolicyDefinitionItemRequestBuilder.SlaPolicyDefinitionItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.SlaPolicies.Item.SlaPolicyDefinitionItemRequestBuilder.SlaPolicyDefinitionItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.SlaPolicies.Item.SlaPolicyDefinitionItemRequestBuilder.SlaPolicyDefinitionItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.SlaPolicies.Item.SlaPolicyDefinitionItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.SlaPolicies.Item.SlaPolicyDefinitionItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.SlaPolicies.Item.SlaPolicyDefinitionItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.SlaPolicies.Item.SlaPolicyDefinitionItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Security.CaseManagement.SlaPolicyDefinition +Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.SlaPolicies.Item.SlaPolicyDefinitionItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.Security.CaseManagement.SlaPolicyDefinition; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Security.CaseManagement.SlaPolicyDefinition +Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.SlaPolicies.Item.SlaPolicyDefinitionItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.SlaPolicies.Item.SlaPolicyDefinitionItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.SlaPolicies.Item.SlaPolicyDefinitionItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.Security.CaseManagement.SlaPolicyDefinition; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.SlaPolicies.Item.SlaPolicyDefinitionItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.SlaPolicies.Item.SlaPolicyDefinitionItemRequestBuilder +Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.SlaPolicies.slaPoliciesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.SlaPolicies.slaPoliciesRequestBuilder.slaPoliciesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.SlaPolicies.slaPoliciesRequestBuilder.slaPoliciesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.SlaPolicies.slaPoliciesRequestBuilder.slaPoliciesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.SlaPolicies.slaPoliciesRequestBuilder.slaPoliciesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.SlaPolicies.slaPoliciesRequestBuilder.slaPoliciesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.SlaPolicies.slaPoliciesRequestBuilder.slaPoliciesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.SlaPolicies.slaPoliciesRequestBuilder.slaPoliciesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.SlaPolicies.slaPoliciesRequestBuilder.slaPoliciesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.SlaPolicies.slaPoliciesRequestBuilder.slaPoliciesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.SlaPolicies.slaPoliciesRequestBuilder.slaPoliciesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.SlaPolicies.slaPoliciesRequestBuilder::[SlaPolicyDefinitionId:string]:global.Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.SlaPolicies.Item.SlaPolicyDefinitionItemRequestBuilder +Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.SlaPolicies.slaPoliciesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.SlaPolicies.slaPoliciesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.SlaPolicies.slaPoliciesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.SlaPolicies.Count.CountRequestBuilder +Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.SlaPolicies.slaPoliciesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Security.CaseManagement.SlaPolicyDefinitionCollectionResponse +Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.SlaPolicies.slaPoliciesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.Security.CaseManagement.SlaPolicyDefinition; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Security.CaseManagement.SlaPolicyDefinition +Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.SlaPolicies.slaPoliciesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.SlaPolicies.slaPoliciesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.Security.CaseManagement.SlaPolicyDefinition; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.SlaPolicies.slaPoliciesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.SlaPolicies.SlaPoliciesRequestBuilder Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.Statuses.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.Statuses.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.Security.CaseManagement.CaseTypeConfigurations.Item.Statuses.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -285492,6 +286785,50 @@ Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.BulkUpload Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.BulkUpload.Value.ContentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.BulkUpload.Value.ContentRequestBuilder::|public|ToPutRequestInformation(body:Stream; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.BulkUpload.Value.ContentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.BulkUpload.Value.ContentRequestBuilder +Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.ObjectConnections.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.ObjectConnections.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.ObjectConnections.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.ObjectConnections.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.ObjectConnections.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.ObjectConnections.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.ObjectConnections.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.ObjectConnections.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.ObjectConnections.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.ObjectConnections.Count.CountRequestBuilder +Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.ObjectConnections.Item.ObjectConnectionObjectItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.ObjectConnections.Item.ObjectConnectionObjectItemRequestBuilder.ObjectConnectionObjectItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.ObjectConnections.Item.ObjectConnectionObjectItemRequestBuilder.ObjectConnectionObjectItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.ObjectConnections.Item.ObjectConnectionObjectItemRequestBuilder.ObjectConnectionObjectItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.ObjectConnections.Item.ObjectConnectionObjectItemRequestBuilder.ObjectConnectionObjectItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.ObjectConnections.Item.ObjectConnectionObjectItemRequestBuilder.ObjectConnectionObjectItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.ObjectConnections.Item.ObjectConnectionObjectItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.ObjectConnections.Item.ObjectConnectionObjectItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.ObjectConnections.Item.ObjectConnectionObjectItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.ObjectConnections.Item.ObjectConnectionObjectItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ObjectConnection +Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.ObjectConnections.Item.ObjectConnectionObjectItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.ObjectConnection; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ObjectConnection +Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.ObjectConnections.Item.ObjectConnectionObjectItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.ObjectConnections.Item.ObjectConnectionObjectItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.ObjectConnections.Item.ObjectConnectionObjectItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.ObjectConnection; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.ObjectConnections.Item.ObjectConnectionObjectItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.ObjectConnections.Item.ObjectConnectionObjectItemRequestBuilder +Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.ObjectConnections.objectConnectionsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.ObjectConnections.objectConnectionsRequestBuilder.objectConnectionsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.ObjectConnections.objectConnectionsRequestBuilder.objectConnectionsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.ObjectConnections.objectConnectionsRequestBuilder.objectConnectionsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.ObjectConnections.objectConnectionsRequestBuilder.objectConnectionsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.ObjectConnections.objectConnectionsRequestBuilder.objectConnectionsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.ObjectConnections.objectConnectionsRequestBuilder.objectConnectionsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.ObjectConnections.objectConnectionsRequestBuilder.objectConnectionsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.ObjectConnections.objectConnectionsRequestBuilder.objectConnectionsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.ObjectConnections.objectConnectionsRequestBuilder.objectConnectionsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.ObjectConnections.objectConnectionsRequestBuilder.objectConnectionsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.ObjectConnections.objectConnectionsRequestBuilder::[ObjectConnectionObjectId:string]:global.Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.ObjectConnections.Item.ObjectConnectionObjectItemRequestBuilder +Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.ObjectConnections.objectConnectionsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.ObjectConnections.objectConnectionsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.ObjectConnections.objectConnectionsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.ObjectConnections.Count.CountRequestBuilder +Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.ObjectConnections.objectConnectionsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ObjectConnectionCollectionResponse +Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.ObjectConnections.objectConnectionsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.ObjectConnection; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ObjectConnection +Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.ObjectConnections.objectConnectionsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.ObjectConnections.objectConnectionsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.ObjectConnection; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.ObjectConnections.objectConnectionsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.ObjectConnections.ObjectConnectionsRequestBuilder Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.Pause.pauseRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.Pause.pauseRequestBuilder.pauseRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.Pause.pauseRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -285681,6 +287018,7 @@ Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.Synchroniz Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.SynchronizationJobItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.SynchronizationJobItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.SynchronizationJobItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.SynchronizationJob +Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.SynchronizationJobItemRequestBuilder::|public|objectConnections:global.Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.ObjectConnections.ObjectConnectionsRequestBuilder Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.SynchronizationJobItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.SynchronizationJob; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.SynchronizationJob Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.SynchronizationJobItemRequestBuilder::|public|pause:global.Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.Pause.PauseRequestBuilder Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.SynchronizationJobItemRequestBuilder::|public|provisionOnDemand:global.Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.ProvisionOnDemand.ProvisionOnDemandRequestBuilder @@ -317369,6 +318707,7 @@ Microsoft.Graph.Beta.Teamwork.Messaging.CustomEmojis.Item.TeamworkCustomEmojiIte Microsoft.Graph.Beta.Teamwork.Messaging.CustomEmojis.Item.TeamworkCustomEmojiItemRequestBuilder.TeamworkCustomEmojiItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Teamwork.Messaging.CustomEmojis.Item.TeamworkCustomEmojiItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Teamwork.Messaging.CustomEmojis.Item.TeamworkCustomEmojiItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.Messaging.CustomEmojis.Item.TeamworkCustomEmojiItemRequestBuilder::|public|Content:global.Microsoft.Graph.Beta.Teamwork.Messaging.CustomEmojis.Item.Value.ContentRequestBuilder Microsoft.Graph.Beta.Teamwork.Messaging.CustomEmojis.Item.TeamworkCustomEmojiItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Teamwork.Messaging.CustomEmojis.Item.TeamworkCustomEmojiItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.TeamworkCustomEmoji Microsoft.Graph.Beta.Teamwork.Messaging.CustomEmojis.Item.TeamworkCustomEmojiItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.TeamworkCustomEmoji; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.TeamworkCustomEmoji @@ -317376,6 +318715,19 @@ Microsoft.Graph.Beta.Teamwork.Messaging.CustomEmojis.Item.TeamworkCustomEmojiIte Microsoft.Graph.Beta.Teamwork.Messaging.CustomEmojis.Item.TeamworkCustomEmojiItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Teamwork.Messaging.CustomEmojis.Item.TeamworkCustomEmojiItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.TeamworkCustomEmoji; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Teamwork.Messaging.CustomEmojis.Item.TeamworkCustomEmojiItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.Messaging.CustomEmojis.Item.TeamworkCustomEmojiItemRequestBuilder +Microsoft.Graph.Beta.Teamwork.Messaging.CustomEmojis.Item.Value.ContentRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teamwork.Messaging.CustomEmojis.Item.Value.ContentRequestBuilder.ContentRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.Messaging.CustomEmojis.Item.Value.ContentRequestBuilder.ContentRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.Messaging.CustomEmojis.Item.Value.ContentRequestBuilder.ContentRequestBuilderPutRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.Messaging.CustomEmojis.Item.Value.ContentRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.Messaging.CustomEmojis.Item.Value.ContentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.Messaging.CustomEmojis.Item.Value.ContentRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Teamwork.Messaging.CustomEmojis.Item.Value.ContentRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream +Microsoft.Graph.Beta.Teamwork.Messaging.CustomEmojis.Item.Value.ContentRequestBuilder::|public|PutAsync(body:Stream; requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream +Microsoft.Graph.Beta.Teamwork.Messaging.CustomEmojis.Item.Value.ContentRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.Messaging.CustomEmojis.Item.Value.ContentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.Messaging.CustomEmojis.Item.Value.ContentRequestBuilder::|public|ToPutRequestInformation(body:Stream; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.Messaging.CustomEmojis.Item.Value.ContentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.Messaging.CustomEmojis.Item.Value.ContentRequestBuilder Microsoft.Graph.Beta.Teamwork.Messaging.CustomEmojisWithDisplayName.customEmojisWithDisplayNameRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Teamwork.Messaging.CustomEmojisWithDisplayName.customEmojisWithDisplayNameRequestBuilder.customEmojisWithDisplayNameRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Teamwork.Messaging.CustomEmojisWithDisplayName.customEmojisWithDisplayNameRequestBuilder.customEmojisWithDisplayNameRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -333429,6 +334781,7 @@ Microsoft.Graph.Beta.Users.Item.CloudPCs.Item.CloudPCItemRequestBuilder::|public Microsoft.Graph.Beta.Users.Item.CloudPCs.Item.CloudPCItemRequestBuilder::|public|powerOff:global.Microsoft.Graph.Beta.Users.Item.CloudPCs.Item.PowerOff.PowerOffRequestBuilder Microsoft.Graph.Beta.Users.Item.CloudPCs.Item.CloudPCItemRequestBuilder::|public|powerOn:global.Microsoft.Graph.Beta.Users.Item.CloudPCs.Item.PowerOn.PowerOnRequestBuilder Microsoft.Graph.Beta.Users.Item.CloudPCs.Item.CloudPCItemRequestBuilder::|public|reboot:global.Microsoft.Graph.Beta.Users.Item.CloudPCs.Item.Reboot.RebootRequestBuilder +Microsoft.Graph.Beta.Users.Item.CloudPCs.Item.CloudPCItemRequestBuilder::|public|relocate:global.Microsoft.Graph.Beta.Users.Item.CloudPCs.Item.Relocate.RelocateRequestBuilder Microsoft.Graph.Beta.Users.Item.CloudPCs.Item.CloudPCItemRequestBuilder::|public|rename:global.Microsoft.Graph.Beta.Users.Item.CloudPCs.Item.Rename.RenameRequestBuilder Microsoft.Graph.Beta.Users.Item.CloudPCs.Item.CloudPCItemRequestBuilder::|public|reprovision:global.Microsoft.Graph.Beta.Users.Item.CloudPCs.Item.Reprovision.ReprovisionRequestBuilder Microsoft.Graph.Beta.Users.Item.CloudPCs.Item.CloudPCItemRequestBuilder::|public|resize:global.Microsoft.Graph.Beta.Users.Item.CloudPCs.Item.Resize.ResizeRequestBuilder @@ -333545,6 +334898,21 @@ Microsoft.Graph.Beta.Users.Item.CloudPCs.Item.Reboot.rebootRequestBuilder::|publ Microsoft.Graph.Beta.Users.Item.CloudPCs.Item.Reboot.rebootRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Users.Item.CloudPCs.Item.Reboot.rebootRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Users.Item.CloudPCs.Item.Reboot.rebootRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.CloudPCs.Item.Reboot.RebootRequestBuilder +Microsoft.Graph.Beta.Users.Item.CloudPCs.Item.Relocate.relocatePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Users.Item.CloudPCs.Item.Relocate.relocatePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Users.Item.CloudPCs.Item.Relocate.relocatePostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Users.Item.CloudPCs.Item.Relocate.relocatePostRequestBody::|public|DomainJoinConfigurations:List +Microsoft.Graph.Beta.Users.Item.CloudPCs.Item.Relocate.relocatePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Users.Item.CloudPCs.Item.Relocate.relocatePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Users.Item.CloudPCs.Item.Relocate.relocatePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Users.Item.CloudPCs.Item.Relocate.RelocatePostRequestBody +Microsoft.Graph.Beta.Users.Item.CloudPCs.Item.Relocate.relocatePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Users.Item.CloudPCs.Item.Relocate.relocateRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.CloudPCs.Item.Relocate.relocateRequestBuilder.relocateRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.CloudPCs.Item.Relocate.relocateRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.CloudPCs.Item.Relocate.relocateRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.CloudPCs.Item.Relocate.relocateRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Users.Item.CloudPCs.Item.Relocate.RelocatePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Users.Item.CloudPCs.Item.Relocate.relocateRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Users.Item.CloudPCs.Item.Relocate.RelocatePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.CloudPCs.Item.Relocate.relocateRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.CloudPCs.Item.Relocate.RelocateRequestBuilder Microsoft.Graph.Beta.Users.Item.CloudPCs.Item.Rename.renamePostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Users.Item.CloudPCs.Item.Rename.renamePostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Users.Item.CloudPCs.Item.Rename.renamePostRequestBody::|public|constructor():void diff --git a/src/Microsoft.Graph/Generated/kiota-lock.json b/src/Microsoft.Graph/Generated/kiota-lock.json index 9bb435ae095f..0094d4878394 100644 --- a/src/Microsoft.Graph/Generated/kiota-lock.json +++ b/src/Microsoft.Graph/Generated/kiota-lock.json @@ -1,8 +1,8 @@ { - "descriptionHash": "AB79CF26D018D9B424196BA068BD180C6041DB0563D82B86BDBF8AA922753D906DFD9ABCB3AF2F044C5E12B903305D55C9BCB24D11217D3A202797D1D274FBDB", + "descriptionHash": "8AA582FE4B60D25C145EE809EAA343C62171E8F7D3149F1BC02B3CC894AD469871CBDA43130C8DB5BCD51EE6F3E1422FB7B3F5EB0B05F570C311177EC33B0F90", "descriptionLocation": "../../msgraph-metadata/clean_beta_openapi/openapi.yaml", "lockFileVersion": "1.0.0", - "kiotaVersion": "1.36.1", + "kiotaVersion": "1.38.0", "clientClassName": "BaseGraphServiceClient", "typeAccessModifier": "Public", "clientNamespaceName": "Microsoft.Graph.Beta",