diff --git a/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/FoldersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/FoldersRequestBuilder.cs index 8ba37e6f237d..67dbbe413640 100644 --- a/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/FoldersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/FoldersRequestBuilder.cs @@ -88,6 +88,33 @@ public FoldersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MailboxFolderCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// + /// Create a new mailboxFolder or child mailboxFolder in a user's mailbox. + /// 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 + [Obsolete("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.MailboxFolder body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.MailboxFolder 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.MailboxFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// /// Get all the mailboxFolder objects in the specified mailbox, including any search folders. /// /// A @@ -108,6 +135,29 @@ public RequestInformation ToGetRequestInformation(Action + /// Create a new mailboxFolder or child mailboxFolder in a user's mailbox. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.MailboxFolder body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.MailboxFolder 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 @@ -191,6 +241,14 @@ public partial class FoldersRequestBuilderGetQueryParameters public partial class FoldersRequestBuilderGetRequestConfiguration : 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 FoldersRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } } } #pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/ChildFoldersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/ChildFoldersRequestBuilder.cs index f1dd5a6380d2..8c03b6a5068d 100644 --- a/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/ChildFoldersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/ChildFoldersRequestBuilder.cs @@ -88,6 +88,32 @@ public ChildFoldersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MailboxFolderCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// + /// Create new navigation property to childFolders for admin + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.MailboxFolder body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.MailboxFolder 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.MailboxFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// /// Get the mailboxFolder collection under the specified mailboxFolder in a mailbox. /// /// A @@ -108,6 +134,29 @@ public RequestInformation ToGetRequestInformation(Action + /// Create new navigation property to childFolders for admin + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.MailboxFolder body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.MailboxFolder 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 @@ -191,6 +240,14 @@ public partial class ChildFoldersRequestBuilderGetQueryParameters public partial class ChildFoldersRequestBuilderGetRequestConfiguration : 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 ChildFoldersRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } } } #pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/Item/MailboxFolderItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/Item/MailboxFolderItemRequestBuilder.cs index 97ea226a838d..262be7036fb8 100644 --- a/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/Item/MailboxFolderItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/Item/MailboxFolderItemRequestBuilder.cs @@ -42,6 +42,29 @@ public MailboxFolderItemRequestBuilder(string rawUrl, IRequestAdapter requestAda { } /// + /// Delete navigation property childFolders 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 + [Obsolete("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15")] +#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 collection of child folders in this folder. /// /// A @@ -66,6 +89,52 @@ public MailboxFolderItemRequestBuilder(string rawUrl, IRequestAdapter requestAda return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MailboxFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// + /// Update the navigation property childFolders 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 + [Obsolete("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.MailboxFolder body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.MailboxFolder 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.MailboxFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property childFolders for admin + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15")] +#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 collection of child folders in this folder. /// /// A @@ -86,6 +155,29 @@ public RequestInformation ToGetRequestInformation(Action + /// Update the navigation property childFolders in admin + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.MailboxFolder body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.MailboxFolder 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 @@ -96,6 +188,14 @@ public RequestInformation ToGetRequestInformation(Action + /// 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 MailboxFolderItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// /// The collection of child folders in this folder. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] @@ -130,6 +230,14 @@ public partial class MailboxFolderItemRequestBuilderGetQueryParameters public partial class MailboxFolderItemRequestBuilderGetRequestConfiguration : 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 MailboxFolderItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } } } #pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/MailboxFolderItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/MailboxFolderItemRequestBuilder.cs index 4f6fc6fab656..34b680096cc6 100644 --- a/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/MailboxFolderItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/MailboxFolderItemRequestBuilder.cs @@ -49,6 +49,30 @@ public MailboxFolderItemRequestBuilder(string rawUrl, IRequestAdapter requestAda { } /// + /// Delete a mailboxFolder or a child mailboxFolder within a mailbox. + /// 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 + [Obsolete("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// /// Read the properties and relationships of a mailboxFolder object. /// Find more info here /// @@ -74,6 +98,53 @@ public MailboxFolderItemRequestBuilder(string rawUrl, IRequestAdapter requestAda return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MailboxFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// + /// Update mailboxFolder properties such as the displayName within a mailbox. + /// 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 + [Obsolete("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.MailboxFolder body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.MailboxFolder 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.MailboxFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete a mailboxFolder or a child mailboxFolder within a mailbox. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// /// Read the properties and relationships of a mailboxFolder object. /// /// A @@ -94,6 +165,29 @@ public RequestInformation ToGetRequestInformation(Action + /// Update mailboxFolder properties such as the displayName within a mailbox. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.MailboxFolder body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.MailboxFolder 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 @@ -104,6 +198,14 @@ public RequestInformation ToGetRequestInformation(Action + /// 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 MailboxFolderItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// /// Read the properties and relationships of a mailboxFolder object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] @@ -138,6 +240,14 @@ public partial class MailboxFolderItemRequestBuilderGetQueryParameters public partial class MailboxFolderItemRequestBuilderGetRequestConfiguration : 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 MailboxFolderItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } } } #pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/ReportSettings/SharePoint/ApiUsageReportMetrics/ApiUsageReportMetricsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ReportSettings/SharePoint/ApiUsageReportMetrics/ApiUsageReportMetricsRequestBuilder.cs index bb2efb681255..2a45ae6406bc 100644 --- a/src/Microsoft.Graph/Generated/Admin/ReportSettings/SharePoint/ApiUsageReportMetrics/ApiUsageReportMetricsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/ReportSettings/SharePoint/ApiUsageReportMetrics/ApiUsageReportMetricsRequestBuilder.cs @@ -54,7 +54,7 @@ public ApiUsageReportMetricsRequestBuilder(string rawUrl, IRequestAdapter reques { } /// - /// Get the list of SharePoint API usage report metrics and their enablement status for the tenant. Currently, only the EgressReport metric is supported. + /// Get the list of SharePoint API usage report metrics and their enablement status for the tenant. The supported metrics are egressReport and throttlingReport. /// Find more info here /// /// A @@ -103,7 +103,7 @@ public ApiUsageReportMetricsRequestBuilder(string rawUrl, IRequestAdapter reques return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ApiUsageReportEnablementStatus.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get the list of SharePoint API usage report metrics and their enablement status for the tenant. Currently, only the EgressReport metric is supported. + /// Get the list of SharePoint API usage report metrics and their enablement status for the tenant. The supported metrics are egressReport and throttlingReport. /// /// 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.Admin.ReportSettings.SharePoint.ApiUsageReportMetrics.ApiUsageReportMetricsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get the list of SharePoint API usage report metrics and their enablement status for the tenant. Currently, only the EgressReport metric is supported. + /// Get the list of SharePoint API usage report metrics and their enablement status for the tenant. The supported metrics are egressReport and throttlingReport. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ApiUsageReportMetricsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/AndroidManagedStoreAccountEnterpriseSettings/AndroidManagedStoreAccountEnterpriseSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/AndroidManagedStoreAccountEnterpriseSettings/AndroidManagedStoreAccountEnterpriseSettingsRequestBuilder.cs index 2f7d438e4e26..c0e1ec6df27a 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/AndroidManagedStoreAccountEnterpriseSettings/AndroidManagedStoreAccountEnterpriseSettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/AndroidManagedStoreAccountEnterpriseSettings/AndroidManagedStoreAccountEnterpriseSettingsRequestBuilder.cs @@ -4,6 +4,7 @@ using Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.ApproveApps; using Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.CompleteSignup; using Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.CreateGooglePlayWebToken; +using Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.CreateZeroTouchWebToken; using Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.RequestEnterpriseUpgradeUrl; using Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.RequestSignupUrl; using Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.RetrieveStoreLayout; @@ -49,6 +50,11 @@ public partial class AndroidManagedStoreAccountEnterpriseSettingsRequestBuilder { get => new global::Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.CreateGooglePlayWebToken.CreateGooglePlayWebTokenRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the createZeroTouchWebToken method. + public global::Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.CreateZeroTouchWebToken.CreateZeroTouchWebTokenRequestBuilder CreateZeroTouchWebToken + { + get => new global::Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.CreateZeroTouchWebToken.CreateZeroTouchWebTokenRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the requestEnterpriseUpgradeUrl method. public global::Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.RequestEnterpriseUpgradeUrl.RequestEnterpriseUpgradeUrlRequestBuilder RequestEnterpriseUpgradeUrl { diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/AndroidManagedStoreAccountEnterpriseSettings/CreateZeroTouchWebToken/CreateZeroTouchWebTokenPostRequestBody.cs b/src/Microsoft.Graph/Generated/DeviceManagement/AndroidManagedStoreAccountEnterpriseSettings/CreateZeroTouchWebToken/CreateZeroTouchWebTokenPostRequestBody.cs new file mode 100644 index 000000000000..7d6378e3d692 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceManagement/AndroidManagedStoreAccountEnterpriseSettings/CreateZeroTouchWebToken/CreateZeroTouchWebTokenPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#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.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.CreateZeroTouchWebToken +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class CreateZeroTouchWebTokenPostRequestBody : 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 parentUri property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ParentUri + { + get { return BackingStore?.Get("parentUri"); } + set { BackingStore?.Set("parentUri", value); } + } +#nullable restore +#else + public string ParentUri + { + get { return BackingStore?.Get("parentUri"); } + set { BackingStore?.Set("parentUri", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public CreateZeroTouchWebTokenPostRequestBody() + { + 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.AndroidManagedStoreAccountEnterpriseSettings.CreateZeroTouchWebToken.CreateZeroTouchWebTokenPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.CreateZeroTouchWebToken.CreateZeroTouchWebTokenPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "parentUri", n => { ParentUri = 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("parentUri", ParentUri); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/AndroidManagedStoreAccountEnterpriseSettings/CreateZeroTouchWebToken/CreateZeroTouchWebTokenPostResponse.cs b/src/Microsoft.Graph/Generated/DeviceManagement/AndroidManagedStoreAccountEnterpriseSettings/CreateZeroTouchWebToken/CreateZeroTouchWebTokenPostResponse.cs new file mode 100644 index 000000000000..c9c10d185efc --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceManagement/AndroidManagedStoreAccountEnterpriseSettings/CreateZeroTouchWebToken/CreateZeroTouchWebTokenPostResponse.cs @@ -0,0 +1,81 @@ +// +#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.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.CreateZeroTouchWebToken +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class CreateZeroTouchWebTokenPostResponse : 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 value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Value + { + get { return BackingStore?.Get("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public string Value + { + get { return BackingStore?.Get("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public CreateZeroTouchWebTokenPostResponse() + { + 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.AndroidManagedStoreAccountEnterpriseSettings.CreateZeroTouchWebToken.CreateZeroTouchWebTokenPostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.CreateZeroTouchWebToken.CreateZeroTouchWebTokenPostResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "value", n => { Value = 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("value", Value); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/AndroidManagedStoreAccountEnterpriseSettings/CreateZeroTouchWebToken/CreateZeroTouchWebTokenRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/AndroidManagedStoreAccountEnterpriseSettings/CreateZeroTouchWebToken/CreateZeroTouchWebTokenRequestBuilder.cs new file mode 100644 index 000000000000..9fe4a2245405 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceManagement/AndroidManagedStoreAccountEnterpriseSettings/CreateZeroTouchWebToken/CreateZeroTouchWebTokenRequestBuilder.cs @@ -0,0 +1,128 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.CreateZeroTouchWebToken +{ + /// + /// Provides operations to call the createZeroTouchWebToken method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CreateZeroTouchWebTokenRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CreateZeroTouchWebTokenRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/androidManagedStoreAccountEnterpriseSettings/createZeroTouchWebToken", 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 CreateZeroTouchWebTokenRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/androidManagedStoreAccountEnterpriseSettings/createZeroTouchWebToken", rawUrl) + { + } + /// + /// Generates a web token scoped to the Zero Touch Enrollment portal. Requires the ManageZeroTouchEnrollment RBAC permission. + /// + /// 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 PostAsCreateZeroTouchWebTokenPostResponseAsync(global::Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.CreateZeroTouchWebToken.CreateZeroTouchWebTokenPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsCreateZeroTouchWebTokenPostResponseAsync(global::Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.CreateZeroTouchWebToken.CreateZeroTouchWebTokenPostRequestBody 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.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.CreateZeroTouchWebToken.CreateZeroTouchWebTokenPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Generates a web token scoped to the Zero Touch Enrollment portal. Requires the ManageZeroTouchEnrollment RBAC permission. + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("This method is obsolete. Use PostAsCreateZeroTouchWebTokenPostResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.CreateZeroTouchWebToken.CreateZeroTouchWebTokenPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.CreateZeroTouchWebToken.CreateZeroTouchWebTokenPostRequestBody 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.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.CreateZeroTouchWebToken.CreateZeroTouchWebTokenResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Generates a web token scoped to the Zero Touch Enrollment portal. Requires the ManageZeroTouchEnrollment RBAC permission. + /// + /// 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.AndroidManagedStoreAccountEnterpriseSettings.CreateZeroTouchWebToken.CreateZeroTouchWebTokenPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.CreateZeroTouchWebToken.CreateZeroTouchWebTokenPostRequestBody 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.AndroidManagedStoreAccountEnterpriseSettings.CreateZeroTouchWebToken.CreateZeroTouchWebTokenRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.CreateZeroTouchWebToken.CreateZeroTouchWebTokenRequestBuilder(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 CreateZeroTouchWebTokenRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/AndroidManagedStoreAccountEnterpriseSettings/CreateZeroTouchWebToken/CreateZeroTouchWebTokenResponse.cs b/src/Microsoft.Graph/Generated/DeviceManagement/AndroidManagedStoreAccountEnterpriseSettings/CreateZeroTouchWebToken/CreateZeroTouchWebTokenResponse.cs new file mode 100644 index 000000000000..3a1e6d3e5f40 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceManagement/AndroidManagedStoreAccountEnterpriseSettings/CreateZeroTouchWebToken/CreateZeroTouchWebTokenResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.CreateZeroTouchWebToken +{ + [Obsolete("This class is obsolete. Use CreateZeroTouchWebTokenPostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class CreateZeroTouchWebTokenResponse : global::Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.CreateZeroTouchWebToken.CreateZeroTouchWebTokenPostResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.CreateZeroTouchWebToken.CreateZeroTouchWebTokenResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.CreateZeroTouchWebToken.CreateZeroTouchWebTokenResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ComanagedDevices/Item/GetSyncStatus/GetSyncStatusRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ComanagedDevices/Item/GetSyncStatus/GetSyncStatusRequestBuilder.cs new file mode 100644 index 000000000000..aae6e58c7148 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ComanagedDevices/Item/GetSyncStatus/GetSyncStatusRequestBuilder.cs @@ -0,0 +1,98 @@ +// +#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.DeviceManagement.ComanagedDevices.Item.GetSyncStatus +{ + /// + /// Provides operations to call the getSyncStatus method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GetSyncStatusRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public GetSyncStatusRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/comanagedDevices/{managedDevice%2Did}/getSyncStatus()", 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 GetSyncStatusRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/comanagedDevices/{managedDevice%2Did}/getSyncStatus()", rawUrl) + { + } + /// + /// Invoke function getSyncStatus + /// + /// 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.DeviceSyncStatusResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function getSyncStatus + /// + /// 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.DeviceManagement.ComanagedDevices.Item.GetSyncStatus.GetSyncStatusRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.GetSyncStatus.GetSyncStatusRequestBuilder(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 GetSyncStatusRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ComanagedDevices/Item/ManagedDeviceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ComanagedDevices/Item/ManagedDeviceItemRequestBuilder.cs index 6ded7e93b58d..c8548e5dcb88 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/ComanagedDevices/Item/ManagedDeviceItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ComanagedDevices/Item/ManagedDeviceItemRequestBuilder.cs @@ -19,6 +19,7 @@ using Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.EnrollNowAction; using Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.GetFileVaultKey; using Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.GetNonCompliantSettings; +using Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.GetSyncStatus; using Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.InitiateDeviceAttestation; using Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.InitiateMobileDeviceManagementKeyRecovery; using Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.InitiateOnDemandProactiveRemediation; @@ -33,6 +34,7 @@ using Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RecoverPasscode; using Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.Reenable; using Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RemoteLock; +using Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RemoveDeviceEsim; using Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RemoveDeviceFirmwareConfigurationInterfaceManagement; using Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RequestRemoteAssistance; using Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.ResetPasscode; @@ -172,6 +174,11 @@ public partial class ManagedDeviceItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.GetNonCompliantSettings.GetNonCompliantSettingsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the getSyncStatus method. + public global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.GetSyncStatus.GetSyncStatusRequestBuilder GetSyncStatus + { + get => new global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.GetSyncStatus.GetSyncStatusRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the initiateDeviceAttestation method. public global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.InitiateDeviceAttestation.InitiateDeviceAttestationRequestBuilder InitiateDeviceAttestation { @@ -242,6 +249,11 @@ public partial class ManagedDeviceItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RemoteLock.RemoteLockRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the removeDeviceEsim method. + public global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RemoveDeviceEsim.RemoveDeviceEsimRequestBuilder RemoveDeviceEsim + { + get => new global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RemoveDeviceEsim.RemoveDeviceEsimRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the removeDeviceFirmwareConfigurationInterfaceManagement method. public global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RemoveDeviceFirmwareConfigurationInterfaceManagement.RemoveDeviceFirmwareConfigurationInterfaceManagementRequestBuilder RemoveDeviceFirmwareConfigurationInterfaceManagement { diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ComanagedDevices/Item/RemoveDeviceEsim/RemoveDeviceEsimPostRequestBody.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ComanagedDevices/Item/RemoveDeviceEsim/RemoveDeviceEsimPostRequestBody.cs new file mode 100644 index 000000000000..6e14341826a6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ComanagedDevices/Item/RemoveDeviceEsim/RemoveDeviceEsimPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#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.DeviceManagement.ComanagedDevices.Item.RemoveDeviceEsim +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemoveDeviceEsimPostRequestBody : 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 iccId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? IccId + { + get { return BackingStore?.Get("iccId"); } + set { BackingStore?.Set("iccId", value); } + } +#nullable restore +#else + public string IccId + { + get { return BackingStore?.Get("iccId"); } + set { BackingStore?.Set("iccId", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RemoveDeviceEsimPostRequestBody() + { + 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.ComanagedDevices.Item.RemoveDeviceEsim.RemoveDeviceEsimPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RemoveDeviceEsim.RemoveDeviceEsimPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "iccId", n => { IccId = 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("iccId", IccId); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ComanagedDevices/Item/RemoveDeviceEsim/RemoveDeviceEsimRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ComanagedDevices/Item/RemoveDeviceEsim/RemoveDeviceEsimRequestBuilder.cs new file mode 100644 index 000000000000..98cd17d9f227 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ComanagedDevices/Item/RemoveDeviceEsim/RemoveDeviceEsimRequestBuilder.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.ComanagedDevices.Item.RemoveDeviceEsim +{ + /// + /// Provides operations to call the removeDeviceEsim method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RemoveDeviceEsimRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RemoveDeviceEsimRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/comanagedDevices/{managedDevice%2Did}/removeDeviceEsim", 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 RemoveDeviceEsimRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/comanagedDevices/{managedDevice%2Did}/removeDeviceEsim", rawUrl) + { + } + /// + /// Remove eSIM from the device + /// + /// 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.ComanagedDevices.Item.RemoveDeviceEsim.RemoveDeviceEsimPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RemoveDeviceEsim.RemoveDeviceEsimPostRequestBody 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); + } + /// + /// Remove eSIM from the device + /// + /// 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.ComanagedDevices.Item.RemoveDeviceEsim.RemoveDeviceEsimPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RemoveDeviceEsim.RemoveDeviceEsimPostRequestBody 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.ComanagedDevices.Item.RemoveDeviceEsim.RemoveDeviceEsimRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RemoveDeviceEsim.RemoveDeviceEsimRequestBuilder(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 RemoveDeviceEsimRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/GetSyncStatus/GetSyncStatusRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/GetSyncStatus/GetSyncStatusRequestBuilder.cs new file mode 100644 index 000000000000..0fd119fe7bad --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/GetSyncStatus/GetSyncStatusRequestBuilder.cs @@ -0,0 +1,98 @@ +// +#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.DeviceManagement.ManagedDevices.Item.GetSyncStatus +{ + /// + /// Provides operations to call the getSyncStatus method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GetSyncStatusRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public GetSyncStatusRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/managedDevices/{managedDevice%2Did}/getSyncStatus()", 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 GetSyncStatusRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/managedDevices/{managedDevice%2Did}/getSyncStatus()", rawUrl) + { + } + /// + /// Invoke function getSyncStatus + /// + /// 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.DeviceSyncStatusResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function getSyncStatus + /// + /// 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.DeviceManagement.ManagedDevices.Item.GetSyncStatus.GetSyncStatusRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.GetSyncStatus.GetSyncStatusRequestBuilder(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 GetSyncStatusRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/ManagedDeviceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/ManagedDeviceItemRequestBuilder.cs index 49655d77b1c2..6db52ce63eb3 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/ManagedDeviceItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/ManagedDeviceItemRequestBuilder.cs @@ -19,6 +19,7 @@ using Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.EnrollNowAction; using Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.GetFileVaultKey; using Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.GetNonCompliantSettings; +using Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.GetSyncStatus; using Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.InitiateDeviceAttestation; using Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.InitiateMobileDeviceManagementKeyRecovery; using Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.InitiateOnDemandProactiveRemediation; @@ -33,6 +34,7 @@ using Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RecoverPasscode; using Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.Reenable; using Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RemoteLock; +using Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RemoveDeviceEsim; using Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RemoveDeviceFirmwareConfigurationInterfaceManagement; using Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RequestRemoteAssistance; using Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.ResetPasscode; @@ -172,6 +174,11 @@ public partial class ManagedDeviceItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.GetNonCompliantSettings.GetNonCompliantSettingsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the getSyncStatus method. + public global::Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.GetSyncStatus.GetSyncStatusRequestBuilder GetSyncStatus + { + get => new global::Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.GetSyncStatus.GetSyncStatusRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the initiateDeviceAttestation method. public global::Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.InitiateDeviceAttestation.InitiateDeviceAttestationRequestBuilder InitiateDeviceAttestation { @@ -242,6 +249,11 @@ public partial class ManagedDeviceItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RemoteLock.RemoteLockRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the removeDeviceEsim method. + public global::Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RemoveDeviceEsim.RemoveDeviceEsimRequestBuilder RemoveDeviceEsim + { + get => new global::Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RemoveDeviceEsim.RemoveDeviceEsimRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the removeDeviceFirmwareConfigurationInterfaceManagement method. public global::Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RemoveDeviceFirmwareConfigurationInterfaceManagement.RemoveDeviceFirmwareConfigurationInterfaceManagementRequestBuilder RemoveDeviceFirmwareConfigurationInterfaceManagement { diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/RemoveDeviceEsim/RemoveDeviceEsimPostRequestBody.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/RemoveDeviceEsim/RemoveDeviceEsimPostRequestBody.cs new file mode 100644 index 000000000000..b88b1e06b9d5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/RemoveDeviceEsim/RemoveDeviceEsimPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#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.DeviceManagement.ManagedDevices.Item.RemoveDeviceEsim +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemoveDeviceEsimPostRequestBody : 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 iccId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? IccId + { + get { return BackingStore?.Get("iccId"); } + set { BackingStore?.Set("iccId", value); } + } +#nullable restore +#else + public string IccId + { + get { return BackingStore?.Get("iccId"); } + set { BackingStore?.Set("iccId", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RemoveDeviceEsimPostRequestBody() + { + 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.ManagedDevices.Item.RemoveDeviceEsim.RemoveDeviceEsimPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RemoveDeviceEsim.RemoveDeviceEsimPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "iccId", n => { IccId = 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("iccId", IccId); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/RemoveDeviceEsim/RemoveDeviceEsimRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/RemoveDeviceEsim/RemoveDeviceEsimRequestBuilder.cs new file mode 100644 index 000000000000..ef4e2dee943a --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/RemoveDeviceEsim/RemoveDeviceEsimRequestBuilder.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.ManagedDevices.Item.RemoveDeviceEsim +{ + /// + /// Provides operations to call the removeDeviceEsim method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RemoveDeviceEsimRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RemoveDeviceEsimRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/managedDevices/{managedDevice%2Did}/removeDeviceEsim", 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 RemoveDeviceEsimRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/managedDevices/{managedDevice%2Did}/removeDeviceEsim", rawUrl) + { + } + /// + /// Remove eSIM from the device + /// + /// 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.ManagedDevices.Item.RemoveDeviceEsim.RemoveDeviceEsimPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RemoveDeviceEsim.RemoveDeviceEsimPostRequestBody 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); + } + /// + /// Remove eSIM from the device + /// + /// 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.ManagedDevices.Item.RemoveDeviceEsim.RemoveDeviceEsimPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RemoveDeviceEsim.RemoveDeviceEsimPostRequestBody 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.ManagedDevices.Item.RemoveDeviceEsim.RemoveDeviceEsimRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RemoveDeviceEsim.RemoveDeviceEsimRequestBuilder(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 RemoveDeviceEsimRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/OrganizationAction/OrganizationActionRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/OrganizationAction/OrganizationActionRequestBuilder.cs index 0bebae7b6734..3829c3ccd67f 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/OrganizationAction/OrganizationActionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/OrganizationAction/OrganizationActionRequestBuilder.cs @@ -35,7 +35,8 @@ public OrganizationActionRequestBuilder(string rawUrl, IRequestAdapter requestAd { } /// - /// Invoke action organizationAction + /// Trigger a Cloud PC organization action. + /// Find more info here /// /// A /// The request body @@ -60,7 +61,7 @@ public OrganizationActionRequestBuilder(string rawUrl, IRequestAdapter requestAd return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CloudPcOrganizationActionDetail.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Invoke action organizationAction + /// Trigger a Cloud PC organization action. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/RetrieveOrganizationActionDetailWithActionType/RetrieveOrganizationActionDetailWithActionTypeRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/RetrieveOrganizationActionDetailWithActionType/RetrieveOrganizationActionDetailWithActionTypeRequestBuilder.cs index fc7f7bb04547..6996ba8bdab6 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/RetrieveOrganizationActionDetailWithActionType/RetrieveOrganizationActionDetailWithActionTypeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/RetrieveOrganizationActionDetailWithActionType/RetrieveOrganizationActionDetailWithActionTypeRequestBuilder.cs @@ -37,7 +37,8 @@ public RetrieveOrganizationActionDetailWithActionTypeRequestBuilder(string rawUr { } /// - /// Invoke function retrieveOrganizationActionDetail + /// Retrieve the details of a cloudPcOrganizationActionDetail. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -60,7 +61,7 @@ public RetrieveOrganizationActionDetailWithActionTypeRequestBuilder(string rawUr return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CloudPcOrganizationActionDetail.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Invoke function retrieveOrganizationActionDetail + /// Retrieve the details of a cloudPcOrganizationActionDetail. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ServicePlans/ServicePlansRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ServicePlans/ServicePlansRequestBuilder.cs index 5769c64e1992..9208b88d5d6d 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ServicePlans/ServicePlansRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ServicePlans/ServicePlansRequestBuilder.cs @@ -54,7 +54,7 @@ public ServicePlansRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) { } /// - /// List the currently available service plans that an organization can purchase for their Cloud PCs. For examples of currently available service plans, see Windows 365 compare plans and pricing. Currently, Microsoft Graph API is available for Windows 365 Enterprise. + /// List the currently available service plans that an organization can purchase for their Cloud PCs. For examples of currently available service plans, see Windows 365 compare plans and pricing. Currently, the Microsoft Graph API is available for Windows 365 Enterprise. /// Find more info here /// /// A @@ -103,7 +103,7 @@ public ServicePlansRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CloudPcServicePlan.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List the currently available service plans that an organization can purchase for their Cloud PCs. For examples of currently available service plans, see Windows 365 compare plans and pricing. Currently, Microsoft Graph API is available for Windows 365 Enterprise. + /// List the currently available service plans that an organization can purchase for their Cloud PCs. For examples of currently available service plans, see Windows 365 compare plans and pricing. Currently, the Microsoft Graph API is available for Windows 365 Enterprise. /// /// 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.DeviceManagement.VirtualEndpoint.ServicePlans.ServicePlansRequestBuilder(rawUrl, RequestAdapter); } /// - /// List the currently available service plans that an organization can purchase for their Cloud PCs. For examples of currently available service plans, see Windows 365 compare plans and pricing. Currently, Microsoft Graph API is available for Windows 365 Enterprise. + /// List the currently available service plans that an organization can purchase for their Cloud PCs. For examples of currently available service plans, see Windows 365 compare plans and pricing. Currently, the Microsoft Graph API is available for Windows 365 Enterprise. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ServicePlansRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/DriveItemItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/DriveItemItemRequestBuilder.cs index e41957be2ada..f1809a87e02a 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/DriveItemItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/DriveItemItemRequestBuilder.cs @@ -23,9 +23,11 @@ using Microsoft.Graph.Beta.Drives.Item.Items.Item.Invite; using Microsoft.Graph.Beta.Drives.Item.Items.Item.LastModifiedByUser; using Microsoft.Graph.Beta.Drives.Item.Items.Item.ListItem; +using Microsoft.Graph.Beta.Drives.Item.Items.Item.Lock; using Microsoft.Graph.Beta.Drives.Item.Items.Item.PermanentDelete; using Microsoft.Graph.Beta.Drives.Item.Items.Item.Permissions; using Microsoft.Graph.Beta.Drives.Item.Items.Item.Preview; +using Microsoft.Graph.Beta.Drives.Item.Items.Item.ReleaseLock; using Microsoft.Graph.Beta.Drives.Item.Items.Item.Restore; using Microsoft.Graph.Beta.Drives.Item.Items.Item.RetentionLabel; using Microsoft.Graph.Beta.Drives.Item.Items.Item.SearchWithQ; @@ -159,6 +161,11 @@ public partial class DriveItemItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Drives.Item.Items.Item.ListItem.ListItemRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the lock method. + public global::Microsoft.Graph.Beta.Drives.Item.Items.Item.Lock.LockRequestBuilder Lock + { + get => new global::Microsoft.Graph.Beta.Drives.Item.Items.Item.Lock.LockRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the permanentDelete method. public global::Microsoft.Graph.Beta.Drives.Item.Items.Item.PermanentDelete.PermanentDeleteRequestBuilder PermanentDelete { @@ -174,6 +181,11 @@ public partial class DriveItemItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Drives.Item.Items.Item.Preview.PreviewRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the releaseLock method. + public global::Microsoft.Graph.Beta.Drives.Item.Items.Item.ReleaseLock.ReleaseLockRequestBuilder ReleaseLock + { + get => new global::Microsoft.Graph.Beta.Drives.Item.Items.Item.ReleaseLock.ReleaseLockRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the restore method. public global::Microsoft.Graph.Beta.Drives.Item.Items.Item.Restore.RestoreRequestBuilder Restore { diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Lock/LockPostRequestBody.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Lock/LockPostRequestBody.cs new file mode 100644 index 000000000000..9b8cee55ccc0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Lock/LockPostRequestBody.cs @@ -0,0 +1,71 @@ +// +#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.Drives.Item.Items.Item.Lock +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class LockPostRequestBody : 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 durationMinutes property + public int? DurationMinutes + { + get { return BackingStore?.Get("durationMinutes"); } + set { BackingStore?.Set("durationMinutes", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public LockPostRequestBody() + { + 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.Drives.Item.Items.Item.Lock.LockPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Drives.Item.Items.Item.Lock.LockPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "durationMinutes", n => { DurationMinutes = 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("durationMinutes", DurationMinutes); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Lock/LockRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Lock/LockRequestBuilder.cs new file mode 100644 index 000000000000..acd52f00b3aa --- /dev/null +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Lock/LockRequestBuilder.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.Drives.Item.Items.Item.Lock +{ + /// + /// Provides operations to call the lock method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LockRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public LockRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/lock", 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 LockRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/lock", rawUrl) + { + } + /// + /// Acquire an exclusive lock on a file represented by a driveItem, or extend an existing lock you already hold. While the lock is held, other users are prevented from acquiring a lock on the same file. The lock automatically expires after the duration specified in the request elapses. A single endpoint handles both initial acquisition and refresh. The server determines which behavior applies based on the file's current lock state and the caller's identity. The caller doesn't need to track whether they previously locked the file, and doesn't need to manage a lock identifier. Only exclusive locks are currently supported. + /// 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.Drives.Item.Items.Item.Lock.LockPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Drives.Item.Items.Item.Lock.LockPostRequestBody 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.LockInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Acquire an exclusive lock on a file represented by a driveItem, or extend an existing lock you already hold. While the lock is held, other users are prevented from acquiring a lock on the same file. The lock automatically expires after the duration specified in the request elapses. A single endpoint handles both initial acquisition and refresh. The server determines which behavior applies based on the file's current lock state and the caller's identity. The caller doesn't need to track whether they previously locked the file, and doesn't need to manage a lock identifier. Only exclusive locks are currently supported. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Drives.Item.Items.Item.Lock.LockPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Drives.Item.Items.Item.Lock.LockPostRequestBody 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.Drives.Item.Items.Item.Lock.LockRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Drives.Item.Items.Item.Lock.LockRequestBuilder(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 LockRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/ReleaseLock/ReleaseLockRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/ReleaseLock/ReleaseLockRequestBuilder.cs new file mode 100644 index 000000000000..5b0ec50e60f3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/ReleaseLock/ReleaseLockRequestBuilder.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.Drives.Item.Items.Item.ReleaseLock +{ + /// + /// Provides operations to call the releaseLock method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReleaseLockRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ReleaseLockRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/releaseLock", 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 ReleaseLockRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/releaseLock", rawUrl) + { + } + /// + /// Release the exclusive lock that the calling user currently holds on a file represented by a driveItem. After successful release, the file is immediately available for other users to lock and modify. Only the user who currently holds the lock can release it. The server identifies the lock from the file's current state (no lock identifier is required from the caller). + /// 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 PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Release the exclusive lock that the calling user currently holds on a file represented by a driveItem. After successful release, the file is immediately available for other users to lock and modify. Only the user who currently holds the lock can release it. The server identifies the lock from the file's current state (no lock identifier is required from the caller). + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// 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.Drives.Item.Items.Item.ReleaseLock.ReleaseLockRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Drives.Item.Items.Item.ReleaseLock.ReleaseLockRequestBuilder(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 ReleaseLockRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/HistoryItems/HistoryItemsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/HistoryItems/HistoryItemsRequestBuilder.cs index c981159308a0..069723db08e1 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/HistoryItems/HistoryItemsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/HistoryItems/HistoryItemsRequestBuilder.cs @@ -54,7 +54,7 @@ public HistoryItemsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) { } /// - /// Get historyItems from groups + /// Collection of history items for entities in the plan. Read-only. Nullable. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public HistoryItemsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerHistoryItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get historyItems from groups + /// Collection of history items for entities in the plan. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.HistoryItems.HistoryItemsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get historyItems from groups + /// Collection of history items for entities in the plan. Read-only. Nullable. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class HistoryItemsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/HistoryItems/Item/PlannerHistoryItemItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/HistoryItems/Item/PlannerHistoryItemItemRequestBuilder.cs index 77198b71fb41..37b745a0117b 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/HistoryItems/Item/PlannerHistoryItemItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/HistoryItems/Item/PlannerHistoryItemItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// Get historyItems from groups + /// Collection of history items for entities in the plan. Read-only. Nullable. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get historyItems from groups + /// Collection of history items for entities in the plan. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class PlannerHistoryItemItemRequestBuilderDeleteRequestConfigurat { } /// - /// Get historyItems from groups + /// Collection of history items for entities in the plan. Read-only. Nullable. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class PlannerHistoryItemItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/HistoryItems/HistoryItemsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/HistoryItems/HistoryItemsRequestBuilder.cs index 977f30452168..8e89cb841564 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/HistoryItems/HistoryItemsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/HistoryItems/HistoryItemsRequestBuilder.cs @@ -54,7 +54,7 @@ public HistoryItemsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) { } /// - /// Get historyItems from groups + /// Collection of history items for entities in the plan. Read-only. Nullable. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public HistoryItemsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerHistoryItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get historyItems from groups + /// Collection of history items for entities in the plan. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.HistoryItems.HistoryItemsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get historyItems from groups + /// Collection of history items for entities in the plan. Read-only. Nullable. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class HistoryItemsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/HistoryItems/Item/PlannerHistoryItemItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/HistoryItems/Item/PlannerHistoryItemItemRequestBuilder.cs index ccdf55b4603f..bd00ec483fde 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/HistoryItems/Item/PlannerHistoryItemItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/HistoryItems/Item/PlannerHistoryItemItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// Get historyItems from groups + /// Collection of history items for entities in the plan. Read-only. Nullable. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get historyItems from groups + /// Collection of history items for entities in the plan. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class PlannerHistoryItemItemRequestBuilderDeleteRequestConfigurat { } /// - /// Get historyItems from groups + /// Collection of history items for entities in the plan. Read-only. Nullable. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class PlannerHistoryItemItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/HistoryItems/HistoryItemsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/HistoryItems/HistoryItemsRequestBuilder.cs index aa517c988eed..595005b6af6f 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/HistoryItems/HistoryItemsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/HistoryItems/HistoryItemsRequestBuilder.cs @@ -54,7 +54,7 @@ public HistoryItemsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) { } /// - /// Get historyItems from groups + /// Collection of history items for entities in the plan. Read-only. Nullable. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public HistoryItemsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerHistoryItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get historyItems from groups + /// Collection of history items for entities in the plan. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.HistoryItems.HistoryItemsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get historyItems from groups + /// Collection of history items for entities in the plan. Read-only. Nullable. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class HistoryItemsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/HistoryItems/Item/PlannerHistoryItemItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/HistoryItems/Item/PlannerHistoryItemItemRequestBuilder.cs index 5dbf5ab4f2c5..34389361bf6a 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/HistoryItems/Item/PlannerHistoryItemItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/HistoryItems/Item/PlannerHistoryItemItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// Get historyItems from groups + /// Collection of history items for entities in the plan. Read-only. Nullable. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get historyItems from groups + /// Collection of history items for entities in the plan. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class PlannerHistoryItemItemRequestBuilderDeleteRequestConfigurat { } /// - /// Get historyItems from groups + /// Collection of history items for entities in the plan. Read-only. Nullable. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class PlannerHistoryItemItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/GetSyncStatus/GetSyncStatusRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/GetSyncStatus/GetSyncStatusRequestBuilder.cs new file mode 100644 index 000000000000..d6dece5ee1ac --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/GetSyncStatus/GetSyncStatusRequestBuilder.cs @@ -0,0 +1,98 @@ +// +#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.Me.ManagedDevices.Item.GetSyncStatus +{ + /// + /// Provides operations to call the getSyncStatus method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GetSyncStatusRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public GetSyncStatusRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedDevices/{managedDevice%2Did}/getSyncStatus()", 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 GetSyncStatusRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedDevices/{managedDevice%2Did}/getSyncStatus()", rawUrl) + { + } + /// + /// Invoke function getSyncStatus + /// + /// 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.DeviceSyncStatusResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function getSyncStatus + /// + /// 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.Me.ManagedDevices.Item.GetSyncStatus.GetSyncStatusRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.ManagedDevices.Item.GetSyncStatus.GetSyncStatusRequestBuilder(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 GetSyncStatusRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/ManagedDeviceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/ManagedDeviceItemRequestBuilder.cs index 44f17e50304f..1459817866ee 100644 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/ManagedDeviceItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/ManagedDeviceItemRequestBuilder.cs @@ -19,6 +19,7 @@ using Microsoft.Graph.Beta.Me.ManagedDevices.Item.EnrollNowAction; using Microsoft.Graph.Beta.Me.ManagedDevices.Item.GetFileVaultKey; using Microsoft.Graph.Beta.Me.ManagedDevices.Item.GetNonCompliantSettings; +using Microsoft.Graph.Beta.Me.ManagedDevices.Item.GetSyncStatus; using Microsoft.Graph.Beta.Me.ManagedDevices.Item.InitiateDeviceAttestation; using Microsoft.Graph.Beta.Me.ManagedDevices.Item.InitiateMobileDeviceManagementKeyRecovery; using Microsoft.Graph.Beta.Me.ManagedDevices.Item.InitiateOnDemandProactiveRemediation; @@ -33,6 +34,7 @@ using Microsoft.Graph.Beta.Me.ManagedDevices.Item.RecoverPasscode; using Microsoft.Graph.Beta.Me.ManagedDevices.Item.Reenable; using Microsoft.Graph.Beta.Me.ManagedDevices.Item.RemoteLock; +using Microsoft.Graph.Beta.Me.ManagedDevices.Item.RemoveDeviceEsim; using Microsoft.Graph.Beta.Me.ManagedDevices.Item.RemoveDeviceFirmwareConfigurationInterfaceManagement; using Microsoft.Graph.Beta.Me.ManagedDevices.Item.RequestRemoteAssistance; using Microsoft.Graph.Beta.Me.ManagedDevices.Item.ResetPasscode; @@ -172,6 +174,11 @@ public partial class ManagedDeviceItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Me.ManagedDevices.Item.GetNonCompliantSettings.GetNonCompliantSettingsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the getSyncStatus method. + public global::Microsoft.Graph.Beta.Me.ManagedDevices.Item.GetSyncStatus.GetSyncStatusRequestBuilder GetSyncStatus + { + get => new global::Microsoft.Graph.Beta.Me.ManagedDevices.Item.GetSyncStatus.GetSyncStatusRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the initiateDeviceAttestation method. public global::Microsoft.Graph.Beta.Me.ManagedDevices.Item.InitiateDeviceAttestation.InitiateDeviceAttestationRequestBuilder InitiateDeviceAttestation { @@ -242,6 +249,11 @@ public partial class ManagedDeviceItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Me.ManagedDevices.Item.RemoteLock.RemoteLockRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the removeDeviceEsim method. + public global::Microsoft.Graph.Beta.Me.ManagedDevices.Item.RemoveDeviceEsim.RemoveDeviceEsimRequestBuilder RemoveDeviceEsim + { + get => new global::Microsoft.Graph.Beta.Me.ManagedDevices.Item.RemoveDeviceEsim.RemoveDeviceEsimRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the removeDeviceFirmwareConfigurationInterfaceManagement method. public global::Microsoft.Graph.Beta.Me.ManagedDevices.Item.RemoveDeviceFirmwareConfigurationInterfaceManagement.RemoveDeviceFirmwareConfigurationInterfaceManagementRequestBuilder RemoveDeviceFirmwareConfigurationInterfaceManagement { diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/RemoveDeviceEsim/RemoveDeviceEsimPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/RemoveDeviceEsim/RemoveDeviceEsimPostRequestBody.cs new file mode 100644 index 000000000000..0dbc854da613 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/RemoveDeviceEsim/RemoveDeviceEsimPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#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.Me.ManagedDevices.Item.RemoveDeviceEsim +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemoveDeviceEsimPostRequestBody : 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 iccId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? IccId + { + get { return BackingStore?.Get("iccId"); } + set { BackingStore?.Set("iccId", value); } + } +#nullable restore +#else + public string IccId + { + get { return BackingStore?.Get("iccId"); } + set { BackingStore?.Set("iccId", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RemoveDeviceEsimPostRequestBody() + { + 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.ManagedDevices.Item.RemoveDeviceEsim.RemoveDeviceEsimPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Me.ManagedDevices.Item.RemoveDeviceEsim.RemoveDeviceEsimPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "iccId", n => { IccId = 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("iccId", IccId); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/RemoveDeviceEsim/RemoveDeviceEsimRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/RemoveDeviceEsim/RemoveDeviceEsimRequestBuilder.cs new file mode 100644 index 000000000000..fdd2ae21d62b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/RemoveDeviceEsim/RemoveDeviceEsimRequestBuilder.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.ManagedDevices.Item.RemoveDeviceEsim +{ + /// + /// Provides operations to call the removeDeviceEsim method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RemoveDeviceEsimRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RemoveDeviceEsimRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedDevices/{managedDevice%2Did}/removeDeviceEsim", 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 RemoveDeviceEsimRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedDevices/{managedDevice%2Did}/removeDeviceEsim", rawUrl) + { + } + /// + /// Remove eSIM from the device + /// + /// 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.ManagedDevices.Item.RemoveDeviceEsim.RemoveDeviceEsimPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Me.ManagedDevices.Item.RemoveDeviceEsim.RemoveDeviceEsimPostRequestBody 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); + } + /// + /// Remove eSIM from the device + /// + /// 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.ManagedDevices.Item.RemoveDeviceEsim.RemoveDeviceEsimPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Me.ManagedDevices.Item.RemoveDeviceEsim.RemoveDeviceEsimPostRequestBody 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.ManagedDevices.Item.RemoveDeviceEsim.RemoveDeviceEsimRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.ManagedDevices.Item.RemoveDeviceEsim.RemoveDeviceEsimRequestBuilder(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 RemoveDeviceEsimRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/HistoryItems/HistoryItemsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/HistoryItems/HistoryItemsRequestBuilder.cs index c894f68447ae..d55aa246ca4c 100644 --- a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/HistoryItems/HistoryItemsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/HistoryItems/HistoryItemsRequestBuilder.cs @@ -54,7 +54,7 @@ public HistoryItemsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) { } /// - /// Get historyItems from me + /// Collection of history items for entities in the plan. Read-only. Nullable. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public HistoryItemsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerHistoryItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get historyItems from me + /// Collection of history items for entities in the plan. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.Me.Planner.Plans.Item.HistoryItems.HistoryItemsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get historyItems from me + /// Collection of history items for entities in the plan. Read-only. Nullable. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class HistoryItemsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/HistoryItems/Item/PlannerHistoryItemItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/HistoryItems/Item/PlannerHistoryItemItemRequestBuilder.cs index 8789a63d54a2..f96b8fc33301 100644 --- a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/HistoryItems/Item/PlannerHistoryItemItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/HistoryItems/Item/PlannerHistoryItemItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// Get historyItems from me + /// Collection of history items for entities in the plan. Read-only. Nullable. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get historyItems from me + /// Collection of history items for entities in the plan. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class PlannerHistoryItemItemRequestBuilderDeleteRequestConfigurat { } /// - /// Get historyItems from me + /// Collection of history items for entities in the plan. Read-only. Nullable. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class PlannerHistoryItemItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Models/AdditionalStorageAllocations.cs b/src/Microsoft.Graph/Generated/Models/AdditionalStorageAllocations.cs new file mode 100644 index 000000000000..ec3f4adef9a8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/AdditionalStorageAllocations.cs @@ -0,0 +1,97 @@ +// +#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 AdditionalStorageAllocations : 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 bonusQuotaInBytes property + public long? BonusQuotaInBytes + { + get { return BackingStore?.Get("bonusQuotaInBytes"); } + set { BackingStore?.Set("bonusQuotaInBytes", 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 subscriptionQuotaInBytes property + public long? SubscriptionQuotaInBytes + { + get { return BackingStore?.Get("subscriptionQuotaInBytes"); } + set { BackingStore?.Set("subscriptionQuotaInBytes", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public AdditionalStorageAllocations() + { + 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.AdditionalStorageAllocations CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.AdditionalStorageAllocations(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "bonusQuotaInBytes", n => { BonusQuotaInBytes = n.GetLongValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "subscriptionQuotaInBytes", n => { SubscriptionQuotaInBytes = n.GetLongValue(); } }, + }; + } + /// + /// 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.WriteLongValue("bonusQuotaInBytes", BonusQuotaInBytes); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteLongValue("subscriptionQuotaInBytes", SubscriptionQuotaInBytes); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ApiUsageReportEnablementStatus.cs b/src/Microsoft.Graph/Generated/Models/ApiUsageReportEnablementStatus.cs index 7bb320572fb6..4a163483efe1 100644 --- a/src/Microsoft.Graph/Generated/Models/ApiUsageReportEnablementStatus.cs +++ b/src/Microsoft.Graph/Generated/Models/ApiUsageReportEnablementStatus.cs @@ -21,7 +21,7 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The name of the API usage report metric. Currently, only EgressReport is supported. + /// The name of the API usage report metric. The supported values are: egressReport, throttlingReport. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Metric diff --git a/src/Microsoft.Graph/Generated/Models/BrowseQueryResponseItem.cs b/src/Microsoft.Graph/Generated/Models/BrowseQueryResponseItem.cs index abeed68f869e..c9acdf2c5cab 100644 --- a/src/Microsoft.Graph/Generated/Models/BrowseQueryResponseItem.cs +++ b/src/Microsoft.Graph/Generated/Models/BrowseQueryResponseItem.cs @@ -21,6 +21,28 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } + /// The createdBy property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.IdentitySet? CreatedBy + { + get { return BackingStore?.Get("createdBy"); } + set { BackingStore?.Set("createdBy", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.IdentitySet CreatedBy + { + get { return BackingStore?.Get("createdBy"); } + set { BackingStore?.Set("createdBy", value); } + } +#endif + /// The createdDateTime property + public DateTimeOffset? CreatedDateTime + { + get { return BackingStore?.Get("createdDateTime"); } + set { BackingStore?.Set("createdDateTime", value); } + } /// Unique identifier of the returned item. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -43,6 +65,28 @@ public int? ItemsCount get { return BackingStore?.Get("itemsCount"); } set { BackingStore?.Set("itemsCount", value); } } + /// The lastModifiedBy property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.IdentitySet? LastModifiedBy + { + get { return BackingStore?.Get("lastModifiedBy"); } + set { BackingStore?.Set("lastModifiedBy", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.IdentitySet LastModifiedBy + { + get { return BackingStore?.Get("lastModifiedBy"); } + set { BackingStore?.Set("lastModifiedBy", value); } + } +#endif + /// The lastModifiedDateTime property + public DateTimeOffset? LastModifiedDateTime + { + get { return BackingStore?.Get("lastModifiedDateTime"); } + set { BackingStore?.Set("lastModifiedDateTime", value); } + } /// The name of the item. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -139,8 +183,12 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { + { "createdBy", n => { CreatedBy = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.IdentitySet.CreateFromDiscriminatorValue); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, { "itemKey", n => { ItemKey = n.GetStringValue(); } }, { "itemsCount", n => { ItemsCount = n.GetIntValue(); } }, + { "lastModifiedBy", n => { LastModifiedBy = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.IdentitySet.CreateFromDiscriminatorValue); } }, + { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, { "name", n => { Name = n.GetStringValue(); } }, { "@odata.type", n => { OdataType = n.GetStringValue(); } }, { "sizeInBytes", n => { SizeInBytes = n.GetStringValue(); } }, @@ -155,8 +203,12 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteObjectValue("createdBy", CreatedBy); + writer.WriteDateTimeOffsetValue("createdDateTime", CreatedDateTime); writer.WriteStringValue("itemKey", ItemKey); writer.WriteIntValue("itemsCount", ItemsCount); + writer.WriteObjectValue("lastModifiedBy", LastModifiedBy); + writer.WriteDateTimeOffsetValue("lastModifiedDateTime", LastModifiedDateTime); writer.WriteStringValue("name", Name); writer.WriteStringValue("@odata.type", OdataType); writer.WriteStringValue("sizeInBytes", SizeInBytes); diff --git a/src/Microsoft.Graph/Generated/Models/CloudPC.cs b/src/Microsoft.Graph/Generated/Models/CloudPC.cs index 843c2047b2fd..0a9676d68093 100644 --- a/src/Microsoft.Graph/Generated/Models/CloudPC.cs +++ b/src/Microsoft.Graph/Generated/Models/CloudPC.cs @@ -212,6 +212,12 @@ public bool? IsDisasterRecoveryActive set { BackingStore?.Set("lastLoginResult", value); } } #endif + /// The date and time when the user last logged off from the Cloud PC session. Returns null if the user has never established a session or if a session is currently active. The timestamp is shown in ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. Returned only when explicitly selected with $select. + public DateTimeOffset? LastLogoffDateTime + { + get { return BackingStore?.Get("lastLogoffDateTime"); } + set { BackingStore?.Set("lastLogoffDateTime", value); } + } /// The last modified date and time of the Cloud PC. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014, is 2014-01-01T00:00:00Z. public DateTimeOffset? LastModifiedDateTime { @@ -545,6 +551,7 @@ public override IDictionary> GetFieldDeserializers() { "imageDisplayName", n => { ImageDisplayName = n.GetStringValue(); } }, { "isDisasterRecoveryActive", n => { IsDisasterRecoveryActive = n.GetBoolValue(); } }, { "lastLoginResult", n => { LastLoginResult = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.CloudPcLoginResult.CreateFromDiscriminatorValue); } }, + { "lastLogoffDateTime", n => { LastLogoffDateTime = n.GetDateTimeOffsetValue(); } }, { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, { "lastRemoteActionResult", n => { LastRemoteActionResult = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.CloudPcRemoteActionResult.CreateFromDiscriminatorValue); } }, { "managedDeviceId", n => { ManagedDeviceId = n.GetStringValue(); } }, @@ -595,6 +602,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteStringValue("imageDisplayName", ImageDisplayName); writer.WriteBoolValue("isDisasterRecoveryActive", IsDisasterRecoveryActive); writer.WriteObjectValue("lastLoginResult", LastLoginResult); + writer.WriteDateTimeOffsetValue("lastLogoffDateTime", LastLogoffDateTime); writer.WriteDateTimeOffsetValue("lastModifiedDateTime", LastModifiedDateTime); writer.WriteObjectValue("lastRemoteActionResult", LastRemoteActionResult); writer.WriteStringValue("managedDeviceId", ManagedDeviceId); diff --git a/src/Microsoft.Graph/Generated/Models/CloudPcOrganizationActionDetail.cs b/src/Microsoft.Graph/Generated/Models/CloudPcOrganizationActionDetail.cs index e7ae8864bf4a..8603048dd332 100644 --- a/src/Microsoft.Graph/Generated/Models/CloudPcOrganizationActionDetail.cs +++ b/src/Microsoft.Graph/Generated/Models/CloudPcOrganizationActionDetail.cs @@ -21,7 +21,7 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The errorDescription property + /// More user-friendly error details. For example, Activation failed due to invalid billing plan. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? ErrorDescription diff --git a/src/Microsoft.Graph/Generated/Models/CloudPcServicePlan.cs b/src/Microsoft.Graph/Generated/Models/CloudPcServicePlan.cs index 3377ef6208eb..8c6bbd66566d 100644 --- a/src/Microsoft.Graph/Generated/Models/CloudPcServicePlan.cs +++ b/src/Microsoft.Graph/Generated/Models/CloudPcServicePlan.cs @@ -40,7 +40,7 @@ public int? RamInGB get { return BackingStore?.Get("ramInGB"); } set { BackingStore?.Set("ramInGB", value); } } - /// The size of the OS Disk in GB. Read-only. + /// The size of the operating system disk in GB. Read-only. public int? StorageInGB { get { return BackingStore?.Get("storageInGB"); } diff --git a/src/Microsoft.Graph/Generated/Models/Desk.cs b/src/Microsoft.Graph/Generated/Models/Desk.cs index b2f8f2998ace..d199c4e71be9 100644 --- a/src/Microsoft.Graph/Generated/Models/Desk.cs +++ b/src/Microsoft.Graph/Generated/Models/Desk.cs @@ -65,6 +65,22 @@ public string DisplayDeviceName get { return BackingStore?.Get("mode"); } set { BackingStore?.Set("mode", value); } } +#endif + /// Service plans associated with the desk. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ServicePlans + { + get { return BackingStore?.Get?>("servicePlans"); } + set { BackingStore?.Set("servicePlans", value); } + } +#nullable restore +#else + public List ServicePlans + { + get { return BackingStore?.Get>("servicePlans"); } + set { BackingStore?.Set("servicePlans", value); } + } #endif /// /// Instantiates a new and sets the default values. @@ -95,6 +111,7 @@ public override IDictionary> GetFieldDeserializers() { "heightAdjustableState", n => { HeightAdjustableState = n.GetEnumValue(); } }, { "mailboxDetails", n => { MailboxDetails = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.MailboxDetails.CreateFromDiscriminatorValue); } }, { "mode", n => { Mode = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.PlaceMode.CreateFromDiscriminatorValue); } }, + { "servicePlans", n => { ServicePlans = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.PlaceServicePlanInfo.CreateFromDiscriminatorValue)?.AsList(); } }, }; } /// @@ -109,6 +126,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteEnumValue("heightAdjustableState", HeightAdjustableState); writer.WriteObjectValue("mailboxDetails", MailboxDetails); writer.WriteObjectValue("mode", Mode); + writer.WriteCollectionOfObjectValues("servicePlans", ServicePlans); } } } diff --git a/src/Microsoft.Graph/Generated/Models/DeviceSyncStatusResponse.cs b/src/Microsoft.Graph/Generated/Models/DeviceSyncStatusResponse.cs new file mode 100644 index 000000000000..584e87e623dd --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/DeviceSyncStatusResponse.cs @@ -0,0 +1,115 @@ +// +#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 DeviceSyncStatusResponse : 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; } + /// Indicates the collection of sync component statuses representing infrastructure and policy progress. Each entry represents a component that has started reporting during this sync operation. Components appear in the collection only after they begin executing. Read-only. Not nullable. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Components + { + get { return BackingStore?.Get?>("components"); } + set { BackingStore?.Set("components", value); } + } +#nullable restore +#else + public List Components + { + get { return BackingStore?.Get>("components"); } + set { BackingStore?.Set("components", value); } + } +#endif + /// Indicates the managed device identifier. Used to correlate this sync status snapshot with the device that was synced. This is the same id used in the managedDevice entity. Example: 'd1e2f3a4-b5c6-7890-abcd-ef1234567890'. Read-only. Not nullable. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DeviceId + { + get { return BackingStore?.Get("deviceId"); } + set { BackingStore?.Set("deviceId", value); } + } +#nullable restore +#else + public string DeviceId + { + get { return BackingStore?.Get("deviceId"); } + set { BackingStore?.Set("deviceId", 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 DeviceSyncStatusResponse() + { + 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.DeviceSyncStatusResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.DeviceSyncStatusResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "components", n => { Components = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.SyncComponent.CreateFromDiscriminatorValue)?.AsList(); } }, + { "deviceId", n => { DeviceId = 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("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Entity.cs b/src/Microsoft.Graph/Generated/Models/Entity.cs index f3cc4321ca86..23568a1b0196 100644 --- a/src/Microsoft.Graph/Generated/Models/Entity.cs +++ b/src/Microsoft.Graph/Generated/Models/Entity.cs @@ -15,6 +15,7 @@ using Microsoft.Graph.Beta.Models.Partners.Billing; using Microsoft.Graph.Beta.Models.Partners; using Microsoft.Graph.Beta.Models.Search; +using Microsoft.Graph.Beta.Models.Security.CaseManagement; using Microsoft.Graph.Beta.Models.Security.Dlp; using Microsoft.Graph.Beta.Models.Security.SecurityCopilot; using Microsoft.Graph.Beta.Models.Security; @@ -1736,6 +1737,21 @@ public Entity() "#microsoft.graph.security.authorityTemplate" => new global::Microsoft.Graph.Beta.Models.Security.AuthorityTemplate(), "#microsoft.graph.security.autoAuditingConfiguration" => new global::Microsoft.Graph.Beta.Models.Security.AutoAuditingConfiguration(), "#microsoft.graph.security.case" => new global::Microsoft.Graph.Beta.Models.Security.Case(), + "#microsoft.graph.security.caseManagement.activity" => new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.Activity(), + "#microsoft.graph.security.caseManagement.attachment" => new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.Attachment(), + "#microsoft.graph.security.caseManagement.auditLog" => new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.AuditLog(), + "#microsoft.graph.security.caseManagement.case" => new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.Case(), + "#microsoft.graph.security.caseManagement.caseManagementEntity" => new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.CaseManagementEntity(), + "#microsoft.graph.security.caseManagement.comment" => new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.Comment(), + "#microsoft.graph.security.caseManagement.exposureCase" => new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.ExposureCase(), + "#microsoft.graph.security.caseManagement.genericCase" => new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.GenericCase(), + "#microsoft.graph.security.caseManagement.incidentCase" => new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.IncidentCase(), + "#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.task" => new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.TaskObject(), + "#microsoft.graph.security.caseManagement.workspaceIndicatorRelation" => new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.WorkspaceIndicatorRelation(), + "#microsoft.graph.security.caseManagementRoot" => new global::Microsoft.Graph.Beta.Models.Security.CaseManagementRoot(), "#microsoft.graph.security.caseOperation" => new global::Microsoft.Graph.Beta.Models.Security.CaseOperation(), "#microsoft.graph.security.casesRoot" => new global::Microsoft.Graph.Beta.Models.Security.CasesRoot(), "#microsoft.graph.security.categoryTemplate" => new global::Microsoft.Graph.Beta.Models.Security.CategoryTemplate(), diff --git a/src/Microsoft.Graph/Generated/Models/ExternalConnectors/ExternalItem.cs b/src/Microsoft.Graph/Generated/Models/ExternalConnectors/ExternalItem.cs index a5d577aea647..93e9749eab05 100644 --- a/src/Microsoft.Graph/Generated/Models/ExternalConnectors/ExternalItem.cs +++ b/src/Microsoft.Graph/Generated/Models/ExternalConnectors/ExternalItem.cs @@ -60,7 +60,7 @@ public partial class ExternalItem : global::Microsoft.Graph.Beta.Models.Entity, set { BackingStore?.Set("content", value); } } #endif - /// The informationProtectionLabel property + /// Specifies the Microsoft Purview sensitivity label for the item. Set the sensitivityLabelId property to the GUID of a Purview sensitivity label. The service then applies the label rules to the item. To get the label GUID, use the Get sensitivityLabel API or the Get-Label PowerShell command. Optional. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.ExternalConnectors.ExternalItemInformationProtectionLabel? InformationProtectionLabel diff --git a/src/Microsoft.Graph/Generated/Models/ExternalConnectors/ExternalItemInformationProtectionLabel.cs b/src/Microsoft.Graph/Generated/Models/ExternalConnectors/ExternalItemInformationProtectionLabel.cs index 75a5401825c2..2d204873cfab 100644 --- a/src/Microsoft.Graph/Generated/Models/ExternalConnectors/ExternalItemInformationProtectionLabel.cs +++ b/src/Microsoft.Graph/Generated/Models/ExternalConnectors/ExternalItemInformationProtectionLabel.cs @@ -37,7 +37,7 @@ public string OdataType set { BackingStore?.Set("@odata.type", value); } } #endif - /// The sensitivityLabelId property + /// The GUID of the Purview sensitivity label. To get the label GUID, use the Get sensitivityLabel API or the Get-Label PowerShell command. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? SensitivityLabelId diff --git a/src/Microsoft.Graph/Generated/Models/FamilyMemberStorageQuota.cs b/src/Microsoft.Graph/Generated/Models/FamilyMemberStorageQuota.cs new file mode 100644 index 000000000000..3aa45bc5ff0a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/FamilyMemberStorageQuota.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class FamilyMemberStorageQuota : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// The additionalAllocations property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.AdditionalStorageAllocations? AdditionalAllocations + { + get { return BackingStore?.Get("additionalAllocations"); } + set { BackingStore?.Set("additionalAllocations", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.AdditionalStorageAllocations AdditionalAllocations + { + get { return BackingStore?.Get("additionalAllocations"); } + set { BackingStore?.Set("additionalAllocations", value); } + } +#endif + /// 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 used property + public long? Used + { + get { return BackingStore?.Get("used"); } + set { BackingStore?.Set("used", value); } + } + /// The user property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.Identity? User + { + get { return BackingStore?.Get("user"); } + set { BackingStore?.Set("user", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.Identity User + { + get { return BackingStore?.Get("user"); } + set { BackingStore?.Set("user", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public FamilyMemberStorageQuota() + { + 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.FamilyMemberStorageQuota CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.FamilyMemberStorageQuota(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "additionalAllocations", n => { AdditionalAllocations = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.AdditionalStorageAllocations.CreateFromDiscriminatorValue); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "used", n => { Used = n.GetLongValue(); } }, + { "user", n => { User = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.Identity.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.WriteObjectValue("additionalAllocations", AdditionalAllocations); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteLongValue("used", Used); + writer.WriteObjectValue("user", User); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/GuestSponsorTrigger.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/GuestSponsorTrigger.cs new file mode 100644 index 000000000000..da0c2614c046 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/GuestSponsorTrigger.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.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class GuestSponsorTrigger : global::Microsoft.Graph.Beta.Models.IdentityGovernance.WorkflowExecutionTrigger, IParsable + #pragma warning restore CS1591 + { + /// The minimumRequiredSponsors property + public int? MinimumRequiredSponsors + { + get { return BackingStore?.Get("minimumRequiredSponsors"); } + set { BackingStore?.Set("minimumRequiredSponsors", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public GuestSponsorTrigger() : base() + { + OdataType = "#microsoft.graph.identityGovernance.guestSponsorTrigger"; + } + /// + /// 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.GuestSponsorTrigger CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.IdentityGovernance.GuestSponsorTrigger(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "minimumRequiredSponsors", n => { MinimumRequiredSponsors = 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.WriteIntValue("minimumRequiredSponsors", MinimumRequiredSponsors); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/WorkflowExecutionTrigger.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/WorkflowExecutionTrigger.cs index 51d0065c90d9..5d4ade141d8a 100644 --- a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/WorkflowExecutionTrigger.cs +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/WorkflowExecutionTrigger.cs @@ -57,6 +57,7 @@ public WorkflowExecutionTrigger() return mappingValue switch { "#microsoft.graph.identityGovernance.attributeChangeTrigger" => new global::Microsoft.Graph.Beta.Models.IdentityGovernance.AttributeChangeTrigger(), + "#microsoft.graph.identityGovernance.guestSponsorTrigger" => new global::Microsoft.Graph.Beta.Models.IdentityGovernance.GuestSponsorTrigger(), "#microsoft.graph.identityGovernance.membershipChangeTrigger" => new global::Microsoft.Graph.Beta.Models.IdentityGovernance.MembershipChangeTrigger(), "#microsoft.graph.identityGovernance.timeBasedAttributeTrigger" => new global::Microsoft.Graph.Beta.Models.IdentityGovernance.TimeBasedAttributeTrigger(), "#microsoft.graph.identityGovernance.userInactivityTrigger" => new global::Microsoft.Graph.Beta.Models.IdentityGovernance.UserInactivityTrigger(), diff --git a/src/Microsoft.Graph/Generated/Models/Place.cs b/src/Microsoft.Graph/Generated/Models/Place.cs index 7663345856a2..a5e8d5bfe139 100644 --- a/src/Microsoft.Graph/Generated/Models/Place.cs +++ b/src/Microsoft.Graph/Generated/Models/Place.cs @@ -145,6 +145,22 @@ public string Phone get { return BackingStore?.Get("phone"); } set { BackingStore?.Set("phone", value); } } +#endif + /// A stable service-level identifier for the place object used by Places workloads. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? PlaceId + { + get { return BackingStore?.Get("placeId"); } + set { BackingStore?.Set("placeId", value); } + } +#nullable restore +#else + public string PlaceId + { + get { return BackingStore?.Get("placeId"); } + set { BackingStore?.Set("placeId", value); } + } #endif /// Custom tags that are associated with the place for categorization or filtering. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -200,6 +216,7 @@ public override IDictionary> GetFieldDeserializers() { "label", n => { Label = n.GetStringValue(); } }, { "parentId", n => { ParentId = n.GetStringValue(); } }, { "phone", n => { Phone = n.GetStringValue(); } }, + { "placeId", n => { PlaceId = n.GetStringValue(); } }, { "tags", n => { Tags = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, }; } @@ -220,6 +237,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteStringValue("label", Label); writer.WriteStringValue("parentId", ParentId); writer.WriteStringValue("phone", Phone); + writer.WriteStringValue("placeId", PlaceId); writer.WriteCollectionOfPrimitiveValues("tags", Tags); } } diff --git a/src/Microsoft.Graph/Generated/Models/PlaceServicePlanInfo.cs b/src/Microsoft.Graph/Generated/Models/PlaceServicePlanInfo.cs new file mode 100644 index 000000000000..1a0275cc3c51 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/PlaceServicePlanInfo.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 +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class PlaceServicePlanInfo : 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 + /// The service plan identifier. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ServicePlanId + { + get { return BackingStore?.Get("servicePlanId"); } + set { BackingStore?.Set("servicePlanId", value); } + } +#nullable restore +#else + public string ServicePlanId + { + get { return BackingStore?.Get("servicePlanId"); } + set { BackingStore?.Set("servicePlanId", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public PlaceServicePlanInfo() + { + 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.PlaceServicePlanInfo CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.PlaceServicePlanInfo(); + } + /// + /// 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(); } }, + { "servicePlanId", n => { ServicePlanId = 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.WriteStringValue("servicePlanId", ServicePlanId); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/PlannerHistoryItem.cs b/src/Microsoft.Graph/Generated/Models/PlannerHistoryItem.cs index e0d0d96f7095..3b61d8b69d9a 100644 --- a/src/Microsoft.Graph/Generated/Models/PlannerHistoryItem.cs +++ b/src/Microsoft.Graph/Generated/Models/PlannerHistoryItem.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Beta.Models public partial class PlannerHistoryItem : global::Microsoft.Graph.Beta.Models.PlannerDelta, IParsable #pragma warning restore CS1591 { - /// The actor property + /// The identity of the user or application that performed the change. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.IdentitySet? Actor @@ -28,7 +28,7 @@ public partial class PlannerHistoryItem : global::Microsoft.Graph.Beta.Models.Pl set { BackingStore?.Set("actor", value); } } #endif - /// The entityId property + /// The ID of the entity that was changed. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? EntityId @@ -56,13 +56,13 @@ public string EntityId get { return BackingStore?.Get("eventType"); } set { BackingStore?.Set("eventType", value); } } - /// The occurredDateTime property + /// The date and time when the change occurred. 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? OccurredDateTime { get { return BackingStore?.Get("occurredDateTime"); } set { BackingStore?.Set("occurredDateTime", value); } } - /// The planId property + /// The ID of the plan that contains the changed entity. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? PlanId diff --git a/src/Microsoft.Graph/Generated/Models/PlannerPlan.cs b/src/Microsoft.Graph/Generated/Models/PlannerPlan.cs index 0d0c78e86360..9a9ba157f96a 100644 --- a/src/Microsoft.Graph/Generated/Models/PlannerPlan.cs +++ b/src/Microsoft.Graph/Generated/Models/PlannerPlan.cs @@ -146,7 +146,7 @@ public DateTimeOffset? CreatedDateTime set { BackingStore?.Set("details", value); } } #endif - /// The historyItems property + /// Collection of history items for entities in the plan. Read-only. Nullable. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? HistoryItems diff --git a/src/Microsoft.Graph/Generated/Models/PlannerTaskData.cs b/src/Microsoft.Graph/Generated/Models/PlannerTaskData.cs index 9798228525ff..13a1fe9498f9 100644 --- a/src/Microsoft.Graph/Generated/Models/PlannerTaskData.cs +++ b/src/Microsoft.Graph/Generated/Models/PlannerTaskData.cs @@ -13,7 +13,7 @@ namespace Microsoft.Graph.Beta.Models public partial class PlannerTaskData : IAdditionalDataHolder, IBackedModel, IParsable #pragma warning restore CS1591 { - /// The activeChecklistItemCount property + /// The number of incomplete checklist items whose value is set to false. public int? ActiveChecklistItemCount { get { return BackingStore?.Get("activeChecklistItemCount"); } @@ -25,7 +25,7 @@ public IDictionary AdditionalData get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } set { BackingStore.Set("AdditionalData", value); } } - /// The appliedCategories property + /// The categories to which the task is applied. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.PlannerAppliedCategories? AppliedCategories @@ -41,7 +41,7 @@ public IDictionary AdditionalData set { BackingStore?.Set("appliedCategories", value); } } #endif - /// The archivalInfo property + /// Information about who archived or unarchived the task and why. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.PlannerArchivalInfo? ArchivalInfo @@ -57,7 +57,7 @@ public IDictionary AdditionalData set { BackingStore?.Set("archivalInfo", value); } } #endif - /// The assignments property + /// The set of assignees the task is assigned to. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.PlannerAssignments? Assignments @@ -75,7 +75,7 @@ public IDictionary AdditionalData #endif /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The bucketId property + /// Bucket ID to which the task belongs. The bucket needs to be in the same plan as the task. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? BucketId @@ -91,13 +91,13 @@ public string BucketId set { BackingStore?.Set("bucketId", value); } } #endif - /// The checklistItemCount property + /// The number of checklist items that are present on the task. public int? ChecklistItemCount { get { return BackingStore?.Get("checklistItemCount"); } set { BackingStore?.Set("checklistItemCount", value); } } - /// The completedBy property + /// The identity of the user that completed the task. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.IdentitySet? CompletedBy @@ -113,13 +113,13 @@ public int? ChecklistItemCount set { BackingStore?.Set("completedBy", value); } } #endif - /// The completedDateTime property + /// The date and time at which the percentComplete of the task is set to 100. 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? CompletedDateTime { get { return BackingStore?.Get("completedDateTime"); } set { BackingStore?.Set("completedDateTime", value); } } - /// The conversationThreadId property + /// The thread ID of the conversation on the task that corresponds to the ID of the conversation thread object created in the group. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? ConversationThreadId @@ -135,7 +135,7 @@ public string ConversationThreadId set { BackingStore?.Set("conversationThreadId", value); } } #endif - /// The createdBy property + /// The identity of the user who created the task. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.IdentitySet? CreatedBy @@ -151,13 +151,13 @@ public string ConversationThreadId set { BackingStore?.Set("createdBy", value); } } #endif - /// The createdDateTime property + /// The date and time at which the task was created. 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? CreatedDateTime { get { return BackingStore?.Get("createdDateTime"); } set { BackingStore?.Set("createdDateTime", value); } } - /// The creationSource property + /// Information about the origin of the task. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.PlannerTaskCreation? CreationSource @@ -173,7 +173,7 @@ public DateTimeOffset? CreatedDateTime set { BackingStore?.Set("creationSource", value); } } #endif - /// The details property + /// Additional details about the task. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.PlannerTaskDetailsData? Details @@ -189,25 +189,25 @@ public DateTimeOffset? CreatedDateTime set { BackingStore?.Set("details", value); } } #endif - /// The dueDateTime property + /// The date and time at which the task is due. 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? DueDateTime { get { return BackingStore?.Get("dueDateTime"); } set { BackingStore?.Set("dueDateTime", value); } } - /// The hasChat property + /// Set to true if the task has a chat associated with it; otherwise, false. public bool? HasChat { get { return BackingStore?.Get("hasChat"); } set { BackingStore?.Set("hasChat", value); } } - /// The hasDescription property + /// Set to true if the details object of the task has a nonempty description; otherwise, false. public bool? HasDescription { get { return BackingStore?.Get("hasDescription"); } set { BackingStore?.Set("hasDescription", value); } } - /// The isArchived property + /// Set to true if the task is archived; otherwise, false. public bool? IsArchived { get { return BackingStore?.Get("isArchived"); } @@ -229,7 +229,7 @@ public string OdataType set { BackingStore?.Set("@odata.type", value); } } #endif - /// The orderHint property + /// Hint used to order items of this type in a list view. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? OrderHint @@ -245,7 +245,7 @@ public string OrderHint set { BackingStore?.Set("orderHint", value); } } #endif - /// The percentComplete property + /// Percentage of task completion. When set to 100, the task is considered completed. public int? PercentComplete { get { return BackingStore?.Get("percentComplete"); } @@ -257,13 +257,13 @@ public int? PercentComplete get { return BackingStore?.Get("previewType"); } set { BackingStore?.Set("previewType", value); } } - /// The priority property + /// The priority of the task. Valid values are between 0 and 10, inclusive. Larger values indicate lower priority. For example, 0 has the highest priority and 10 has the lowest priority. public int? Priority { get { return BackingStore?.Get("priority"); } set { BackingStore?.Set("priority", value); } } - /// The recurrence property + /// Defines active or inactive recurrence for the task. A null value indicates that the recurrence was never defined for the task. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.PlannerTaskRecurrence? Recurrence @@ -279,7 +279,7 @@ public int? Priority set { BackingStore?.Set("recurrence", value); } } #endif - /// The referenceCount property + /// Number of external references that exist on the task. public int? ReferenceCount { get { return BackingStore?.Get("referenceCount"); } @@ -291,13 +291,13 @@ public int? ReferenceCount get { return BackingStore?.Get("specifiedCompletionRequirements"); } set { BackingStore?.Set("specifiedCompletionRequirements", value); } } - /// The startDateTime property + /// The date and time at which the task starts. The date and time information uses ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2021 is 2021-01-01T00:00:00Z. public DateTimeOffset? StartDateTime { get { return BackingStore?.Get("startDateTime"); } set { BackingStore?.Set("startDateTime", value); } } - /// The title property + /// Title of the task. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Title diff --git a/src/Microsoft.Graph/Generated/Models/PlannerTaskDetailsData.cs b/src/Microsoft.Graph/Generated/Models/PlannerTaskDetailsData.cs index f69d588d72da..de711bef9655 100644 --- a/src/Microsoft.Graph/Generated/Models/PlannerTaskDetailsData.cs +++ b/src/Microsoft.Graph/Generated/Models/PlannerTaskDetailsData.cs @@ -19,7 +19,7 @@ public IDictionary AdditionalData get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } set { BackingStore.Set("AdditionalData", value); } } - /// The approvalAttachment property + /// Detailed information about the approval that is attached to the task. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.PlannerBaseApprovalAttachment? ApprovalAttachment @@ -37,7 +37,7 @@ public IDictionary AdditionalData #endif /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The checklist property + /// The collection of checklist items on the task. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.PlannerChecklistItems? Checklist @@ -53,7 +53,7 @@ public IDictionary AdditionalData set { BackingStore?.Set("checklist", value); } } #endif - /// The completionRequirements property + /// Contains detailed information about requirements on the task. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.PlannerTaskCompletionRequirementDetails? CompletionRequirements @@ -69,7 +69,7 @@ public IDictionary AdditionalData set { BackingStore?.Set("completionRequirements", value); } } #endif - /// The description property + /// Description of the task. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Description @@ -85,7 +85,7 @@ public string Description set { BackingStore?.Set("description", value); } } #endif - /// The forms property + /// The collection of forms associated with the task. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.PlannerFormsDictionary? Forms @@ -101,7 +101,7 @@ public string Description set { BackingStore?.Set("forms", value); } } #endif - /// The notes property + /// Rich text description of the task for use by applications that support HTML content. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.ItemBody? Notes @@ -139,7 +139,7 @@ public string OdataType get { return BackingStore?.Get("previewType"); } set { BackingStore?.Set("previewType", value); } } - /// The references property + /// The collection of references on the task. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.PlannerExternalReferences? References diff --git a/src/Microsoft.Graph/Generated/Models/Room.cs b/src/Microsoft.Graph/Generated/Models/Room.cs index 1fd38a487e1d..841fe3c0a792 100644 --- a/src/Microsoft.Graph/Generated/Models/Room.cs +++ b/src/Microsoft.Graph/Generated/Models/Room.cs @@ -131,22 +131,6 @@ public string Nickname get { return BackingStore?.Get("nickname"); } set { BackingStore?.Set("nickname", value); } } -#endif - /// The placeId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? PlaceId - { - get { return BackingStore?.Get("placeId"); } - set { BackingStore?.Set("placeId", value); } - } -#nullable restore -#else - public string PlaceId - { - get { return BackingStore?.Get("placeId"); } - set { BackingStore?.Set("placeId", value); } - } #endif /// The teamsEnabledState property public global::Microsoft.Graph.Beta.Models.PlaceFeatureEnablement? TeamsEnabledState @@ -205,7 +189,6 @@ public override IDictionary> GetFieldDeserializers() { "floorNumber", n => { FloorNumber = n.GetIntValue(); } }, { "isTeamsEnabled", n => { IsTeamsEnabled = n.GetBoolValue(); } }, { "nickname", n => { Nickname = n.GetStringValue(); } }, - { "placeId", n => { PlaceId = n.GetStringValue(); } }, { "teamsEnabledState", n => { TeamsEnabledState = n.GetEnumValue(); } }, { "videoDeviceName", n => { VideoDeviceName = n.GetStringValue(); } }, }; @@ -228,7 +211,6 @@ public override void Serialize(ISerializationWriter writer) writer.WriteIntValue("floorNumber", FloorNumber); writer.WriteBoolValue("isTeamsEnabled", IsTeamsEnabled); writer.WriteStringValue("nickname", Nickname); - writer.WriteStringValue("placeId", PlaceId); writer.WriteEnumValue("teamsEnabledState", TeamsEnabledState); writer.WriteStringValue("videoDeviceName", VideoDeviceName); } diff --git a/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/Activity.cs b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/Activity.cs new file mode 100644 index 000000000000..65fa68101cbc --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/Activity.cs @@ -0,0 +1,59 @@ +// +#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 Activity : global::Microsoft.Graph.Beta.Models.Security.CaseManagement.CaseManagementEntity, IParsable + #pragma warning restore CS1591 + { + /// + /// Instantiates a new and sets the default values. + /// + public Activity() : base() + { + OdataType = "#microsoft.graph.security.caseManagement.activity"; + } + /// + /// 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.Activity 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.auditLog" => new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.AuditLog(), + "#microsoft.graph.security.caseManagement.comment" => new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.Comment(), + _ => new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.Activity(), + }; + } + /// + /// 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/Security/CaseManagement/ActivityCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/ActivityCollectionResponse.cs new file mode 100644 index 000000000000..ddf71872aef8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/ActivityCollectionResponse.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 ActivityCollectionResponse : 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.ActivityCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.ActivityCollectionResponse(); + } + /// + /// 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.Activity.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/ActivityResourceDetails.cs b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/ActivityResourceDetails.cs new file mode 100644 index 000000000000..bb53ea06ab5c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/ActivityResourceDetails.cs @@ -0,0 +1,117 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Security.CaseManagement +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ActivityResourceDetails : 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 resource kind, such as task or relation. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Kind + { + get { return BackingStore?.Get("kind"); } + set { BackingStore?.Set("kind", value); } + } +#nullable restore +#else + public string Kind + { + get { return BackingStore?.Get("kind"); } + set { BackingStore?.Set("kind", 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 identifier of the resource associated with the activity. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ResourceId + { + get { return BackingStore?.Get("resourceId"); } + set { BackingStore?.Set("resourceId", value); } + } +#nullable restore +#else + public string ResourceId + { + get { return BackingStore?.Get("resourceId"); } + set { BackingStore?.Set("resourceId", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ActivityResourceDetails() + { + 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.ActivityResourceDetails CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.ActivityResourceDetails(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "kind", n => { Kind = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "resourceId", n => { ResourceId = 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("kind", Kind); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteStringValue("resourceId", ResourceId); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/AlertCounts.cs b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/AlertCounts.cs new file mode 100644 index 000000000000..15389e7e093f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/AlertCounts.cs @@ -0,0 +1,133 @@ +// +#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 AlertCounts : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// The number of active alerts. + public int? Active + { + get { return BackingStore?.Get("active"); } + set { BackingStore?.Set("active", value); } + } + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The alert counts grouped by incident severity. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.Security.CaseManagement.IncidentSeverityCounts? BySeverity + { + get { return BackingStore?.Get("bySeverity"); } + set { BackingStore?.Set("bySeverity", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.Security.CaseManagement.IncidentSeverityCounts BySeverity + { + get { return BackingStore?.Get("bySeverity"); } + set { BackingStore?.Set("bySeverity", value); } + } +#endif + /// The alert counts grouped by alert status. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.Security.CaseManagement.AlertStatusCounts? ByStatus + { + get { return BackingStore?.Get("byStatus"); } + set { BackingStore?.Set("byStatus", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.Security.CaseManagement.AlertStatusCounts ByStatus + { + get { return BackingStore?.Get("byStatus"); } + set { BackingStore?.Set("byStatus", 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 total number of alerts. + public int? Total + { + get { return BackingStore?.Get("total"); } + set { BackingStore?.Set("total", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public AlertCounts() + { + 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.AlertCounts CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.AlertCounts(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "active", n => { Active = n.GetIntValue(); } }, + { "bySeverity", n => { BySeverity = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.Security.CaseManagement.IncidentSeverityCounts.CreateFromDiscriminatorValue); } }, + { "byStatus", n => { ByStatus = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.Security.CaseManagement.AlertStatusCounts.CreateFromDiscriminatorValue); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "total", n => { Total = 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("active", Active); + writer.WriteObjectValue("bySeverity", BySeverity); + writer.WriteObjectValue("byStatus", ByStatus); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteIntValue("total", Total); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/AlertStatusCounts.cs b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/AlertStatusCounts.cs new file mode 100644 index 000000000000..5bf8d9d00077 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/AlertStatusCounts.cs @@ -0,0 +1,105 @@ +// +#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 AlertStatusCounts : 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 number of alerts that are in progress. + public int? InProgress + { + get { return BackingStore?.Get("inProgress"); } + set { BackingStore?.Set("inProgress", value); } + } + /// The number of new alerts. + public int? New + { + get { return BackingStore?.Get("new"); } + set { BackingStore?.Set("new", 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 number of resolved alerts. + public int? Resolved + { + get { return BackingStore?.Get("resolved"); } + set { BackingStore?.Set("resolved", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public AlertStatusCounts() + { + 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.AlertStatusCounts CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.AlertStatusCounts(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "inProgress", n => { InProgress = n.GetIntValue(); } }, + { "new", n => { New = n.GetIntValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "resolved", n => { Resolved = 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("inProgress", InProgress); + writer.WriteIntValue("new", New); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteIntValue("resolved", Resolved); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/Attachment.cs b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/Attachment.cs new file mode 100644 index 000000000000..3ad27f4f4eda --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/Attachment.cs @@ -0,0 +1,159 @@ +// +#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 Attachment : global::Microsoft.Graph.Beta.Models.Security.CaseManagement.CaseManagementEntity, IParsable + #pragma warning restore CS1591 + { + /// The binary content stream for the attachment. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public byte[]? Content + { + get { return BackingStore?.Get("content"); } + set { BackingStore?.Set("content", value); } + } +#nullable restore +#else + public byte[] Content + { + get { return BackingStore?.Get("content"); } + set { BackingStore?.Set("content", value); } + } +#endif + /// The description of the attachment. +#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 attachment. +#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 file extension of the attachment. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? FileExtension + { + get { return BackingStore?.Get("fileExtension"); } + set { BackingStore?.Set("fileExtension", value); } + } +#nullable restore +#else + public string FileExtension + { + get { return BackingStore?.Get("fileExtension"); } + set { BackingStore?.Set("fileExtension", value); } + } +#endif + /// The size of the attachment in bytes. + public long? FileSize + { + get { return BackingStore?.Get("fileSize"); } + set { BackingStore?.Set("fileSize", value); } + } + /// The origin reference for the attachment. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.Security.CaseManagement.AttachmentOrigin? Origin + { + get { return BackingStore?.Get("origin"); } + set { BackingStore?.Set("origin", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.Security.CaseManagement.AttachmentOrigin Origin + { + get { return BackingStore?.Get("origin"); } + set { BackingStore?.Set("origin", value); } + } +#endif + /// The scanResult property + public global::Microsoft.Graph.Beta.Models.Security.CaseManagement.AttachmentScanResult? ScanResult + { + get { return BackingStore?.Get("scanResult"); } + set { BackingStore?.Set("scanResult", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public Attachment() : base() + { + OdataType = "#microsoft.graph.security.caseManagement.attachment"; + } + /// + /// 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.Attachment CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.Attachment(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "content", n => { Content = n.GetByteArrayValue(); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "fileExtension", n => { FileExtension = n.GetStringValue(); } }, + { "fileSize", n => { FileSize = n.GetLongValue(); } }, + { "origin", n => { Origin = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.Security.CaseManagement.AttachmentOrigin.CreateFromDiscriminatorValue); } }, + { "scanResult", n => { ScanResult = 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.WriteByteArrayValue("content", Content); + writer.WriteStringValue("description", Description); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteStringValue("fileExtension", FileExtension); + writer.WriteLongValue("fileSize", FileSize); + writer.WriteObjectValue("origin", Origin); + writer.WriteEnumValue("scanResult", ScanResult); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/AttachmentCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/AttachmentCollectionResponse.cs new file mode 100644 index 000000000000..af2f8da3a543 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/AttachmentCollectionResponse.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 AttachmentCollectionResponse : 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.AttachmentCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.AttachmentCollectionResponse(); + } + /// + /// 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.Attachment.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/AttachmentOrigin.cs b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/AttachmentOrigin.cs new file mode 100644 index 000000000000..13e4548b4bb7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/AttachmentOrigin.cs @@ -0,0 +1,107 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Security.CaseManagement +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AttachmentOrigin : 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 + /// The identifier of the origin resource. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ResourceId + { + get { return BackingStore?.Get("resourceId"); } + set { BackingStore?.Set("resourceId", value); } + } +#nullable restore +#else + public string ResourceId + { + get { return BackingStore?.Get("resourceId"); } + set { BackingStore?.Set("resourceId", value); } + } +#endif + /// The resourceType property + public global::Microsoft.Graph.Beta.Models.Security.CaseManagement.AttachmentOriginType? ResourceType + { + get { return BackingStore?.Get("resourceType"); } + set { BackingStore?.Set("resourceType", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public AttachmentOrigin() + { + 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.AttachmentOrigin CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.AttachmentOrigin(); + } + /// + /// 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(); } }, + { "resourceId", n => { ResourceId = n.GetStringValue(); } }, + { "resourceType", n => { ResourceType = 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.WriteStringValue("@odata.type", OdataType); + writer.WriteStringValue("resourceId", ResourceId); + writer.WriteEnumValue("resourceType", ResourceType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/AttachmentOriginType.cs b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/AttachmentOriginType.cs new file mode 100644 index 000000000000..b5dff90ce954 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/AttachmentOriginType.cs @@ -0,0 +1,28 @@ +// +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 AttachmentOriginType + #pragma warning restore CS1591 + { + [EnumMember(Value = "case")] + #pragma warning disable CS1591 + Case, + #pragma warning restore CS1591 + [EnumMember(Value = "comment")] + #pragma warning disable CS1591 + Comment, + #pragma warning restore CS1591 + [EnumMember(Value = "task")] + #pragma warning disable CS1591 + Task, + #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/AttachmentScanResult.cs b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/AttachmentScanResult.cs new file mode 100644 index 000000000000..376e0a8d3bb2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/AttachmentScanResult.cs @@ -0,0 +1,28 @@ +// +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 AttachmentScanResult + #pragma warning restore CS1591 + { + [EnumMember(Value = "unscanned")] + #pragma warning disable CS1591 + Unscanned, + #pragma warning restore CS1591 + [EnumMember(Value = "noThreatsFound")] + #pragma warning disable CS1591 + NoThreatsFound, + #pragma warning restore CS1591 + [EnumMember(Value = "malicious")] + #pragma warning disable CS1591 + Malicious, + #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/AuditAction.cs b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/AuditAction.cs new file mode 100644 index 000000000000..42e7e0257260 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/AuditAction.cs @@ -0,0 +1,48 @@ +// +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 AuditAction + #pragma warning restore CS1591 + { + [EnumMember(Value = "link")] + #pragma warning disable CS1591 + Link, + #pragma warning restore CS1591 + [EnumMember(Value = "unlink")] + #pragma warning disable CS1591 + Unlink, + #pragma warning restore CS1591 + [EnumMember(Value = "update")] + #pragma warning disable CS1591 + Update, + #pragma warning restore CS1591 + [EnumMember(Value = "delete")] + #pragma warning disable CS1591 + Delete, + #pragma warning restore CS1591 + [EnumMember(Value = "create")] + #pragma warning disable CS1591 + Create, + #pragma warning restore CS1591 + [EnumMember(Value = "upload")] + #pragma warning disable CS1591 + Upload, + #pragma warning restore CS1591 + [EnumMember(Value = "download")] + #pragma warning disable CS1591 + Download, + #pragma warning restore CS1591 + [EnumMember(Value = "fileUploadMalwareDetected")] + #pragma warning disable CS1591 + FileUploadMalwareDetected, + #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/AuditLog.cs b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/AuditLog.cs new file mode 100644 index 000000000000..485373a7ee85 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/AuditLog.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 AuditLog : global::Microsoft.Graph.Beta.Models.Security.CaseManagement.Activity, IParsable + #pragma warning restore CS1591 + { + /// The action property + public global::Microsoft.Graph.Beta.Models.Security.CaseManagement.AuditAction? Action + { + get { return BackingStore?.Get("action"); } + set { BackingStore?.Set("action", value); } + } + /// The target resource details for the audit activity. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.Security.CaseManagement.ActivityResourceDetails? Details + { + get { return BackingStore?.Get("details"); } + set { BackingStore?.Set("details", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.Security.CaseManagement.ActivityResourceDetails Details + { + get { return BackingStore?.Get("details"); } + set { BackingStore?.Set("details", value); } + } +#endif + /// The collection of property changes recorded in the audit log. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ModifiedProperties + { + get { return BackingStore?.Get?>("modifiedProperties"); } + set { BackingStore?.Set("modifiedProperties", value); } + } +#nullable restore +#else + public List ModifiedProperties + { + get { return BackingStore?.Get>("modifiedProperties"); } + set { BackingStore?.Set("modifiedProperties", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public AuditLog() : base() + { + OdataType = "#microsoft.graph.security.caseManagement.auditLog"; + } + /// + /// 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.AuditLog CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.AuditLog(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "action", n => { Action = n.GetEnumValue(); } }, + { "details", n => { Details = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.Security.CaseManagement.ActivityResourceDetails.CreateFromDiscriminatorValue); } }, + { "modifiedProperties", n => { ModifiedProperties = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.Security.CaseManagement.ModifiedProperty.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.WriteEnumValue("action", Action); + writer.WriteObjectValue("details", Details); + writer.WriteCollectionOfObjectValues("modifiedProperties", ModifiedProperties); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/BooleanValueProperty.cs b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/BooleanValueProperty.cs new file mode 100644 index 000000000000..5ddb63fd68ae --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/BooleanValueProperty.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.Security.CaseManagement +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class BooleanValueProperty : global::Microsoft.Graph.Beta.Models.Security.CaseManagement.ValueProperty, IParsable + #pragma warning restore CS1591 + { + /// The Boolean value. + public bool? Value + { + get { return BackingStore?.Get("value"); } + set { BackingStore?.Set("value", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public BooleanValueProperty() : base() + { + OdataType = "#microsoft.graph.security.caseManagement.booleanValueProperty"; + } + /// + /// 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.BooleanValueProperty CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.BooleanValueProperty(); + } + /// + /// 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.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("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/Case.cs b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/Case.cs new file mode 100644 index 000000000000..9a5afa776f5b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/Case.cs @@ -0,0 +1,186 @@ +// +#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 Case : global::Microsoft.Graph.Beta.Models.Security.CaseManagement.CaseManagementEntity, IParsable + #pragma warning restore CS1591 + { + /// The timeline of comments and audit events associated with the case. Supports $expand. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Activities + { + get { return BackingStore?.Get?>("activities"); } + set { BackingStore?.Set("activities", value); } + } +#nullable restore +#else + public List Activities + { + get { return BackingStore?.Get>("activities"); } + set { BackingStore?.Set("activities", value); } + } +#endif + /// Evidence files and metadata associated with the case. Supports $expand. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Attachments + { + get { return BackingStore?.Get?>("attachments"); } + set { BackingStore?.Set("attachments", value); } + } +#nullable restore +#else + public List Attachments + { + get { return BackingStore?.Get>("attachments"); } + set { BackingStore?.Set("attachments", value); } + } +#endif + /// Tenant-defined custom field values keyed by custom field identifier. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.Security.CaseManagement.CustomFieldValues? CustomFields + { + get { return BackingStore?.Get("customFields"); } + set { BackingStore?.Set("customFields", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.Security.CaseManagement.CustomFieldValues CustomFields + { + get { return BackingStore?.Get("customFields"); } + set { BackingStore?.Set("customFields", value); } + } +#endif + /// The display name of the case. Supports $filter (eq, ne) and $orderby. +#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 + /// Links from the case to related security resources. Supports $expand. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Relations + { + get { return BackingStore?.Get?>("relations"); } + set { BackingStore?.Set("relations", value); } + } +#nullable restore +#else + public List Relations + { + get { return BackingStore?.Get>("relations"); } + set { BackingStore?.Set("relations", value); } + } +#endif + /// The lifecycle status of the case, such as open, in progress, or closed. Supports $filter (eq, ne) and $orderby. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Status + { + get { return BackingStore?.Get("status"); } + set { BackingStore?.Set("status", value); } + } +#nullable restore +#else + public string Status + { + get { return BackingStore?.Get("status"); } + set { BackingStore?.Set("status", value); } + } +#endif + /// Tasks used to track work required to resolve the case. Supports $expand. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Tasks + { + get { return BackingStore?.Get?>("tasks"); } + set { BackingStore?.Set("tasks", value); } + } +#nullable restore +#else + public List Tasks + { + get { return BackingStore?.Get>("tasks"); } + set { BackingStore?.Set("tasks", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public Case() : base() + { + OdataType = "#microsoft.graph.security.caseManagement.case"; + } + /// + /// 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.Case 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.exposureCase" => new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.ExposureCase(), + "#microsoft.graph.security.caseManagement.genericCase" => new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.GenericCase(), + "#microsoft.graph.security.caseManagement.incidentCase" => new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.IncidentCase(), + _ => new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.Case(), + }; + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "activities", n => { Activities = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.Security.CaseManagement.Activity.CreateFromDiscriminatorValue)?.AsList(); } }, + { "attachments", n => { Attachments = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.Security.CaseManagement.Attachment.CreateFromDiscriminatorValue)?.AsList(); } }, + { "customFields", n => { CustomFields = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.Security.CaseManagement.CustomFieldValues.CreateFromDiscriminatorValue); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "relations", n => { Relations = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.Security.CaseManagement.Relation.CreateFromDiscriminatorValue)?.AsList(); } }, + { "status", n => { Status = n.GetStringValue(); } }, + { "tasks", n => { Tasks = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.Security.CaseManagement.TaskObject.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("activities", Activities); + writer.WriteCollectionOfObjectValues("attachments", Attachments); + writer.WriteObjectValue("customFields", CustomFields); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteCollectionOfObjectValues("relations", Relations); + writer.WriteStringValue("status", Status); + writer.WriteCollectionOfObjectValues("tasks", Tasks); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/CaseCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/CaseCollectionResponse.cs new file mode 100644 index 000000000000..d6550640b4d0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/CaseCollectionResponse.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 CaseCollectionResponse : 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.CaseCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.CaseCollectionResponse(); + } + /// + /// 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.Case.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/CaseManagementEntity.cs b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/CaseManagementEntity.cs new file mode 100644 index 000000000000..884546f26c54 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/CaseManagementEntity.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.Security.CaseManagement +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class CaseManagementEntity : global::Microsoft.Graph.Beta.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The user or service that created the resource. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? CreatedBy + { + get { return BackingStore?.Get("createdBy"); } + set { BackingStore?.Set("createdBy", value); } + } +#nullable restore +#else + public string CreatedBy + { + get { return BackingStore?.Get("createdBy"); } + set { BackingStore?.Set("createdBy", value); } + } +#endif + /// The date and time when the resource was created. + public DateTimeOffset? CreatedDateTime + { + get { return BackingStore?.Get("createdDateTime"); } + set { BackingStore?.Set("createdDateTime", value); } + } + /// The user or service that last modified the resource. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? LastModifiedBy + { + get { return BackingStore?.Get("lastModifiedBy"); } + set { BackingStore?.Set("lastModifiedBy", value); } + } +#nullable restore +#else + public string LastModifiedBy + { + get { return BackingStore?.Get("lastModifiedBy"); } + set { BackingStore?.Set("lastModifiedBy", value); } + } +#endif + /// The date and time when the resource was last modified. + public DateTimeOffset? LastModifiedDateTime + { + get { return BackingStore?.Get("lastModifiedDateTime"); } + set { BackingStore?.Set("lastModifiedDateTime", 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.Security.CaseManagement.CaseManagementEntity 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.activity" => new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.Activity(), + "#microsoft.graph.security.caseManagement.attachment" => new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.Attachment(), + "#microsoft.graph.security.caseManagement.auditLog" => new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.AuditLog(), + "#microsoft.graph.security.caseManagement.case" => new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.Case(), + "#microsoft.graph.security.caseManagement.comment" => new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.Comment(), + "#microsoft.graph.security.caseManagement.exposureCase" => new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.ExposureCase(), + "#microsoft.graph.security.caseManagement.genericCase" => new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.GenericCase(), + "#microsoft.graph.security.caseManagement.incidentCase" => new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.IncidentCase(), + "#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.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(), + }; + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "createdBy", n => { CreatedBy = n.GetStringValue(); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "lastModifiedBy", n => { LastModifiedBy = n.GetStringValue(); } }, + { "lastModifiedDateTime", n => { LastModifiedDateTime = 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.WriteStringValue("createdBy", CreatedBy); + writer.WriteDateTimeOffsetValue("createdDateTime", CreatedDateTime); + writer.WriteStringValue("lastModifiedBy", LastModifiedBy); + writer.WriteDateTimeOffsetValue("lastModifiedDateTime", LastModifiedDateTime); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/CaseTaskCategory.cs b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/CaseTaskCategory.cs new file mode 100644 index 000000000000..b960ee91d73b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/CaseTaskCategory.cs @@ -0,0 +1,40 @@ +// +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 CaseTaskCategory + #pragma warning restore CS1591 + { + [EnumMember(Value = "uncategorized")] + #pragma warning disable CS1591 + Uncategorized, + #pragma warning restore CS1591 + [EnumMember(Value = "triage")] + #pragma warning disable CS1591 + Triage, + #pragma warning restore CS1591 + [EnumMember(Value = "contain")] + #pragma warning disable CS1591 + Contain, + #pragma warning restore CS1591 + [EnumMember(Value = "investigate")] + #pragma warning disable CS1591 + Investigate, + #pragma warning restore CS1591 + [EnumMember(Value = "remediate")] + #pragma warning disable CS1591 + Remediate, + #pragma warning restore CS1591 + [EnumMember(Value = "prevent")] + #pragma warning disable CS1591 + Prevent, + #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/CaseTaskPriority.cs b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/CaseTaskPriority.cs new file mode 100644 index 000000000000..4705231550dd --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/CaseTaskPriority.cs @@ -0,0 +1,40 @@ +// +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 CaseTaskPriority + #pragma warning restore CS1591 + { + [EnumMember(Value = "notSet")] + #pragma warning disable CS1591 + NotSet, + #pragma warning restore CS1591 + [EnumMember(Value = "veryLow")] + #pragma warning disable CS1591 + VeryLow, + #pragma warning restore CS1591 + [EnumMember(Value = "low")] + #pragma warning disable CS1591 + Low, + #pragma warning restore CS1591 + [EnumMember(Value = "medium")] + #pragma warning disable CS1591 + Medium, + #pragma warning restore CS1591 + [EnumMember(Value = "high")] + #pragma warning disable CS1591 + High, + #pragma warning restore CS1591 + [EnumMember(Value = "critical")] + #pragma warning disable CS1591 + Critical, + #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/Comment.cs b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/Comment.cs new file mode 100644 index 000000000000..fe1e344ef1ab --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/Comment.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.Security.CaseManagement +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class Comment : global::Microsoft.Graph.Beta.Models.Security.CaseManagement.Activity, IParsable + #pragma warning restore CS1591 + { + /// The comment body. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Message + { + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } + } +#nullable restore +#else + public string Message + { + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public Comment() : base() + { + OdataType = "#microsoft.graph.security.caseManagement.comment"; + } + /// + /// 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.Comment CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.Comment(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "message", n => { Message = 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("message", Message); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/CustomFieldValues.cs b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/CustomFieldValues.cs new file mode 100644 index 000000000000..6156fbac5415 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/CustomFieldValues.cs @@ -0,0 +1,81 @@ +// +#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 CustomFieldValues : 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 CustomFieldValues() + { + 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.CustomFieldValues CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.CustomFieldValues(); + } + /// + /// 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/ExposureCase.cs b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/ExposureCase.cs new file mode 100644 index 000000000000..61560ca2e438 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/ExposureCase.cs @@ -0,0 +1,213 @@ +// +#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 ExposureCase : global::Microsoft.Graph.Beta.Models.Security.CaseManagement.Case, IParsable + #pragma warning restore CS1591 + { + /// The assignedTo property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? AssignedTo + { + get { return BackingStore?.Get("assignedTo"); } + set { BackingStore?.Set("assignedTo", value); } + } +#nullable restore +#else + public string AssignedTo + { + get { return BackingStore?.Get("assignedTo"); } + set { BackingStore?.Set("assignedTo", value); } + } +#endif + /// The automation property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.Security.CaseManagement.ExposureCaseAutomation? Automation + { + get { return BackingStore?.Get("automation"); } + set { BackingStore?.Set("automation", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.Security.CaseManagement.ExposureCaseAutomation Automation + { + get { return BackingStore?.Get("automation"); } + set { BackingStore?.Set("automation", value); } + } +#endif + /// The description property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Description + { + get { return BackingStore?.Get("description"); } + set { BackingStore?.Set("description", value); } + } +#nullable restore +#else + public string Description + { + get { return BackingStore?.Get("description"); } + set { BackingStore?.Set("description", value); } + } +#endif + /// The dueDateTime property + public DateTimeOffset? DueDateTime + { + get { return BackingStore?.Get("dueDateTime"); } + set { BackingStore?.Set("dueDateTime", value); } + } + /// The emailNotificationRecipients property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? EmailNotificationRecipients + { + get { return BackingStore?.Get?>("emailNotificationRecipients"); } + set { BackingStore?.Set("emailNotificationRecipients", value); } + } +#nullable restore +#else + public List EmailNotificationRecipients + { + get { return BackingStore?.Get>("emailNotificationRecipients"); } + set { BackingStore?.Set("emailNotificationRecipients", value); } + } +#endif + /// The github property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.Security.CaseManagement.ExposureCaseGitHub? Github + { + get { return BackingStore?.Get("github"); } + set { BackingStore?.Set("github", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.Security.CaseManagement.ExposureCaseGitHub Github + { + get { return BackingStore?.Get("github"); } + set { BackingStore?.Set("github", value); } + } +#endif + /// The isGracePeriodEnabled property + public bool? IsGracePeriodEnabled + { + get { return BackingStore?.Get("isGracePeriodEnabled"); } + set { BackingStore?.Set("isGracePeriodEnabled", value); } + } + /// The priority property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Priority + { + get { return BackingStore?.Get("priority"); } + set { BackingStore?.Set("priority", value); } + } +#nullable restore +#else + public string Priority + { + get { return BackingStore?.Get("priority"); } + set { BackingStore?.Set("priority", value); } + } +#endif + /// The seemplicity property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.Security.CaseManagement.ExposureCaseSeemplicity? Seemplicity + { + get { return BackingStore?.Get("seemplicity"); } + set { BackingStore?.Set("seemplicity", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.Security.CaseManagement.ExposureCaseSeemplicity Seemplicity + { + get { return BackingStore?.Get("seemplicity"); } + set { BackingStore?.Set("seemplicity", value); } + } +#endif + /// The thirdPartyWorkItem property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.Security.CaseManagement.ThirdPartyWorkItem? ThirdPartyWorkItem + { + get { return BackingStore?.Get("thirdPartyWorkItem"); } + set { BackingStore?.Set("thirdPartyWorkItem", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.Security.CaseManagement.ThirdPartyWorkItem ThirdPartyWorkItem + { + get { return BackingStore?.Get("thirdPartyWorkItem"); } + set { BackingStore?.Set("thirdPartyWorkItem", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ExposureCase() : base() + { + OdataType = "#microsoft.graph.security.caseManagement.exposureCase"; + } + /// + /// 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.ExposureCase CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.ExposureCase(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "assignedTo", n => { AssignedTo = n.GetStringValue(); } }, + { "automation", n => { Automation = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.Security.CaseManagement.ExposureCaseAutomation.CreateFromDiscriminatorValue); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "dueDateTime", n => { DueDateTime = n.GetDateTimeOffsetValue(); } }, + { "emailNotificationRecipients", n => { EmailNotificationRecipients = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "github", n => { Github = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.Security.CaseManagement.ExposureCaseGitHub.CreateFromDiscriminatorValue); } }, + { "isGracePeriodEnabled", n => { IsGracePeriodEnabled = n.GetBoolValue(); } }, + { "priority", n => { Priority = n.GetStringValue(); } }, + { "seemplicity", n => { Seemplicity = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.Security.CaseManagement.ExposureCaseSeemplicity.CreateFromDiscriminatorValue); } }, + { "thirdPartyWorkItem", n => { ThirdPartyWorkItem = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.Security.CaseManagement.ThirdPartyWorkItem.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.WriteStringValue("assignedTo", AssignedTo); + writer.WriteObjectValue("automation", Automation); + writer.WriteStringValue("description", Description); + writer.WriteDateTimeOffsetValue("dueDateTime", DueDateTime); + writer.WriteCollectionOfPrimitiveValues("emailNotificationRecipients", EmailNotificationRecipients); + writer.WriteObjectValue("github", Github); + writer.WriteBoolValue("isGracePeriodEnabled", IsGracePeriodEnabled); + writer.WriteStringValue("priority", Priority); + writer.WriteObjectValue("seemplicity", Seemplicity); + writer.WriteObjectValue("thirdPartyWorkItem", ThirdPartyWorkItem); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/ExposureCaseAutomation.cs b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/ExposureCaseAutomation.cs new file mode 100644 index 000000000000..8a29c8c817aa --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/ExposureCaseAutomation.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.Security.CaseManagement +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ExposureCaseAutomation : 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 + /// The ruleId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? RuleId + { + get { return BackingStore?.Get("ruleId"); } + set { BackingStore?.Set("ruleId", value); } + } +#nullable restore +#else + public string RuleId + { + get { return BackingStore?.Get("ruleId"); } + set { BackingStore?.Set("ruleId", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ExposureCaseAutomation() + { + 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.ExposureCaseAutomation CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.ExposureCaseAutomation(); + } + /// + /// 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(); } }, + { "ruleId", n => { RuleId = 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.WriteStringValue("ruleId", RuleId); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/ExposureCaseGitHub.cs b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/ExposureCaseGitHub.cs new file mode 100644 index 000000000000..e1016020714f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/ExposureCaseGitHub.cs @@ -0,0 +1,161 @@ +// +#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 ExposureCaseGitHub : 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 environmentId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? EnvironmentId + { + get { return BackingStore?.Get("environmentId"); } + set { BackingStore?.Set("environmentId", value); } + } +#nullable restore +#else + public string EnvironmentId + { + get { return BackingStore?.Get("environmentId"); } + set { BackingStore?.Set("environmentId", value); } + } +#endif + /// The issueNumber property + public int? IssueNumber + { + get { return BackingStore?.Get("issueNumber"); } + set { BackingStore?.Set("issueNumber", value); } + } + /// The issueUrl property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? IssueUrl + { + get { return BackingStore?.Get("issueUrl"); } + set { BackingStore?.Set("issueUrl", value); } + } +#nullable restore +#else + public string IssueUrl + { + get { return BackingStore?.Get("issueUrl"); } + set { BackingStore?.Set("issueUrl", 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 primaryAssessmentId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? PrimaryAssessmentId + { + get { return BackingStore?.Get("primaryAssessmentId"); } + set { BackingStore?.Set("primaryAssessmentId", value); } + } +#nullable restore +#else + public string PrimaryAssessmentId + { + get { return BackingStore?.Get("primaryAssessmentId"); } + set { BackingStore?.Set("primaryAssessmentId", value); } + } +#endif + /// The repoName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? RepoName + { + get { return BackingStore?.Get("repoName"); } + set { BackingStore?.Set("repoName", value); } + } +#nullable restore +#else + public string RepoName + { + get { return BackingStore?.Get("repoName"); } + set { BackingStore?.Set("repoName", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ExposureCaseGitHub() + { + 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.ExposureCaseGitHub CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.ExposureCaseGitHub(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "environmentId", n => { EnvironmentId = n.GetStringValue(); } }, + { "issueNumber", n => { IssueNumber = n.GetIntValue(); } }, + { "issueUrl", n => { IssueUrl = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "primaryAssessmentId", n => { PrimaryAssessmentId = n.GetStringValue(); } }, + { "repoName", n => { RepoName = 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("environmentId", EnvironmentId); + writer.WriteIntValue("issueNumber", IssueNumber); + writer.WriteStringValue("issueUrl", IssueUrl); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteStringValue("primaryAssessmentId", PrimaryAssessmentId); + writer.WriteStringValue("repoName", RepoName); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/ExposureCaseSeemplicity.cs b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/ExposureCaseSeemplicity.cs new file mode 100644 index 000000000000..bbdca555a5ae --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/ExposureCaseSeemplicity.cs @@ -0,0 +1,197 @@ +// +#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 ExposureCaseSeemplicity : 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 configurationId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ConfigurationId + { + get { return BackingStore?.Get("configurationId"); } + set { BackingStore?.Set("configurationId", value); } + } +#nullable restore +#else + public string ConfigurationId + { + get { return BackingStore?.Get("configurationId"); } + set { BackingStore?.Set("configurationId", value); } + } +#endif + /// The configurationName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ConfigurationName + { + get { return BackingStore?.Get("configurationName"); } + set { BackingStore?.Set("configurationName", value); } + } +#nullable restore +#else + public string ConfigurationName + { + get { return BackingStore?.Get("configurationName"); } + set { BackingStore?.Set("configurationName", 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 providerType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ProviderType + { + get { return BackingStore?.Get("providerType"); } + set { BackingStore?.Set("providerType", value); } + } +#nullable restore +#else + public string ProviderType + { + get { return BackingStore?.Get("providerType"); } + set { BackingStore?.Set("providerType", value); } + } +#endif + /// The syncStatus property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? SyncStatus + { + get { return BackingStore?.Get("syncStatus"); } + set { BackingStore?.Set("syncStatus", value); } + } +#nullable restore +#else + public string SyncStatus + { + get { return BackingStore?.Get("syncStatus"); } + set { BackingStore?.Set("syncStatus", value); } + } +#endif + /// The ticketCreationTime property + public DateTimeOffset? TicketCreationTime + { + get { return BackingStore?.Get("ticketCreationTime"); } + set { BackingStore?.Set("ticketCreationTime", value); } + } + /// The ticketId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? TicketId + { + get { return BackingStore?.Get("ticketId"); } + set { BackingStore?.Set("ticketId", value); } + } +#nullable restore +#else + public string TicketId + { + get { return BackingStore?.Get("ticketId"); } + set { BackingStore?.Set("ticketId", value); } + } +#endif + /// The ticketLink property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? TicketLink + { + get { return BackingStore?.Get("ticketLink"); } + set { BackingStore?.Set("ticketLink", value); } + } +#nullable restore +#else + public string TicketLink + { + get { return BackingStore?.Get("ticketLink"); } + set { BackingStore?.Set("ticketLink", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ExposureCaseSeemplicity() + { + 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.ExposureCaseSeemplicity CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.ExposureCaseSeemplicity(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "configurationId", n => { ConfigurationId = n.GetStringValue(); } }, + { "configurationName", n => { ConfigurationName = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "providerType", n => { ProviderType = n.GetStringValue(); } }, + { "syncStatus", n => { SyncStatus = n.GetStringValue(); } }, + { "ticketCreationTime", n => { TicketCreationTime = n.GetDateTimeOffsetValue(); } }, + { "ticketId", n => { TicketId = n.GetStringValue(); } }, + { "ticketLink", n => { TicketLink = 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("configurationId", ConfigurationId); + writer.WriteStringValue("configurationName", ConfigurationName); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteStringValue("providerType", ProviderType); + writer.WriteStringValue("syncStatus", SyncStatus); + writer.WriteDateTimeOffsetValue("ticketCreationTime", TicketCreationTime); + writer.WriteStringValue("ticketId", TicketId); + writer.WriteStringValue("ticketLink", TicketLink); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/GenericCase.cs b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/GenericCase.cs new file mode 100644 index 000000000000..b5cad78e0199 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/GenericCase.cs @@ -0,0 +1,133 @@ +// +#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 GenericCase : global::Microsoft.Graph.Beta.Models.Security.CaseManagement.Case, IParsable + #pragma warning restore CS1591 + { + /// The user assigned to the generic case. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? AssignedTo + { + get { return BackingStore?.Get("assignedTo"); } + set { BackingStore?.Set("assignedTo", value); } + } +#nullable restore +#else + public string AssignedTo + { + get { return BackingStore?.Get("assignedTo"); } + set { BackingStore?.Set("assignedTo", value); } + } +#endif + /// Notes recorded when the generic case is closed. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ClosingNotes + { + get { return BackingStore?.Get("closingNotes"); } + set { BackingStore?.Set("closingNotes", value); } + } +#nullable restore +#else + public string ClosingNotes + { + get { return BackingStore?.Get("closingNotes"); } + set { BackingStore?.Set("closingNotes", value); } + } +#endif + /// The description of the generic case. +#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 target completion date and time for the generic case. + public DateTimeOffset? DueDateTime + { + get { return BackingStore?.Get("dueDateTime"); } + set { BackingStore?.Set("dueDateTime", value); } + } + /// The priority assigned to the generic case. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Priority + { + get { return BackingStore?.Get("priority"); } + set { BackingStore?.Set("priority", value); } + } +#nullable restore +#else + public string Priority + { + get { return BackingStore?.Get("priority"); } + set { BackingStore?.Set("priority", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public GenericCase() : base() + { + OdataType = "#microsoft.graph.security.caseManagement.genericCase"; + } + /// + /// 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.GenericCase CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.GenericCase(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "assignedTo", n => { AssignedTo = n.GetStringValue(); } }, + { "closingNotes", n => { ClosingNotes = n.GetStringValue(); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "dueDateTime", n => { DueDateTime = n.GetDateTimeOffsetValue(); } }, + { "priority", n => { Priority = 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("assignedTo", AssignedTo); + writer.WriteStringValue("closingNotes", ClosingNotes); + writer.WriteStringValue("description", Description); + writer.WriteDateTimeOffsetValue("dueDateTime", DueDateTime); + writer.WriteStringValue("priority", Priority); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/ImpactedAssetsCounts.cs b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/ImpactedAssetsCounts.cs new file mode 100644 index 000000000000..ebbaf19254bc --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/ImpactedAssetsCounts.cs @@ -0,0 +1,193 @@ +// +#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 ImpactedAssetsCounts : 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 number of impacted AI agents. + public int? AiAgents + { + get { return BackingStore?.Get("aiAgents"); } + set { BackingStore?.Set("aiAgents", value); } + } + /// The number of impacted apps. + public int? Apps + { + get { return BackingStore?.Get("apps"); } + set { BackingStore?.Set("apps", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The number of impacted cloud resources. + public int? CloudResources + { + get { return BackingStore?.Get("cloudResources"); } + set { BackingStore?.Set("cloudResources", value); } + } + /// The number of impacted files. + public int? Files + { + get { return BackingStore?.Get("files"); } + set { BackingStore?.Set("files", value); } + } + /// The number of impacted IP addresses. + public int? Ips + { + get { return BackingStore?.Get("ips"); } + set { BackingStore?.Set("ips", value); } + } + /// The number of impacted machines. + public int? Machines + { + get { return BackingStore?.Get("machines"); } + set { BackingStore?.Set("machines", value); } + } + /// The number of impacted mailboxes. + public int? Mailboxes + { + get { return BackingStore?.Get("mailboxes"); } + set { BackingStore?.Set("mailboxes", value); } + } + /// The number of impacted OAuth apps. + public int? OauthApps + { + get { return BackingStore?.Get("oauthApps"); } + set { BackingStore?.Set("oauthApps", 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 number of impacted processes. + public int? Processes + { + get { return BackingStore?.Get("processes"); } + set { BackingStore?.Set("processes", value); } + } + /// The number of impacted registry keys. + public int? RegistryKeys + { + get { return BackingStore?.Get("registryKeys"); } + set { BackingStore?.Set("registryKeys", value); } + } + /// The number of impacted security groups. + public int? SecurityGroups + { + get { return BackingStore?.Get("securityGroups"); } + set { BackingStore?.Set("securityGroups", value); } + } + /// The total number of impacted assets. + public int? Total + { + get { return BackingStore?.Get("total"); } + set { BackingStore?.Set("total", value); } + } + /// The number of impacted URLs. + public int? Urls + { + get { return BackingStore?.Get("urls"); } + set { BackingStore?.Set("urls", value); } + } + /// The number of impacted users. + public int? Users + { + get { return BackingStore?.Get("users"); } + set { BackingStore?.Set("users", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public ImpactedAssetsCounts() + { + 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.ImpactedAssetsCounts CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.ImpactedAssetsCounts(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "aiAgents", n => { AiAgents = n.GetIntValue(); } }, + { "apps", n => { Apps = n.GetIntValue(); } }, + { "cloudResources", n => { CloudResources = n.GetIntValue(); } }, + { "files", n => { Files = n.GetIntValue(); } }, + { "ips", n => { Ips = n.GetIntValue(); } }, + { "machines", n => { Machines = n.GetIntValue(); } }, + { "mailboxes", n => { Mailboxes = n.GetIntValue(); } }, + { "oauthApps", n => { OauthApps = n.GetIntValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "processes", n => { Processes = n.GetIntValue(); } }, + { "registryKeys", n => { RegistryKeys = n.GetIntValue(); } }, + { "securityGroups", n => { SecurityGroups = n.GetIntValue(); } }, + { "total", n => { Total = n.GetIntValue(); } }, + { "urls", n => { Urls = n.GetIntValue(); } }, + { "users", n => { Users = 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("aiAgents", AiAgents); + writer.WriteIntValue("apps", Apps); + writer.WriteIntValue("cloudResources", CloudResources); + writer.WriteIntValue("files", Files); + writer.WriteIntValue("ips", Ips); + writer.WriteIntValue("machines", Machines); + writer.WriteIntValue("mailboxes", Mailboxes); + writer.WriteIntValue("oauthApps", OauthApps); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteIntValue("processes", Processes); + writer.WriteIntValue("registryKeys", RegistryKeys); + writer.WriteIntValue("securityGroups", SecurityGroups); + writer.WriteIntValue("total", Total); + writer.WriteIntValue("urls", Urls); + writer.WriteIntValue("users", Users); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/IncidentCase.cs b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/IncidentCase.cs new file mode 100644 index 000000000000..a512268a6de5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/IncidentCase.cs @@ -0,0 +1,573 @@ +// +#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 IncidentCase : global::Microsoft.Graph.Beta.Models.Security.CaseManagement.Case, IParsable + #pragma warning restore CS1591 + { + /// The list of AI agent identifiers associated with the incident. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? AiAgentIds + { + get { return BackingStore?.Get?>("aiAgentIds"); } + set { BackingStore?.Set("aiAgentIds", value); } + } +#nullable restore +#else + public List AiAgentIds + { + get { return BackingStore?.Get>("aiAgentIds"); } + set { BackingStore?.Set("aiAgentIds", value); } + } +#endif + /// A summary of alert counts grouped by severity and status. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.Security.CaseManagement.AlertCounts? AlertCounts + { + get { return BackingStore?.Get("alertCounts"); } + set { BackingStore?.Set("alertCounts", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.Security.CaseManagement.AlertCounts AlertCounts + { + get { return BackingStore?.Get("alertCounts"); } + set { BackingStore?.Set("alertCounts", value); } + } +#endif + /// The list of alert policy identifiers associated with the incident. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? AlertPolicyIds + { + get { return BackingStore?.Get?>("alertPolicyIds"); } + set { BackingStore?.Set("alertPolicyIds", value); } + } +#nullable restore +#else + public List AlertPolicyIds + { + get { return BackingStore?.Get>("alertPolicyIds"); } + set { BackingStore?.Set("alertPolicyIds", value); } + } +#endif + /// The user assigned to investigate the incident case. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? AssignedTo + { + get { return BackingStore?.Get("assignedTo"); } + set { BackingStore?.Set("assignedTo", value); } + } +#nullable restore +#else + public string AssignedTo + { + get { return BackingStore?.Get("assignedTo"); } + set { BackingStore?.Set("assignedTo", value); } + } +#endif + /// The list of threat identifiers associated with the incident. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? AssociatedThreatIds + { + get { return BackingStore?.Get?>("associatedThreatIds"); } + set { BackingStore?.Set("associatedThreatIds", value); } + } +#nullable restore +#else + public List AssociatedThreatIds + { + get { return BackingStore?.Get>("associatedThreatIds"); } + set { BackingStore?.Set("associatedThreatIds", value); } + } +#endif + /// The incident categories. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Categories + { + get { return BackingStore?.Get?>("categories"); } + set { BackingStore?.Set("categories", value); } + } +#nullable restore +#else + public List Categories + { + get { return BackingStore?.Get>("categories"); } + set { BackingStore?.Set("categories", value); } + } +#endif + /// The classification property + public global::Microsoft.Graph.Beta.Models.Security.CaseManagement.IncidentClassification? Classification + { + get { return BackingStore?.Get("classification"); } + set { BackingStore?.Set("classification", value); } + } + /// The cloud scopes associated with the incident. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? CloudScopes + { + get { return BackingStore?.Get?>("cloudScopes"); } + set { BackingStore?.Set("cloudScopes", value); } + } +#nullable restore +#else + public List CloudScopes + { + get { return BackingStore?.Get>("cloudScopes"); } + set { BackingStore?.Set("cloudScopes", value); } + } +#endif + /// The data sensitivity labels associated with the incident. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? DataSensitivityLabels + { + get { return BackingStore?.Get?>("dataSensitivityLabels"); } + set { BackingStore?.Set("dataSensitivityLabels", value); } + } +#nullable restore +#else + public List DataSensitivityLabels + { + get { return BackingStore?.Get>("dataSensitivityLabels"); } + set { BackingStore?.Set("dataSensitivityLabels", value); } + } +#endif + /// The data streams associated with the incident. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? DataStreams + { + get { return BackingStore?.Get?>("dataStreams"); } + set { BackingStore?.Set("dataStreams", value); } + } +#nullable restore +#else + public List DataStreams + { + get { return BackingStore?.Get>("dataStreams"); } + set { BackingStore?.Set("dataStreams", value); } + } +#endif + /// The detection sources that identified the incident. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? DetectionSources + { + get { return BackingStore?.Get?>("detectionSources"); } + set { BackingStore?.Set("detectionSources", value); } + } +#nullable restore +#else + public List DetectionSources + { + get { return BackingStore?.Get>("detectionSources"); } + set { BackingStore?.Set("detectionSources", value); } + } +#endif + /// The determination property + public global::Microsoft.Graph.Beta.Models.Security.CaseManagement.IncidentDetermination? Determination + { + get { return BackingStore?.Get("determination"); } + set { BackingStore?.Set("determination", value); } + } + /// The target completion date and time for the incident case. + public DateTimeOffset? DueDateTime + { + get { return BackingStore?.Get("dueDateTime"); } + set { BackingStore?.Set("dueDateTime", value); } + } + /// The email notification recipients for the incident case. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? EmailNotificationRecipients + { + get { return BackingStore?.Get?>("emailNotificationRecipients"); } + set { BackingStore?.Set("emailNotificationRecipients", value); } + } +#nullable restore +#else + public List EmailNotificationRecipients + { + get { return BackingStore?.Get>("emailNotificationRecipients"); } + set { BackingStore?.Set("emailNotificationRecipients", value); } + } +#endif + /// The date and time of the first event in the incident. + public DateTimeOffset? FirstEventTime + { + get { return BackingStore?.Get("firstEventTime"); } + set { BackingStore?.Set("firstEventTime", value); } + } + /// A summary of impacted asset counts for the incident. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.Security.CaseManagement.ImpactedAssetsCounts? ImpactedAssets + { + get { return BackingStore?.Get("impactedAssets"); } + set { BackingStore?.Set("impactedAssets", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.Security.CaseManagement.ImpactedAssetsCounts ImpactedAssets + { + get { return BackingStore?.Get("impactedAssets"); } + set { BackingStore?.Set("impactedAssets", value); } + } +#endif + /// The Microsoft Security incident identifier. + public long? IncidentId + { + get { return BackingStore?.Get("incidentId"); } + set { BackingStore?.Set("incidentId", value); } + } + /// The URL for the incident in the Microsoft Defender portal. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? IncidentWebUrl + { + get { return BackingStore?.Get("incidentWebUrl"); } + set { BackingStore?.Set("incidentWebUrl", value); } + } +#nullable restore +#else + public string IncidentWebUrl + { + get { return BackingStore?.Get("incidentWebUrl"); } + set { BackingStore?.Set("incidentWebUrl", value); } + } +#endif + /// A summary of investigation details associated with the incident. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.Security.CaseManagement.Investigation? Investigation + { + get { return BackingStore?.Get("investigation"); } + set { BackingStore?.Set("investigation", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.Security.CaseManagement.Investigation Investigation + { + get { return BackingStore?.Get("investigation"); } + set { BackingStore?.Set("investigation", value); } + } +#endif + /// The list of investigation identifiers associated with the incident. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? InvestigationIds + { + get { return BackingStore?.Get?>("investigationIds"); } + set { BackingStore?.Set("investigationIds", value); } + } +#nullable restore +#else + public List InvestigationIds + { + get { return BackingStore?.Get>("investigationIds"); } + set { BackingStore?.Set("investigationIds", value); } + } +#endif + /// The list of investigation states associated with the incident. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? InvestigationStates + { + get { return BackingStore?.Get?>("investigationStates"); } + set { BackingStore?.Set("investigationStates", value); } + } +#nullable restore +#else + public List InvestigationStates + { + get { return BackingStore?.Get>("investigationStates"); } + set { BackingStore?.Set("investigationStates", value); } + } +#endif + /// The date and time of the most recent event in the incident. + public DateTimeOffset? LastEventTime + { + get { return BackingStore?.Get("lastEventTime"); } + set { BackingStore?.Set("lastEventTime", value); } + } + /// The list of machine group identifiers associated with the incident. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? MachineGroupIds + { + get { return BackingStore?.Get?>("machineGroupIds"); } + set { BackingStore?.Set("machineGroupIds", value); } + } +#nullable restore +#else + public List MachineGroupIds + { + get { return BackingStore?.Get>("machineGroupIds"); } + set { BackingStore?.Set("machineGroupIds", value); } + } +#endif + /// The operating system platforms associated with the incident. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? OsPlatforms + { + get { return BackingStore?.Get?>("osPlatforms"); } + set { BackingStore?.Set("osPlatforms", value); } + } +#nullable restore +#else + public List OsPlatforms + { + get { return BackingStore?.Get>("osPlatforms"); } + set { BackingStore?.Set("osPlatforms", value); } + } +#endif + /// The policy names associated with the incident. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? PolicyNames + { + get { return BackingStore?.Get?>("policyNames"); } + set { BackingStore?.Set("policyNames", value); } + } +#nullable restore +#else + public List PolicyNames + { + get { return BackingStore?.Get>("policyNames"); } + set { BackingStore?.Set("policyNames", value); } + } +#endif + /// The priority score assigned to the incident. + public int? PriorityScore + { + get { return BackingStore?.Get("priorityScore"); } + set { BackingStore?.Set("priorityScore", value); } + } + /// The product names associated with the incident. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ProductNames + { + get { return BackingStore?.Get?>("productNames"); } + set { BackingStore?.Set("productNames", value); } + } +#nullable restore +#else + public List ProductNames + { + get { return BackingStore?.Get>("productNames"); } + set { BackingStore?.Set("productNames", value); } + } +#endif + /// The case identifier to which this case redirects when merged. + public long? RedirectCaseId + { + get { return BackingStore?.Get("redirectCaseId"); } + set { BackingStore?.Set("redirectCaseId", value); } + } + /// The incident identifier to which this incident redirects when merged. + public long? RedirectIncidentId + { + get { return BackingStore?.Get("redirectIncidentId"); } + set { BackingStore?.Set("redirectIncidentId", value); } + } + /// The service sources associated with the incident. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ServiceSources + { + get { return BackingStore?.Get?>("serviceSources"); } + set { BackingStore?.Set("serviceSources", value); } + } +#nullable restore +#else + public List ServiceSources + { + get { return BackingStore?.Get>("serviceSources"); } + set { BackingStore?.Set("serviceSources", value); } + } +#endif + /// The severity property + public global::Microsoft.Graph.Beta.Models.Security.CaseManagement.IncidentSeverity? Severity + { + get { return BackingStore?.Get("severity"); } + set { BackingStore?.Set("severity", value); } + } + /// A summary of the incident. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Summary + { + get { return BackingStore?.Get("summary"); } + set { BackingStore?.Set("summary", value); } + } +#nullable restore +#else + public string Summary + { + get { return BackingStore?.Get("summary"); } + set { BackingStore?.Set("summary", value); } + } +#endif + /// The system tags associated with the incident. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? SystemTags + { + get { return BackingStore?.Get?>("systemTags"); } + set { BackingStore?.Set("systemTags", value); } + } +#nullable restore +#else + public List SystemTags + { + get { return BackingStore?.Get>("systemTags"); } + set { BackingStore?.Set("systemTags", value); } + } +#endif + /// The top risk score associated with the incident. + public int? TopRiskScore + { + get { return BackingStore?.Get("topRiskScore"); } + set { BackingStore?.Set("topRiskScore", value); } + } + /// The list of workspace identifiers associated with the incident. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? WorkspaceIds + { + get { return BackingStore?.Get?>("workspaceIds"); } + set { BackingStore?.Set("workspaceIds", value); } + } +#nullable restore +#else + public List WorkspaceIds + { + get { return BackingStore?.Get>("workspaceIds"); } + set { BackingStore?.Set("workspaceIds", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public IncidentCase() : base() + { + OdataType = "#microsoft.graph.security.caseManagement.incidentCase"; + } + /// + /// 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.IncidentCase CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.IncidentCase(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "aiAgentIds", n => { AiAgentIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "alertCounts", n => { AlertCounts = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.Security.CaseManagement.AlertCounts.CreateFromDiscriminatorValue); } }, + { "alertPolicyIds", n => { AlertPolicyIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "assignedTo", n => { AssignedTo = n.GetStringValue(); } }, + { "associatedThreatIds", n => { AssociatedThreatIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "categories", n => { Categories = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "classification", n => { Classification = n.GetEnumValue(); } }, + { "cloudScopes", n => { CloudScopes = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "dataSensitivityLabels", n => { DataSensitivityLabels = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "dataStreams", n => { DataStreams = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "detectionSources", n => { DetectionSources = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "determination", n => { Determination = n.GetEnumValue(); } }, + { "dueDateTime", n => { DueDateTime = n.GetDateTimeOffsetValue(); } }, + { "emailNotificationRecipients", n => { EmailNotificationRecipients = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "firstEventTime", n => { FirstEventTime = n.GetDateTimeOffsetValue(); } }, + { "impactedAssets", n => { ImpactedAssets = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.Security.CaseManagement.ImpactedAssetsCounts.CreateFromDiscriminatorValue); } }, + { "incidentId", n => { IncidentId = n.GetLongValue(); } }, + { "incidentWebUrl", n => { IncidentWebUrl = n.GetStringValue(); } }, + { "investigation", n => { Investigation = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.Security.CaseManagement.Investigation.CreateFromDiscriminatorValue); } }, + { "investigationIds", n => { InvestigationIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "investigationStates", n => { InvestigationStates = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "lastEventTime", n => { LastEventTime = n.GetDateTimeOffsetValue(); } }, + { "machineGroupIds", n => { MachineGroupIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "osPlatforms", n => { OsPlatforms = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "policyNames", n => { PolicyNames = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "priorityScore", n => { PriorityScore = n.GetIntValue(); } }, + { "productNames", n => { ProductNames = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "redirectCaseId", n => { RedirectCaseId = n.GetLongValue(); } }, + { "redirectIncidentId", n => { RedirectIncidentId = n.GetLongValue(); } }, + { "serviceSources", n => { ServiceSources = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "severity", n => { Severity = n.GetEnumValue(); } }, + { "summary", n => { Summary = n.GetStringValue(); } }, + { "systemTags", n => { SystemTags = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "topRiskScore", n => { TopRiskScore = n.GetIntValue(); } }, + { "workspaceIds", n => { WorkspaceIds = 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.WriteCollectionOfPrimitiveValues("aiAgentIds", AiAgentIds); + writer.WriteObjectValue("alertCounts", AlertCounts); + writer.WriteCollectionOfPrimitiveValues("alertPolicyIds", AlertPolicyIds); + writer.WriteStringValue("assignedTo", AssignedTo); + writer.WriteCollectionOfPrimitiveValues("associatedThreatIds", AssociatedThreatIds); + writer.WriteCollectionOfPrimitiveValues("categories", Categories); + writer.WriteEnumValue("classification", Classification); + writer.WriteCollectionOfPrimitiveValues("cloudScopes", CloudScopes); + writer.WriteCollectionOfPrimitiveValues("dataSensitivityLabels", DataSensitivityLabels); + writer.WriteCollectionOfPrimitiveValues("dataStreams", DataStreams); + writer.WriteCollectionOfPrimitiveValues("detectionSources", DetectionSources); + writer.WriteEnumValue("determination", Determination); + writer.WriteDateTimeOffsetValue("dueDateTime", DueDateTime); + writer.WriteCollectionOfPrimitiveValues("emailNotificationRecipients", EmailNotificationRecipients); + writer.WriteDateTimeOffsetValue("firstEventTime", FirstEventTime); + writer.WriteObjectValue("impactedAssets", ImpactedAssets); + writer.WriteLongValue("incidentId", IncidentId); + writer.WriteStringValue("incidentWebUrl", IncidentWebUrl); + writer.WriteObjectValue("investigation", Investigation); + writer.WriteCollectionOfPrimitiveValues("investigationIds", InvestigationIds); + writer.WriteCollectionOfPrimitiveValues("investigationStates", InvestigationStates); + writer.WriteDateTimeOffsetValue("lastEventTime", LastEventTime); + writer.WriteCollectionOfPrimitiveValues("machineGroupIds", MachineGroupIds); + writer.WriteCollectionOfPrimitiveValues("osPlatforms", OsPlatforms); + writer.WriteCollectionOfPrimitiveValues("policyNames", PolicyNames); + writer.WriteIntValue("priorityScore", PriorityScore); + writer.WriteCollectionOfPrimitiveValues("productNames", ProductNames); + writer.WriteLongValue("redirectCaseId", RedirectCaseId); + writer.WriteLongValue("redirectIncidentId", RedirectIncidentId); + writer.WriteCollectionOfPrimitiveValues("serviceSources", ServiceSources); + writer.WriteEnumValue("severity", Severity); + writer.WriteStringValue("summary", Summary); + writer.WriteCollectionOfPrimitiveValues("systemTags", SystemTags); + writer.WriteIntValue("topRiskScore", TopRiskScore); + writer.WriteCollectionOfPrimitiveValues("workspaceIds", WorkspaceIds); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/IncidentClassification.cs b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/IncidentClassification.cs new file mode 100644 index 000000000000..7df930a6b41b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/IncidentClassification.cs @@ -0,0 +1,32 @@ +// +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 IncidentClassification + #pragma warning restore CS1591 + { + [EnumMember(Value = "unknown")] + #pragma warning disable CS1591 + Unknown, + #pragma warning restore CS1591 + [EnumMember(Value = "falsePositive")] + #pragma warning disable CS1591 + FalsePositive, + #pragma warning restore CS1591 + [EnumMember(Value = "truePositive")] + #pragma warning disable CS1591 + TruePositive, + #pragma warning restore CS1591 + [EnumMember(Value = "informationalExpectedActivity")] + #pragma warning disable CS1591 + InformationalExpectedActivity, + #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/IncidentDetermination.cs b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/IncidentDetermination.cs new file mode 100644 index 000000000000..c993669890e8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/IncidentDetermination.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 IncidentDetermination + #pragma warning restore CS1591 + { + [EnumMember(Value = "unknown")] + #pragma warning disable CS1591 + Unknown, + #pragma warning restore CS1591 + [EnumMember(Value = "apt")] + #pragma warning disable CS1591 + Apt, + #pragma warning restore CS1591 + [EnumMember(Value = "malware")] + #pragma warning disable CS1591 + Malware, + #pragma warning restore CS1591 + [EnumMember(Value = "securityPersonnel")] + #pragma warning disable CS1591 + SecurityPersonnel, + #pragma warning restore CS1591 + [EnumMember(Value = "securityTesting")] + #pragma warning disable CS1591 + SecurityTesting, + #pragma warning restore CS1591 + [EnumMember(Value = "unwantedSoftware")] + #pragma warning disable CS1591 + UnwantedSoftware, + #pragma warning restore CS1591 + [EnumMember(Value = "other")] + #pragma warning disable CS1591 + Other, + #pragma warning restore CS1591 + [EnumMember(Value = "multiStagedAttack")] + #pragma warning disable CS1591 + MultiStagedAttack, + #pragma warning restore CS1591 + [EnumMember(Value = "compromisedAccount")] + #pragma warning disable CS1591 + CompromisedAccount, + #pragma warning restore CS1591 + [EnumMember(Value = "phishing")] + #pragma warning disable CS1591 + Phishing, + #pragma warning restore CS1591 + [EnumMember(Value = "maliciousUserActivity")] + #pragma warning disable CS1591 + MaliciousUserActivity, + #pragma warning restore CS1591 + [EnumMember(Value = "notMalicious")] + #pragma warning disable CS1591 + NotMalicious, + #pragma warning restore CS1591 + [EnumMember(Value = "notEnoughDataToValidate")] + #pragma warning disable CS1591 + NotEnoughDataToValidate, + #pragma warning restore CS1591 + [EnumMember(Value = "confirmedActivity")] + #pragma warning disable CS1591 + ConfirmedActivity, + #pragma warning restore CS1591 + [EnumMember(Value = "lineOfBusinessApplication")] + #pragma warning disable CS1591 + LineOfBusinessApplication, + #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/IncidentRelation.cs b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/IncidentRelation.cs new file mode 100644 index 000000000000..d6fd333c2551 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/IncidentRelation.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.Security.CaseManagement +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class IncidentRelation : global::Microsoft.Graph.Beta.Models.Security.CaseManagement.Relation, IParsable + #pragma warning restore CS1591 + { + /// + /// Instantiates a new and sets the default values. + /// + public IncidentRelation() : base() + { + OdataType = "#microsoft.graph.security.caseManagement.incidentRelation"; + } + /// + /// 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.IncidentRelation CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.IncidentRelation(); + } + /// + /// 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/Security/CaseManagement/IncidentSeverity.cs b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/IncidentSeverity.cs new file mode 100644 index 000000000000..33da2ded0167 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/IncidentSeverity.cs @@ -0,0 +1,36 @@ +// +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 IncidentSeverity + #pragma warning restore CS1591 + { + [EnumMember(Value = "unknown")] + #pragma warning disable CS1591 + Unknown, + #pragma warning restore CS1591 + [EnumMember(Value = "informational")] + #pragma warning disable CS1591 + Informational, + #pragma warning restore CS1591 + [EnumMember(Value = "low")] + #pragma warning disable CS1591 + Low, + #pragma warning restore CS1591 + [EnumMember(Value = "medium")] + #pragma warning disable CS1591 + Medium, + #pragma warning restore CS1591 + [EnumMember(Value = "high")] + #pragma warning disable CS1591 + High, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/IncidentSeverityCounts.cs b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/IncidentSeverityCounts.cs new file mode 100644 index 000000000000..2a41c86a266b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/IncidentSeverityCounts.cs @@ -0,0 +1,121 @@ +// +#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 IncidentSeverityCounts : 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 number of alerts with high severity. + public int? High + { + get { return BackingStore?.Get("high"); } + set { BackingStore?.Set("high", value); } + } + /// The number of alerts with informational severity. + public int? Informational + { + get { return BackingStore?.Get("informational"); } + set { BackingStore?.Set("informational", value); } + } + /// The number of alerts with low severity. + public int? Low + { + get { return BackingStore?.Get("low"); } + set { BackingStore?.Set("low", value); } + } + /// The number of alerts with medium severity. + public int? Medium + { + get { return BackingStore?.Get("medium"); } + set { BackingStore?.Set("medium", 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 number of alerts with unknown severity. + public int? Unknown + { + get { return BackingStore?.Get("unknown"); } + set { BackingStore?.Set("unknown", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public IncidentSeverityCounts() + { + 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.IncidentSeverityCounts CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.IncidentSeverityCounts(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "high", n => { High = n.GetIntValue(); } }, + { "informational", n => { Informational = n.GetIntValue(); } }, + { "low", n => { Low = n.GetIntValue(); } }, + { "medium", n => { Medium = n.GetIntValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "unknown", n => { Unknown = 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("high", High); + writer.WriteIntValue("informational", Informational); + writer.WriteIntValue("low", Low); + writer.WriteIntValue("medium", Medium); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteIntValue("unknown", Unknown); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/Investigation.cs b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/Investigation.cs new file mode 100644 index 000000000000..e459f5f01251 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/Investigation.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Security.CaseManagement +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class Investigation : 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 number of investigations. + public int? Count + { + get { return BackingStore?.Get("count"); } + set { BackingStore?.Set("count", value); } + } + /// The investigation identifiers. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Ids + { + get { return BackingStore?.Get?>("ids"); } + set { BackingStore?.Set("ids", value); } + } +#nullable restore +#else + public List Ids + { + get { return BackingStore?.Get>("ids"); } + set { BackingStore?.Set("ids", 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 investigation state. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? State + { + get { return BackingStore?.Get("state"); } + set { BackingStore?.Set("state", value); } + } +#nullable restore +#else + public string State + { + get { return BackingStore?.Get("state"); } + set { BackingStore?.Set("state", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public Investigation() + { + 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.Investigation CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.Investigation(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "count", n => { Count = n.GetIntValue(); } }, + { "ids", n => { Ids = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "state", n => { State = 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.WriteIntValue("count", Count); + writer.WriteCollectionOfPrimitiveValues("ids", Ids); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteStringValue("state", State); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/ModifiedProperty.cs b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/ModifiedProperty.cs new file mode 100644 index 000000000000..4e2c852ce8a2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/ModifiedProperty.cs @@ -0,0 +1,135 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Security.CaseManagement +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ModifiedProperty : 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 new value after the change. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.Security.CaseManagement.ValueProperty? NewValue + { + get { return BackingStore?.Get("newValue"); } + set { BackingStore?.Set("newValue", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.Security.CaseManagement.ValueProperty NewValue + { + get { return BackingStore?.Get("newValue"); } + set { BackingStore?.Set("newValue", 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 previous value before the change. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.Security.CaseManagement.ValueProperty? OldValue + { + get { return BackingStore?.Get("oldValue"); } + set { BackingStore?.Set("oldValue", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.Security.CaseManagement.ValueProperty OldValue + { + get { return BackingStore?.Get("oldValue"); } + set { BackingStore?.Set("oldValue", value); } + } +#endif + /// The name of the property that changed. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? PropertyName + { + get { return BackingStore?.Get("propertyName"); } + set { BackingStore?.Set("propertyName", value); } + } +#nullable restore +#else + public string PropertyName + { + get { return BackingStore?.Get("propertyName"); } + set { BackingStore?.Set("propertyName", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ModifiedProperty() + { + 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.ModifiedProperty CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.ModifiedProperty(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "newValue", n => { NewValue = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.Security.CaseManagement.ValueProperty.CreateFromDiscriminatorValue); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "oldValue", n => { OldValue = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.Security.CaseManagement.ValueProperty.CreateFromDiscriminatorValue); } }, + { "propertyName", n => { PropertyName = 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.WriteObjectValue("newValue", NewValue); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteObjectValue("oldValue", OldValue); + writer.WriteStringValue("propertyName", PropertyName); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/RecommendationRelation.cs b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/RecommendationRelation.cs new file mode 100644 index 000000000000..5cbf39cd49f7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/RecommendationRelation.cs @@ -0,0 +1,107 @@ +// +#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 RecommendationRelation : global::Microsoft.Graph.Beta.Models.Security.CaseManagement.Relation, IParsable + #pragma warning restore CS1591 + { + /// The recommendation type associated with the linked recommendation. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? RecommendationType + { + get { return BackingStore?.Get("recommendationType"); } + set { BackingStore?.Set("recommendationType", value); } + } +#nullable restore +#else + public string RecommendationType + { + get { return BackingStore?.Get("recommendationType"); } + set { BackingStore?.Set("recommendationType", value); } + } +#endif + /// The Azure resource group name for the related recommendation. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ResourceGroupName + { + get { return BackingStore?.Get("resourceGroupName"); } + set { BackingStore?.Set("resourceGroupName", value); } + } +#nullable restore +#else + public string ResourceGroupName + { + get { return BackingStore?.Get("resourceGroupName"); } + set { BackingStore?.Set("resourceGroupName", value); } + } +#endif + /// The Azure subscription identifier for the related recommendation. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? SubscriptionId + { + get { return BackingStore?.Get("subscriptionId"); } + set { BackingStore?.Set("subscriptionId", value); } + } +#nullable restore +#else + public string SubscriptionId + { + get { return BackingStore?.Get("subscriptionId"); } + set { BackingStore?.Set("subscriptionId", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RecommendationRelation() : base() + { + OdataType = "#microsoft.graph.security.caseManagement.recommendationRelation"; + } + /// + /// 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.RecommendationRelation CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.RecommendationRelation(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "recommendationType", n => { RecommendationType = n.GetStringValue(); } }, + { "resourceGroupName", n => { ResourceGroupName = n.GetStringValue(); } }, + { "subscriptionId", n => { SubscriptionId = 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("recommendationType", RecommendationType); + writer.WriteStringValue("resourceGroupName", ResourceGroupName); + writer.WriteStringValue("subscriptionId", SubscriptionId); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/Relation.cs b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/Relation.cs new file mode 100644 index 000000000000..31ee5d69a049 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/Relation.cs @@ -0,0 +1,78 @@ +// +#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 Relation : global::Microsoft.Graph.Beta.Models.Security.CaseManagement.CaseManagementEntity, IParsable + #pragma warning restore CS1591 + { + /// The identifier of the related external resource. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? RelatedResourceId + { + get { return BackingStore?.Get("relatedResourceId"); } + set { BackingStore?.Set("relatedResourceId", value); } + } +#nullable restore +#else + public string RelatedResourceId + { + get { return BackingStore?.Get("relatedResourceId"); } + set { BackingStore?.Set("relatedResourceId", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public Relation() : base() + { + OdataType = "#microsoft.graph.security.caseManagement.relation"; + } + /// + /// 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.Relation 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.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.workspaceIndicatorRelation" => new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.WorkspaceIndicatorRelation(), + _ => new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.Relation(), + }; + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "relatedResourceId", n => { RelatedResourceId = 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("relatedResourceId", RelatedResourceId); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/RelationCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/RelationCollectionResponse.cs new file mode 100644 index 000000000000..645936b6ab96 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/RelationCollectionResponse.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 RelationCollectionResponse : 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.RelationCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.RelationCollectionResponse(); + } + /// + /// 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.Relation.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/StringValueProperty.cs b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/StringValueProperty.cs new file mode 100644 index 000000000000..4b67c69a9a94 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/StringValueProperty.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.Security.CaseManagement +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class StringValueProperty : global::Microsoft.Graph.Beta.Models.Security.CaseManagement.ValueProperty, IParsable + #pragma warning restore CS1591 + { + /// The string value. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Value + { + get { return BackingStore?.Get("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public string Value + { + get { return BackingStore?.Get("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public StringValueProperty() : base() + { + OdataType = "#microsoft.graph.security.caseManagement.stringValueProperty"; + } + /// + /// 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.StringValueProperty CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.StringValueProperty(); + } + /// + /// 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.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("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/TaskCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/TaskCollectionResponse.cs new file mode 100644 index 000000000000..b6426ab21106 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/TaskCollectionResponse.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 TaskCollectionResponse : 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.TaskCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.TaskCollectionResponse(); + } + /// + /// 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.TaskObject.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/TaskObject.cs b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/TaskObject.cs new file mode 100644 index 000000000000..967de9e51d66 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/TaskObject.cs @@ -0,0 +1,157 @@ +// +#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 TaskObject : global::Microsoft.Graph.Beta.Models.Security.CaseManagement.CaseManagementEntity, IParsable + #pragma warning restore CS1591 + { + /// The user assigned to the task. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? AssignedTo + { + get { return BackingStore?.Get("assignedTo"); } + set { BackingStore?.Set("assignedTo", value); } + } +#nullable restore +#else + public string AssignedTo + { + get { return BackingStore?.Get("assignedTo"); } + set { BackingStore?.Set("assignedTo", value); } + } +#endif + /// The category property + public global::Microsoft.Graph.Beta.Models.Security.CaseManagement.CaseTaskCategory? Category + { + get { return BackingStore?.Get("category"); } + set { BackingStore?.Set("category", value); } + } + /// Notes recorded when the task is completed. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ClosingNotes + { + get { return BackingStore?.Get("closingNotes"); } + set { BackingStore?.Set("closingNotes", value); } + } +#nullable restore +#else + public string ClosingNotes + { + get { return BackingStore?.Get("closingNotes"); } + set { BackingStore?.Set("closingNotes", value); } + } +#endif + /// The description of the task. +#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 title of the task. +#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 target completion date and time for the task. + public DateTimeOffset? DueDateTime + { + get { return BackingStore?.Get("dueDateTime"); } + set { BackingStore?.Set("dueDateTime", value); } + } + /// The priority property + public global::Microsoft.Graph.Beta.Models.Security.CaseManagement.CaseTaskPriority? Priority + { + get { return BackingStore?.Get("priority"); } + set { BackingStore?.Set("priority", value); } + } + /// The status property + public global::Microsoft.Graph.Beta.Models.Security.CaseManagement.TaskStatus? Status + { + get { return BackingStore?.Get("status"); } + set { BackingStore?.Set("status", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public TaskObject() : base() + { + OdataType = "#microsoft.graph.security.caseManagement.task"; + } + /// + /// 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.TaskObject CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.TaskObject(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "assignedTo", n => { AssignedTo = n.GetStringValue(); } }, + { "category", n => { Category = n.GetEnumValue(); } }, + { "closingNotes", n => { ClosingNotes = n.GetStringValue(); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "dueDateTime", n => { DueDateTime = n.GetDateTimeOffsetValue(); } }, + { "priority", n => { Priority = n.GetEnumValue(); } }, + { "status", n => { Status = 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.WriteStringValue("assignedTo", AssignedTo); + writer.WriteEnumValue("category", Category); + writer.WriteStringValue("closingNotes", ClosingNotes); + writer.WriteStringValue("description", Description); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteDateTimeOffsetValue("dueDateTime", DueDateTime); + writer.WriteEnumValue("priority", Priority); + writer.WriteEnumValue("status", Status); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/TaskStatus.cs b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/TaskStatus.cs new file mode 100644 index 000000000000..b7f8678aabb0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/TaskStatus.cs @@ -0,0 +1,44 @@ +// +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 TaskStatus + #pragma warning restore CS1591 + { + [EnumMember(Value = "notSet")] + #pragma warning disable CS1591 + NotSet, + #pragma warning restore CS1591 + [EnumMember(Value = "new")] + #pragma warning disable CS1591 + New, + #pragma warning restore CS1591 + [EnumMember(Value = "inProgress")] + #pragma warning disable CS1591 + InProgress, + #pragma warning restore CS1591 + [EnumMember(Value = "failed")] + #pragma warning disable CS1591 + Failed, + #pragma warning restore CS1591 + [EnumMember(Value = "partiallyCompleted")] + #pragma warning disable CS1591 + PartiallyCompleted, + #pragma warning restore CS1591 + [EnumMember(Value = "skipped")] + #pragma warning disable CS1591 + Skipped, + #pragma warning restore CS1591 + [EnumMember(Value = "completed")] + #pragma warning disable CS1591 + Completed, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/ThirdPartyWorkItem.cs b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/ThirdPartyWorkItem.cs new file mode 100644 index 000000000000..a0df2b3093b8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/ThirdPartyWorkItem.cs @@ -0,0 +1,177 @@ +// +#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 ThirdPartyWorkItem : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The identifier property +#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 instance property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Instance + { + get { return BackingStore?.Get("instance"); } + set { BackingStore?.Set("instance", value); } + } +#nullable restore +#else + public string Instance + { + get { return BackingStore?.Get("instance"); } + set { BackingStore?.Set("instance", value); } + } +#endif + /// The lastSyncedOnDateTime property + public DateTimeOffset? LastSyncedOnDateTime + { + get { return BackingStore?.Get("lastSyncedOnDateTime"); } + set { BackingStore?.Set("lastSyncedOnDateTime", value); } + } + /// The metadata property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.Security.CaseManagement.ThirdPartyWorkItemMetadata? Metadata + { + get { return BackingStore?.Get("metadata"); } + set { BackingStore?.Set("metadata", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.Security.CaseManagement.ThirdPartyWorkItemMetadata Metadata + { + get { return BackingStore?.Get("metadata"); } + set { BackingStore?.Set("metadata", 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 provider property + public global::Microsoft.Graph.Beta.Models.Security.CaseManagement.ThirdPartyWorkItemProvider? Provider + { + get { return BackingStore?.Get("provider"); } + set { BackingStore?.Set("provider", value); } + } + /// The syncedBy property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? SyncedBy + { + get { return BackingStore?.Get("syncedBy"); } + set { BackingStore?.Set("syncedBy", value); } + } +#nullable restore +#else + public string SyncedBy + { + get { return BackingStore?.Get("syncedBy"); } + set { BackingStore?.Set("syncedBy", value); } + } +#endif + /// The workItemType property + public global::Microsoft.Graph.Beta.Models.Security.CaseManagement.ThirdPartyWorkItemType? WorkItemType + { + get { return BackingStore?.Get("workItemType"); } + set { BackingStore?.Set("workItemType", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public ThirdPartyWorkItem() + { + 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.ThirdPartyWorkItem CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.ThirdPartyWorkItem(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "identifier", n => { Identifier = n.GetStringValue(); } }, + { "instance", n => { Instance = n.GetStringValue(); } }, + { "lastSyncedOnDateTime", n => { LastSyncedOnDateTime = n.GetDateTimeOffsetValue(); } }, + { "metadata", n => { Metadata = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.Security.CaseManagement.ThirdPartyWorkItemMetadata.CreateFromDiscriminatorValue); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "provider", n => { Provider = n.GetEnumValue(); } }, + { "syncedBy", n => { SyncedBy = n.GetStringValue(); } }, + { "workItemType", n => { WorkItemType = 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.WriteStringValue("identifier", Identifier); + writer.WriteStringValue("instance", Instance); + writer.WriteDateTimeOffsetValue("lastSyncedOnDateTime", LastSyncedOnDateTime); + writer.WriteObjectValue("metadata", Metadata); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteEnumValue("provider", Provider); + writer.WriteStringValue("syncedBy", SyncedBy); + writer.WriteEnumValue("workItemType", WorkItemType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/ThirdPartyWorkItemMetadata.cs b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/ThirdPartyWorkItemMetadata.cs new file mode 100644 index 000000000000..65295f7c159e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/ThirdPartyWorkItemMetadata.cs @@ -0,0 +1,81 @@ +// +#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 ThirdPartyWorkItemMetadata : 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 ThirdPartyWorkItemMetadata() + { + 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.ThirdPartyWorkItemMetadata CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.ThirdPartyWorkItemMetadata(); + } + /// + /// 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/ThirdPartyWorkItemProvider.cs b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/ThirdPartyWorkItemProvider.cs new file mode 100644 index 000000000000..7b97e579b3d3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/ThirdPartyWorkItemProvider.cs @@ -0,0 +1,20 @@ +// +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 ThirdPartyWorkItemProvider + #pragma warning restore CS1591 + { + [EnumMember(Value = "serviceNow")] + #pragma warning disable CS1591 + ServiceNow, + #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/ThirdPartyWorkItemType.cs b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/ThirdPartyWorkItemType.cs new file mode 100644 index 000000000000..7241d53d7d5d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/ThirdPartyWorkItemType.cs @@ -0,0 +1,20 @@ +// +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 ThirdPartyWorkItemType + #pragma warning restore CS1591 + { + [EnumMember(Value = "incident")] + #pragma warning disable CS1591 + Incident, + #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/ValueProperty.cs b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/ValueProperty.cs new file mode 100644 index 000000000000..af02df2e58bf --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/ValueProperty.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 ValueProperty : 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 ValueProperty() + { + 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.ValueProperty 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.booleanValueProperty" => new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.BooleanValueProperty(), + "#microsoft.graph.security.caseManagement.stringValueProperty" => new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.StringValueProperty(), + _ => new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.ValueProperty(), + }; + } + /// + /// 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/WorkspaceIndicatorRelation.cs b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/WorkspaceIndicatorRelation.cs new file mode 100644 index 000000000000..364955c9dbaf --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/CaseManagement/WorkspaceIndicatorRelation.cs @@ -0,0 +1,107 @@ +// +#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 WorkspaceIndicatorRelation : global::Microsoft.Graph.Beta.Models.Security.CaseManagement.Relation, IParsable + #pragma warning restore CS1591 + { + /// The Azure resource group name for the workspace. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ResourceGroupName + { + get { return BackingStore?.Get("resourceGroupName"); } + set { BackingStore?.Set("resourceGroupName", value); } + } +#nullable restore +#else + public string ResourceGroupName + { + get { return BackingStore?.Get("resourceGroupName"); } + set { BackingStore?.Set("resourceGroupName", value); } + } +#endif + /// The Azure subscription identifier for the workspace. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? SubscriptionId + { + get { return BackingStore?.Get("subscriptionId"); } + set { BackingStore?.Set("subscriptionId", value); } + } +#nullable restore +#else + public string SubscriptionId + { + get { return BackingStore?.Get("subscriptionId"); } + set { BackingStore?.Set("subscriptionId", value); } + } +#endif + /// The Log Analytics workspace name. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? WorkspaceName + { + get { return BackingStore?.Get("workspaceName"); } + set { BackingStore?.Set("workspaceName", value); } + } +#nullable restore +#else + public string WorkspaceName + { + get { return BackingStore?.Get("workspaceName"); } + set { BackingStore?.Set("workspaceName", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public WorkspaceIndicatorRelation() : base() + { + OdataType = "#microsoft.graph.security.caseManagement.workspaceIndicatorRelation"; + } + /// + /// 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.WorkspaceIndicatorRelation CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.CaseManagement.WorkspaceIndicatorRelation(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "resourceGroupName", n => { ResourceGroupName = n.GetStringValue(); } }, + { "subscriptionId", n => { SubscriptionId = n.GetStringValue(); } }, + { "workspaceName", n => { WorkspaceName = 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("resourceGroupName", ResourceGroupName); + writer.WriteStringValue("subscriptionId", SubscriptionId); + writer.WriteStringValue("workspaceName", WorkspaceName); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/CaseManagementRoot.cs b/src/Microsoft.Graph/Generated/Models/Security/CaseManagementRoot.cs new file mode 100644 index 000000000000..305c6036c708 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/CaseManagementRoot.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.Security.CaseManagement; +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 +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class CaseManagementRoot : global::Microsoft.Graph.Beta.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The collection of security cases managed through the case management entry point. Supports $filter, $orderby, $select, $top, $skip, and $count. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Cases + { + get { return BackingStore?.Get?>("cases"); } + set { BackingStore?.Set("cases", value); } + } +#nullable restore +#else + public List Cases + { + get { return BackingStore?.Get>("cases"); } + set { BackingStore?.Set("cases", 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.CaseManagementRoot CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.CaseManagementRoot(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "cases", n => { Cases = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.Security.CaseManagement.Case.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("cases", Cases); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/SyncComponent.cs b/src/Microsoft.Graph/Generated/Models/SyncComponent.cs new file mode 100644 index 000000000000..6350955db92d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/SyncComponent.cs @@ -0,0 +1,130 @@ +// +#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 SyncComponent : 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; } + /// Indicates additional information for this sync stage. This is a flexible string that can be null (no additional info), a progress indicator such as '3/6' (completed out of total), or a list of individual item names. Read-only. Nullable. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? MoreInfo + { + get { return BackingStore?.Get("moreInfo"); } + set { BackingStore?.Set("moreInfo", value); } + } +#nullable restore +#else + public string MoreInfo + { + get { return BackingStore?.Get("moreInfo"); } + set { BackingStore?.Set("moreInfo", value); } + } +#endif + /// Indicates the sync stage name. The backend abstracts internal infrastructure into 6 user-facing stages. Fixed values are: notifyingDevice, deviceConnecting, policies, applications, scripts, compliance. Read-only. Not nullable. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Name + { + get { return BackingStore?.Get("name"); } + set { BackingStore?.Set("name", value); } + } +#nullable restore +#else + public string Name + { + get { return BackingStore?.Get("name"); } + set { BackingStore?.Set("name", 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 + /// Indicates the date and time when this stage last reported status. The date and time information is shown using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only. Not nullable. + public DateTimeOffset? ReportedDateTime + { + get { return BackingStore?.Get("reportedDateTime"); } + set { BackingStore?.Set("reportedDateTime", value); } + } + /// A list of possible status states for a sync infrastructure component or policy during a device sync operation. + public global::Microsoft.Graph.Beta.Models.SyncComponentStatus? Status + { + get { return BackingStore?.Get("status"); } + set { BackingStore?.Set("status", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public SyncComponent() + { + 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.SyncComponent CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.SyncComponent(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "moreInfo", n => { MoreInfo = n.GetStringValue(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "reportedDateTime", n => { ReportedDateTime = n.GetDateTimeOffsetValue(); } }, + { "status", n => { Status = 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.WriteStringValue("@odata.type", OdataType); + writer.WriteEnumValue("status", Status); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/SyncComponentStatus.cs b/src/Microsoft.Graph/Generated/Models/SyncComponentStatus.cs new file mode 100644 index 000000000000..fd032c3c25a6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/SyncComponentStatus.cs @@ -0,0 +1,29 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + /// A list of possible status states for a sync infrastructure component or policy during a device sync operation. + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public enum SyncComponentStatus + { + /// Default. The component has not yet started reporting status. This is a schema default and will not typically appear in responses, as components only appear once they begin executing. + [EnumMember(Value = "none")] + None, + /// Indicates the component is currently executing. For infrastructure components (PNSv1, DCI, SCGW), this means the notification or check-in is in flight. For policies, this means the policy is being applied to the device. + [EnumMember(Value = "inProgress")] + InProgress, + /// Indicates the component completed successfully. The component has finished its work and reported a successful outcome. + [EnumMember(Value = "success")] + Success, + /// Indicates the stage encountered an error. When this value is set, the moreInfo property on the syncComponent will contain additional diagnostic details about the failure. + [EnumMember(Value = "failure")] + Failure, + /// Indicates the stage completed but not all items succeeded. For example, some policies applied successfully while others failed. The moreInfo property may contain details on the partial outcome. + [EnumMember(Value = "partialSuccess")] + PartialSuccess, + /// Evolvable enumeration sentinel value. Do not use. + [EnumMember(Value = "unknownFutureValue")] + UnknownFutureValue, + } +} diff --git a/src/Microsoft.Graph/Generated/Models/TaskHistoryItem.cs b/src/Microsoft.Graph/Generated/Models/TaskHistoryItem.cs index 5f813f686e7c..859678a7b10c 100644 --- a/src/Microsoft.Graph/Generated/Models/TaskHistoryItem.cs +++ b/src/Microsoft.Graph/Generated/Models/TaskHistoryItem.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Beta.Models public partial class TaskHistoryItem : global::Microsoft.Graph.Beta.Models.PlannerHistoryItem, IParsable #pragma warning restore CS1591 { - /// The newData property + /// A snapshot of the task state after the change. This property is null for deletion events. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.PlannerTaskData? NewData @@ -28,7 +28,7 @@ public partial class TaskHistoryItem : global::Microsoft.Graph.Beta.Models.Plann set { BackingStore?.Set("newData", value); } } #endif - /// The oldData property + /// A snapshot of the task state before the change. This property is null for creation and undeletion events. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.PlannerTaskData? OldData diff --git a/src/Microsoft.Graph/Generated/Models/UnifiedStorageQuota.cs b/src/Microsoft.Graph/Generated/Models/UnifiedStorageQuota.cs index 22252ff9154c..bd7c87f48d5f 100644 --- a/src/Microsoft.Graph/Generated/Models/UnifiedStorageQuota.cs +++ b/src/Microsoft.Graph/Generated/Models/UnifiedStorageQuota.cs @@ -18,6 +18,28 @@ public long? Deleted get { return BackingStore?.Get("deleted"); } set { BackingStore?.Set("deleted", value); } } + /// The familyMembersUsage property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? FamilyMembersUsage + { + get { return BackingStore?.Get?>("familyMembersUsage"); } + set { BackingStore?.Set("familyMembersUsage", value); } + } +#nullable restore +#else + public List FamilyMembersUsage + { + get { return BackingStore?.Get>("familyMembersUsage"); } + set { BackingStore?.Set("familyMembersUsage", value); } + } +#endif + /// The isPooledStorageEnabled property + public bool? IsPooledStorageEnabled + { + get { return BackingStore?.Get("isPooledStorageEnabled"); } + set { BackingStore?.Set("isPooledStorageEnabled", value); } + } /// A URL that can be used in a browser to manage the breakdown. Read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -103,6 +125,8 @@ public override IDictionary> GetFieldDeserializers() return new Dictionary>(base.GetFieldDeserializers()) { { "deleted", n => { Deleted = n.GetLongValue(); } }, + { "familyMembersUsage", n => { FamilyMembersUsage = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.FamilyMemberStorageQuota.CreateFromDiscriminatorValue)?.AsList(); } }, + { "isPooledStorageEnabled", n => { IsPooledStorageEnabled = n.GetBoolValue(); } }, { "manageWebUrl", n => { ManageWebUrl = n.GetStringValue(); } }, { "remaining", n => { Remaining = n.GetLongValue(); } }, { "services", n => { Services = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ServiceStorageQuotaBreakdown.CreateFromDiscriminatorValue)?.AsList(); } }, @@ -120,6 +144,8 @@ public override void Serialize(ISerializationWriter writer) if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); writer.WriteLongValue("deleted", Deleted); + writer.WriteCollectionOfObjectValues("familyMembersUsage", FamilyMembersUsage); + writer.WriteBoolValue("isPooledStorageEnabled", IsPooledStorageEnabled); writer.WriteStringValue("manageWebUrl", ManageWebUrl); writer.WriteLongValue("remaining", Remaining); writer.WriteCollectionOfObjectValues("services", Services); diff --git a/src/Microsoft.Graph/Generated/Models/VppToken.cs b/src/Microsoft.Graph/Generated/Models/VppToken.cs index 300745ea7e49..2382feff49c7 100644 --- a/src/Microsoft.Graph/Generated/Models/VppToken.cs +++ b/src/Microsoft.Graph/Generated/Models/VppToken.cs @@ -13,6 +13,12 @@ namespace Microsoft.Graph.Beta.Models [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class VppToken : global::Microsoft.Graph.Beta.Models.Entity, IParsable { + /// Enum of the supported types of Apple delivery protocols, representing the available protocols to deliver payloads to Apple devices + public global::Microsoft.Graph.Beta.Models.AppleDeviceDeliveryProtocol? AppleDeviceAppDeliveryProtocolType + { + get { return BackingStore?.Get("appleDeviceAppDeliveryProtocolType"); } + set { BackingStore?.Set("appleDeviceAppDeliveryProtocolType", value); } + } /// The apple Id associated with the given Apple Volume Purchase Program Token. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -213,6 +219,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { + { "appleDeviceAppDeliveryProtocolType", n => { AppleDeviceAppDeliveryProtocolType = n.GetEnumValue(); } }, { "appleId", n => { AppleId = n.GetStringValue(); } }, { "automaticallyUpdateApps", n => { AutomaticallyUpdateApps = n.GetBoolValue(); } }, { "claimTokenManagementFromExternalMdm", n => { ClaimTokenManagementFromExternalMdm = n.GetBoolValue(); } }, @@ -240,6 +247,7 @@ public override void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); + writer.WriteEnumValue("appleDeviceAppDeliveryProtocolType", AppleDeviceAppDeliveryProtocolType); writer.WriteStringValue("appleId", AppleId); writer.WriteBoolValue("automaticallyUpdateApps", AutomaticallyUpdateApps); writer.WriteBoolValue("claimTokenManagementFromExternalMdm", ClaimTokenManagementFromExternalMdm); diff --git a/src/Microsoft.Graph/Generated/Models/Workspace.cs b/src/Microsoft.Graph/Generated/Models/Workspace.cs index 2f677decb0e1..8bf6ed51cf21 100644 --- a/src/Microsoft.Graph/Generated/Models/Workspace.cs +++ b/src/Microsoft.Graph/Generated/Models/Workspace.cs @@ -119,22 +119,6 @@ public string Nickname get { return BackingStore?.Get("nickname"); } set { BackingStore?.Set("nickname", value); } } -#endif - /// The placeId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? PlaceId - { - get { return BackingStore?.Get("placeId"); } - set { BackingStore?.Set("placeId", value); } - } -#nullable restore -#else - public string PlaceId - { - get { return BackingStore?.Get("placeId"); } - set { BackingStore?.Set("placeId", value); } - } #endif /// /// Instantiates a new and sets the default values. @@ -169,7 +153,6 @@ public override IDictionary> GetFieldDeserializers() { "floorNumber", n => { FloorNumber = n.GetIntValue(); } }, { "mode", n => { Mode = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.PlaceMode.CreateFromDiscriminatorValue); } }, { "nickname", n => { Nickname = n.GetStringValue(); } }, - { "placeId", n => { PlaceId = n.GetStringValue(); } }, }; } /// @@ -188,7 +171,6 @@ public override void Serialize(ISerializationWriter writer) writer.WriteIntValue("floorNumber", FloorNumber); writer.WriteObjectValue("mode", Mode); writer.WriteStringValue("nickname", Nickname); - writer.WriteStringValue("placeId", PlaceId); } } } diff --git a/src/Microsoft.Graph/Generated/Planner/Plans/Item/HistoryItems/HistoryItemsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Plans/Item/HistoryItems/HistoryItemsRequestBuilder.cs index 2a54694d88f4..8f211dceacdc 100644 --- a/src/Microsoft.Graph/Generated/Planner/Plans/Item/HistoryItems/HistoryItemsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Planner/Plans/Item/HistoryItems/HistoryItemsRequestBuilder.cs @@ -54,7 +54,7 @@ public HistoryItemsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) { } /// - /// Get historyItems from planner + /// Collection of history items for entities in the plan. Read-only. Nullable. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public HistoryItemsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerHistoryItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get historyItems from planner + /// Collection of history items for entities in the plan. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.Planner.Plans.Item.HistoryItems.HistoryItemsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get historyItems from planner + /// Collection of history items for entities in the plan. Read-only. Nullable. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class HistoryItemsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Planner/Plans/Item/HistoryItems/Item/PlannerHistoryItemItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Plans/Item/HistoryItems/Item/PlannerHistoryItemItemRequestBuilder.cs index dfa667e5e161..6deacf6ac650 100644 --- a/src/Microsoft.Graph/Generated/Planner/Plans/Item/HistoryItems/Item/PlannerHistoryItemItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Planner/Plans/Item/HistoryItems/Item/PlannerHistoryItemItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// Get historyItems from planner + /// Collection of history items for entities in the plan. Read-only. Nullable. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get historyItems from planner + /// Collection of history items for entities in the plan. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class PlannerHistoryItemItemRequestBuilderDeleteRequestConfigurat { } /// - /// Get historyItems from planner + /// Collection of history items for entities in the plan. Read-only. Nullable. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class PlannerHistoryItemItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Reports/GetMicrosoft365CopilotUsageUserDetailWithPeriod/GetMicrosoft365CopilotUsageUserDetailWithPeriodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetMicrosoft365CopilotUsageUserDetailWithPeriodWithVersion/GetMicrosoft365CopilotUsageUserDetailWithPeriodWithVersionRequestBuilder.cs similarity index 74% rename from src/Microsoft.Graph/Generated/Reports/GetMicrosoft365CopilotUsageUserDetailWithPeriod/GetMicrosoft365CopilotUsageUserDetailWithPeriodRequestBuilder.cs rename to src/Microsoft.Graph/Generated/Reports/GetMicrosoft365CopilotUsageUserDetailWithPeriodWithVersion/GetMicrosoft365CopilotUsageUserDetailWithPeriodWithVersionRequestBuilder.cs index fc3c4c475a76..7739358ae8a2 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetMicrosoft365CopilotUsageUserDetailWithPeriod/GetMicrosoft365CopilotUsageUserDetailWithPeriodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetMicrosoft365CopilotUsageUserDetailWithPeriodWithVersion/GetMicrosoft365CopilotUsageUserDetailWithPeriodWithVersionRequestBuilder.cs @@ -9,30 +9,32 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUsageUserDetailWithPeriod +namespace Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUsageUserDetailWithPeriodWithVersion { /// /// Provides operations to call the getMicrosoft365CopilotUsageUserDetail method. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GetMicrosoft365CopilotUsageUserDetailWithPeriodRequestBuilder : BaseRequestBuilder + public partial class GetMicrosoft365CopilotUsageUserDetailWithPeriodWithVersionRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// Usage: period='{period}' /// The request adapter to use to execute the requests. - public GetMicrosoft365CopilotUsageUserDetailWithPeriodRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter, string period = "") : base(requestAdapter, "{+baseurl}/reports/getMicrosoft365CopilotUsageUserDetail(period='{period}')", pathParameters) + /// Usage: version='{version}' + public GetMicrosoft365CopilotUsageUserDetailWithPeriodWithVersionRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter, string period = "", string version = "") : base(requestAdapter, "{+baseurl}/reports/getMicrosoft365CopilotUsageUserDetail(period='{period}',version='{version}')", pathParameters) { if (!string.IsNullOrWhiteSpace(period)) PathParameters.Add("period", period); + if (!string.IsNullOrWhiteSpace(version)) PathParameters.Add("version", version); } /// - /// 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 GetMicrosoft365CopilotUsageUserDetailWithPeriodRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/reports/getMicrosoft365CopilotUsageUserDetail(period='{period}')", rawUrl) + public GetMicrosoft365CopilotUsageUserDetailWithPeriodWithVersionRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/reports/getMicrosoft365CopilotUsageUserDetail(period='{period}',version='{version}')", rawUrl) { } /// @@ -81,18 +83,18 @@ 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.Reports.GetMicrosoft365CopilotUsageUserDetailWithPeriod.GetMicrosoft365CopilotUsageUserDetailWithPeriodRequestBuilder WithUrl(string rawUrl) + public global::Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUsageUserDetailWithPeriodWithVersion.GetMicrosoft365CopilotUsageUserDetailWithPeriodWithVersionRequestBuilder WithUrl(string rawUrl) { - return new global::Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUsageUserDetailWithPeriod.GetMicrosoft365CopilotUsageUserDetailWithPeriodRequestBuilder(rawUrl, RequestAdapter); + return new global::Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUsageUserDetailWithPeriodWithVersion.GetMicrosoft365CopilotUsageUserDetailWithPeriodWithVersionRequestBuilder(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 GetMicrosoft365CopilotUsageUserDetailWithPeriodRequestBuilderGetRequestConfiguration : RequestConfiguration + public partial class GetMicrosoft365CopilotUsageUserDetailWithPeriodWithVersionRequestBuilderGetRequestConfiguration : RequestConfiguration { } } diff --git a/src/Microsoft.Graph/Generated/Reports/GetMicrosoft365CopilotUserCountSummaryWithPeriod/GetMicrosoft365CopilotUserCountSummaryWithPeriodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetMicrosoft365CopilotUserCountSummaryWithPeriodWithVersion/GetMicrosoft365CopilotUserCountSummaryWithPeriodWithVersionRequestBuilder.cs similarity index 74% rename from src/Microsoft.Graph/Generated/Reports/GetMicrosoft365CopilotUserCountSummaryWithPeriod/GetMicrosoft365CopilotUserCountSummaryWithPeriodRequestBuilder.cs rename to src/Microsoft.Graph/Generated/Reports/GetMicrosoft365CopilotUserCountSummaryWithPeriodWithVersion/GetMicrosoft365CopilotUserCountSummaryWithPeriodWithVersionRequestBuilder.cs index f3ee802e67c7..1c8e91792f3b 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetMicrosoft365CopilotUserCountSummaryWithPeriod/GetMicrosoft365CopilotUserCountSummaryWithPeriodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetMicrosoft365CopilotUserCountSummaryWithPeriodWithVersion/GetMicrosoft365CopilotUserCountSummaryWithPeriodWithVersionRequestBuilder.cs @@ -9,30 +9,32 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUserCountSummaryWithPeriod +namespace Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUserCountSummaryWithPeriodWithVersion { /// /// Provides operations to call the getMicrosoft365CopilotUserCountSummary method. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GetMicrosoft365CopilotUserCountSummaryWithPeriodRequestBuilder : BaseRequestBuilder + public partial class GetMicrosoft365CopilotUserCountSummaryWithPeriodWithVersionRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// Usage: period='{period}' /// The request adapter to use to execute the requests. - public GetMicrosoft365CopilotUserCountSummaryWithPeriodRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter, string period = "") : base(requestAdapter, "{+baseurl}/reports/getMicrosoft365CopilotUserCountSummary(period='{period}')", pathParameters) + /// Usage: version='{version}' + public GetMicrosoft365CopilotUserCountSummaryWithPeriodWithVersionRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter, string period = "", string version = "") : base(requestAdapter, "{+baseurl}/reports/getMicrosoft365CopilotUserCountSummary(period='{period}',version='{version}')", pathParameters) { if (!string.IsNullOrWhiteSpace(period)) PathParameters.Add("period", period); + if (!string.IsNullOrWhiteSpace(version)) PathParameters.Add("version", version); } /// - /// 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 GetMicrosoft365CopilotUserCountSummaryWithPeriodRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/reports/getMicrosoft365CopilotUserCountSummary(period='{period}')", rawUrl) + public GetMicrosoft365CopilotUserCountSummaryWithPeriodWithVersionRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/reports/getMicrosoft365CopilotUserCountSummary(period='{period}',version='{version}')", rawUrl) { } /// @@ -81,18 +83,18 @@ 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.Reports.GetMicrosoft365CopilotUserCountSummaryWithPeriod.GetMicrosoft365CopilotUserCountSummaryWithPeriodRequestBuilder WithUrl(string rawUrl) + public global::Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUserCountSummaryWithPeriodWithVersion.GetMicrosoft365CopilotUserCountSummaryWithPeriodWithVersionRequestBuilder WithUrl(string rawUrl) { - return new global::Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUserCountSummaryWithPeriod.GetMicrosoft365CopilotUserCountSummaryWithPeriodRequestBuilder(rawUrl, RequestAdapter); + return new global::Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUserCountSummaryWithPeriodWithVersion.GetMicrosoft365CopilotUserCountSummaryWithPeriodWithVersionRequestBuilder(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 GetMicrosoft365CopilotUserCountSummaryWithPeriodRequestBuilderGetRequestConfiguration : RequestConfiguration + public partial class GetMicrosoft365CopilotUserCountSummaryWithPeriodWithVersionRequestBuilderGetRequestConfiguration : RequestConfiguration { } } diff --git a/src/Microsoft.Graph/Generated/Reports/GetMicrosoft365CopilotUserCountTrendWithPeriod/GetMicrosoft365CopilotUserCountTrendWithPeriodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetMicrosoft365CopilotUserCountTrendWithPeriodWithVersion/GetMicrosoft365CopilotUserCountTrendWithPeriodWithVersionRequestBuilder.cs similarity index 74% rename from src/Microsoft.Graph/Generated/Reports/GetMicrosoft365CopilotUserCountTrendWithPeriod/GetMicrosoft365CopilotUserCountTrendWithPeriodRequestBuilder.cs rename to src/Microsoft.Graph/Generated/Reports/GetMicrosoft365CopilotUserCountTrendWithPeriodWithVersion/GetMicrosoft365CopilotUserCountTrendWithPeriodWithVersionRequestBuilder.cs index 66ddc2fbb656..654e7c908ed2 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetMicrosoft365CopilotUserCountTrendWithPeriod/GetMicrosoft365CopilotUserCountTrendWithPeriodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetMicrosoft365CopilotUserCountTrendWithPeriodWithVersion/GetMicrosoft365CopilotUserCountTrendWithPeriodWithVersionRequestBuilder.cs @@ -9,30 +9,32 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUserCountTrendWithPeriod +namespace Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUserCountTrendWithPeriodWithVersion { /// /// Provides operations to call the getMicrosoft365CopilotUserCountTrend method. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GetMicrosoft365CopilotUserCountTrendWithPeriodRequestBuilder : BaseRequestBuilder + public partial class GetMicrosoft365CopilotUserCountTrendWithPeriodWithVersionRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// Usage: period='{period}' /// The request adapter to use to execute the requests. - public GetMicrosoft365CopilotUserCountTrendWithPeriodRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter, string period = "") : base(requestAdapter, "{+baseurl}/reports/getMicrosoft365CopilotUserCountTrend(period='{period}')", pathParameters) + /// Usage: version='{version}' + public GetMicrosoft365CopilotUserCountTrendWithPeriodWithVersionRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter, string period = "", string version = "") : base(requestAdapter, "{+baseurl}/reports/getMicrosoft365CopilotUserCountTrend(period='{period}',version='{version}')", pathParameters) { if (!string.IsNullOrWhiteSpace(period)) PathParameters.Add("period", period); + if (!string.IsNullOrWhiteSpace(version)) PathParameters.Add("version", version); } /// - /// 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 GetMicrosoft365CopilotUserCountTrendWithPeriodRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/reports/getMicrosoft365CopilotUserCountTrend(period='{period}')", rawUrl) + public GetMicrosoft365CopilotUserCountTrendWithPeriodWithVersionRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/reports/getMicrosoft365CopilotUserCountTrend(period='{period}',version='{version}')", rawUrl) { } /// @@ -81,18 +83,18 @@ 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.Reports.GetMicrosoft365CopilotUserCountTrendWithPeriod.GetMicrosoft365CopilotUserCountTrendWithPeriodRequestBuilder WithUrl(string rawUrl) + public global::Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUserCountTrendWithPeriodWithVersion.GetMicrosoft365CopilotUserCountTrendWithPeriodWithVersionRequestBuilder WithUrl(string rawUrl) { - return new global::Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUserCountTrendWithPeriod.GetMicrosoft365CopilotUserCountTrendWithPeriodRequestBuilder(rawUrl, RequestAdapter); + return new global::Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUserCountTrendWithPeriodWithVersion.GetMicrosoft365CopilotUserCountTrendWithPeriodWithVersionRequestBuilder(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 GetMicrosoft365CopilotUserCountTrendWithPeriodRequestBuilderGetRequestConfiguration : RequestConfiguration + public partial class GetMicrosoft365CopilotUserCountTrendWithPeriodWithVersionRequestBuilderGetRequestConfiguration : RequestConfiguration { } } diff --git a/src/Microsoft.Graph/Generated/Reports/ReportsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/ReportsRequestBuilder.cs index 9b1a458f346a..a0fc2458f2af 100644 --- a/src/Microsoft.Graph/Generated/Reports/ReportsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/ReportsRequestBuilder.cs @@ -47,9 +47,9 @@ using Microsoft.Graph.Beta.Reports.GetMailboxUsageMailboxCountsWithPeriod; using Microsoft.Graph.Beta.Reports.GetMailboxUsageQuotaStatusMailboxCountsWithPeriod; using Microsoft.Graph.Beta.Reports.GetMailboxUsageStorageWithPeriod; -using Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUsageUserDetailWithPeriod; -using Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUserCountSummaryWithPeriod; -using Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUserCountTrendWithPeriod; +using Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUsageUserDetailWithPeriodWithVersion; +using Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUserCountSummaryWithPeriodWithVersion; +using Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUserCountTrendWithPeriodWithVersion; using Microsoft.Graph.Beta.Reports.GetOffice365ActivationCounts; using Microsoft.Graph.Beta.Reports.GetOffice365ActivationsUserCounts; using Microsoft.Graph.Beta.Reports.GetOffice365ActivationsUserDetail; @@ -672,32 +672,38 @@ public ReportsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba /// /// Provides operations to call the getMicrosoft365CopilotUsageUserDetail method. /// - /// A + /// A /// Usage: period='{period}' - public global::Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUsageUserDetailWithPeriod.GetMicrosoft365CopilotUsageUserDetailWithPeriodRequestBuilder GetMicrosoft365CopilotUsageUserDetailWithPeriod(string period) + /// Usage: version='{version}' + public global::Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUsageUserDetailWithPeriodWithVersion.GetMicrosoft365CopilotUsageUserDetailWithPeriodWithVersionRequestBuilder GetMicrosoft365CopilotUsageUserDetailWithPeriodWithVersion(string period, string version) { if(string.IsNullOrEmpty(period)) throw new ArgumentNullException(nameof(period)); - return new global::Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUsageUserDetailWithPeriod.GetMicrosoft365CopilotUsageUserDetailWithPeriodRequestBuilder(PathParameters, RequestAdapter, period); + if(string.IsNullOrEmpty(version)) throw new ArgumentNullException(nameof(version)); + return new global::Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUsageUserDetailWithPeriodWithVersion.GetMicrosoft365CopilotUsageUserDetailWithPeriodWithVersionRequestBuilder(PathParameters, RequestAdapter, period, version); } /// /// Provides operations to call the getMicrosoft365CopilotUserCountSummary method. /// - /// A + /// A /// Usage: period='{period}' - public global::Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUserCountSummaryWithPeriod.GetMicrosoft365CopilotUserCountSummaryWithPeriodRequestBuilder GetMicrosoft365CopilotUserCountSummaryWithPeriod(string period) + /// Usage: version='{version}' + public global::Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUserCountSummaryWithPeriodWithVersion.GetMicrosoft365CopilotUserCountSummaryWithPeriodWithVersionRequestBuilder GetMicrosoft365CopilotUserCountSummaryWithPeriodWithVersion(string period, string version) { if(string.IsNullOrEmpty(period)) throw new ArgumentNullException(nameof(period)); - return new global::Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUserCountSummaryWithPeriod.GetMicrosoft365CopilotUserCountSummaryWithPeriodRequestBuilder(PathParameters, RequestAdapter, period); + if(string.IsNullOrEmpty(version)) throw new ArgumentNullException(nameof(version)); + return new global::Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUserCountSummaryWithPeriodWithVersion.GetMicrosoft365CopilotUserCountSummaryWithPeriodWithVersionRequestBuilder(PathParameters, RequestAdapter, period, version); } /// /// Provides operations to call the getMicrosoft365CopilotUserCountTrend method. /// - /// A + /// A /// Usage: period='{period}' - public global::Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUserCountTrendWithPeriod.GetMicrosoft365CopilotUserCountTrendWithPeriodRequestBuilder GetMicrosoft365CopilotUserCountTrendWithPeriod(string period) + /// Usage: version='{version}' + public global::Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUserCountTrendWithPeriodWithVersion.GetMicrosoft365CopilotUserCountTrendWithPeriodWithVersionRequestBuilder GetMicrosoft365CopilotUserCountTrendWithPeriodWithVersion(string period, string version) { if(string.IsNullOrEmpty(period)) throw new ArgumentNullException(nameof(period)); - return new global::Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUserCountTrendWithPeriod.GetMicrosoft365CopilotUserCountTrendWithPeriodRequestBuilder(PathParameters, RequestAdapter, period); + if(string.IsNullOrEmpty(version)) throw new ArgumentNullException(nameof(version)); + return new global::Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUserCountTrendWithPeriodWithVersion.GetMicrosoft365CopilotUserCountTrendWithPeriodWithVersionRequestBuilder(PathParameters, RequestAdapter, period, version); } /// /// Provides operations to call the getOffice365ActiveUserCounts method. diff --git a/src/Microsoft.Graph/Generated/Security/CaseManagement/CaseManagementRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/CaseManagement/CaseManagementRequestBuilder.cs new file mode 100644 index 000000000000..3fbfb1772b05 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/CaseManagement/CaseManagementRequestBuilder.cs @@ -0,0 +1,235 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models.Security; +using Microsoft.Graph.Beta.Security.CaseManagement.Cases; +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 +{ + /// + /// Provides operations to manage the caseManagement property of the microsoft.graph.security entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CaseManagementRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the cases property of the microsoft.graph.security.caseManagementRoot entity. + public global::Microsoft.Graph.Beta.Security.CaseManagement.Cases.CasesRequestBuilder Cases + { + get => new global::Microsoft.Graph.Beta.Security.CaseManagement.Cases.CasesRequestBuilder(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 CaseManagementRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/caseManagement{?%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 CaseManagementRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/caseManagement{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property caseManagement 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 entry point for security case management APIs, including cases, tasks, activities, relations, and attachments. + /// + /// 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.CaseManagementRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property caseManagement 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.CaseManagementRoot body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.Security.CaseManagementRoot 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.CaseManagementRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property caseManagement 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 entry point for security case management APIs, including cases, tasks, activities, relations, and attachments. + /// + /// 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 caseManagement 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.CaseManagementRoot body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.Security.CaseManagementRoot 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.CaseManagementRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Security.CaseManagement.CaseManagementRequestBuilder(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 CaseManagementRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// The entry point for security case management APIs, including cases, tasks, activities, relations, and attachments. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CaseManagementRequestBuilderGetQueryParameters + { + /// 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 CaseManagementRequestBuilderGetRequestConfiguration : 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 CaseManagementRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Security/CaseManagement/Cases/CasesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/CaseManagement/Cases/CasesRequestBuilder.cs new file mode 100644 index 000000000000..bc3e5ca24c6e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/CaseManagement/Cases/CasesRequestBuilder.cs @@ -0,0 +1,240 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models.Security.CaseManagement; +using Microsoft.Graph.Beta.Security.CaseManagement.Cases.Count; +using Microsoft.Graph.Beta.Security.CaseManagement.Cases.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.Cases +{ + /// + /// Provides operations to manage the cases property of the microsoft.graph.security.caseManagementRoot entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CasesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Security.CaseManagement.Cases.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Security.CaseManagement.Cases.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the cases property of the microsoft.graph.security.caseManagementRoot entity. + /// The unique identifier of case + /// A + public global::Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.CaseItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("case%2Did", position); + return new global::Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.CaseItemRequestBuilder(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 CasesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/caseManagement/cases{?%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 CasesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/caseManagement/cases{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get a list of the case objects and their properties. + /// 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.Security.CaseManagement.CaseCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create a case object in case management. + /// 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.Security.CaseManagement.Case body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.Security.CaseManagement.Case 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.Case.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get a list of the case objects and their properties. + /// + /// 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 case object in case management. + /// + /// 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.Case body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.Security.CaseManagement.Case 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.Cases.CasesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Security.CaseManagement.Cases.CasesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get a list of the case objects and their properties. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CasesRequestBuilderGetQueryParameters + { + /// 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 CasesRequestBuilderGetRequestConfiguration : 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 CasesRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Security/CaseManagement/Cases/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/CaseManagement/Cases/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..3fb472639a21 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/CaseManagement/Cases/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.Cases.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/cases/$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/cases/$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.Cases.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Security.CaseManagement.Cases.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/Cases/Item/Activities/ActivitiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/CaseManagement/Cases/Item/Activities/ActivitiesRequestBuilder.cs new file mode 100644 index 000000000000..893393342ed4 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/CaseManagement/Cases/Item/Activities/ActivitiesRequestBuilder.cs @@ -0,0 +1,240 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models.Security.CaseManagement; +using Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Activities.Count; +using Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Activities.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.Cases.Item.Activities +{ + /// + /// Provides operations to manage the activities property of the microsoft.graph.security.caseManagement.case entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ActivitiesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Activities.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Activities.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the activities property of the microsoft.graph.security.caseManagement.case entity. + /// The unique identifier of activity + /// A + public global::Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Activities.Item.ActivityItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("activity%2Did", position); + return new global::Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Activities.Item.ActivityItemRequestBuilder(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 ActivitiesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/caseManagement/cases/{case%2Did}/activities{?%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 ActivitiesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/caseManagement/cases/{case%2Did}/activities{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get a list of activity objects in a case timeline. + /// 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.Security.CaseManagement.ActivityCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create a comment activity for a case. + /// 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.Security.CaseManagement.Activity body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.Security.CaseManagement.Activity 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.Activity.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get a list of activity objects in a case timeline. + /// + /// 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 comment activity for a case. + /// + /// 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.Activity body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.Security.CaseManagement.Activity 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.Cases.Item.Activities.ActivitiesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Activities.ActivitiesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get a list of activity objects in a case timeline. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ActivitiesRequestBuilderGetQueryParameters + { + /// 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 ActivitiesRequestBuilderGetRequestConfiguration : 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 ActivitiesRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Security/CaseManagement/Cases/Item/Activities/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/CaseManagement/Cases/Item/Activities/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..fe5e226ba8d8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/CaseManagement/Cases/Item/Activities/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.Cases.Item.Activities.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/cases/{case%2Did}/activities/$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/cases/{case%2Did}/activities/$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.Cases.Item.Activities.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Activities.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/Cases/Item/Activities/Item/ActivityItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/CaseManagement/Cases/Item/Activities/Item/ActivityItemRequestBuilder.cs new file mode 100644 index 000000000000..71d180b9504d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/CaseManagement/Cases/Item/Activities/Item/ActivityItemRequestBuilder.cs @@ -0,0 +1,232 @@ +// +#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.Cases.Item.Activities.Item +{ + /// + /// Provides operations to manage the activities property of the microsoft.graph.security.caseManagement.case entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ActivityItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ActivityItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/caseManagement/cases/{case%2Did}/activities/{activity%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 ActivityItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/caseManagement/cases/{case%2Did}/activities/{activity%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete a comment activity from a case timeline. Only comment activities support delete. + /// 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 and relationships of a microsoft.graph.security.caseManagement.activity object. The response can be a comment or auditLog object, identified by @odata.type. + /// 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.Security.CaseManagement.Activity.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update a comment activity in a case timeline. Only comment activities support update. Include @odata.type with #microsoft.graph.security.caseManagement.comment in the request body to identify the concrete activity type. + /// 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.Security.CaseManagement.Activity body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.Security.CaseManagement.Activity 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.Activity.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete a comment activity from a case timeline. Only comment activities support delete. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Read the properties and relationships of a microsoft.graph.security.caseManagement.activity object. The response can be a comment or auditLog object, identified by @odata.type. + /// + /// 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 a comment activity in a case timeline. Only comment activities support update. Include @odata.type with #microsoft.graph.security.caseManagement.comment in the request body to identify the concrete activity type. + /// + /// 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.Activity body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.Security.CaseManagement.Activity 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.Cases.Item.Activities.Item.ActivityItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Activities.Item.ActivityItemRequestBuilder(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 ActivityItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Read the properties and relationships of a microsoft.graph.security.caseManagement.activity object. The response can be a comment or auditLog object, identified by @odata.type. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ActivityItemRequestBuilderGetQueryParameters + { + /// 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 ActivityItemRequestBuilderGetRequestConfiguration : 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 ActivityItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Security/CaseManagement/Cases/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/CaseManagement/Cases/Item/Attachments/AttachmentsRequestBuilder.cs new file mode 100644 index 000000000000..497ea0de9eef --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/CaseManagement/Cases/Item/Attachments/AttachmentsRequestBuilder.cs @@ -0,0 +1,240 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models.Security.CaseManagement; +using Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments.Count; +using Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments.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.Cases.Item.Attachments +{ + /// + /// Provides operations to manage the attachments property of the microsoft.graph.security.caseManagement.case entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AttachmentsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the attachments property of the microsoft.graph.security.caseManagement.case entity. + /// The unique identifier of attachment + /// A + public global::Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments.Item.AttachmentItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("attachment%2Did", position); + return new global::Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments.Item.AttachmentItemRequestBuilder(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 AttachmentsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/caseManagement/cases/{case%2Did}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public AttachmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/caseManagement/cases/{case%2Did}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get a list of attachment objects for a case. + /// 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.Security.CaseManagement.AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create an attachment for a case. + /// 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.Security.CaseManagement.Attachment body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.Security.CaseManagement.Attachment 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.Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get a list of attachment objects for a case. + /// + /// 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 attachment for a case. + /// + /// 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.Attachment body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.Security.CaseManagement.Attachment 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.Cases.Item.Attachments.AttachmentsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments.AttachmentsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get a list of attachment objects for a case. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AttachmentsRequestBuilderGetQueryParameters + { + /// 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 AttachmentsRequestBuilderGetRequestConfiguration : 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 AttachmentsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Security/CaseManagement/Cases/Item/Attachments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/CaseManagement/Cases/Item/Attachments/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..dd036c767d17 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/CaseManagement/Cases/Item/Attachments/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.Cases.Item.Attachments.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/cases/{case%2Did}/attachments/$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/cases/{case%2Did}/attachments/$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.Cases.Item.Attachments.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments.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/Cases/Item/Attachments/Item/AttachmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/CaseManagement/Cases/Item/Attachments/Item/AttachmentItemRequestBuilder.cs new file mode 100644 index 000000000000..8fc04c8c7cb5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/CaseManagement/Cases/Item/Attachments/Item/AttachmentItemRequestBuilder.cs @@ -0,0 +1,237 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models.Security.CaseManagement; +using Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments.Item.Content; +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.Cases.Item.Attachments.Item +{ + /// + /// Provides operations to manage the attachments property of the microsoft.graph.security.caseManagement.case entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AttachmentItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the media for the security entity. + public global::Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments.Item.Content.ContentRequestBuilder Content + { + get => new global::Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments.Item.Content.ContentRequestBuilder(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 AttachmentItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/caseManagement/cases/{case%2Did}/attachments/{attachment%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 AttachmentItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/caseManagement/cases/{case%2Did}/attachments/{attachment%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property attachments 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); + } + /// + /// Read the properties and relationships of an attachment 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.Security.CaseManagement.Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the properties of an attachment 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.Security.CaseManagement.Attachment body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.Security.CaseManagement.Attachment 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.Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property attachments 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; + } + /// + /// Read the properties and relationships of an attachment object. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the properties of an attachment 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.Security.CaseManagement.Attachment body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.Security.CaseManagement.Attachment 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.Cases.Item.Attachments.Item.AttachmentItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments.Item.AttachmentItemRequestBuilder(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 AttachmentItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Read the properties and relationships of an attachment object. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AttachmentItemRequestBuilderGetQueryParameters + { + /// 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 AttachmentItemRequestBuilderGetRequestConfiguration : 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 AttachmentItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Security/CaseManagement/Cases/Item/Attachments/Item/Content/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/CaseManagement/Cases/Item/Attachments/Item/Content/ContentRequestBuilder.cs new file mode 100644 index 000000000000..ce6414f0ee9b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/CaseManagement/Cases/Item/Attachments/Item/Content/ContentRequestBuilder.cs @@ -0,0 +1,202 @@ +// +#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.Cases.Item.Attachments.Item.Content +{ + /// + /// Provides operations to manage the media for the security 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}/security/caseManagement/cases/{case%2Did}/attachments/{attachment%2Did}/content", 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}/security/caseManagement/cases/{case%2Did}/attachments/{attachment%2Did}/content", rawUrl) + { + } + /// + /// The binary content stream for the attachment. + /// + /// 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 binary content stream for the attachment. + /// + /// 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 binary content stream for the attachment. + /// + /// 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.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Security.CaseManagement.Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The binary content stream for the attachment. + /// + /// 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 binary content stream for the attachment. + /// + /// 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 binary content stream for the attachment. + /// + /// 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.Security.CaseManagement.Cases.Item.Attachments.Item.Content.ContentRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments.Item.Content.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/Security/CaseManagement/Cases/Item/CaseItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/CaseManagement/Cases/Item/CaseItemRequestBuilder.cs new file mode 100644 index 000000000000..965676891edf --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/CaseManagement/Cases/Item/CaseItemRequestBuilder.cs @@ -0,0 +1,256 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models.Security.CaseManagement; +using Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Activities; +using Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments; +using Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Relations; +using Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Tasks; +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.Cases.Item +{ + /// + /// Provides operations to manage the cases property of the microsoft.graph.security.caseManagementRoot entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CaseItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the activities property of the microsoft.graph.security.caseManagement.case entity. + public global::Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Activities.ActivitiesRequestBuilder Activities + { + get => new global::Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Activities.ActivitiesRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the attachments property of the microsoft.graph.security.caseManagement.case entity. + public global::Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments.AttachmentsRequestBuilder Attachments + { + get => new global::Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments.AttachmentsRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the relations property of the microsoft.graph.security.caseManagement.case entity. + public global::Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Relations.RelationsRequestBuilder Relations + { + get => new global::Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Relations.RelationsRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the tasks property of the microsoft.graph.security.caseManagement.case entity. + public global::Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Tasks.TasksRequestBuilder Tasks + { + get => new global::Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Tasks.TasksRequestBuilder(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 CaseItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/caseManagement/cases/{case%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 CaseItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/caseManagement/cases/{case%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete a case object from case management. + /// 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 and relationships of a microsoft.graph.security.caseManagement.case 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.Security.CaseManagement.Case.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the properties of a microsoft.graph.security.caseManagement.case 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.Security.CaseManagement.Case body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.Security.CaseManagement.Case 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.Case.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete a case object from case management. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Read the properties and relationships of a microsoft.graph.security.caseManagement.case 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 microsoft.graph.security.caseManagement.case 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.Security.CaseManagement.Case body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.Security.CaseManagement.Case 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.Cases.Item.CaseItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.CaseItemRequestBuilder(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 CaseItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Read the properties and relationships of a microsoft.graph.security.caseManagement.case object. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CaseItemRequestBuilderGetQueryParameters + { + /// 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 CaseItemRequestBuilderGetRequestConfiguration : 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 CaseItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Security/CaseManagement/Cases/Item/Relations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/CaseManagement/Cases/Item/Relations/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..d99d0c22663d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/CaseManagement/Cases/Item/Relations/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.Cases.Item.Relations.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/cases/{case%2Did}/relations/$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/cases/{case%2Did}/relations/$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.Cases.Item.Relations.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Relations.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/Cases/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/CaseManagement/Cases/Item/Relations/Item/RelationItemRequestBuilder.cs new file mode 100644 index 000000000000..8d684acda11e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/CaseManagement/Cases/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -0,0 +1,230 @@ +// +#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.Cases.Item.Relations.Item +{ + /// + /// Provides operations to manage the relations property of the microsoft.graph.security.caseManagement.case entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RelationItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RelationItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/caseManagement/cases/{case%2Did}/relations/{relation%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 RelationItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/caseManagement/cases/{case%2Did}/relations/{relation%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property relations 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); + } + /// + /// Links from the case to related security resources. Supports $expand. + /// + /// 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.Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the properties of a relation 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.Security.CaseManagement.Relation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.Security.CaseManagement.Relation 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.Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property relations 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; + } + /// + /// Links from the case to related security resources. Supports $expand. + /// + /// 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 relation 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.Security.CaseManagement.Relation body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.Security.CaseManagement.Relation 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.Cases.Item.Relations.Item.RelationItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Relations.Item.RelationItemRequestBuilder(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 RelationItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Links from the case to related security resources. Supports $expand. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RelationItemRequestBuilderGetQueryParameters + { + /// 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 RelationItemRequestBuilderGetRequestConfiguration : 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 RelationItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Security/CaseManagement/Cases/Item/Relations/RelationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/CaseManagement/Cases/Item/Relations/RelationsRequestBuilder.cs new file mode 100644 index 000000000000..9f077b73f596 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/CaseManagement/Cases/Item/Relations/RelationsRequestBuilder.cs @@ -0,0 +1,240 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models.Security.CaseManagement; +using Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Relations.Count; +using Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Relations.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.Cases.Item.Relations +{ + /// + /// Provides operations to manage the relations property of the microsoft.graph.security.caseManagement.case entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RelationsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Relations.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Relations.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the relations property of the microsoft.graph.security.caseManagement.case entity. + /// The unique identifier of relation + /// A + public global::Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Relations.Item.RelationItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("relation%2Did", position); + return new global::Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Relations.Item.RelationItemRequestBuilder(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 RelationsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/caseManagement/cases/{case%2Did}/relations{?%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 RelationsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/caseManagement/cases/{case%2Did}/relations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get a list of external resource relation objects for a case. + /// 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.Security.CaseManagement.RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create an external resource relation for a case. + /// 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.Security.CaseManagement.Relation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.Security.CaseManagement.Relation 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.Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get a list of external resource relation objects for a case. + /// + /// 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 external resource relation for a case. + /// + /// 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.Relation body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.Security.CaseManagement.Relation 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.Cases.Item.Relations.RelationsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Relations.RelationsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get a list of external resource relation objects for a case. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RelationsRequestBuilderGetQueryParameters + { + /// 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 RelationsRequestBuilderGetRequestConfiguration : 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 RelationsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Security/CaseManagement/Cases/Item/Tasks/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/CaseManagement/Cases/Item/Tasks/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..84a948cbc471 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/CaseManagement/Cases/Item/Tasks/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.Cases.Item.Tasks.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/cases/{case%2Did}/tasks/$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/cases/{case%2Did}/tasks/$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.Cases.Item.Tasks.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Tasks.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/Cases/Item/Tasks/Item/TaskItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/CaseManagement/Cases/Item/Tasks/Item/TaskItemRequestBuilder.cs new file mode 100644 index 000000000000..a24dbc4f2006 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/CaseManagement/Cases/Item/Tasks/Item/TaskItemRequestBuilder.cs @@ -0,0 +1,231 @@ +// +#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.Cases.Item.Tasks.Item +{ + /// + /// Provides operations to manage the tasks property of the microsoft.graph.security.caseManagement.case entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TaskItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public TaskItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/caseManagement/cases/{case%2Did}/tasks/{task%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 TaskItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/caseManagement/cases/{case%2Did}/tasks/{task%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property tasks 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); + } + /// + /// Read the properties and relationships of a task 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.Security.CaseManagement.TaskObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the properties of a task 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.Security.CaseManagement.TaskObject body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.Security.CaseManagement.TaskObject 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.TaskObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property tasks 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; + } + /// + /// Read the properties and relationships of a task 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 task 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.Security.CaseManagement.TaskObject body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.Security.CaseManagement.TaskObject 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.Cases.Item.Tasks.Item.TaskItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Tasks.Item.TaskItemRequestBuilder(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 TaskItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Read the properties and relationships of a task object. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TaskItemRequestBuilderGetQueryParameters + { + /// 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 TaskItemRequestBuilderGetRequestConfiguration : 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 TaskItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Security/CaseManagement/Cases/Item/Tasks/TasksRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/CaseManagement/Cases/Item/Tasks/TasksRequestBuilder.cs new file mode 100644 index 000000000000..76e848ae047f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/CaseManagement/Cases/Item/Tasks/TasksRequestBuilder.cs @@ -0,0 +1,240 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models.Security.CaseManagement; +using Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Tasks.Count; +using Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Tasks.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.Cases.Item.Tasks +{ + /// + /// Provides operations to manage the tasks property of the microsoft.graph.security.caseManagement.case entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TasksRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Tasks.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Tasks.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the tasks property of the microsoft.graph.security.caseManagement.case entity. + /// The unique identifier of task + /// A + public global::Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Tasks.Item.TaskItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("task%2Did", position); + return new global::Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Tasks.Item.TaskItemRequestBuilder(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 TasksRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/caseManagement/cases/{case%2Did}/tasks{?%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 TasksRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/caseManagement/cases/{case%2Did}/tasks{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get a list of task objects for a case. + /// 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.Security.CaseManagement.TaskCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create a task for a case. + /// 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.Security.CaseManagement.TaskObject body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.Security.CaseManagement.TaskObject 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.TaskObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get a list of task objects for a case. + /// + /// 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 task for a case. + /// + /// 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.TaskObject body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.Security.CaseManagement.TaskObject 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.Cases.Item.Tasks.TasksRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Tasks.TasksRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get a list of task objects for a case. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TasksRequestBuilderGetQueryParameters + { + /// 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 TasksRequestBuilderGetRequestConfiguration : 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 TasksRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/LegalHolds/Item/EdiscoveryHoldPolicyItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/LegalHolds/Item/EdiscoveryHoldPolicyItemRequestBuilder.cs index f45eaaeda0c4..75c649744fda 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/LegalHolds/Item/EdiscoveryHoldPolicyItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/LegalHolds/Item/EdiscoveryHoldPolicyItemRequestBuilder.cs @@ -2,6 +2,8 @@ #pragma warning disable CS0618 using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models.Security; +using Microsoft.Graph.Beta.Security.Cases.EdiscoveryCases.Item.LegalHolds.Item.MicrosoftGraphSecurityDisablePolicy; +using Microsoft.Graph.Beta.Security.Cases.EdiscoveryCases.Item.LegalHolds.Item.MicrosoftGraphSecurityEnablePolicy; using Microsoft.Graph.Beta.Security.Cases.EdiscoveryCases.Item.LegalHolds.Item.MicrosoftGraphSecurityRetryPolicy; using Microsoft.Graph.Beta.Security.Cases.EdiscoveryCases.Item.LegalHolds.Item.SiteSources; using Microsoft.Graph.Beta.Security.Cases.EdiscoveryCases.Item.LegalHolds.Item.UserSources; @@ -21,6 +23,16 @@ namespace Microsoft.Graph.Beta.Security.Cases.EdiscoveryCases.Item.LegalHolds.It [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class EdiscoveryHoldPolicyItemRequestBuilder : BaseRequestBuilder { + /// Provides operations to call the disablePolicy method. + public global::Microsoft.Graph.Beta.Security.Cases.EdiscoveryCases.Item.LegalHolds.Item.MicrosoftGraphSecurityDisablePolicy.MicrosoftGraphSecurityDisablePolicyRequestBuilder MicrosoftGraphSecurityDisablePolicy + { + get => new global::Microsoft.Graph.Beta.Security.Cases.EdiscoveryCases.Item.LegalHolds.Item.MicrosoftGraphSecurityDisablePolicy.MicrosoftGraphSecurityDisablePolicyRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the enablePolicy method. + public global::Microsoft.Graph.Beta.Security.Cases.EdiscoveryCases.Item.LegalHolds.Item.MicrosoftGraphSecurityEnablePolicy.MicrosoftGraphSecurityEnablePolicyRequestBuilder MicrosoftGraphSecurityEnablePolicy + { + get => new global::Microsoft.Graph.Beta.Security.Cases.EdiscoveryCases.Item.LegalHolds.Item.MicrosoftGraphSecurityEnablePolicy.MicrosoftGraphSecurityEnablePolicyRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the retryPolicy method. public global::Microsoft.Graph.Beta.Security.Cases.EdiscoveryCases.Item.LegalHolds.Item.MicrosoftGraphSecurityRetryPolicy.MicrosoftGraphSecurityRetryPolicyRequestBuilder MicrosoftGraphSecurityRetryPolicy { diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/LegalHolds/Item/MicrosoftGraphSecurityDisablePolicy/MicrosoftGraphSecurityDisablePolicyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/LegalHolds/Item/MicrosoftGraphSecurityDisablePolicy/MicrosoftGraphSecurityDisablePolicyRequestBuilder.cs new file mode 100644 index 000000000000..2ccd155c227f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/LegalHolds/Item/MicrosoftGraphSecurityDisablePolicy/MicrosoftGraphSecurityDisablePolicyRequestBuilder.cs @@ -0,0 +1,96 @@ +// +#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.Cases.EdiscoveryCases.Item.LegalHolds.Item.MicrosoftGraphSecurityDisablePolicy +{ + /// + /// Provides operations to call the disablePolicy method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphSecurityDisablePolicyRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MicrosoftGraphSecurityDisablePolicyRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/cases/ediscoveryCases/{ediscoveryCase%2Did}/legalHolds/{ediscoveryHoldPolicy%2Did}/microsoft.graph.security.disablePolicy", 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 MicrosoftGraphSecurityDisablePolicyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/cases/ediscoveryCases/{ediscoveryCase%2Did}/legalHolds/{ediscoveryHoldPolicy%2Did}/microsoft.graph.security.disablePolicy", rawUrl) + { + } + /// + /// Invoke action disablePolicy + /// + /// 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(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action disablePolicy + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// 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.Cases.EdiscoveryCases.Item.LegalHolds.Item.MicrosoftGraphSecurityDisablePolicy.MicrosoftGraphSecurityDisablePolicyRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Security.Cases.EdiscoveryCases.Item.LegalHolds.Item.MicrosoftGraphSecurityDisablePolicy.MicrosoftGraphSecurityDisablePolicyRequestBuilder(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 MicrosoftGraphSecurityDisablePolicyRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/LegalHolds/Item/MicrosoftGraphSecurityEnablePolicy/MicrosoftGraphSecurityEnablePolicyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/LegalHolds/Item/MicrosoftGraphSecurityEnablePolicy/MicrosoftGraphSecurityEnablePolicyRequestBuilder.cs new file mode 100644 index 000000000000..0ddbba1700e9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/LegalHolds/Item/MicrosoftGraphSecurityEnablePolicy/MicrosoftGraphSecurityEnablePolicyRequestBuilder.cs @@ -0,0 +1,96 @@ +// +#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.Cases.EdiscoveryCases.Item.LegalHolds.Item.MicrosoftGraphSecurityEnablePolicy +{ + /// + /// Provides operations to call the enablePolicy method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphSecurityEnablePolicyRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MicrosoftGraphSecurityEnablePolicyRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/cases/ediscoveryCases/{ediscoveryCase%2Did}/legalHolds/{ediscoveryHoldPolicy%2Did}/microsoft.graph.security.enablePolicy", 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 MicrosoftGraphSecurityEnablePolicyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/cases/ediscoveryCases/{ediscoveryCase%2Did}/legalHolds/{ediscoveryHoldPolicy%2Did}/microsoft.graph.security.enablePolicy", rawUrl) + { + } + /// + /// Invoke action enablePolicy + /// + /// 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(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action enablePolicy + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// 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.Cases.EdiscoveryCases.Item.LegalHolds.Item.MicrosoftGraphSecurityEnablePolicy.MicrosoftGraphSecurityEnablePolicyRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Security.Cases.EdiscoveryCases.Item.LegalHolds.Item.MicrosoftGraphSecurityEnablePolicy.MicrosoftGraphSecurityEnablePolicyRequestBuilder(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 MicrosoftGraphSecurityEnablePolicyRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Security/SecurityRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/SecurityRequestBuilder.cs index c7ea032ba5b9..d5908151f61f 100644 --- a/src/Microsoft.Graph/Generated/Security/SecurityRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/SecurityRequestBuilder.cs @@ -6,6 +6,7 @@ using Microsoft.Graph.Beta.Security.Alerts_v2; using Microsoft.Graph.Beta.Security.AttackSimulation; using Microsoft.Graph.Beta.Security.AuditLog; +using Microsoft.Graph.Beta.Security.CaseManagement; using Microsoft.Graph.Beta.Security.Cases; using Microsoft.Graph.Beta.Security.CloudAppSecurityProfiles; using Microsoft.Graph.Beta.Security.Collaboration; @@ -74,6 +75,11 @@ public partial class SecurityRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Security.AuditLog.AuditLogRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the caseManagement property of the microsoft.graph.security entity. + public global::Microsoft.Graph.Beta.Security.CaseManagement.CaseManagementRequestBuilder CaseManagement + { + get => new global::Microsoft.Graph.Beta.Security.CaseManagement.CaseManagementRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the cases property of the microsoft.graph.security entity. public global::Microsoft.Graph.Beta.Security.Cases.CasesRequestBuilder Cases { diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/ContainersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/ContainersRequestBuilder.cs index 061e78c23873..76cca514a915 100644 --- a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/ContainersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/ContainersRequestBuilder.cs @@ -3,6 +3,8 @@ using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; using Microsoft.Graph.Beta.Storage.FileStorage.Containers.Count; +using Microsoft.Graph.Beta.Storage.FileStorage.Containers.GetByUserWithUserPrincipalName; +using Microsoft.Graph.Beta.Storage.FileStorage.Containers.GetByUserWithUserPrincipalNameWithRole; using Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; @@ -78,6 +80,28 @@ public ContainersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.FileStorageContainerCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// + /// Provides operations to call the getByUser method. + /// + /// A + /// Usage: userPrincipalName='{userPrincipalName}' + public global::Microsoft.Graph.Beta.Storage.FileStorage.Containers.GetByUserWithUserPrincipalName.GetByUserWithUserPrincipalNameRequestBuilder GetByUserWithUserPrincipalName(string userPrincipalName) + { + if(string.IsNullOrEmpty(userPrincipalName)) throw new ArgumentNullException(nameof(userPrincipalName)); + return new global::Microsoft.Graph.Beta.Storage.FileStorage.Containers.GetByUserWithUserPrincipalName.GetByUserWithUserPrincipalNameRequestBuilder(PathParameters, RequestAdapter, userPrincipalName); + } + /// + /// Provides operations to call the getByUser method. + /// + /// A + /// Usage: role='{role}' + /// Usage: userPrincipalName='{userPrincipalName}' + public global::Microsoft.Graph.Beta.Storage.FileStorage.Containers.GetByUserWithUserPrincipalNameWithRole.GetByUserWithUserPrincipalNameWithRoleRequestBuilder GetByUserWithUserPrincipalNameWithRole(string role, string userPrincipalName) + { + if(string.IsNullOrEmpty(role)) throw new ArgumentNullException(nameof(role)); + if(string.IsNullOrEmpty(userPrincipalName)) throw new ArgumentNullException(nameof(userPrincipalName)); + return new global::Microsoft.Graph.Beta.Storage.FileStorage.Containers.GetByUserWithUserPrincipalNameWithRole.GetByUserWithUserPrincipalNameWithRoleRequestBuilder(PathParameters, RequestAdapter, role, userPrincipalName); + } + /// /// Create a new fileStorageContainer object. The respective container type identified by containerTypeId must be enabled in the tenant. For delegated calls, the calling user is set as the owner of the fileStorageContainer. /// Find more info here /// diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/GetByUserWithUserPrincipalName/GetByUserWithUserPrincipalNameGetResponse.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/GetByUserWithUserPrincipalName/GetByUserWithUserPrincipalNameGetResponse.cs new file mode 100644 index 000000000000..aefce32d7b8c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/GetByUserWithUserPrincipalName/GetByUserWithUserPrincipalNameGetResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Storage.FileStorage.Containers.GetByUserWithUserPrincipalName +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class GetByUserWithUserPrincipalNameGetResponse : 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.Storage.FileStorage.Containers.GetByUserWithUserPrincipalName.GetByUserWithUserPrincipalNameGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Storage.FileStorage.Containers.GetByUserWithUserPrincipalName.GetByUserWithUserPrincipalNameGetResponse(); + } + /// + /// 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.FileStorageContainer.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/Storage/FileStorage/Containers/GetByUserWithUserPrincipalName/GetByUserWithUserPrincipalNameRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/GetByUserWithUserPrincipalName/GetByUserWithUserPrincipalNameRequestBuilder.cs new file mode 100644 index 000000000000..6b2600cdbe96 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/GetByUserWithUserPrincipalName/GetByUserWithUserPrincipalNameRequestBuilder.cs @@ -0,0 +1,191 @@ +// +#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.Storage.FileStorage.Containers.GetByUserWithUserPrincipalName +{ + /// + /// Provides operations to call the getByUser method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GetByUserWithUserPrincipalNameRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + /// Usage: userPrincipalName='{userPrincipalName}' + public GetByUserWithUserPrincipalNameRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter, string userPrincipalName = "") : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/getByUser(userPrincipalName='{userPrincipalName}'){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + if (!string.IsNullOrWhiteSpace(userPrincipalName)) PathParameters.Add("userPrincipalName", userPrincipalName); + } + /// + /// 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 GetByUserWithUserPrincipalNameRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/getByUser(userPrincipalName='{userPrincipalName}'){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get a list of fileStorageContainer objects that are owned by a user (either as owner or as principalOwner). You can also filter the results to only list containers for which the user is the principalOwner. + /// 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 GetAsGetByUserWithUserPrincipalNameGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsGetByUserWithUserPrincipalNameGetResponseAsync(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.Storage.FileStorage.Containers.GetByUserWithUserPrincipalName.GetByUserWithUserPrincipalNameGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get a list of fileStorageContainer objects that are owned by a user (either as owner or as principalOwner). You can also filter the results to only list containers for which the user is the principalOwner. + /// 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("This method is obsolete. Use GetAsGetByUserWithUserPrincipalNameGetResponseAsync instead.")] +#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.Storage.FileStorage.Containers.GetByUserWithUserPrincipalName.GetByUserWithUserPrincipalNameResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get a list of fileStorageContainer objects that are owned by a user (either as owner or as principalOwner). You can also filter the results to only list containers for which the user is the principalOwner. + /// + /// 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.Storage.FileStorage.Containers.GetByUserWithUserPrincipalName.GetByUserWithUserPrincipalNameRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Storage.FileStorage.Containers.GetByUserWithUserPrincipalName.GetByUserWithUserPrincipalNameRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get a list of fileStorageContainer objects that are owned by a user (either as owner or as principalOwner). You can also filter the results to only list containers for which the user is the principalOwner. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GetByUserWithUserPrincipalNameRequestBuilderGetQueryParameters + { + /// 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 GetByUserWithUserPrincipalNameRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/GetByUserWithUserPrincipalName/GetByUserWithUserPrincipalNameResponse.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/GetByUserWithUserPrincipalName/GetByUserWithUserPrincipalNameResponse.cs new file mode 100644 index 000000000000..35177e49a9de --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/GetByUserWithUserPrincipalName/GetByUserWithUserPrincipalNameResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Storage.FileStorage.Containers.GetByUserWithUserPrincipalName +{ + [Obsolete("This class is obsolete. Use GetByUserWithUserPrincipalNameGetResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class GetByUserWithUserPrincipalNameResponse : global::Microsoft.Graph.Beta.Storage.FileStorage.Containers.GetByUserWithUserPrincipalName.GetByUserWithUserPrincipalNameGetResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Storage.FileStorage.Containers.GetByUserWithUserPrincipalName.GetByUserWithUserPrincipalNameResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Storage.FileStorage.Containers.GetByUserWithUserPrincipalName.GetByUserWithUserPrincipalNameResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/GetByUserWithUserPrincipalNameWithRole/GetByUserWithUserPrincipalNameWithRoleGetResponse.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/GetByUserWithUserPrincipalNameWithRole/GetByUserWithUserPrincipalNameWithRoleGetResponse.cs new file mode 100644 index 000000000000..b44448bd459e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/GetByUserWithUserPrincipalNameWithRole/GetByUserWithUserPrincipalNameWithRoleGetResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Storage.FileStorage.Containers.GetByUserWithUserPrincipalNameWithRole +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class GetByUserWithUserPrincipalNameWithRoleGetResponse : 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.Storage.FileStorage.Containers.GetByUserWithUserPrincipalNameWithRole.GetByUserWithUserPrincipalNameWithRoleGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Storage.FileStorage.Containers.GetByUserWithUserPrincipalNameWithRole.GetByUserWithUserPrincipalNameWithRoleGetResponse(); + } + /// + /// 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.FileStorageContainer.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/Storage/FileStorage/Containers/GetByUserWithUserPrincipalNameWithRole/GetByUserWithUserPrincipalNameWithRoleRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/GetByUserWithUserPrincipalNameWithRole/GetByUserWithUserPrincipalNameWithRoleRequestBuilder.cs new file mode 100644 index 000000000000..a6bf2957c9d2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/GetByUserWithUserPrincipalNameWithRole/GetByUserWithUserPrincipalNameWithRoleRequestBuilder.cs @@ -0,0 +1,191 @@ +// +#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.Storage.FileStorage.Containers.GetByUserWithUserPrincipalNameWithRole +{ + /// + /// Provides operations to call the getByUser method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GetByUserWithUserPrincipalNameWithRoleRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + /// Usage: role='{role}' + /// Usage: userPrincipalName='{userPrincipalName}' + public GetByUserWithUserPrincipalNameWithRoleRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter, string role = "", string userPrincipalName = "") : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/getByUser(userPrincipalName='{userPrincipalName}',role='{role}'){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + if (!string.IsNullOrWhiteSpace(role)) PathParameters.Add("role", role); + if (!string.IsNullOrWhiteSpace(userPrincipalName)) PathParameters.Add("userPrincipalName", userPrincipalName); + } + /// + /// 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 GetByUserWithUserPrincipalNameWithRoleRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/getByUser(userPrincipalName='{userPrincipalName}',role='{role}'){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Invoke function getByUser + /// + /// 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 GetAsGetByUserWithUserPrincipalNameWithRoleGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsGetByUserWithUserPrincipalNameWithRoleGetResponseAsync(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.Storage.FileStorage.Containers.GetByUserWithUserPrincipalNameWithRole.GetByUserWithUserPrincipalNameWithRoleGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function getByUser + /// + /// 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 GetAsGetByUserWithUserPrincipalNameWithRoleGetResponseAsync instead.")] +#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.Storage.FileStorage.Containers.GetByUserWithUserPrincipalNameWithRole.GetByUserWithUserPrincipalNameWithRoleResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function getByUser + /// + /// 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.Storage.FileStorage.Containers.GetByUserWithUserPrincipalNameWithRole.GetByUserWithUserPrincipalNameWithRoleRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Storage.FileStorage.Containers.GetByUserWithUserPrincipalNameWithRole.GetByUserWithUserPrincipalNameWithRoleRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Invoke function getByUser + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GetByUserWithUserPrincipalNameWithRoleRequestBuilderGetQueryParameters + { + /// 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 GetByUserWithUserPrincipalNameWithRoleRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/GetByUserWithUserPrincipalNameWithRole/GetByUserWithUserPrincipalNameWithRoleResponse.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/GetByUserWithUserPrincipalNameWithRole/GetByUserWithUserPrincipalNameWithRoleResponse.cs new file mode 100644 index 000000000000..bbd5121d650e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/GetByUserWithUserPrincipalNameWithRole/GetByUserWithUserPrincipalNameWithRoleResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Storage.FileStorage.Containers.GetByUserWithUserPrincipalNameWithRole +{ + [Obsolete("This class is obsolete. Use GetByUserWithUserPrincipalNameWithRoleGetResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class GetByUserWithUserPrincipalNameWithRoleResponse : global::Microsoft.Graph.Beta.Storage.FileStorage.Containers.GetByUserWithUserPrincipalNameWithRole.GetByUserWithUserPrincipalNameWithRoleGetResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Storage.FileStorage.Containers.GetByUserWithUserPrincipalNameWithRole.GetByUserWithUserPrincipalNameWithRoleResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Storage.FileStorage.Containers.GetByUserWithUserPrincipalNameWithRole.GetByUserWithUserPrincipalNameWithRoleResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/DeletedContainersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/DeletedContainersRequestBuilder.cs index 0599d3592399..d99dfdea5570 100644 --- a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/DeletedContainersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/DeletedContainersRequestBuilder.cs @@ -3,6 +3,8 @@ using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; using Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Count; +using Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalName; +using Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalNameWithRole; using Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; @@ -77,6 +79,28 @@ public DeletedContainersRequestBuilder(string rawUrl, IRequestAdapter requestAda return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.FileStorageContainerCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// + /// Provides operations to call the getByUser method. + /// + /// A + /// Usage: userPrincipalName='{userPrincipalName}' + public global::Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalName.GetByUserWithUserPrincipalNameRequestBuilder GetByUserWithUserPrincipalName(string userPrincipalName) + { + if(string.IsNullOrEmpty(userPrincipalName)) throw new ArgumentNullException(nameof(userPrincipalName)); + return new global::Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalName.GetByUserWithUserPrincipalNameRequestBuilder(PathParameters, RequestAdapter, userPrincipalName); + } + /// + /// Provides operations to call the getByUser method. + /// + /// A + /// Usage: role='{role}' + /// Usage: userPrincipalName='{userPrincipalName}' + public global::Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalNameWithRole.GetByUserWithUserPrincipalNameWithRoleRequestBuilder GetByUserWithUserPrincipalNameWithRole(string role, string userPrincipalName) + { + if(string.IsNullOrEmpty(role)) throw new ArgumentNullException(nameof(role)); + if(string.IsNullOrEmpty(userPrincipalName)) throw new ArgumentNullException(nameof(userPrincipalName)); + return new global::Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalNameWithRole.GetByUserWithUserPrincipalNameWithRoleRequestBuilder(PathParameters, RequestAdapter, role, userPrincipalName); + } + /// /// Create new navigation property to deletedContainers for storage /// /// A diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/GetByUserWithUserPrincipalName/GetByUserWithUserPrincipalNameGetResponse.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/GetByUserWithUserPrincipalName/GetByUserWithUserPrincipalNameGetResponse.cs new file mode 100644 index 000000000000..5087bb48989f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/GetByUserWithUserPrincipalName/GetByUserWithUserPrincipalNameGetResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalName +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class GetByUserWithUserPrincipalNameGetResponse : 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.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalName.GetByUserWithUserPrincipalNameGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalName.GetByUserWithUserPrincipalNameGetResponse(); + } + /// + /// 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.FileStorageContainer.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/Storage/FileStorage/DeletedContainers/GetByUserWithUserPrincipalName/GetByUserWithUserPrincipalNameRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/GetByUserWithUserPrincipalName/GetByUserWithUserPrincipalNameRequestBuilder.cs new file mode 100644 index 000000000000..caf86b8d765f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/GetByUserWithUserPrincipalName/GetByUserWithUserPrincipalNameRequestBuilder.cs @@ -0,0 +1,191 @@ +// +#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.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalName +{ + /// + /// Provides operations to call the getByUser method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GetByUserWithUserPrincipalNameRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + /// Usage: userPrincipalName='{userPrincipalName}' + public GetByUserWithUserPrincipalNameRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter, string userPrincipalName = "") : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/getByUser(userPrincipalName='{userPrincipalName}'){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + if (!string.IsNullOrWhiteSpace(userPrincipalName)) PathParameters.Add("userPrincipalName", userPrincipalName); + } + /// + /// 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 GetByUserWithUserPrincipalNameRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/getByUser(userPrincipalName='{userPrincipalName}'){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get a list of fileStorageContainer objects that are owned by a user (either as owner or as principalOwner). You can also filter the results to only list containers for which the user is the principalOwner. + /// 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 GetAsGetByUserWithUserPrincipalNameGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsGetByUserWithUserPrincipalNameGetResponseAsync(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.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalName.GetByUserWithUserPrincipalNameGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get a list of fileStorageContainer objects that are owned by a user (either as owner or as principalOwner). You can also filter the results to only list containers for which the user is the principalOwner. + /// 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("This method is obsolete. Use GetAsGetByUserWithUserPrincipalNameGetResponseAsync instead.")] +#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.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalName.GetByUserWithUserPrincipalNameResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get a list of fileStorageContainer objects that are owned by a user (either as owner or as principalOwner). You can also filter the results to only list containers for which the user is the principalOwner. + /// + /// 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.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalName.GetByUserWithUserPrincipalNameRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalName.GetByUserWithUserPrincipalNameRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get a list of fileStorageContainer objects that are owned by a user (either as owner or as principalOwner). You can also filter the results to only list containers for which the user is the principalOwner. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GetByUserWithUserPrincipalNameRequestBuilderGetQueryParameters + { + /// 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 GetByUserWithUserPrincipalNameRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/GetByUserWithUserPrincipalName/GetByUserWithUserPrincipalNameResponse.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/GetByUserWithUserPrincipalName/GetByUserWithUserPrincipalNameResponse.cs new file mode 100644 index 000000000000..f9d59054eba2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/GetByUserWithUserPrincipalName/GetByUserWithUserPrincipalNameResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalName +{ + [Obsolete("This class is obsolete. Use GetByUserWithUserPrincipalNameGetResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class GetByUserWithUserPrincipalNameResponse : global::Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalName.GetByUserWithUserPrincipalNameGetResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalName.GetByUserWithUserPrincipalNameResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalName.GetByUserWithUserPrincipalNameResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/GetByUserWithUserPrincipalNameWithRole/GetByUserWithUserPrincipalNameWithRoleGetResponse.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/GetByUserWithUserPrincipalNameWithRole/GetByUserWithUserPrincipalNameWithRoleGetResponse.cs new file mode 100644 index 000000000000..2d28447b6341 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/GetByUserWithUserPrincipalNameWithRole/GetByUserWithUserPrincipalNameWithRoleGetResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalNameWithRole +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class GetByUserWithUserPrincipalNameWithRoleGetResponse : 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.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalNameWithRole.GetByUserWithUserPrincipalNameWithRoleGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalNameWithRole.GetByUserWithUserPrincipalNameWithRoleGetResponse(); + } + /// + /// 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.FileStorageContainer.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/Storage/FileStorage/DeletedContainers/GetByUserWithUserPrincipalNameWithRole/GetByUserWithUserPrincipalNameWithRoleRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/GetByUserWithUserPrincipalNameWithRole/GetByUserWithUserPrincipalNameWithRoleRequestBuilder.cs new file mode 100644 index 000000000000..686c274efa6e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/GetByUserWithUserPrincipalNameWithRole/GetByUserWithUserPrincipalNameWithRoleRequestBuilder.cs @@ -0,0 +1,191 @@ +// +#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.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalNameWithRole +{ + /// + /// Provides operations to call the getByUser method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GetByUserWithUserPrincipalNameWithRoleRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + /// Usage: role='{role}' + /// Usage: userPrincipalName='{userPrincipalName}' + public GetByUserWithUserPrincipalNameWithRoleRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter, string role = "", string userPrincipalName = "") : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/getByUser(userPrincipalName='{userPrincipalName}',role='{role}'){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + if (!string.IsNullOrWhiteSpace(role)) PathParameters.Add("role", role); + if (!string.IsNullOrWhiteSpace(userPrincipalName)) PathParameters.Add("userPrincipalName", userPrincipalName); + } + /// + /// 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 GetByUserWithUserPrincipalNameWithRoleRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/getByUser(userPrincipalName='{userPrincipalName}',role='{role}'){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Invoke function getByUser + /// + /// 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 GetAsGetByUserWithUserPrincipalNameWithRoleGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsGetByUserWithUserPrincipalNameWithRoleGetResponseAsync(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.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalNameWithRole.GetByUserWithUserPrincipalNameWithRoleGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function getByUser + /// + /// 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 GetAsGetByUserWithUserPrincipalNameWithRoleGetResponseAsync instead.")] +#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.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalNameWithRole.GetByUserWithUserPrincipalNameWithRoleResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function getByUser + /// + /// 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.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalNameWithRole.GetByUserWithUserPrincipalNameWithRoleRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalNameWithRole.GetByUserWithUserPrincipalNameWithRoleRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Invoke function getByUser + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GetByUserWithUserPrincipalNameWithRoleRequestBuilderGetQueryParameters + { + /// 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 GetByUserWithUserPrincipalNameWithRoleRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/GetByUserWithUserPrincipalNameWithRole/GetByUserWithUserPrincipalNameWithRoleResponse.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/GetByUserWithUserPrincipalNameWithRole/GetByUserWithUserPrincipalNameWithRoleResponse.cs new file mode 100644 index 000000000000..9210ff81eae0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/GetByUserWithUserPrincipalNameWithRole/GetByUserWithUserPrincipalNameWithRoleResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalNameWithRole +{ + [Obsolete("This class is obsolete. Use GetByUserWithUserPrincipalNameWithRoleGetResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class GetByUserWithUserPrincipalNameWithRoleResponse : global::Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalNameWithRole.GetByUserWithUserPrincipalNameWithRoleGetResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalNameWithRole.GetByUserWithUserPrincipalNameWithRoleResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalNameWithRole.GetByUserWithUserPrincipalNameWithRoleResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/HistoryItems/HistoryItemsRequestBuilder.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/HistoryItems/HistoryItemsRequestBuilder.cs index 1cd47d414627..a7d285b010da 100644 --- a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/HistoryItems/HistoryItemsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/HistoryItems/HistoryItemsRequestBuilder.cs @@ -54,7 +54,7 @@ public HistoryItemsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) { } /// - /// Get historyItems from teamTemplateDefinition + /// Collection of history items for entities in the plan. Read-only. Nullable. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public HistoryItemsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerHistoryItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get historyItems from teamTemplateDefinition + /// Collection of history items for entities in the plan. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.HistoryItems.HistoryItemsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get historyItems from teamTemplateDefinition + /// Collection of history items for entities in the plan. Read-only. Nullable. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class HistoryItemsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/HistoryItems/Item/PlannerHistoryItemItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/HistoryItems/Item/PlannerHistoryItemItemRequestBuilder.cs index 182ac02ef3a9..03bb7d415df9 100644 --- a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/HistoryItems/Item/PlannerHistoryItemItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/HistoryItems/Item/PlannerHistoryItemItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// Get historyItems from teamTemplateDefinition + /// Collection of history items for entities in the plan. Read-only. Nullable. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get historyItems from teamTemplateDefinition + /// Collection of history items for entities in the plan. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class PlannerHistoryItemItemRequestBuilderDeleteRequestConfigurat { } /// - /// Get historyItems from teamTemplateDefinition + /// Collection of history items for entities in the plan. Read-only. Nullable. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class PlannerHistoryItemItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/HistoryItems/HistoryItemsRequestBuilder.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/HistoryItems/HistoryItemsRequestBuilder.cs index e6148e273a58..70eb60b8bee1 100644 --- a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/HistoryItems/HistoryItemsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/HistoryItems/HistoryItemsRequestBuilder.cs @@ -54,7 +54,7 @@ public HistoryItemsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) { } /// - /// Get historyItems from teamTemplateDefinition + /// Collection of history items for entities in the plan. Read-only. Nullable. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public HistoryItemsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerHistoryItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get historyItems from teamTemplateDefinition + /// Collection of history items for entities in the plan. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.HistoryItems.HistoryItemsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get historyItems from teamTemplateDefinition + /// Collection of history items for entities in the plan. Read-only. Nullable. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class HistoryItemsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/HistoryItems/Item/PlannerHistoryItemItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/HistoryItems/Item/PlannerHistoryItemItemRequestBuilder.cs index 3b87b694129f..eb91ff6c7513 100644 --- a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/HistoryItems/Item/PlannerHistoryItemItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/HistoryItems/Item/PlannerHistoryItemItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// Get historyItems from teamTemplateDefinition + /// Collection of history items for entities in the plan. Read-only. Nullable. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get historyItems from teamTemplateDefinition + /// Collection of history items for entities in the plan. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class PlannerHistoryItemItemRequestBuilderDeleteRequestConfigurat { } /// - /// Get historyItems from teamTemplateDefinition + /// Collection of history items for entities in the plan. Read-only. Nullable. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class PlannerHistoryItemItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Planner/Plans/Item/HistoryItems/HistoryItemsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Planner/Plans/Item/HistoryItems/HistoryItemsRequestBuilder.cs index 536a8efe22e6..401141d4935d 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Planner/Plans/Item/HistoryItems/HistoryItemsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Planner/Plans/Item/HistoryItems/HistoryItemsRequestBuilder.cs @@ -54,7 +54,7 @@ public HistoryItemsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) { } /// - /// Get historyItems from teams + /// Collection of history items for entities in the plan. Read-only. Nullable. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public HistoryItemsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerHistoryItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get historyItems from teams + /// Collection of history items for entities in the plan. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.HistoryItems.HistoryItemsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get historyItems from teams + /// Collection of history items for entities in the plan. Read-only. Nullable. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class HistoryItemsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Planner/Plans/Item/HistoryItems/Item/PlannerHistoryItemItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Planner/Plans/Item/HistoryItems/Item/PlannerHistoryItemItemRequestBuilder.cs index 9da323c4d9db..602a29efd78e 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Planner/Plans/Item/HistoryItems/Item/PlannerHistoryItemItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Planner/Plans/Item/HistoryItems/Item/PlannerHistoryItemItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// Get historyItems from teams + /// Collection of history items for entities in the plan. Read-only. Nullable. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get historyItems from teams + /// Collection of history items for entities in the plan. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class PlannerHistoryItemItemRequestBuilderDeleteRequestConfigurat { } /// - /// Get historyItems from teams + /// Collection of history items for entities in the plan. Read-only. Nullable. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class PlannerHistoryItemItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Planner/Plans/Item/HistoryItems/HistoryItemsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Planner/Plans/Item/HistoryItems/HistoryItemsRequestBuilder.cs index bb74ed872044..1d03eab609f7 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Planner/Plans/Item/HistoryItems/HistoryItemsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Planner/Plans/Item/HistoryItems/HistoryItemsRequestBuilder.cs @@ -54,7 +54,7 @@ public HistoryItemsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) { } /// - /// Get historyItems from teams + /// Collection of history items for entities in the plan. Read-only. Nullable. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public HistoryItemsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerHistoryItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get historyItems from teams + /// Collection of history items for entities in the plan. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.HistoryItems.HistoryItemsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get historyItems from teams + /// Collection of history items for entities in the plan. Read-only. Nullable. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class HistoryItemsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Planner/Plans/Item/HistoryItems/Item/PlannerHistoryItemItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Planner/Plans/Item/HistoryItems/Item/PlannerHistoryItemItemRequestBuilder.cs index 3c58b4e0b89d..ac9aa7bddacb 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Planner/Plans/Item/HistoryItems/Item/PlannerHistoryItemItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Planner/Plans/Item/HistoryItems/Item/PlannerHistoryItemItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// Get historyItems from teams + /// Collection of history items for entities in the plan. Read-only. Nullable. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get historyItems from teams + /// Collection of history items for entities in the plan. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class PlannerHistoryItemItemRequestBuilderDeleteRequestConfigurat { } /// - /// Get historyItems from teams + /// Collection of history items for entities in the plan. Read-only. Nullable. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class PlannerHistoryItemItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans/Item/HistoryItems/HistoryItemsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans/Item/HistoryItems/HistoryItemsRequestBuilder.cs index 6ab286eedcb8..ef173b05687c 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans/Item/HistoryItems/HistoryItemsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans/Item/HistoryItems/HistoryItemsRequestBuilder.cs @@ -54,7 +54,7 @@ public HistoryItemsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) { } /// - /// Get historyItems from teamwork + /// Collection of history items for entities in the plan. Read-only. Nullable. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public HistoryItemsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerHistoryItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get historyItems from teamwork + /// Collection of history items for entities in the plan. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.HistoryItems.HistoryItemsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get historyItems from teamwork + /// Collection of history items for entities in the plan. Read-only. Nullable. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class HistoryItemsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans/Item/HistoryItems/Item/PlannerHistoryItemItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans/Item/HistoryItems/Item/PlannerHistoryItemItemRequestBuilder.cs index b5d05940876b..dbd366f4cab5 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans/Item/HistoryItems/Item/PlannerHistoryItemItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans/Item/HistoryItems/Item/PlannerHistoryItemItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// Get historyItems from teamwork + /// Collection of history items for entities in the plan. Read-only. Nullable. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get historyItems from teamwork + /// Collection of history items for entities in the plan. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class PlannerHistoryItemItemRequestBuilderDeleteRequestConfigurat { } /// - /// Get historyItems from teamwork + /// Collection of history items for entities in the plan. Read-only. Nullable. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class PlannerHistoryItemItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/HistoryItems/HistoryItemsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/HistoryItems/HistoryItemsRequestBuilder.cs index a16f5d1d871f..d98b7aec14a3 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/HistoryItems/HistoryItemsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/HistoryItems/HistoryItemsRequestBuilder.cs @@ -54,7 +54,7 @@ public HistoryItemsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) { } /// - /// Get historyItems from teamwork + /// Collection of history items for entities in the plan. Read-only. Nullable. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public HistoryItemsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerHistoryItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get historyItems from teamwork + /// Collection of history items for entities in the plan. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.HistoryItems.HistoryItemsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get historyItems from teamwork + /// Collection of history items for entities in the plan. Read-only. Nullable. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class HistoryItemsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/HistoryItems/Item/PlannerHistoryItemItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/HistoryItems/Item/PlannerHistoryItemItemRequestBuilder.cs index 7338746edfb7..b4653de8a629 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/HistoryItems/Item/PlannerHistoryItemItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/HistoryItems/Item/PlannerHistoryItemItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// Get historyItems from teamwork + /// Collection of history items for entities in the plan. Read-only. Nullable. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get historyItems from teamwork + /// Collection of history items for entities in the plan. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class PlannerHistoryItemItemRequestBuilderDeleteRequestConfigurat { } /// - /// Get historyItems from teamwork + /// Collection of history items for entities in the plan. Read-only. Nullable. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class PlannerHistoryItemItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/HistoryItems/HistoryItemsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/HistoryItems/HistoryItemsRequestBuilder.cs index 7569980e1824..dfa79beaf25e 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/HistoryItems/HistoryItemsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/HistoryItems/HistoryItemsRequestBuilder.cs @@ -54,7 +54,7 @@ public HistoryItemsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) { } /// - /// Get historyItems from teamwork + /// Collection of history items for entities in the plan. Read-only. Nullable. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public HistoryItemsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerHistoryItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get historyItems from teamwork + /// Collection of history items for entities in the plan. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.HistoryItems.HistoryItemsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get historyItems from teamwork + /// Collection of history items for entities in the plan. Read-only. Nullable. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class HistoryItemsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/HistoryItems/Item/PlannerHistoryItemItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/HistoryItems/Item/PlannerHistoryItemItemRequestBuilder.cs index f5124cdf6597..cbf1be6fcf67 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/HistoryItems/Item/PlannerHistoryItemItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/HistoryItems/Item/PlannerHistoryItemItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// Get historyItems from teamwork + /// Collection of history items for entities in the plan. Read-only. Nullable. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get historyItems from teamwork + /// Collection of history items for entities in the plan. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class PlannerHistoryItemItemRequestBuilderDeleteRequestConfigurat { } /// - /// Get historyItems from teamwork + /// Collection of history items for entities in the plan. Read-only. Nullable. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class PlannerHistoryItemItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/GetSyncStatus/GetSyncStatusRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/GetSyncStatus/GetSyncStatusRequestBuilder.cs new file mode 100644 index 000000000000..9d38b910081f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/GetSyncStatus/GetSyncStatusRequestBuilder.cs @@ -0,0 +1,98 @@ +// +#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.Users.Item.ManagedDevices.Item.GetSyncStatus +{ + /// + /// Provides operations to call the getSyncStatus method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GetSyncStatusRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public GetSyncStatusRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/managedDevices/{managedDevice%2Did}/getSyncStatus()", 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 GetSyncStatusRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/managedDevices/{managedDevice%2Did}/getSyncStatus()", rawUrl) + { + } + /// + /// Invoke function getSyncStatus + /// + /// 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.DeviceSyncStatusResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function getSyncStatus + /// + /// 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.Users.Item.ManagedDevices.Item.GetSyncStatus.GetSyncStatusRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.GetSyncStatus.GetSyncStatusRequestBuilder(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 GetSyncStatusRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 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 38873164bd23..7f3e146abe6d 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/ManagedDeviceItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/ManagedDeviceItemRequestBuilder.cs @@ -21,6 +21,7 @@ using Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.EnrollNowAction; using Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.GetFileVaultKey; using Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.GetNonCompliantSettings; +using Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.GetSyncStatus; using Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.InitiateDeviceAttestation; using Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.InitiateMobileDeviceManagementKeyRecovery; using Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.InitiateOnDemandProactiveRemediation; @@ -35,6 +36,7 @@ using Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RecoverPasscode; using Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.Reenable; using Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RemoteLock; +using Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RemoveDeviceEsim; using Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RemoveDeviceFirmwareConfigurationInterfaceManagement; using Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RequestRemoteAssistance; using Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.ResetPasscode; @@ -172,6 +174,11 @@ public partial class ManagedDeviceItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.GetNonCompliantSettings.GetNonCompliantSettingsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the getSyncStatus method. + public global::Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.GetSyncStatus.GetSyncStatusRequestBuilder GetSyncStatus + { + get => new global::Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.GetSyncStatus.GetSyncStatusRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the initiateDeviceAttestation method. public global::Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.InitiateDeviceAttestation.InitiateDeviceAttestationRequestBuilder InitiateDeviceAttestation { @@ -242,6 +249,11 @@ public partial class ManagedDeviceItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RemoteLock.RemoteLockRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the removeDeviceEsim method. + public global::Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RemoveDeviceEsim.RemoveDeviceEsimRequestBuilder RemoveDeviceEsim + { + get => new global::Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RemoveDeviceEsim.RemoveDeviceEsimRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the removeDeviceFirmwareConfigurationInterfaceManagement method. public global::Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RemoveDeviceFirmwareConfigurationInterfaceManagement.RemoveDeviceFirmwareConfigurationInterfaceManagementRequestBuilder RemoveDeviceFirmwareConfigurationInterfaceManagement { diff --git a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/RemoveDeviceEsim/RemoveDeviceEsimPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/RemoveDeviceEsim/RemoveDeviceEsimPostRequestBody.cs new file mode 100644 index 000000000000..461e51f7b4b5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/RemoveDeviceEsim/RemoveDeviceEsimPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#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.Users.Item.ManagedDevices.Item.RemoveDeviceEsim +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemoveDeviceEsimPostRequestBody : 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 iccId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? IccId + { + get { return BackingStore?.Get("iccId"); } + set { BackingStore?.Set("iccId", value); } + } +#nullable restore +#else + public string IccId + { + get { return BackingStore?.Get("iccId"); } + set { BackingStore?.Set("iccId", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RemoveDeviceEsimPostRequestBody() + { + 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.ManagedDevices.Item.RemoveDeviceEsim.RemoveDeviceEsimPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RemoveDeviceEsim.RemoveDeviceEsimPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "iccId", n => { IccId = 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("iccId", IccId); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/RemoveDeviceEsim/RemoveDeviceEsimRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/RemoveDeviceEsim/RemoveDeviceEsimRequestBuilder.cs new file mode 100644 index 000000000000..0fe16da44a18 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/RemoveDeviceEsim/RemoveDeviceEsimRequestBuilder.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.ManagedDevices.Item.RemoveDeviceEsim +{ + /// + /// Provides operations to call the removeDeviceEsim method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RemoveDeviceEsimRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RemoveDeviceEsimRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/managedDevices/{managedDevice%2Did}/removeDeviceEsim", 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 RemoveDeviceEsimRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/managedDevices/{managedDevice%2Did}/removeDeviceEsim", rawUrl) + { + } + /// + /// Remove eSIM from the device + /// + /// 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.ManagedDevices.Item.RemoveDeviceEsim.RemoveDeviceEsimPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RemoveDeviceEsim.RemoveDeviceEsimPostRequestBody 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); + } + /// + /// Remove eSIM from the device + /// + /// 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.ManagedDevices.Item.RemoveDeviceEsim.RemoveDeviceEsimPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RemoveDeviceEsim.RemoveDeviceEsimPostRequestBody 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.ManagedDevices.Item.RemoveDeviceEsim.RemoveDeviceEsimRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RemoveDeviceEsim.RemoveDeviceEsimRequestBuilder(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 RemoveDeviceEsimRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/HistoryItems/HistoryItemsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/HistoryItems/HistoryItemsRequestBuilder.cs index 5a12f93ea8fa..08fb9488a9e5 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/HistoryItems/HistoryItemsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/HistoryItems/HistoryItemsRequestBuilder.cs @@ -54,7 +54,7 @@ public HistoryItemsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) { } /// - /// Get historyItems from users + /// Collection of history items for entities in the plan. Read-only. Nullable. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public HistoryItemsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerHistoryItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get historyItems from users + /// Collection of history items for entities in the plan. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.HistoryItems.HistoryItemsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get historyItems from users + /// Collection of history items for entities in the plan. Read-only. Nullable. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class HistoryItemsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/HistoryItems/Item/PlannerHistoryItemItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/HistoryItems/Item/PlannerHistoryItemItemRequestBuilder.cs index 52978f042a9a..ed67792d0009 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/HistoryItems/Item/PlannerHistoryItemItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/HistoryItems/Item/PlannerHistoryItemItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// Get historyItems from users + /// Collection of history items for entities in the plan. Read-only. Nullable. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get historyItems from users + /// Collection of history items for entities in the plan. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class PlannerHistoryItemItemRequestBuilderDeleteRequestConfigurat { } /// - /// Get historyItems from users + /// Collection of history items for entities in the plan. Read-only. Nullable. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class PlannerHistoryItemItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/kiota-dom-export.txt b/src/Microsoft.Graph/Generated/kiota-dom-export.txt index e57a20f9ceb5..c95a72809b92 100644 --- a/src/Microsoft.Graph/Generated/kiota-dom-export.txt +++ b/src/Microsoft.Graph/Generated/kiota-dom-export.txt @@ -1406,13 +1406,16 @@ Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.foldersRequestBuilder Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.foldersRequestBuilder.foldersRequestBuilderGetQueryParameters::|public|Skip:int? Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.foldersRequestBuilder.foldersRequestBuilderGetQueryParameters::|public|Top:int? Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.foldersRequestBuilder.foldersRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.foldersRequestBuilder.foldersRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.foldersRequestBuilder::[MailboxFolderId:string]:global.Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.Item.MailboxFolderItemRequestBuilder Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.foldersRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.foldersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.foldersRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.Count.CountRequestBuilder Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.foldersRequestBuilder::|public|delta:global.Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.Delta.DeltaRequestBuilder Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.foldersRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.MailboxFolderCollectionResponse +Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.foldersRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.MailboxFolder; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.MailboxFolder Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.foldersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.foldersRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.MailboxFolder; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.foldersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.FoldersRequestBuilder Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.childFoldersRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.childFoldersRequestBuilder.childFoldersRequestBuilderGetQueryParameters::|public|Count:bool? @@ -1424,13 +1427,16 @@ Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.chi Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.childFoldersRequestBuilder.childFoldersRequestBuilderGetQueryParameters::|public|Skip:int? Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.childFoldersRequestBuilder.childFoldersRequestBuilderGetQueryParameters::|public|Top:int? Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.childFoldersRequestBuilder.childFoldersRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.childFoldersRequestBuilder.childFoldersRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.childFoldersRequestBuilder::[MailboxFolderId1:string]:global.Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.MailboxFolderItemRequestBuilder Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.childFoldersRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.childFoldersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.childFoldersRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Count.CountRequestBuilder Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.childFoldersRequestBuilder::|public|delta:global.Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Delta.DeltaRequestBuilder Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.childFoldersRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.MailboxFolderCollectionResponse +Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.childFoldersRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.MailboxFolder; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.MailboxFolder Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.childFoldersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.childFoldersRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.MailboxFolder; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.childFoldersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.ChildFoldersRequestBuilder Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string @@ -1524,14 +1530,20 @@ Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Ite Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.itemsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.itemsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.ItemsRequestBuilder Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.MailboxFolderItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.MailboxFolderItemRequestBuilder.MailboxFolderItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.MailboxFolderItemRequestBuilder.MailboxFolderItemRequestBuilderGetQueryParameters::|public|Expand:string[] Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.MailboxFolderItemRequestBuilder.MailboxFolderItemRequestBuilderGetQueryParameters::|public|Select:string[] Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.MailboxFolderItemRequestBuilder.MailboxFolderItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.MailboxFolderItemRequestBuilder.MailboxFolderItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.MailboxFolderItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.MailboxFolderItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.MailboxFolderItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.MailboxFolderItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.MailboxFolder Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.MailboxFolderItemRequestBuilder::|public|items:global.Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.ItemsRequestBuilder +Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.MailboxFolderItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.MailboxFolder; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.MailboxFolder +Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.MailboxFolderItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.MailboxFolderItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.MailboxFolderItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.MailboxFolder; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.MailboxFolderItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.MailboxFolderItemRequestBuilder Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string @@ -1593,15 +1605,21 @@ Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.itemsReque Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.itemsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.itemsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.ItemsRequestBuilder Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.Item.MailboxFolderItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.Item.MailboxFolderItemRequestBuilder.MailboxFolderItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.Item.MailboxFolderItemRequestBuilder.MailboxFolderItemRequestBuilderGetQueryParameters::|public|Expand:string[] Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.Item.MailboxFolderItemRequestBuilder.MailboxFolderItemRequestBuilderGetQueryParameters::|public|Select:string[] Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.Item.MailboxFolderItemRequestBuilder.MailboxFolderItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.Item.MailboxFolderItemRequestBuilder.MailboxFolderItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.Item.MailboxFolderItemRequestBuilder::|public|childFolders:global.Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.ChildFoldersRequestBuilder Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.Item.MailboxFolderItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.Item.MailboxFolderItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.Item.MailboxFolderItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.Item.MailboxFolderItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.MailboxFolder Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.Item.MailboxFolderItemRequestBuilder::|public|items:global.Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.ItemsRequestBuilder +Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.Item.MailboxFolderItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.MailboxFolder; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.MailboxFolder +Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.Item.MailboxFolderItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.Item.MailboxFolderItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.Item.MailboxFolderItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.MailboxFolder; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.Item.MailboxFolderItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.Item.MailboxFolderItemRequestBuilder Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.MailboxItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.MailboxItemRequestBuilder.MailboxItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration @@ -29859,6 +29877,7 @@ Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettin Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.androidManagedStoreAccountEnterpriseSettingsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.androidManagedStoreAccountEnterpriseSettingsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.androidManagedStoreAccountEnterpriseSettingsRequestBuilder::|public|createGooglePlayWebToken:global.Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.CreateGooglePlayWebToken.CreateGooglePlayWebTokenRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.androidManagedStoreAccountEnterpriseSettingsRequestBuilder::|public|createZeroTouchWebToken:global.Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.CreateZeroTouchWebToken.CreateZeroTouchWebTokenRequestBuilder Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.androidManagedStoreAccountEnterpriseSettingsRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.androidManagedStoreAccountEnterpriseSettingsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.AndroidManagedStoreAccountEnterpriseSettings Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.androidManagedStoreAccountEnterpriseSettingsRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.AndroidManagedStoreAccountEnterpriseSettings; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.AndroidManagedStoreAccountEnterpriseSettings @@ -29930,6 +29949,32 @@ Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettin Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.CreateGooglePlayWebToken.createGooglePlayWebTokenRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.CreateGooglePlayWebToken.CreateGooglePlayWebTokenRequestBuilder Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.CreateGooglePlayWebToken.createGooglePlayWebTokenResponse-->global.Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.CreateGooglePlayWebToken.CreateGooglePlayWebTokenPostResponse Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.CreateGooglePlayWebToken.createGooglePlayWebTokenResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.CreateGooglePlayWebToken.CreateGooglePlayWebTokenResponse +Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.CreateZeroTouchWebToken.createZeroTouchWebTokenPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.CreateZeroTouchWebToken.createZeroTouchWebTokenPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.CreateZeroTouchWebToken.createZeroTouchWebTokenPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.CreateZeroTouchWebToken.createZeroTouchWebTokenPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.CreateZeroTouchWebToken.createZeroTouchWebTokenPostRequestBody::|public|ParentUri:string +Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.CreateZeroTouchWebToken.createZeroTouchWebTokenPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.CreateZeroTouchWebToken.createZeroTouchWebTokenPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.CreateZeroTouchWebToken.CreateZeroTouchWebTokenPostRequestBody +Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.CreateZeroTouchWebToken.createZeroTouchWebTokenPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.CreateZeroTouchWebToken.createZeroTouchWebTokenPostResponse::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.CreateZeroTouchWebToken.createZeroTouchWebTokenPostResponse::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.CreateZeroTouchWebToken.createZeroTouchWebTokenPostResponse::|public|constructor():void +Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.CreateZeroTouchWebToken.createZeroTouchWebTokenPostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.CreateZeroTouchWebToken.createZeroTouchWebTokenPostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.CreateZeroTouchWebToken.createZeroTouchWebTokenPostResponse::|public|Value:string +Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.CreateZeroTouchWebToken.createZeroTouchWebTokenPostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.CreateZeroTouchWebToken.CreateZeroTouchWebTokenPostResponse +Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.CreateZeroTouchWebToken.createZeroTouchWebTokenPostResponse~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.CreateZeroTouchWebToken.createZeroTouchWebTokenRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.CreateZeroTouchWebToken.createZeroTouchWebTokenRequestBuilder.createZeroTouchWebTokenRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.CreateZeroTouchWebToken.createZeroTouchWebTokenRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.CreateZeroTouchWebToken.createZeroTouchWebTokenRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.CreateZeroTouchWebToken.createZeroTouchWebTokenRequestBuilder::|public|PostAsCreateZeroTouchWebTokenPostResponseAsync(body:global.Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.CreateZeroTouchWebToken.CreateZeroTouchWebTokenPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.CreateZeroTouchWebToken.CreateZeroTouchWebTokenPostResponse +Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.CreateZeroTouchWebToken.createZeroTouchWebTokenRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.CreateZeroTouchWebToken.CreateZeroTouchWebTokenPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.CreateZeroTouchWebToken.CreateZeroTouchWebTokenResponse +Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.CreateZeroTouchWebToken.createZeroTouchWebTokenRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.CreateZeroTouchWebToken.CreateZeroTouchWebTokenPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.CreateZeroTouchWebToken.createZeroTouchWebTokenRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.CreateZeroTouchWebToken.CreateZeroTouchWebTokenRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.CreateZeroTouchWebToken.createZeroTouchWebTokenResponse-->global.Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.CreateZeroTouchWebToken.CreateZeroTouchWebTokenPostResponse +Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.CreateZeroTouchWebToken.createZeroTouchWebTokenResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.CreateZeroTouchWebToken.CreateZeroTouchWebTokenResponse Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.RequestEnterpriseUpgradeUrl.requestEnterpriseUpgradeUrlPostResponse::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.RequestEnterpriseUpgradeUrl.requestEnterpriseUpgradeUrlPostResponse::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.RequestEnterpriseUpgradeUrl.requestEnterpriseUpgradeUrlPostResponse::|public|constructor():void @@ -31735,6 +31780,13 @@ Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.GetNonCompliantSetti Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.GetNonCompliantSettings.getNonCompliantSettingsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.GetNonCompliantSettings.GetNonCompliantSettingsRequestBuilder Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.GetNonCompliantSettings.getNonCompliantSettingsResponse-->global.Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.GetNonCompliantSettings.GetNonCompliantSettingsGetResponse Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.GetNonCompliantSettings.getNonCompliantSettingsResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.GetNonCompliantSettings.GetNonCompliantSettingsResponse +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.GetSyncStatus.getSyncStatusRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.GetSyncStatus.getSyncStatusRequestBuilder.getSyncStatusRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.GetSyncStatus.getSyncStatusRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.GetSyncStatus.getSyncStatusRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.GetSyncStatus.getSyncStatusRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.DeviceSyncStatusResponse +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.GetSyncStatus.getSyncStatusRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.GetSyncStatus.getSyncStatusRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.GetSyncStatus.GetSyncStatusRequestBuilder Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.InitiateDeviceAttestation.initiateDeviceAttestationRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.InitiateDeviceAttestation.initiateDeviceAttestationRequestBuilder.initiateDeviceAttestationRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.InitiateDeviceAttestation.initiateDeviceAttestationRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -31870,6 +31922,7 @@ Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.ManagedDeviceItemReq Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ManagedDevice Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|getFileVaultKey:global.Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.GetFileVaultKey.GetFileVaultKeyRequestBuilder Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|getNonCompliantSettings:global.Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.GetNonCompliantSettings.GetNonCompliantSettingsRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|getSyncStatus:global.Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.GetSyncStatus.GetSyncStatusRequestBuilder Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|initiateDeviceAttestation:global.Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.InitiateDeviceAttestation.InitiateDeviceAttestationRequestBuilder Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|initiateMobileDeviceManagementKeyRecovery:global.Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.InitiateMobileDeviceManagementKeyRecovery.InitiateMobileDeviceManagementKeyRecoveryRequestBuilder Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|initiateOnDemandProactiveRemediation:global.Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.InitiateOnDemandProactiveRemediation.InitiateOnDemandProactiveRemediationRequestBuilder @@ -31885,6 +31938,7 @@ Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.ManagedDeviceItemReq Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|recoverPasscode:global.Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RecoverPasscode.RecoverPasscodeRequestBuilder Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|reenable:global.Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.Reenable.ReenableRequestBuilder Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|remoteLock:global.Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RemoteLock.RemoteLockRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|removeDeviceEsim:global.Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RemoveDeviceEsim.RemoveDeviceEsimRequestBuilder Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|removeDeviceFirmwareConfigurationInterfaceManagement:global.Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RemoveDeviceFirmwareConfigurationInterfaceManagement.RemoveDeviceFirmwareConfigurationInterfaceManagementRequestBuilder Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|requestRemoteAssistance:global.Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RequestRemoteAssistance.RequestRemoteAssistanceRequestBuilder Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|resetPasscode:global.Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.ResetPasscode.ResetPasscodeRequestBuilder @@ -32033,6 +32087,21 @@ Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RemoteLock.remoteLoc Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RemoteLock.remoteLockRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RemoteLock.remoteLockRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RemoteLock.remoteLockRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RemoteLock.RemoteLockRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RemoveDeviceEsim.removeDeviceEsimPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RemoveDeviceEsim.removeDeviceEsimPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RemoveDeviceEsim.removeDeviceEsimPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RemoveDeviceEsim.removeDeviceEsimPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RemoveDeviceEsim.removeDeviceEsimPostRequestBody::|public|IccId:string +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RemoveDeviceEsim.removeDeviceEsimPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RemoveDeviceEsim.removeDeviceEsimPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RemoveDeviceEsim.RemoveDeviceEsimPostRequestBody +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RemoveDeviceEsim.removeDeviceEsimPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RemoveDeviceEsim.removeDeviceEsimRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RemoveDeviceEsim.removeDeviceEsimRequestBuilder.removeDeviceEsimRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RemoveDeviceEsim.removeDeviceEsimRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RemoveDeviceEsim.removeDeviceEsimRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RemoveDeviceEsim.removeDeviceEsimRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RemoveDeviceEsim.RemoveDeviceEsimPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RemoveDeviceEsim.removeDeviceEsimRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RemoveDeviceEsim.RemoveDeviceEsimPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RemoveDeviceEsim.removeDeviceEsimRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RemoveDeviceEsim.RemoveDeviceEsimRequestBuilder Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RemoveDeviceFirmwareConfigurationInterfaceManagement.removeDeviceFirmwareConfigurationInterfaceManagementRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RemoveDeviceFirmwareConfigurationInterfaceManagement.removeDeviceFirmwareConfigurationInterfaceManagementRequestBuilder.removeDeviceFirmwareConfigurationInterfaceManagementRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RemoveDeviceFirmwareConfigurationInterfaceManagement.removeDeviceFirmwareConfigurationInterfaceManagementRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -41056,6 +41125,13 @@ Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.GetNonCompliantSetting Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.GetNonCompliantSettings.getNonCompliantSettingsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.GetNonCompliantSettings.GetNonCompliantSettingsRequestBuilder Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.GetNonCompliantSettings.getNonCompliantSettingsResponse-->global.Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.GetNonCompliantSettings.GetNonCompliantSettingsGetResponse Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.GetNonCompliantSettings.getNonCompliantSettingsResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.GetNonCompliantSettings.GetNonCompliantSettingsResponse +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.GetSyncStatus.getSyncStatusRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.GetSyncStatus.getSyncStatusRequestBuilder.getSyncStatusRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.GetSyncStatus.getSyncStatusRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.GetSyncStatus.getSyncStatusRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.GetSyncStatus.getSyncStatusRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.DeviceSyncStatusResponse +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.GetSyncStatus.getSyncStatusRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.GetSyncStatus.getSyncStatusRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.GetSyncStatus.GetSyncStatusRequestBuilder Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.InitiateDeviceAttestation.initiateDeviceAttestationRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.InitiateDeviceAttestation.initiateDeviceAttestationRequestBuilder.initiateDeviceAttestationRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.InitiateDeviceAttestation.initiateDeviceAttestationRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -41191,6 +41267,7 @@ Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.ManagedDeviceItemReque Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ManagedDevice Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|getFileVaultKey:global.Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.GetFileVaultKey.GetFileVaultKeyRequestBuilder Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|getNonCompliantSettings:global.Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.GetNonCompliantSettings.GetNonCompliantSettingsRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|getSyncStatus:global.Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.GetSyncStatus.GetSyncStatusRequestBuilder Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|initiateDeviceAttestation:global.Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.InitiateDeviceAttestation.InitiateDeviceAttestationRequestBuilder Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|initiateMobileDeviceManagementKeyRecovery:global.Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.InitiateMobileDeviceManagementKeyRecovery.InitiateMobileDeviceManagementKeyRecoveryRequestBuilder Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|initiateOnDemandProactiveRemediation:global.Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.InitiateOnDemandProactiveRemediation.InitiateOnDemandProactiveRemediationRequestBuilder @@ -41206,6 +41283,7 @@ Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.ManagedDeviceItemReque Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|recoverPasscode:global.Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RecoverPasscode.RecoverPasscodeRequestBuilder Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|reenable:global.Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.Reenable.ReenableRequestBuilder Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|remoteLock:global.Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RemoteLock.RemoteLockRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|removeDeviceEsim:global.Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RemoveDeviceEsim.RemoveDeviceEsimRequestBuilder Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|removeDeviceFirmwareConfigurationInterfaceManagement:global.Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RemoveDeviceFirmwareConfigurationInterfaceManagement.RemoveDeviceFirmwareConfigurationInterfaceManagementRequestBuilder Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|requestRemoteAssistance:global.Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RequestRemoteAssistance.RequestRemoteAssistanceRequestBuilder Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|resetPasscode:global.Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.ResetPasscode.ResetPasscodeRequestBuilder @@ -41354,6 +41432,21 @@ Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RemoteLock.remoteLockR Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RemoteLock.remoteLockRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RemoteLock.remoteLockRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RemoteLock.remoteLockRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RemoteLock.RemoteLockRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RemoveDeviceEsim.removeDeviceEsimPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RemoveDeviceEsim.removeDeviceEsimPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RemoveDeviceEsim.removeDeviceEsimPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RemoveDeviceEsim.removeDeviceEsimPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RemoveDeviceEsim.removeDeviceEsimPostRequestBody::|public|IccId:string +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RemoveDeviceEsim.removeDeviceEsimPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RemoveDeviceEsim.removeDeviceEsimPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RemoveDeviceEsim.RemoveDeviceEsimPostRequestBody +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RemoveDeviceEsim.removeDeviceEsimPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RemoveDeviceEsim.removeDeviceEsimRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RemoveDeviceEsim.removeDeviceEsimRequestBuilder.removeDeviceEsimRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RemoveDeviceEsim.removeDeviceEsimRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RemoveDeviceEsim.removeDeviceEsimRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RemoveDeviceEsim.removeDeviceEsimRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RemoveDeviceEsim.RemoveDeviceEsimPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RemoveDeviceEsim.removeDeviceEsimRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RemoveDeviceEsim.RemoveDeviceEsimPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RemoveDeviceEsim.removeDeviceEsimRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RemoveDeviceEsim.RemoveDeviceEsimRequestBuilder Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RemoveDeviceFirmwareConfigurationInterfaceManagement.removeDeviceFirmwareConfigurationInterfaceManagementRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RemoveDeviceFirmwareConfigurationInterfaceManagement.removeDeviceFirmwareConfigurationInterfaceManagementRequestBuilder.removeDeviceFirmwareConfigurationInterfaceManagementRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RemoveDeviceFirmwareConfigurationInterfaceManagement.removeDeviceFirmwareConfigurationInterfaceManagementRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -59760,10 +59853,12 @@ Microsoft.Graph.Beta.Drives.Item.Items.Item.DriveItemItemRequestBuilder::|public Microsoft.Graph.Beta.Drives.Item.Items.Item.DriveItemItemRequestBuilder::|public|invite:global.Microsoft.Graph.Beta.Drives.Item.Items.Item.Invite.InviteRequestBuilder Microsoft.Graph.Beta.Drives.Item.Items.Item.DriveItemItemRequestBuilder::|public|lastModifiedByUser:global.Microsoft.Graph.Beta.Drives.Item.Items.Item.LastModifiedByUser.LastModifiedByUserRequestBuilder Microsoft.Graph.Beta.Drives.Item.Items.Item.DriveItemItemRequestBuilder::|public|listItem:global.Microsoft.Graph.Beta.Drives.Item.Items.Item.ListItem.ListItemRequestBuilder +Microsoft.Graph.Beta.Drives.Item.Items.Item.DriveItemItemRequestBuilder::|public|lock:global.Microsoft.Graph.Beta.Drives.Item.Items.Item.Lock.LockRequestBuilder Microsoft.Graph.Beta.Drives.Item.Items.Item.DriveItemItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.DriveItem; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.DriveItem Microsoft.Graph.Beta.Drives.Item.Items.Item.DriveItemItemRequestBuilder::|public|permanentDelete:global.Microsoft.Graph.Beta.Drives.Item.Items.Item.PermanentDelete.PermanentDeleteRequestBuilder Microsoft.Graph.Beta.Drives.Item.Items.Item.DriveItemItemRequestBuilder::|public|permissions:global.Microsoft.Graph.Beta.Drives.Item.Items.Item.Permissions.PermissionsRequestBuilder Microsoft.Graph.Beta.Drives.Item.Items.Item.DriveItemItemRequestBuilder::|public|preview:global.Microsoft.Graph.Beta.Drives.Item.Items.Item.Preview.PreviewRequestBuilder +Microsoft.Graph.Beta.Drives.Item.Items.Item.DriveItemItemRequestBuilder::|public|releaseLock:global.Microsoft.Graph.Beta.Drives.Item.Items.Item.ReleaseLock.ReleaseLockRequestBuilder Microsoft.Graph.Beta.Drives.Item.Items.Item.DriveItemItemRequestBuilder::|public|restore:global.Microsoft.Graph.Beta.Drives.Item.Items.Item.Restore.RestoreRequestBuilder Microsoft.Graph.Beta.Drives.Item.Items.Item.DriveItemItemRequestBuilder::|public|retentionLabel:global.Microsoft.Graph.Beta.Drives.Item.Items.Item.RetentionLabel.RetentionLabelRequestBuilder Microsoft.Graph.Beta.Drives.Item.Items.Item.DriveItemItemRequestBuilder::|public|searchWithQ(q:string):global.Microsoft.Graph.Beta.Drives.Item.Items.Item.SearchWithQ.SearchWithQRequestBuilder @@ -59946,6 +60041,21 @@ Microsoft.Graph.Beta.Drives.Item.Items.Item.ListItem.listItemRequestBuilder::|pu Microsoft.Graph.Beta.Drives.Item.Items.Item.ListItem.listItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ListItem Microsoft.Graph.Beta.Drives.Item.Items.Item.ListItem.listItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Drives.Item.Items.Item.ListItem.listItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Drives.Item.Items.Item.ListItem.ListItemRequestBuilder +Microsoft.Graph.Beta.Drives.Item.Items.Item.Lock.lockPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Drives.Item.Items.Item.Lock.lockPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Drives.Item.Items.Item.Lock.lockPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Drives.Item.Items.Item.Lock.lockPostRequestBody::|public|DurationMinutes:int? +Microsoft.Graph.Beta.Drives.Item.Items.Item.Lock.lockPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Drives.Item.Items.Item.Lock.lockPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Drives.Item.Items.Item.Lock.lockPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Drives.Item.Items.Item.Lock.LockPostRequestBody +Microsoft.Graph.Beta.Drives.Item.Items.Item.Lock.lockPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Drives.Item.Items.Item.Lock.lockRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Drives.Item.Items.Item.Lock.lockRequestBuilder.lockRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Drives.Item.Items.Item.Lock.lockRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Drives.Item.Items.Item.Lock.lockRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Drives.Item.Items.Item.Lock.lockRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Drives.Item.Items.Item.Lock.LockPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.LockInfo +Microsoft.Graph.Beta.Drives.Item.Items.Item.Lock.lockRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Drives.Item.Items.Item.Lock.LockPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Drives.Item.Items.Item.Lock.lockRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Drives.Item.Items.Item.Lock.LockRequestBuilder Microsoft.Graph.Beta.Drives.Item.Items.Item.PermanentDelete.permanentDeleteRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Drives.Item.Items.Item.PermanentDelete.permanentDeleteRequestBuilder.permanentDeleteRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Drives.Item.Items.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -60057,6 +60167,13 @@ Microsoft.Graph.Beta.Drives.Item.Items.Item.Preview.previewRequestBuilder::|publ Microsoft.Graph.Beta.Drives.Item.Items.Item.Preview.previewRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Drives.Item.Items.Item.Preview.PreviewPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ItemPreviewInfo Microsoft.Graph.Beta.Drives.Item.Items.Item.Preview.previewRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Drives.Item.Items.Item.Preview.PreviewPostRequestBody; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Drives.Item.Items.Item.Preview.previewRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Drives.Item.Items.Item.Preview.PreviewRequestBuilder +Microsoft.Graph.Beta.Drives.Item.Items.Item.ReleaseLock.releaseLockRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Drives.Item.Items.Item.ReleaseLock.releaseLockRequestBuilder.releaseLockRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Drives.Item.Items.Item.ReleaseLock.releaseLockRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Drives.Item.Items.Item.ReleaseLock.releaseLockRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Drives.Item.Items.Item.ReleaseLock.releaseLockRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Drives.Item.Items.Item.ReleaseLock.releaseLockRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Drives.Item.Items.Item.ReleaseLock.releaseLockRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Drives.Item.Items.Item.ReleaseLock.ReleaseLockRequestBuilder Microsoft.Graph.Beta.Drives.Item.Items.Item.Restore.restorePostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Drives.Item.Items.Item.Restore.restorePostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Drives.Item.Items.Item.Restore.restorePostRequestBody::|public|constructor():void @@ -150679,6 +150796,13 @@ Microsoft.Graph.Beta.Me.ManagedDevices.Item.GetNonCompliantSettings.getNonCompli Microsoft.Graph.Beta.Me.ManagedDevices.Item.GetNonCompliantSettings.getNonCompliantSettingsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.ManagedDevices.Item.GetNonCompliantSettings.GetNonCompliantSettingsRequestBuilder Microsoft.Graph.Beta.Me.ManagedDevices.Item.GetNonCompliantSettings.getNonCompliantSettingsResponse-->global.Microsoft.Graph.Beta.Me.ManagedDevices.Item.GetNonCompliantSettings.GetNonCompliantSettingsGetResponse Microsoft.Graph.Beta.Me.ManagedDevices.Item.GetNonCompliantSettings.getNonCompliantSettingsResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Me.ManagedDevices.Item.GetNonCompliantSettings.GetNonCompliantSettingsResponse +Microsoft.Graph.Beta.Me.ManagedDevices.Item.GetSyncStatus.getSyncStatusRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.ManagedDevices.Item.GetSyncStatus.getSyncStatusRequestBuilder.getSyncStatusRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.ManagedDevices.Item.GetSyncStatus.getSyncStatusRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.ManagedDevices.Item.GetSyncStatus.getSyncStatusRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.ManagedDevices.Item.GetSyncStatus.getSyncStatusRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.DeviceSyncStatusResponse +Microsoft.Graph.Beta.Me.ManagedDevices.Item.GetSyncStatus.getSyncStatusRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.ManagedDevices.Item.GetSyncStatus.getSyncStatusRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.ManagedDevices.Item.GetSyncStatus.GetSyncStatusRequestBuilder Microsoft.Graph.Beta.Me.ManagedDevices.Item.InitiateDeviceAttestation.initiateDeviceAttestationRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Me.ManagedDevices.Item.InitiateDeviceAttestation.initiateDeviceAttestationRequestBuilder.initiateDeviceAttestationRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Me.ManagedDevices.Item.InitiateDeviceAttestation.initiateDeviceAttestationRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -150814,6 +150938,7 @@ Microsoft.Graph.Beta.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|pu Microsoft.Graph.Beta.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ManagedDevice Microsoft.Graph.Beta.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|getFileVaultKey:global.Microsoft.Graph.Beta.Me.ManagedDevices.Item.GetFileVaultKey.GetFileVaultKeyRequestBuilder Microsoft.Graph.Beta.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|getNonCompliantSettings:global.Microsoft.Graph.Beta.Me.ManagedDevices.Item.GetNonCompliantSettings.GetNonCompliantSettingsRequestBuilder +Microsoft.Graph.Beta.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|getSyncStatus:global.Microsoft.Graph.Beta.Me.ManagedDevices.Item.GetSyncStatus.GetSyncStatusRequestBuilder Microsoft.Graph.Beta.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|initiateDeviceAttestation:global.Microsoft.Graph.Beta.Me.ManagedDevices.Item.InitiateDeviceAttestation.InitiateDeviceAttestationRequestBuilder Microsoft.Graph.Beta.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|initiateMobileDeviceManagementKeyRecovery:global.Microsoft.Graph.Beta.Me.ManagedDevices.Item.InitiateMobileDeviceManagementKeyRecovery.InitiateMobileDeviceManagementKeyRecoveryRequestBuilder Microsoft.Graph.Beta.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|initiateOnDemandProactiveRemediation:global.Microsoft.Graph.Beta.Me.ManagedDevices.Item.InitiateOnDemandProactiveRemediation.InitiateOnDemandProactiveRemediationRequestBuilder @@ -150829,6 +150954,7 @@ Microsoft.Graph.Beta.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|pu Microsoft.Graph.Beta.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|recoverPasscode:global.Microsoft.Graph.Beta.Me.ManagedDevices.Item.RecoverPasscode.RecoverPasscodeRequestBuilder Microsoft.Graph.Beta.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|reenable:global.Microsoft.Graph.Beta.Me.ManagedDevices.Item.Reenable.ReenableRequestBuilder Microsoft.Graph.Beta.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|remoteLock:global.Microsoft.Graph.Beta.Me.ManagedDevices.Item.RemoteLock.RemoteLockRequestBuilder +Microsoft.Graph.Beta.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|removeDeviceEsim:global.Microsoft.Graph.Beta.Me.ManagedDevices.Item.RemoveDeviceEsim.RemoveDeviceEsimRequestBuilder Microsoft.Graph.Beta.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|removeDeviceFirmwareConfigurationInterfaceManagement:global.Microsoft.Graph.Beta.Me.ManagedDevices.Item.RemoveDeviceFirmwareConfigurationInterfaceManagement.RemoveDeviceFirmwareConfigurationInterfaceManagementRequestBuilder Microsoft.Graph.Beta.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|requestRemoteAssistance:global.Microsoft.Graph.Beta.Me.ManagedDevices.Item.RequestRemoteAssistance.RequestRemoteAssistanceRequestBuilder Microsoft.Graph.Beta.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|resetPasscode:global.Microsoft.Graph.Beta.Me.ManagedDevices.Item.ResetPasscode.ResetPasscodeRequestBuilder @@ -150977,6 +151103,21 @@ Microsoft.Graph.Beta.Me.ManagedDevices.Item.RemoteLock.remoteLockRequestBuilder: Microsoft.Graph.Beta.Me.ManagedDevices.Item.RemoteLock.remoteLockRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Me.ManagedDevices.Item.RemoteLock.remoteLockRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Me.ManagedDevices.Item.RemoteLock.remoteLockRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.ManagedDevices.Item.RemoteLock.RemoteLockRequestBuilder +Microsoft.Graph.Beta.Me.ManagedDevices.Item.RemoveDeviceEsim.removeDeviceEsimPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Me.ManagedDevices.Item.RemoveDeviceEsim.removeDeviceEsimPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Me.ManagedDevices.Item.RemoveDeviceEsim.removeDeviceEsimPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Me.ManagedDevices.Item.RemoveDeviceEsim.removeDeviceEsimPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Me.ManagedDevices.Item.RemoveDeviceEsim.removeDeviceEsimPostRequestBody::|public|IccId:string +Microsoft.Graph.Beta.Me.ManagedDevices.Item.RemoveDeviceEsim.removeDeviceEsimPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Me.ManagedDevices.Item.RemoveDeviceEsim.removeDeviceEsimPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Me.ManagedDevices.Item.RemoveDeviceEsim.RemoveDeviceEsimPostRequestBody +Microsoft.Graph.Beta.Me.ManagedDevices.Item.RemoveDeviceEsim.removeDeviceEsimPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Me.ManagedDevices.Item.RemoveDeviceEsim.removeDeviceEsimRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.ManagedDevices.Item.RemoveDeviceEsim.removeDeviceEsimRequestBuilder.removeDeviceEsimRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.ManagedDevices.Item.RemoveDeviceEsim.removeDeviceEsimRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.ManagedDevices.Item.RemoveDeviceEsim.removeDeviceEsimRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.ManagedDevices.Item.RemoveDeviceEsim.removeDeviceEsimRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Me.ManagedDevices.Item.RemoveDeviceEsim.RemoveDeviceEsimPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Me.ManagedDevices.Item.RemoveDeviceEsim.removeDeviceEsimRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Me.ManagedDevices.Item.RemoveDeviceEsim.RemoveDeviceEsimPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.ManagedDevices.Item.RemoveDeviceEsim.removeDeviceEsimRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.ManagedDevices.Item.RemoveDeviceEsim.RemoveDeviceEsimRequestBuilder Microsoft.Graph.Beta.Me.ManagedDevices.Item.RemoveDeviceFirmwareConfigurationInterfaceManagement.removeDeviceFirmwareConfigurationInterfaceManagementRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Me.ManagedDevices.Item.RemoveDeviceFirmwareConfigurationInterfaceManagement.removeDeviceFirmwareConfigurationInterfaceManagementRequestBuilder.removeDeviceFirmwareConfigurationInterfaceManagementRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Me.ManagedDevices.Item.RemoveDeviceFirmwareConfigurationInterfaceManagement.removeDeviceFirmwareConfigurationInterfaceManagementRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -163114,6 +163255,16 @@ Microsoft.Graph.Beta.Models.addIn::|public|Serialize(writer:ISerializationWriter Microsoft.Graph.Beta.Models.addIn::|public|Type:string Microsoft.Graph.Beta.Models.addIn::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.AddIn Microsoft.Graph.Beta.Models.addIn~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.additionalStorageAllocations::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.additionalStorageAllocations::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.additionalStorageAllocations::|public|BonusQuotaInBytes:long? +Microsoft.Graph.Beta.Models.additionalStorageAllocations::|public|constructor():void +Microsoft.Graph.Beta.Models.additionalStorageAllocations::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.additionalStorageAllocations::|public|OdataType:string +Microsoft.Graph.Beta.Models.additionalStorageAllocations::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.additionalStorageAllocations::|public|SubscriptionQuotaInBytes:long? +Microsoft.Graph.Beta.Models.additionalStorageAllocations::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.AdditionalStorageAllocations +Microsoft.Graph.Beta.Models.additionalStorageAllocations~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.addLargeGalleryViewOperation-->global.Microsoft.Graph.Beta.Models.CommsOperation Microsoft.Graph.Beta.Models.addLargeGalleryViewOperation::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.addLargeGalleryViewOperation::|public|OdataType:string @@ -170385,9 +170536,13 @@ Microsoft.Graph.Beta.Models.browseQueryOrder::0004-unknownFutureValue Microsoft.Graph.Beta.Models.browseQueryResponseItem::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.browseQueryResponseItem::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.browseQueryResponseItem::|public|constructor():void +Microsoft.Graph.Beta.Models.browseQueryResponseItem::|public|CreatedBy:global.Microsoft.Graph.Beta.Models.IdentitySet +Microsoft.Graph.Beta.Models.browseQueryResponseItem::|public|CreatedDateTime:DateTimeOffset? Microsoft.Graph.Beta.Models.browseQueryResponseItem::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.browseQueryResponseItem::|public|ItemKey:string Microsoft.Graph.Beta.Models.browseQueryResponseItem::|public|ItemsCount:int? +Microsoft.Graph.Beta.Models.browseQueryResponseItem::|public|LastModifiedBy:global.Microsoft.Graph.Beta.Models.IdentitySet +Microsoft.Graph.Beta.Models.browseQueryResponseItem::|public|LastModifiedDateTime:DateTimeOffset? Microsoft.Graph.Beta.Models.browseQueryResponseItem::|public|Name:string Microsoft.Graph.Beta.Models.browseQueryResponseItem::|public|OdataType:string Microsoft.Graph.Beta.Models.browseQueryResponseItem::|public|Serialize(writer:ISerializationWriter):void @@ -173113,6 +173268,7 @@ Microsoft.Graph.Beta.Models.cloudPC::|public|GroupDetail:global.Microsoft.Graph. Microsoft.Graph.Beta.Models.cloudPC::|public|ImageDisplayName:string Microsoft.Graph.Beta.Models.cloudPC::|public|IsDisasterRecoveryActive:bool? Microsoft.Graph.Beta.Models.cloudPC::|public|LastLoginResult:global.Microsoft.Graph.Beta.Models.CloudPcLoginResult +Microsoft.Graph.Beta.Models.cloudPC::|public|LastLogoffDateTime:DateTimeOffset? Microsoft.Graph.Beta.Models.cloudPC::|public|LastModifiedDateTime:DateTimeOffset? Microsoft.Graph.Beta.Models.cloudPC::|public|LastRemoteActionResult:global.Microsoft.Graph.Beta.Models.CloudPcRemoteActionResult Microsoft.Graph.Beta.Models.cloudPC::|public|ManagedDeviceId:string @@ -179243,6 +179399,7 @@ Microsoft.Graph.Beta.Models.desk::|public|MailboxDetails:global.Microsoft.Graph. Microsoft.Graph.Beta.Models.desk::|public|Mode:global.Microsoft.Graph.Beta.Models.PlaceMode Microsoft.Graph.Beta.Models.desk::|public|OdataType:string Microsoft.Graph.Beta.Models.desk::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.desk::|public|ServicePlans:List Microsoft.Graph.Beta.Models.desk::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Desk Microsoft.Graph.Beta.Models.deskCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse Microsoft.Graph.Beta.Models.deskCollectionResponse::|public|GetFieldDeserializers():IDictionary> @@ -183380,6 +183537,16 @@ Microsoft.Graph.Beta.Models.deviceShellScriptCollectionResponse::|public|GetFiel Microsoft.Graph.Beta.Models.deviceShellScriptCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.deviceShellScriptCollectionResponse::|public|Value:List Microsoft.Graph.Beta.Models.deviceShellScriptCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.DeviceShellScriptCollectionResponse +Microsoft.Graph.Beta.Models.deviceSyncStatusResponse::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.deviceSyncStatusResponse::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.deviceSyncStatusResponse::|public|Components:List +Microsoft.Graph.Beta.Models.deviceSyncStatusResponse::|public|constructor():void +Microsoft.Graph.Beta.Models.deviceSyncStatusResponse::|public|DeviceId:string +Microsoft.Graph.Beta.Models.deviceSyncStatusResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.deviceSyncStatusResponse::|public|OdataType:string +Microsoft.Graph.Beta.Models.deviceSyncStatusResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.deviceSyncStatusResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.DeviceSyncStatusResponse +Microsoft.Graph.Beta.Models.deviceSyncStatusResponse~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.deviceTemplate-->global.Microsoft.Graph.Beta.Models.DirectoryObject Microsoft.Graph.Beta.Models.deviceTemplate::|public|constructor():void Microsoft.Graph.Beta.Models.deviceTemplate::|public|DeviceAuthority:string @@ -188082,6 +188249,17 @@ Microsoft.Graph.Beta.Models.fallbackToMicrosoftProviderOnError::|public|GetField Microsoft.Graph.Beta.Models.fallbackToMicrosoftProviderOnError::|public|OdataType:string Microsoft.Graph.Beta.Models.fallbackToMicrosoftProviderOnError::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.fallbackToMicrosoftProviderOnError::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.FallbackToMicrosoftProviderOnError +Microsoft.Graph.Beta.Models.familyMemberStorageQuota::|public|AdditionalAllocations:global.Microsoft.Graph.Beta.Models.AdditionalStorageAllocations +Microsoft.Graph.Beta.Models.familyMemberStorageQuota::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.familyMemberStorageQuota::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.familyMemberStorageQuota::|public|constructor():void +Microsoft.Graph.Beta.Models.familyMemberStorageQuota::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.familyMemberStorageQuota::|public|OdataType:string +Microsoft.Graph.Beta.Models.familyMemberStorageQuota::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.familyMemberStorageQuota::|public|Used:long? +Microsoft.Graph.Beta.Models.familyMemberStorageQuota::|public|User:global.Microsoft.Graph.Beta.Models.Identity +Microsoft.Graph.Beta.Models.familyMemberStorageQuota::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.FamilyMemberStorageQuota +Microsoft.Graph.Beta.Models.familyMemberStorageQuota~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.featureRolloutPolicy-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.featureRolloutPolicy::|public|AppliesTo:List Microsoft.Graph.Beta.Models.featureRolloutPolicy::|public|Description:string @@ -190819,6 +190997,13 @@ Microsoft.Graph.Beta.Models.IdentityGovernance.groupBasedSubjectSet::|public|Gro Microsoft.Graph.Beta.Models.IdentityGovernance.groupBasedSubjectSet::|public|OdataType:string Microsoft.Graph.Beta.Models.IdentityGovernance.groupBasedSubjectSet::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.IdentityGovernance.groupBasedSubjectSet::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.IdentityGovernance.GroupBasedSubjectSet +Microsoft.Graph.Beta.Models.IdentityGovernance.guestSponsorTrigger-->global.Microsoft.Graph.Beta.Models.IdentityGovernance.WorkflowExecutionTrigger +Microsoft.Graph.Beta.Models.IdentityGovernance.guestSponsorTrigger::|public|constructor():void +Microsoft.Graph.Beta.Models.IdentityGovernance.guestSponsorTrigger::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.IdentityGovernance.guestSponsorTrigger::|public|MinimumRequiredSponsors:int? +Microsoft.Graph.Beta.Models.IdentityGovernance.guestSponsorTrigger::|public|OdataType:string +Microsoft.Graph.Beta.Models.IdentityGovernance.guestSponsorTrigger::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.IdentityGovernance.guestSponsorTrigger::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.IdentityGovernance.GuestSponsorTrigger Microsoft.Graph.Beta.Models.IdentityGovernance.identityGovernance::|public|AccessReviews:global.Microsoft.Graph.Beta.Models.AccessReviewSet Microsoft.Graph.Beta.Models.IdentityGovernance.identityGovernance::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.IdentityGovernance.identityGovernance::|public|AppConsent:global.Microsoft.Graph.Beta.Models.AppConsentApprovalRoute @@ -206928,6 +207113,7 @@ Microsoft.Graph.Beta.Models.place::|public|Label:string Microsoft.Graph.Beta.Models.place::|public|OdataType:string Microsoft.Graph.Beta.Models.place::|public|ParentId:string Microsoft.Graph.Beta.Models.place::|public|Phone:string +Microsoft.Graph.Beta.Models.place::|public|PlaceId:string Microsoft.Graph.Beta.Models.place::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.place::|public|Tags:List Microsoft.Graph.Beta.Models.place::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Place @@ -206985,6 +207171,15 @@ Microsoft.Graph.Beta.Models.placeOperationStatus::0003-failed Microsoft.Graph.Beta.Models.placeOperationStatus::0004-partiallySucceeded Microsoft.Graph.Beta.Models.placeOperationStatus::0005-expired Microsoft.Graph.Beta.Models.placeOperationStatus::0006-unknownFutureValue +Microsoft.Graph.Beta.Models.placeServicePlanInfo::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.placeServicePlanInfo::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.placeServicePlanInfo::|public|constructor():void +Microsoft.Graph.Beta.Models.placeServicePlanInfo::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.placeServicePlanInfo::|public|OdataType:string +Microsoft.Graph.Beta.Models.placeServicePlanInfo::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.placeServicePlanInfo::|public|ServicePlanId:string +Microsoft.Graph.Beta.Models.placeServicePlanInfo::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.PlaceServicePlanInfo +Microsoft.Graph.Beta.Models.placeServicePlanInfo~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.planner-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.planner::|public|Buckets:List Microsoft.Graph.Beta.Models.planner::|public|GetFieldDeserializers():IDictionary> @@ -213643,7 +213838,6 @@ Microsoft.Graph.Beta.Models.room::|public|GetFieldDeserializers():IDictionaryglobal.Microsoft.Graph.Beta.Models.Security.CaseManagement.CaseManagementEntity +Microsoft.Graph.Beta.Models.Security.CaseManagement.activity::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.CaseManagement.activity::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.CaseManagement.activity::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.activity::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.CaseManagement.activity::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.CaseManagement.Activity +Microsoft.Graph.Beta.Models.Security.CaseManagement.activityCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Models.Security.CaseManagement.activityCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.CaseManagement.activityCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.CaseManagement.activityCollectionResponse::|public|Value:List +Microsoft.Graph.Beta.Models.Security.CaseManagement.activityCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.CaseManagement.ActivityCollectionResponse +Microsoft.Graph.Beta.Models.Security.CaseManagement.activityResourceDetails::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.Security.CaseManagement.activityResourceDetails::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.Security.CaseManagement.activityResourceDetails::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.CaseManagement.activityResourceDetails::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.CaseManagement.activityResourceDetails::|public|Kind:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.activityResourceDetails::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.activityResourceDetails::|public|ResourceId:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.activityResourceDetails::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.CaseManagement.activityResourceDetails::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.CaseManagement.ActivityResourceDetails +Microsoft.Graph.Beta.Models.Security.CaseManagement.activityResourceDetails~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.Security.CaseManagement.alertCounts::|public|Active:int? +Microsoft.Graph.Beta.Models.Security.CaseManagement.alertCounts::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.Security.CaseManagement.alertCounts::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.Security.CaseManagement.alertCounts::|public|BySeverity:global.Microsoft.Graph.Beta.Models.Security.CaseManagement.IncidentSeverityCounts +Microsoft.Graph.Beta.Models.Security.CaseManagement.alertCounts::|public|ByStatus:global.Microsoft.Graph.Beta.Models.Security.CaseManagement.AlertStatusCounts +Microsoft.Graph.Beta.Models.Security.CaseManagement.alertCounts::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.CaseManagement.alertCounts::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.CaseManagement.alertCounts::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.alertCounts::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.CaseManagement.alertCounts::|public|Total:int? +Microsoft.Graph.Beta.Models.Security.CaseManagement.alertCounts::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.CaseManagement.AlertCounts +Microsoft.Graph.Beta.Models.Security.CaseManagement.alertCounts~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.Security.CaseManagement.alertStatusCounts::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.Security.CaseManagement.alertStatusCounts::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.Security.CaseManagement.alertStatusCounts::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.CaseManagement.alertStatusCounts::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.CaseManagement.alertStatusCounts::|public|InProgress:int? +Microsoft.Graph.Beta.Models.Security.CaseManagement.alertStatusCounts::|public|New:int? +Microsoft.Graph.Beta.Models.Security.CaseManagement.alertStatusCounts::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.alertStatusCounts::|public|Resolved:int? +Microsoft.Graph.Beta.Models.Security.CaseManagement.alertStatusCounts::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.CaseManagement.alertStatusCounts::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.CaseManagement.AlertStatusCounts +Microsoft.Graph.Beta.Models.Security.CaseManagement.alertStatusCounts~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.Security.CaseManagement.attachment-->global.Microsoft.Graph.Beta.Models.Security.CaseManagement.CaseManagementEntity +Microsoft.Graph.Beta.Models.Security.CaseManagement.attachment::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.CaseManagement.attachment::|public|Content:byte[] +Microsoft.Graph.Beta.Models.Security.CaseManagement.attachment::|public|Description:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.attachment::|public|DisplayName:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.attachment::|public|FileExtension:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.attachment::|public|FileSize:long? +Microsoft.Graph.Beta.Models.Security.CaseManagement.attachment::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.CaseManagement.attachment::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.attachment::|public|Origin:global.Microsoft.Graph.Beta.Models.Security.CaseManagement.AttachmentOrigin +Microsoft.Graph.Beta.Models.Security.CaseManagement.attachment::|public|ScanResult:global.Microsoft.Graph.Beta.Models.Security.CaseManagement.AttachmentScanResult? +Microsoft.Graph.Beta.Models.Security.CaseManagement.attachment::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.CaseManagement.attachment::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.CaseManagement.Attachment +Microsoft.Graph.Beta.Models.Security.CaseManagement.attachmentCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Models.Security.CaseManagement.attachmentCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.CaseManagement.attachmentCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.CaseManagement.attachmentCollectionResponse::|public|Value:List +Microsoft.Graph.Beta.Models.Security.CaseManagement.attachmentCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.CaseManagement.AttachmentCollectionResponse +Microsoft.Graph.Beta.Models.Security.CaseManagement.attachmentOrigin::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.Security.CaseManagement.attachmentOrigin::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.Security.CaseManagement.attachmentOrigin::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.CaseManagement.attachmentOrigin::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.CaseManagement.attachmentOrigin::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.attachmentOrigin::|public|ResourceId:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.attachmentOrigin::|public|ResourceType:global.Microsoft.Graph.Beta.Models.Security.CaseManagement.AttachmentOriginType? +Microsoft.Graph.Beta.Models.Security.CaseManagement.attachmentOrigin::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.CaseManagement.attachmentOrigin::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.CaseManagement.AttachmentOrigin +Microsoft.Graph.Beta.Models.Security.CaseManagement.attachmentOriginType::0000-case +Microsoft.Graph.Beta.Models.Security.CaseManagement.attachmentOriginType::0001-comment +Microsoft.Graph.Beta.Models.Security.CaseManagement.attachmentOriginType::0002-task +Microsoft.Graph.Beta.Models.Security.CaseManagement.attachmentOriginType::0003-unknownFutureValue +Microsoft.Graph.Beta.Models.Security.CaseManagement.attachmentOrigin~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.Security.CaseManagement.attachmentScanResult::0000-unscanned +Microsoft.Graph.Beta.Models.Security.CaseManagement.attachmentScanResult::0001-noThreatsFound +Microsoft.Graph.Beta.Models.Security.CaseManagement.attachmentScanResult::0002-malicious +Microsoft.Graph.Beta.Models.Security.CaseManagement.attachmentScanResult::0003-unknownFutureValue +Microsoft.Graph.Beta.Models.Security.CaseManagement.auditAction::0000-link +Microsoft.Graph.Beta.Models.Security.CaseManagement.auditAction::0001-unlink +Microsoft.Graph.Beta.Models.Security.CaseManagement.auditAction::0002-update +Microsoft.Graph.Beta.Models.Security.CaseManagement.auditAction::0003-delete +Microsoft.Graph.Beta.Models.Security.CaseManagement.auditAction::0004-create +Microsoft.Graph.Beta.Models.Security.CaseManagement.auditAction::0005-upload +Microsoft.Graph.Beta.Models.Security.CaseManagement.auditAction::0006-download +Microsoft.Graph.Beta.Models.Security.CaseManagement.auditAction::0007-fileUploadMalwareDetected +Microsoft.Graph.Beta.Models.Security.CaseManagement.auditAction::0008-unknownFutureValue +Microsoft.Graph.Beta.Models.Security.CaseManagement.auditLog-->global.Microsoft.Graph.Beta.Models.Security.CaseManagement.Activity +Microsoft.Graph.Beta.Models.Security.CaseManagement.auditLog::|public|Action:global.Microsoft.Graph.Beta.Models.Security.CaseManagement.AuditAction? +Microsoft.Graph.Beta.Models.Security.CaseManagement.auditLog::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.CaseManagement.auditLog::|public|Details:global.Microsoft.Graph.Beta.Models.Security.CaseManagement.ActivityResourceDetails +Microsoft.Graph.Beta.Models.Security.CaseManagement.auditLog::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.CaseManagement.auditLog::|public|ModifiedProperties:List +Microsoft.Graph.Beta.Models.Security.CaseManagement.auditLog::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.auditLog::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.CaseManagement.auditLog::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.CaseManagement.AuditLog +Microsoft.Graph.Beta.Models.Security.CaseManagement.booleanValueProperty-->global.Microsoft.Graph.Beta.Models.Security.CaseManagement.ValueProperty +Microsoft.Graph.Beta.Models.Security.CaseManagement.booleanValueProperty::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.CaseManagement.booleanValueProperty::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.CaseManagement.booleanValueProperty::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.booleanValueProperty::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.CaseManagement.booleanValueProperty::|public|Value:bool? +Microsoft.Graph.Beta.Models.Security.CaseManagement.booleanValueProperty::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.CaseManagement.BooleanValueProperty +Microsoft.Graph.Beta.Models.Security.CaseManagement.case-->global.Microsoft.Graph.Beta.Models.Security.CaseManagement.CaseManagementEntity +Microsoft.Graph.Beta.Models.Security.CaseManagement.case::|public|Activities:List +Microsoft.Graph.Beta.Models.Security.CaseManagement.case::|public|Attachments:List +Microsoft.Graph.Beta.Models.Security.CaseManagement.case::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.CaseManagement.case::|public|CustomFields:global.Microsoft.Graph.Beta.Models.Security.CaseManagement.CustomFieldValues +Microsoft.Graph.Beta.Models.Security.CaseManagement.case::|public|DisplayName:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.case::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.CaseManagement.case::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.case::|public|Relations:List +Microsoft.Graph.Beta.Models.Security.CaseManagement.case::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.CaseManagement.case::|public|Status:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.case::|public|Tasks:List +Microsoft.Graph.Beta.Models.Security.CaseManagement.case::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.CaseManagement.Case +Microsoft.Graph.Beta.Models.Security.CaseManagement.caseCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Models.Security.CaseManagement.caseCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.CaseManagement.caseCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.CaseManagement.caseCollectionResponse::|public|Value:List +Microsoft.Graph.Beta.Models.Security.CaseManagement.caseCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.CaseManagement.CaseCollectionResponse +Microsoft.Graph.Beta.Models.Security.CaseManagement.caseManagementEntity-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.Security.CaseManagement.caseManagementEntity::|public|CreatedBy:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.caseManagementEntity::|public|CreatedDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.Security.CaseManagement.caseManagementEntity::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.CaseManagement.caseManagementEntity::|public|LastModifiedBy:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.caseManagementEntity::|public|LastModifiedDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.Security.CaseManagement.caseManagementEntity::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.caseManagementEntity::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.CaseManagement.caseManagementEntity::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.CaseManagement.CaseManagementEntity +Microsoft.Graph.Beta.Models.Security.CaseManagement.caseTaskCategory::0000-uncategorized +Microsoft.Graph.Beta.Models.Security.CaseManagement.caseTaskCategory::0001-triage +Microsoft.Graph.Beta.Models.Security.CaseManagement.caseTaskCategory::0002-contain +Microsoft.Graph.Beta.Models.Security.CaseManagement.caseTaskCategory::0003-investigate +Microsoft.Graph.Beta.Models.Security.CaseManagement.caseTaskCategory::0004-remediate +Microsoft.Graph.Beta.Models.Security.CaseManagement.caseTaskCategory::0005-prevent +Microsoft.Graph.Beta.Models.Security.CaseManagement.caseTaskCategory::0006-unknownFutureValue +Microsoft.Graph.Beta.Models.Security.CaseManagement.caseTaskPriority::0000-notSet +Microsoft.Graph.Beta.Models.Security.CaseManagement.caseTaskPriority::0001-veryLow +Microsoft.Graph.Beta.Models.Security.CaseManagement.caseTaskPriority::0002-low +Microsoft.Graph.Beta.Models.Security.CaseManagement.caseTaskPriority::0003-medium +Microsoft.Graph.Beta.Models.Security.CaseManagement.caseTaskPriority::0004-high +Microsoft.Graph.Beta.Models.Security.CaseManagement.caseTaskPriority::0005-critical +Microsoft.Graph.Beta.Models.Security.CaseManagement.caseTaskPriority::0006-unknownFutureValue +Microsoft.Graph.Beta.Models.Security.CaseManagement.comment-->global.Microsoft.Graph.Beta.Models.Security.CaseManagement.Activity +Microsoft.Graph.Beta.Models.Security.CaseManagement.comment::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.CaseManagement.comment::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.CaseManagement.comment::|public|Message:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.comment::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.comment::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.CaseManagement.comment::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.CaseManagement.Comment +Microsoft.Graph.Beta.Models.Security.CaseManagement.customFieldValues::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.Security.CaseManagement.customFieldValues::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.Security.CaseManagement.customFieldValues::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.CaseManagement.customFieldValues::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.CaseManagement.customFieldValues::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.customFieldValues::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.CaseManagement.customFieldValues::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.CaseManagement.CustomFieldValues +Microsoft.Graph.Beta.Models.Security.CaseManagement.customFieldValues~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.Security.CaseManagement.exposureCase-->global.Microsoft.Graph.Beta.Models.Security.CaseManagement.Case +Microsoft.Graph.Beta.Models.Security.CaseManagement.exposureCase::|public|AssignedTo:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.exposureCase::|public|Automation:global.Microsoft.Graph.Beta.Models.Security.CaseManagement.ExposureCaseAutomation +Microsoft.Graph.Beta.Models.Security.CaseManagement.exposureCase::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.CaseManagement.exposureCase::|public|Description:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.exposureCase::|public|DueDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.Security.CaseManagement.exposureCase::|public|EmailNotificationRecipients:List +Microsoft.Graph.Beta.Models.Security.CaseManagement.exposureCase::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.CaseManagement.exposureCase::|public|Github:global.Microsoft.Graph.Beta.Models.Security.CaseManagement.ExposureCaseGitHub +Microsoft.Graph.Beta.Models.Security.CaseManagement.exposureCase::|public|IsGracePeriodEnabled:bool? +Microsoft.Graph.Beta.Models.Security.CaseManagement.exposureCase::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.exposureCase::|public|Priority:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.exposureCase::|public|Seemplicity:global.Microsoft.Graph.Beta.Models.Security.CaseManagement.ExposureCaseSeemplicity +Microsoft.Graph.Beta.Models.Security.CaseManagement.exposureCase::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.CaseManagement.exposureCase::|public|ThirdPartyWorkItem:global.Microsoft.Graph.Beta.Models.Security.CaseManagement.ThirdPartyWorkItem +Microsoft.Graph.Beta.Models.Security.CaseManagement.exposureCase::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.CaseManagement.ExposureCase +Microsoft.Graph.Beta.Models.Security.CaseManagement.exposureCaseAutomation::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.Security.CaseManagement.exposureCaseAutomation::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.Security.CaseManagement.exposureCaseAutomation::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.CaseManagement.exposureCaseAutomation::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.CaseManagement.exposureCaseAutomation::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.exposureCaseAutomation::|public|RuleId:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.exposureCaseAutomation::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.CaseManagement.exposureCaseAutomation::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.CaseManagement.ExposureCaseAutomation +Microsoft.Graph.Beta.Models.Security.CaseManagement.exposureCaseAutomation~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.Security.CaseManagement.exposureCaseGitHub::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.Security.CaseManagement.exposureCaseGitHub::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.Security.CaseManagement.exposureCaseGitHub::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.CaseManagement.exposureCaseGitHub::|public|EnvironmentId:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.exposureCaseGitHub::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.CaseManagement.exposureCaseGitHub::|public|IssueNumber:int? +Microsoft.Graph.Beta.Models.Security.CaseManagement.exposureCaseGitHub::|public|IssueUrl:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.exposureCaseGitHub::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.exposureCaseGitHub::|public|PrimaryAssessmentId:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.exposureCaseGitHub::|public|RepoName:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.exposureCaseGitHub::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.CaseManagement.exposureCaseGitHub::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.CaseManagement.ExposureCaseGitHub +Microsoft.Graph.Beta.Models.Security.CaseManagement.exposureCaseGitHub~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.Security.CaseManagement.exposureCaseSeemplicity::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.Security.CaseManagement.exposureCaseSeemplicity::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.Security.CaseManagement.exposureCaseSeemplicity::|public|ConfigurationId:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.exposureCaseSeemplicity::|public|ConfigurationName:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.exposureCaseSeemplicity::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.CaseManagement.exposureCaseSeemplicity::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.CaseManagement.exposureCaseSeemplicity::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.exposureCaseSeemplicity::|public|ProviderType:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.exposureCaseSeemplicity::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.CaseManagement.exposureCaseSeemplicity::|public|SyncStatus:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.exposureCaseSeemplicity::|public|TicketCreationTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.Security.CaseManagement.exposureCaseSeemplicity::|public|TicketId:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.exposureCaseSeemplicity::|public|TicketLink:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.exposureCaseSeemplicity::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.CaseManagement.ExposureCaseSeemplicity +Microsoft.Graph.Beta.Models.Security.CaseManagement.exposureCaseSeemplicity~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.Security.CaseManagement.genericCase-->global.Microsoft.Graph.Beta.Models.Security.CaseManagement.Case +Microsoft.Graph.Beta.Models.Security.CaseManagement.genericCase::|public|AssignedTo:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.genericCase::|public|ClosingNotes:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.genericCase::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.CaseManagement.genericCase::|public|Description:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.genericCase::|public|DueDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.Security.CaseManagement.genericCase::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.CaseManagement.genericCase::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.genericCase::|public|Priority:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.genericCase::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.CaseManagement.genericCase::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.CaseManagement.GenericCase +Microsoft.Graph.Beta.Models.Security.CaseManagement.impactedAssetsCounts::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.Security.CaseManagement.impactedAssetsCounts::|public|AiAgents:int? +Microsoft.Graph.Beta.Models.Security.CaseManagement.impactedAssetsCounts::|public|Apps:int? +Microsoft.Graph.Beta.Models.Security.CaseManagement.impactedAssetsCounts::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.Security.CaseManagement.impactedAssetsCounts::|public|CloudResources:int? +Microsoft.Graph.Beta.Models.Security.CaseManagement.impactedAssetsCounts::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.CaseManagement.impactedAssetsCounts::|public|Files:int? +Microsoft.Graph.Beta.Models.Security.CaseManagement.impactedAssetsCounts::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.CaseManagement.impactedAssetsCounts::|public|Ips:int? +Microsoft.Graph.Beta.Models.Security.CaseManagement.impactedAssetsCounts::|public|Machines:int? +Microsoft.Graph.Beta.Models.Security.CaseManagement.impactedAssetsCounts::|public|Mailboxes:int? +Microsoft.Graph.Beta.Models.Security.CaseManagement.impactedAssetsCounts::|public|OauthApps:int? +Microsoft.Graph.Beta.Models.Security.CaseManagement.impactedAssetsCounts::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.impactedAssetsCounts::|public|Processes:int? +Microsoft.Graph.Beta.Models.Security.CaseManagement.impactedAssetsCounts::|public|RegistryKeys:int? +Microsoft.Graph.Beta.Models.Security.CaseManagement.impactedAssetsCounts::|public|SecurityGroups:int? +Microsoft.Graph.Beta.Models.Security.CaseManagement.impactedAssetsCounts::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.CaseManagement.impactedAssetsCounts::|public|Total:int? +Microsoft.Graph.Beta.Models.Security.CaseManagement.impactedAssetsCounts::|public|Urls:int? +Microsoft.Graph.Beta.Models.Security.CaseManagement.impactedAssetsCounts::|public|Users:int? +Microsoft.Graph.Beta.Models.Security.CaseManagement.impactedAssetsCounts::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.CaseManagement.ImpactedAssetsCounts +Microsoft.Graph.Beta.Models.Security.CaseManagement.impactedAssetsCounts~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentCase-->global.Microsoft.Graph.Beta.Models.Security.CaseManagement.Case +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentCase::|public|AiAgentIds:List +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentCase::|public|AlertCounts:global.Microsoft.Graph.Beta.Models.Security.CaseManagement.AlertCounts +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentCase::|public|AlertPolicyIds:List +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentCase::|public|AssignedTo:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentCase::|public|AssociatedThreatIds:List +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentCase::|public|Categories:List +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentCase::|public|Classification:global.Microsoft.Graph.Beta.Models.Security.CaseManagement.IncidentClassification? +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentCase::|public|CloudScopes:List +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentCase::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentCase::|public|DataSensitivityLabels:List +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentCase::|public|DataStreams:List +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentCase::|public|DetectionSources:List +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentCase::|public|Determination:global.Microsoft.Graph.Beta.Models.Security.CaseManagement.IncidentDetermination? +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentCase::|public|DueDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentCase::|public|EmailNotificationRecipients:List +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentCase::|public|FirstEventTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentCase::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentCase::|public|ImpactedAssets:global.Microsoft.Graph.Beta.Models.Security.CaseManagement.ImpactedAssetsCounts +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentCase::|public|IncidentId:long? +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentCase::|public|IncidentWebUrl:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentCase::|public|Investigation:global.Microsoft.Graph.Beta.Models.Security.CaseManagement.Investigation +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentCase::|public|InvestigationIds:List +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentCase::|public|InvestigationStates:List +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentCase::|public|LastEventTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentCase::|public|MachineGroupIds:List +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentCase::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentCase::|public|OsPlatforms:List +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentCase::|public|PolicyNames:List +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentCase::|public|PriorityScore:int? +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentCase::|public|ProductNames:List +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentCase::|public|RedirectCaseId:long? +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentCase::|public|RedirectIncidentId:long? +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentCase::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentCase::|public|ServiceSources:List +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentCase::|public|Severity:global.Microsoft.Graph.Beta.Models.Security.CaseManagement.IncidentSeverity? +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentCase::|public|Summary:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentCase::|public|SystemTags:List +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentCase::|public|TopRiskScore:int? +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentCase::|public|WorkspaceIds:List +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentCase::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.CaseManagement.IncidentCase +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentClassification::0000-unknown +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentClassification::0001-falsePositive +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentClassification::0002-truePositive +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentClassification::0003-informationalExpectedActivity +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentClassification::0004-unknownFutureValue +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentDetermination::0000-unknown +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentDetermination::0001-apt +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentDetermination::0002-malware +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentDetermination::0003-securityPersonnel +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentDetermination::0004-securityTesting +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentDetermination::0005-unwantedSoftware +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentDetermination::0006-other +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentDetermination::0007-multiStagedAttack +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentDetermination::0008-compromisedAccount +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentDetermination::0009-phishing +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentDetermination::0010-maliciousUserActivity +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentDetermination::0011-notMalicious +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentDetermination::0012-notEnoughDataToValidate +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentDetermination::0013-confirmedActivity +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentDetermination::0014-lineOfBusinessApplication +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentDetermination::0015-unknownFutureValue +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentRelation-->global.Microsoft.Graph.Beta.Models.Security.CaseManagement.Relation +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentRelation::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentRelation::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentRelation::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentRelation::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentRelation::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.CaseManagement.IncidentRelation +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentSeverity::0000-unknown +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentSeverity::0001-informational +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentSeverity::0002-low +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentSeverity::0003-medium +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentSeverity::0004-high +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentSeverity::0005-unknownFutureValue +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentSeverityCounts::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentSeverityCounts::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentSeverityCounts::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentSeverityCounts::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentSeverityCounts::|public|High:int? +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentSeverityCounts::|public|Informational:int? +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentSeverityCounts::|public|Low:int? +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentSeverityCounts::|public|Medium:int? +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentSeverityCounts::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentSeverityCounts::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentSeverityCounts::|public|Unknown:int? +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentSeverityCounts::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.CaseManagement.IncidentSeverityCounts +Microsoft.Graph.Beta.Models.Security.CaseManagement.incidentSeverityCounts~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.Security.CaseManagement.investigation::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.Security.CaseManagement.investigation::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.Security.CaseManagement.investigation::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.CaseManagement.investigation::|public|Count:int? +Microsoft.Graph.Beta.Models.Security.CaseManagement.investigation::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.CaseManagement.investigation::|public|Ids:List +Microsoft.Graph.Beta.Models.Security.CaseManagement.investigation::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.investigation::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.CaseManagement.investigation::|public|State:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.investigation::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.CaseManagement.Investigation +Microsoft.Graph.Beta.Models.Security.CaseManagement.investigation~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.Security.CaseManagement.modifiedProperty::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.Security.CaseManagement.modifiedProperty::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.Security.CaseManagement.modifiedProperty::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.CaseManagement.modifiedProperty::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.CaseManagement.modifiedProperty::|public|NewValue:global.Microsoft.Graph.Beta.Models.Security.CaseManagement.ValueProperty +Microsoft.Graph.Beta.Models.Security.CaseManagement.modifiedProperty::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.modifiedProperty::|public|OldValue:global.Microsoft.Graph.Beta.Models.Security.CaseManagement.ValueProperty +Microsoft.Graph.Beta.Models.Security.CaseManagement.modifiedProperty::|public|PropertyName:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.modifiedProperty::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.CaseManagement.modifiedProperty::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.CaseManagement.ModifiedProperty +Microsoft.Graph.Beta.Models.Security.CaseManagement.modifiedProperty~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.Security.CaseManagement.recommendationRelation-->global.Microsoft.Graph.Beta.Models.Security.CaseManagement.Relation +Microsoft.Graph.Beta.Models.Security.CaseManagement.recommendationRelation::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.CaseManagement.recommendationRelation::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.CaseManagement.recommendationRelation::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.recommendationRelation::|public|RecommendationType:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.recommendationRelation::|public|ResourceGroupName:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.recommendationRelation::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.CaseManagement.recommendationRelation::|public|SubscriptionId:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.recommendationRelation::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.CaseManagement.RecommendationRelation +Microsoft.Graph.Beta.Models.Security.CaseManagement.relation-->global.Microsoft.Graph.Beta.Models.Security.CaseManagement.CaseManagementEntity +Microsoft.Graph.Beta.Models.Security.CaseManagement.relation::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.CaseManagement.relation::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.CaseManagement.relation::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.relation::|public|RelatedResourceId:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.relation::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.CaseManagement.relation::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.CaseManagement.Relation +Microsoft.Graph.Beta.Models.Security.CaseManagement.relationCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Models.Security.CaseManagement.relationCollectionResponse::|public|GetFieldDeserializers():IDictionary> +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.stringValueProperty-->global.Microsoft.Graph.Beta.Models.Security.CaseManagement.ValueProperty +Microsoft.Graph.Beta.Models.Security.CaseManagement.stringValueProperty::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.CaseManagement.stringValueProperty::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.CaseManagement.stringValueProperty::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.stringValueProperty::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.CaseManagement.stringValueProperty::|public|Value:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.stringValueProperty::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.CaseManagement.StringValueProperty +Microsoft.Graph.Beta.Models.Security.CaseManagement.taskCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Models.Security.CaseManagement.taskCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.CaseManagement.taskCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.CaseManagement.taskCollectionResponse::|public|Value:List +Microsoft.Graph.Beta.Models.Security.CaseManagement.taskCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.CaseManagement.TaskCollectionResponse +Microsoft.Graph.Beta.Models.Security.CaseManagement.taskObject-->global.Microsoft.Graph.Beta.Models.Security.CaseManagement.CaseManagementEntity +Microsoft.Graph.Beta.Models.Security.CaseManagement.taskObject::|public|AssignedTo:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.taskObject::|public|Category:global.Microsoft.Graph.Beta.Models.Security.CaseManagement.CaseTaskCategory? +Microsoft.Graph.Beta.Models.Security.CaseManagement.taskObject::|public|ClosingNotes:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.taskObject::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.CaseManagement.taskObject::|public|Description:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.taskObject::|public|DisplayName:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.taskObject::|public|DueDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.Security.CaseManagement.taskObject::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.CaseManagement.taskObject::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.taskObject::|public|Priority:global.Microsoft.Graph.Beta.Models.Security.CaseManagement.CaseTaskPriority? +Microsoft.Graph.Beta.Models.Security.CaseManagement.taskObject::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.CaseManagement.taskObject::|public|Status:global.Microsoft.Graph.Beta.Models.Security.CaseManagement.TaskStatus? +Microsoft.Graph.Beta.Models.Security.CaseManagement.taskObject::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.CaseManagement.TaskObject +Microsoft.Graph.Beta.Models.Security.CaseManagement.taskStatus::0000-notSet +Microsoft.Graph.Beta.Models.Security.CaseManagement.taskStatus::0001-new +Microsoft.Graph.Beta.Models.Security.CaseManagement.taskStatus::0002-inProgress +Microsoft.Graph.Beta.Models.Security.CaseManagement.taskStatus::0003-failed +Microsoft.Graph.Beta.Models.Security.CaseManagement.taskStatus::0004-partiallyCompleted +Microsoft.Graph.Beta.Models.Security.CaseManagement.taskStatus::0005-skipped +Microsoft.Graph.Beta.Models.Security.CaseManagement.taskStatus::0006-completed +Microsoft.Graph.Beta.Models.Security.CaseManagement.taskStatus::0007-unknownFutureValue +Microsoft.Graph.Beta.Models.Security.CaseManagement.thirdPartyWorkItem::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.Security.CaseManagement.thirdPartyWorkItem::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.Security.CaseManagement.thirdPartyWorkItem::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.CaseManagement.thirdPartyWorkItem::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.CaseManagement.thirdPartyWorkItem::|public|Identifier:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.thirdPartyWorkItem::|public|Instance:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.thirdPartyWorkItem::|public|LastSyncedOnDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.Security.CaseManagement.thirdPartyWorkItem::|public|Metadata:global.Microsoft.Graph.Beta.Models.Security.CaseManagement.ThirdPartyWorkItemMetadata +Microsoft.Graph.Beta.Models.Security.CaseManagement.thirdPartyWorkItem::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.thirdPartyWorkItem::|public|Provider:global.Microsoft.Graph.Beta.Models.Security.CaseManagement.ThirdPartyWorkItemProvider? +Microsoft.Graph.Beta.Models.Security.CaseManagement.thirdPartyWorkItem::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.CaseManagement.thirdPartyWorkItem::|public|SyncedBy:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.thirdPartyWorkItem::|public|WorkItemType:global.Microsoft.Graph.Beta.Models.Security.CaseManagement.ThirdPartyWorkItemType? +Microsoft.Graph.Beta.Models.Security.CaseManagement.thirdPartyWorkItem::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.CaseManagement.ThirdPartyWorkItem +Microsoft.Graph.Beta.Models.Security.CaseManagement.thirdPartyWorkItemMetadata::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.Security.CaseManagement.thirdPartyWorkItemMetadata::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.Security.CaseManagement.thirdPartyWorkItemMetadata::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.CaseManagement.thirdPartyWorkItemMetadata::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.CaseManagement.thirdPartyWorkItemMetadata::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.thirdPartyWorkItemMetadata::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.CaseManagement.thirdPartyWorkItemMetadata::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.CaseManagement.ThirdPartyWorkItemMetadata +Microsoft.Graph.Beta.Models.Security.CaseManagement.thirdPartyWorkItemMetadata~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.Security.CaseManagement.thirdPartyWorkItemProvider::0000-serviceNow +Microsoft.Graph.Beta.Models.Security.CaseManagement.thirdPartyWorkItemProvider::0001-unknownFutureValue +Microsoft.Graph.Beta.Models.Security.CaseManagement.thirdPartyWorkItemType::0000-incident +Microsoft.Graph.Beta.Models.Security.CaseManagement.thirdPartyWorkItemType::0001-unknownFutureValue +Microsoft.Graph.Beta.Models.Security.CaseManagement.thirdPartyWorkItem~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.Security.CaseManagement.valueProperty::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.Security.CaseManagement.valueProperty::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.Security.CaseManagement.valueProperty::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.CaseManagement.valueProperty::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.CaseManagement.valueProperty::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.valueProperty::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.CaseManagement.valueProperty::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.CaseManagement.ValueProperty +Microsoft.Graph.Beta.Models.Security.CaseManagement.valueProperty~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.Security.CaseManagement.workspaceIndicatorRelation-->global.Microsoft.Graph.Beta.Models.Security.CaseManagement.Relation +Microsoft.Graph.Beta.Models.Security.CaseManagement.workspaceIndicatorRelation::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.CaseManagement.workspaceIndicatorRelation::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.CaseManagement.workspaceIndicatorRelation::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.workspaceIndicatorRelation::|public|ResourceGroupName:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.workspaceIndicatorRelation::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.CaseManagement.workspaceIndicatorRelation::|public|SubscriptionId:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.workspaceIndicatorRelation::|public|WorkspaceName:string +Microsoft.Graph.Beta.Models.Security.CaseManagement.workspaceIndicatorRelation::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.CaseManagement.WorkspaceIndicatorRelation +Microsoft.Graph.Beta.Models.Security.caseManagementRoot-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.Security.caseManagementRoot::|public|Cases:List +Microsoft.Graph.Beta.Models.Security.caseManagementRoot::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.caseManagementRoot::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.caseManagementRoot::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.caseManagementRoot::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.CaseManagementRoot Microsoft.Graph.Beta.Models.Security.caseOperation-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.Security.caseOperation::|public|Action:global.Microsoft.Graph.Beta.Models.Security.CaseAction? Microsoft.Graph.Beta.Models.Security.caseOperation::|public|CompletedDateTime:DateTimeOffset? @@ -226954,6 +227609,24 @@ Microsoft.Graph.Beta.Models.symantecCodeSigningCertificate::|public|Subject:stri Microsoft.Graph.Beta.Models.symantecCodeSigningCertificate::|public|SubjectName:string Microsoft.Graph.Beta.Models.symantecCodeSigningCertificate::|public|UploadDateTime:DateTimeOffset? Microsoft.Graph.Beta.Models.symantecCodeSigningCertificate::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.SymantecCodeSigningCertificate +Microsoft.Graph.Beta.Models.syncComponent::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.syncComponent::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.syncComponent::|public|constructor():void +Microsoft.Graph.Beta.Models.syncComponent::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.syncComponent::|public|MoreInfo:string +Microsoft.Graph.Beta.Models.syncComponent::|public|Name:string +Microsoft.Graph.Beta.Models.syncComponent::|public|OdataType:string +Microsoft.Graph.Beta.Models.syncComponent::|public|ReportedDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.syncComponent::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.syncComponent::|public|Status:global.Microsoft.Graph.Beta.Models.SyncComponentStatus? +Microsoft.Graph.Beta.Models.syncComponent::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.SyncComponent +Microsoft.Graph.Beta.Models.syncComponentStatus::0000-none +Microsoft.Graph.Beta.Models.syncComponentStatus::0001-inProgress +Microsoft.Graph.Beta.Models.syncComponentStatus::0002-success +Microsoft.Graph.Beta.Models.syncComponentStatus::0003-failure +Microsoft.Graph.Beta.Models.syncComponentStatus::0004-partialSuccess +Microsoft.Graph.Beta.Models.syncComponentStatus::0005-unknownFutureValue +Microsoft.Graph.Beta.Models.syncComponent~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.synchronization-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.synchronization::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.synchronization::|public|Jobs:List @@ -231118,7 +231791,9 @@ Microsoft.Graph.Beta.Models.unifiedRoleScheduleRequestActions::0009-unknownFutur Microsoft.Graph.Beta.Models.unifiedRole~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.unifiedStorageQuota-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.unifiedStorageQuota::|public|Deleted:long? +Microsoft.Graph.Beta.Models.unifiedStorageQuota::|public|FamilyMembersUsage:List Microsoft.Graph.Beta.Models.unifiedStorageQuota::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.unifiedStorageQuota::|public|IsPooledStorageEnabled:bool? Microsoft.Graph.Beta.Models.unifiedStorageQuota::|public|ManageWebUrl:string Microsoft.Graph.Beta.Models.unifiedStorageQuota::|public|OdataType:string Microsoft.Graph.Beta.Models.unifiedStorageQuota::|public|Remaining:long? @@ -234179,6 +234854,7 @@ Microsoft.Graph.Beta.Models.vppLicensingType::|public|SupportUserLicensing:bool? Microsoft.Graph.Beta.Models.vppLicensingType::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.VppLicensingType Microsoft.Graph.Beta.Models.vppLicensingType~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.vppToken-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.vppToken::|public|AppleDeviceAppDeliveryProtocolType:global.Microsoft.Graph.Beta.Models.AppleDeviceDeliveryProtocol? Microsoft.Graph.Beta.Models.vppToken::|public|AppleId:string Microsoft.Graph.Beta.Models.vppToken::|public|AutomaticallyUpdateApps:bool? Microsoft.Graph.Beta.Models.vppToken::|public|ClaimTokenManagementFromExternalMdm:bool? @@ -240083,7 +240759,6 @@ Microsoft.Graph.Beta.Models.workspace::|public|GetFieldDeserializers():IDictiona Microsoft.Graph.Beta.Models.workspace::|public|Mode:global.Microsoft.Graph.Beta.Models.PlaceMode Microsoft.Graph.Beta.Models.workspace::|public|Nickname:string Microsoft.Graph.Beta.Models.workspace::|public|OdataType:string -Microsoft.Graph.Beta.Models.workspace::|public|PlaceId:string Microsoft.Graph.Beta.Models.workspace::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.workspace::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Workspace Microsoft.Graph.Beta.Models.workspaceCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse @@ -255300,27 +255975,27 @@ Microsoft.Graph.Beta.Reports.GetMailboxUsageStorageWithPeriod.getMailboxUsageSto Microsoft.Graph.Beta.Reports.GetMailboxUsageStorageWithPeriod.getMailboxUsageStorageWithPeriodRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream Microsoft.Graph.Beta.Reports.GetMailboxUsageStorageWithPeriod.getMailboxUsageStorageWithPeriodRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Reports.GetMailboxUsageStorageWithPeriod.getMailboxUsageStorageWithPeriodRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Reports.GetMailboxUsageStorageWithPeriod.GetMailboxUsageStorageWithPeriodRequestBuilder -Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUsageUserDetailWithPeriod.getMicrosoft365CopilotUsageUserDetailWithPeriodRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUsageUserDetailWithPeriod.getMicrosoft365CopilotUsageUserDetailWithPeriodRequestBuilder.getMicrosoft365CopilotUsageUserDetailWithPeriodRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUsageUserDetailWithPeriod.getMicrosoft365CopilotUsageUserDetailWithPeriodRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter; period?:string):void -Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUsageUserDetailWithPeriod.getMicrosoft365CopilotUsageUserDetailWithPeriodRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUsageUserDetailWithPeriod.getMicrosoft365CopilotUsageUserDetailWithPeriodRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream -Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUsageUserDetailWithPeriod.getMicrosoft365CopilotUsageUserDetailWithPeriodRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUsageUserDetailWithPeriod.getMicrosoft365CopilotUsageUserDetailWithPeriodRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUsageUserDetailWithPeriod.GetMicrosoft365CopilotUsageUserDetailWithPeriodRequestBuilder -Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUserCountSummaryWithPeriod.getMicrosoft365CopilotUserCountSummaryWithPeriodRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUserCountSummaryWithPeriod.getMicrosoft365CopilotUserCountSummaryWithPeriodRequestBuilder.getMicrosoft365CopilotUserCountSummaryWithPeriodRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUserCountSummaryWithPeriod.getMicrosoft365CopilotUserCountSummaryWithPeriodRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter; period?:string):void -Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUserCountSummaryWithPeriod.getMicrosoft365CopilotUserCountSummaryWithPeriodRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUserCountSummaryWithPeriod.getMicrosoft365CopilotUserCountSummaryWithPeriodRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream -Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUserCountSummaryWithPeriod.getMicrosoft365CopilotUserCountSummaryWithPeriodRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUserCountSummaryWithPeriod.getMicrosoft365CopilotUserCountSummaryWithPeriodRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUserCountSummaryWithPeriod.GetMicrosoft365CopilotUserCountSummaryWithPeriodRequestBuilder -Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUserCountTrendWithPeriod.getMicrosoft365CopilotUserCountTrendWithPeriodRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUserCountTrendWithPeriod.getMicrosoft365CopilotUserCountTrendWithPeriodRequestBuilder.getMicrosoft365CopilotUserCountTrendWithPeriodRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUserCountTrendWithPeriod.getMicrosoft365CopilotUserCountTrendWithPeriodRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter; period?:string):void -Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUserCountTrendWithPeriod.getMicrosoft365CopilotUserCountTrendWithPeriodRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUserCountTrendWithPeriod.getMicrosoft365CopilotUserCountTrendWithPeriodRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream -Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUserCountTrendWithPeriod.getMicrosoft365CopilotUserCountTrendWithPeriodRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUserCountTrendWithPeriod.getMicrosoft365CopilotUserCountTrendWithPeriodRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUserCountTrendWithPeriod.GetMicrosoft365CopilotUserCountTrendWithPeriodRequestBuilder +Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUsageUserDetailWithPeriodWithVersion.getMicrosoft365CopilotUsageUserDetailWithPeriodWithVersionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUsageUserDetailWithPeriodWithVersion.getMicrosoft365CopilotUsageUserDetailWithPeriodWithVersionRequestBuilder.getMicrosoft365CopilotUsageUserDetailWithPeriodWithVersionRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUsageUserDetailWithPeriodWithVersion.getMicrosoft365CopilotUsageUserDetailWithPeriodWithVersionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter; period?:string; version?:string):void +Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUsageUserDetailWithPeriodWithVersion.getMicrosoft365CopilotUsageUserDetailWithPeriodWithVersionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUsageUserDetailWithPeriodWithVersion.getMicrosoft365CopilotUsageUserDetailWithPeriodWithVersionRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream +Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUsageUserDetailWithPeriodWithVersion.getMicrosoft365CopilotUsageUserDetailWithPeriodWithVersionRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUsageUserDetailWithPeriodWithVersion.getMicrosoft365CopilotUsageUserDetailWithPeriodWithVersionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUsageUserDetailWithPeriodWithVersion.GetMicrosoft365CopilotUsageUserDetailWithPeriodWithVersionRequestBuilder +Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUserCountSummaryWithPeriodWithVersion.getMicrosoft365CopilotUserCountSummaryWithPeriodWithVersionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUserCountSummaryWithPeriodWithVersion.getMicrosoft365CopilotUserCountSummaryWithPeriodWithVersionRequestBuilder.getMicrosoft365CopilotUserCountSummaryWithPeriodWithVersionRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUserCountSummaryWithPeriodWithVersion.getMicrosoft365CopilotUserCountSummaryWithPeriodWithVersionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter; period?:string; version?:string):void +Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUserCountSummaryWithPeriodWithVersion.getMicrosoft365CopilotUserCountSummaryWithPeriodWithVersionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUserCountSummaryWithPeriodWithVersion.getMicrosoft365CopilotUserCountSummaryWithPeriodWithVersionRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream +Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUserCountSummaryWithPeriodWithVersion.getMicrosoft365CopilotUserCountSummaryWithPeriodWithVersionRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUserCountSummaryWithPeriodWithVersion.getMicrosoft365CopilotUserCountSummaryWithPeriodWithVersionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUserCountSummaryWithPeriodWithVersion.GetMicrosoft365CopilotUserCountSummaryWithPeriodWithVersionRequestBuilder +Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUserCountTrendWithPeriodWithVersion.getMicrosoft365CopilotUserCountTrendWithPeriodWithVersionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUserCountTrendWithPeriodWithVersion.getMicrosoft365CopilotUserCountTrendWithPeriodWithVersionRequestBuilder.getMicrosoft365CopilotUserCountTrendWithPeriodWithVersionRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUserCountTrendWithPeriodWithVersion.getMicrosoft365CopilotUserCountTrendWithPeriodWithVersionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter; period?:string; version?:string):void +Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUserCountTrendWithPeriodWithVersion.getMicrosoft365CopilotUserCountTrendWithPeriodWithVersionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUserCountTrendWithPeriodWithVersion.getMicrosoft365CopilotUserCountTrendWithPeriodWithVersionRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream +Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUserCountTrendWithPeriodWithVersion.getMicrosoft365CopilotUserCountTrendWithPeriodWithVersionRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUserCountTrendWithPeriodWithVersion.getMicrosoft365CopilotUserCountTrendWithPeriodWithVersionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUserCountTrendWithPeriodWithVersion.GetMicrosoft365CopilotUserCountTrendWithPeriodWithVersionRequestBuilder 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 @@ -256848,9 +257523,9 @@ Microsoft.Graph.Beta.Reports.reportsRequestBuilder::|public|getMailboxUsageDetai Microsoft.Graph.Beta.Reports.reportsRequestBuilder::|public|getMailboxUsageMailboxCountsWithPeriod(period:string):global.Microsoft.Graph.Beta.Reports.GetMailboxUsageMailboxCountsWithPeriod.GetMailboxUsageMailboxCountsWithPeriodRequestBuilder Microsoft.Graph.Beta.Reports.reportsRequestBuilder::|public|getMailboxUsageQuotaStatusMailboxCountsWithPeriod(period:string):global.Microsoft.Graph.Beta.Reports.GetMailboxUsageQuotaStatusMailboxCountsWithPeriod.GetMailboxUsageQuotaStatusMailboxCountsWithPeriodRequestBuilder Microsoft.Graph.Beta.Reports.reportsRequestBuilder::|public|getMailboxUsageStorageWithPeriod(period:string):global.Microsoft.Graph.Beta.Reports.GetMailboxUsageStorageWithPeriod.GetMailboxUsageStorageWithPeriodRequestBuilder -Microsoft.Graph.Beta.Reports.reportsRequestBuilder::|public|getMicrosoft365CopilotUsageUserDetailWithPeriod(period:string):global.Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUsageUserDetailWithPeriod.GetMicrosoft365CopilotUsageUserDetailWithPeriodRequestBuilder -Microsoft.Graph.Beta.Reports.reportsRequestBuilder::|public|getMicrosoft365CopilotUserCountSummaryWithPeriod(period:string):global.Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUserCountSummaryWithPeriod.GetMicrosoft365CopilotUserCountSummaryWithPeriodRequestBuilder -Microsoft.Graph.Beta.Reports.reportsRequestBuilder::|public|getMicrosoft365CopilotUserCountTrendWithPeriod(period:string):global.Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUserCountTrendWithPeriod.GetMicrosoft365CopilotUserCountTrendWithPeriodRequestBuilder +Microsoft.Graph.Beta.Reports.reportsRequestBuilder::|public|getMicrosoft365CopilotUsageUserDetailWithPeriodWithVersion(period:string; version:string):global.Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUsageUserDetailWithPeriodWithVersion.GetMicrosoft365CopilotUsageUserDetailWithPeriodWithVersionRequestBuilder +Microsoft.Graph.Beta.Reports.reportsRequestBuilder::|public|getMicrosoft365CopilotUserCountSummaryWithPeriodWithVersion(period:string; version:string):global.Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUserCountSummaryWithPeriodWithVersion.GetMicrosoft365CopilotUserCountSummaryWithPeriodWithVersionRequestBuilder +Microsoft.Graph.Beta.Reports.reportsRequestBuilder::|public|getMicrosoft365CopilotUserCountTrendWithPeriodWithVersion(period:string; version:string):global.Microsoft.Graph.Beta.Reports.GetMicrosoft365CopilotUserCountTrendWithPeriodWithVersion.GetMicrosoft365CopilotUserCountTrendWithPeriodWithVersionRequestBuilder 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 @@ -266114,6 +266789,260 @@ Microsoft.Graph.Beta.Security.AuditLog.Queries.queriesRequestBuilder::|public|Po Microsoft.Graph.Beta.Security.AuditLog.Queries.queriesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Security.AuditLog.Queries.queriesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.Security.AuditLogQuery; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Security.AuditLog.Queries.queriesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Security.AuditLog.Queries.QueriesRequestBuilder +Microsoft.Graph.Beta.Security.CaseManagement.caseManagementRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Security.CaseManagement.caseManagementRequestBuilder.caseManagementRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.CaseManagement.caseManagementRequestBuilder.caseManagementRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Security.CaseManagement.caseManagementRequestBuilder.caseManagementRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Security.CaseManagement.caseManagementRequestBuilder.caseManagementRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.CaseManagement.caseManagementRequestBuilder.caseManagementRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.CaseManagement.caseManagementRequestBuilder::|public|cases:global.Microsoft.Graph.Beta.Security.CaseManagement.Cases.CasesRequestBuilder +Microsoft.Graph.Beta.Security.CaseManagement.caseManagementRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.CaseManagement.caseManagementRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.CaseManagement.caseManagementRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Security.CaseManagement.caseManagementRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Security.CaseManagementRoot +Microsoft.Graph.Beta.Security.CaseManagement.caseManagementRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.Security.CaseManagementRoot; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Security.CaseManagementRoot +Microsoft.Graph.Beta.Security.CaseManagement.caseManagementRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.CaseManagement.caseManagementRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.CaseManagement.caseManagementRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.Security.CaseManagementRoot; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.CaseManagement.caseManagementRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Security.CaseManagement.CaseManagementRequestBuilder +Microsoft.Graph.Beta.Security.CaseManagement.Cases.casesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Security.CaseManagement.Cases.casesRequestBuilder.casesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Security.CaseManagement.Cases.casesRequestBuilder.casesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Security.CaseManagement.Cases.casesRequestBuilder.casesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Security.CaseManagement.Cases.casesRequestBuilder.casesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Security.CaseManagement.Cases.casesRequestBuilder.casesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Security.CaseManagement.Cases.casesRequestBuilder.casesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Security.CaseManagement.Cases.casesRequestBuilder.casesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Security.CaseManagement.Cases.casesRequestBuilder.casesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Security.CaseManagement.Cases.casesRequestBuilder.casesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.CaseManagement.Cases.casesRequestBuilder.casesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.CaseManagement.Cases.casesRequestBuilder::[CaseId:string]:global.Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.CaseItemRequestBuilder +Microsoft.Graph.Beta.Security.CaseManagement.Cases.casesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.CaseManagement.Cases.casesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.CaseManagement.Cases.casesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Security.CaseManagement.Cases.Count.CountRequestBuilder +Microsoft.Graph.Beta.Security.CaseManagement.Cases.casesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Security.CaseManagement.CaseCollectionResponse +Microsoft.Graph.Beta.Security.CaseManagement.Cases.casesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.Security.CaseManagement.Case; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Security.CaseManagement.Case +Microsoft.Graph.Beta.Security.CaseManagement.Cases.casesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.CaseManagement.Cases.casesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.Security.CaseManagement.Case; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.CaseManagement.Cases.casesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Security.CaseManagement.Cases.CasesRequestBuilder +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Security.CaseManagement.Cases.Count.CountRequestBuilder +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Activities.activitiesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Activities.activitiesRequestBuilder.activitiesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Activities.activitiesRequestBuilder.activitiesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Activities.activitiesRequestBuilder.activitiesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Activities.activitiesRequestBuilder.activitiesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Activities.activitiesRequestBuilder.activitiesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Activities.activitiesRequestBuilder.activitiesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Activities.activitiesRequestBuilder.activitiesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Activities.activitiesRequestBuilder.activitiesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Activities.activitiesRequestBuilder.activitiesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Activities.activitiesRequestBuilder.activitiesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Activities.activitiesRequestBuilder::[ActivityId:string]:global.Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Activities.Item.ActivityItemRequestBuilder +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Activities.activitiesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Activities.activitiesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Activities.activitiesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Activities.Count.CountRequestBuilder +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Activities.activitiesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Security.CaseManagement.ActivityCollectionResponse +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Activities.activitiesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.Security.CaseManagement.Activity; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Security.CaseManagement.Activity +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Activities.activitiesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Activities.activitiesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.Security.CaseManagement.Activity; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Activities.activitiesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Activities.ActivitiesRequestBuilder +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Activities.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Activities.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Activities.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Activities.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Activities.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Activities.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Activities.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Activities.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Activities.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Activities.Count.CountRequestBuilder +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Activities.Item.ActivityItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Activities.Item.ActivityItemRequestBuilder.ActivityItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Activities.Item.ActivityItemRequestBuilder.ActivityItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Activities.Item.ActivityItemRequestBuilder.ActivityItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Activities.Item.ActivityItemRequestBuilder.ActivityItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Activities.Item.ActivityItemRequestBuilder.ActivityItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Activities.Item.ActivityItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Activities.Item.ActivityItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Activities.Item.ActivityItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Activities.Item.ActivityItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Security.CaseManagement.Activity +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Activities.Item.ActivityItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.Security.CaseManagement.Activity; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Security.CaseManagement.Activity +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Activities.Item.ActivityItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Activities.Item.ActivityItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Activities.Item.ActivityItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.Security.CaseManagement.Activity; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Activities.Item.ActivityItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Activities.Item.ActivityItemRequestBuilder +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments.attachmentsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments.attachmentsRequestBuilder.attachmentsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments.attachmentsRequestBuilder::[AttachmentId:string]:global.Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments.Item.AttachmentItemRequestBuilder +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments.attachmentsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments.attachmentsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments.attachmentsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments.Count.CountRequestBuilder +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments.attachmentsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Security.CaseManagement.AttachmentCollectionResponse +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments.attachmentsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.Security.CaseManagement.Attachment; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Security.CaseManagement.Attachment +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments.attachmentsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments.attachmentsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.Security.CaseManagement.Attachment; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments.attachmentsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments.AttachmentsRequestBuilder +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments.Count.CountRequestBuilder +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments.Item.AttachmentItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments.Item.AttachmentItemRequestBuilder.AttachmentItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments.Item.AttachmentItemRequestBuilder.AttachmentItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments.Item.AttachmentItemRequestBuilder.AttachmentItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments.Item.AttachmentItemRequestBuilder.AttachmentItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments.Item.AttachmentItemRequestBuilder.AttachmentItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments.Item.AttachmentItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments.Item.AttachmentItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments.Item.AttachmentItemRequestBuilder::|public|content:global.Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments.Item.Content.ContentRequestBuilder +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments.Item.AttachmentItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments.Item.AttachmentItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Security.CaseManagement.Attachment +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments.Item.AttachmentItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.Security.CaseManagement.Attachment; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Security.CaseManagement.Attachment +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments.Item.AttachmentItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments.Item.AttachmentItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments.Item.AttachmentItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.Security.CaseManagement.Attachment; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments.Item.AttachmentItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments.Item.AttachmentItemRequestBuilder +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments.Item.Content.contentRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments.Item.Content.contentRequestBuilder.contentRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments.Item.Content.contentRequestBuilder.contentRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments.Item.Content.contentRequestBuilder.contentRequestBuilderPutRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments.Item.Content.contentRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments.Item.Content.contentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments.Item.Content.contentRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments.Item.Content.contentRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments.Item.Content.contentRequestBuilder::|public|PutAsync(body:Stream; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Security.CaseManagement.Attachment +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments.Item.Content.contentRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments.Item.Content.contentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments.Item.Content.contentRequestBuilder::|public|ToPutRequestInformation(body:Stream; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments.Item.Content.contentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments.Item.Content.ContentRequestBuilder +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.CaseItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.CaseItemRequestBuilder.CaseItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.CaseItemRequestBuilder.CaseItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.CaseItemRequestBuilder.CaseItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.CaseItemRequestBuilder.CaseItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.CaseItemRequestBuilder.CaseItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.CaseItemRequestBuilder::|public|activities:global.Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Activities.ActivitiesRequestBuilder +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.CaseItemRequestBuilder::|public|attachments:global.Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Attachments.AttachmentsRequestBuilder +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.CaseItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.CaseItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.CaseItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.CaseItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Security.CaseManagement.Case +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.CaseItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.Security.CaseManagement.Case; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Security.CaseManagement.Case +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.CaseItemRequestBuilder::|public|relations:global.Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Relations.RelationsRequestBuilder +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.CaseItemRequestBuilder::|public|tasks:global.Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Tasks.TasksRequestBuilder +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.CaseItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.CaseItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.CaseItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.Security.CaseManagement.Case; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.CaseItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.CaseItemRequestBuilder +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Relations.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Relations.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Relations.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Relations.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Relations.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Relations.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Relations.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Relations.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Relations.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Relations.Count.CountRequestBuilder +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Relations.Item.RelationItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Relations.Item.RelationItemRequestBuilder.RelationItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Relations.Item.RelationItemRequestBuilder.RelationItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Relations.Item.RelationItemRequestBuilder.RelationItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Relations.Item.RelationItemRequestBuilder.RelationItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Relations.Item.RelationItemRequestBuilder.RelationItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Relations.Item.RelationItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Relations.Item.RelationItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Relations.Item.RelationItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Relations.Item.RelationItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Security.CaseManagement.Relation +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Relations.Item.RelationItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.Security.CaseManagement.Relation; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Security.CaseManagement.Relation +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Relations.Item.RelationItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Relations.Item.RelationItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Relations.Item.RelationItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.Security.CaseManagement.Relation; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Relations.Item.RelationItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Relations.Item.RelationItemRequestBuilder +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Relations.relationsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Relations.relationsRequestBuilder.relationsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Relations.relationsRequestBuilder.relationsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Relations.relationsRequestBuilder.relationsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Relations.relationsRequestBuilder.relationsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Relations.relationsRequestBuilder.relationsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Relations.relationsRequestBuilder.relationsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Relations.relationsRequestBuilder.relationsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Relations.relationsRequestBuilder.relationsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Relations.relationsRequestBuilder.relationsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Relations.relationsRequestBuilder.relationsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Relations.relationsRequestBuilder::[RelationId:string]:global.Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Relations.Item.RelationItemRequestBuilder +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Relations.relationsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Relations.relationsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Relations.relationsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Relations.Count.CountRequestBuilder +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Relations.relationsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Security.CaseManagement.RelationCollectionResponse +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Relations.relationsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.Security.CaseManagement.Relation; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Security.CaseManagement.Relation +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Relations.relationsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Relations.relationsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.Security.CaseManagement.Relation; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Relations.relationsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Relations.RelationsRequestBuilder +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Tasks.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Tasks.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Tasks.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Tasks.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Tasks.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Tasks.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Tasks.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Tasks.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Tasks.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Tasks.Count.CountRequestBuilder +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Tasks.Item.TaskItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Tasks.Item.TaskItemRequestBuilder.TaskItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Tasks.Item.TaskItemRequestBuilder.TaskItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Tasks.Item.TaskItemRequestBuilder.TaskItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Tasks.Item.TaskItemRequestBuilder.TaskItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Tasks.Item.TaskItemRequestBuilder.TaskItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Tasks.Item.TaskItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Tasks.Item.TaskItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Tasks.Item.TaskItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Tasks.Item.TaskItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Security.CaseManagement.TaskObject +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Tasks.Item.TaskItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.Security.CaseManagement.TaskObject; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Security.CaseManagement.TaskObject +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Tasks.Item.TaskItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Tasks.Item.TaskItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Tasks.Item.TaskItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.Security.CaseManagement.TaskObject; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Tasks.Item.TaskItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Tasks.Item.TaskItemRequestBuilder +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Tasks.tasksRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Tasks.tasksRequestBuilder.tasksRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Tasks.tasksRequestBuilder.tasksRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Tasks.tasksRequestBuilder.tasksRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Tasks.tasksRequestBuilder.tasksRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Tasks.tasksRequestBuilder.tasksRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Tasks.tasksRequestBuilder.tasksRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Tasks.tasksRequestBuilder.tasksRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Tasks.tasksRequestBuilder.tasksRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Tasks.tasksRequestBuilder.tasksRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Tasks.tasksRequestBuilder.tasksRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Tasks.tasksRequestBuilder::[TaskId:string]:global.Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Tasks.Item.TaskItemRequestBuilder +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Tasks.tasksRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Tasks.tasksRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Tasks.tasksRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Tasks.Count.CountRequestBuilder +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Tasks.tasksRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Security.CaseManagement.TaskCollectionResponse +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Tasks.tasksRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.Security.CaseManagement.TaskObject; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Security.CaseManagement.TaskObject +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Tasks.tasksRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Tasks.tasksRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.Security.CaseManagement.TaskObject; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Tasks.tasksRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Security.CaseManagement.Cases.Item.Tasks.TasksRequestBuilder Microsoft.Graph.Beta.Security.Cases.casesRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Security.Cases.casesRequestBuilder.casesRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Security.Cases.casesRequestBuilder.casesRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -266571,6 +267500,8 @@ Microsoft.Graph.Beta.Security.Cases.EdiscoveryCases.Item.LegalHolds.Item.Ediscov Microsoft.Graph.Beta.Security.Cases.EdiscoveryCases.Item.LegalHolds.Item.EdiscoveryHoldPolicyItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Security.Cases.EdiscoveryCases.Item.LegalHolds.Item.EdiscoveryHoldPolicyItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Security.Cases.EdiscoveryCases.Item.LegalHolds.Item.EdiscoveryHoldPolicyItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Security.EdiscoveryHoldPolicy +Microsoft.Graph.Beta.Security.Cases.EdiscoveryCases.Item.LegalHolds.Item.EdiscoveryHoldPolicyItemRequestBuilder::|public|microsoftGraphSecurityDisablePolicy:global.Microsoft.Graph.Beta.Security.Cases.EdiscoveryCases.Item.LegalHolds.Item.MicrosoftGraphSecurityDisablePolicy.MicrosoftGraphSecurityDisablePolicyRequestBuilder +Microsoft.Graph.Beta.Security.Cases.EdiscoveryCases.Item.LegalHolds.Item.EdiscoveryHoldPolicyItemRequestBuilder::|public|microsoftGraphSecurityEnablePolicy:global.Microsoft.Graph.Beta.Security.Cases.EdiscoveryCases.Item.LegalHolds.Item.MicrosoftGraphSecurityEnablePolicy.MicrosoftGraphSecurityEnablePolicyRequestBuilder Microsoft.Graph.Beta.Security.Cases.EdiscoveryCases.Item.LegalHolds.Item.EdiscoveryHoldPolicyItemRequestBuilder::|public|microsoftGraphSecurityRetryPolicy:global.Microsoft.Graph.Beta.Security.Cases.EdiscoveryCases.Item.LegalHolds.Item.MicrosoftGraphSecurityRetryPolicy.MicrosoftGraphSecurityRetryPolicyRequestBuilder Microsoft.Graph.Beta.Security.Cases.EdiscoveryCases.Item.LegalHolds.Item.EdiscoveryHoldPolicyItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.Security.EdiscoveryHoldPolicy; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Security.EdiscoveryHoldPolicy Microsoft.Graph.Beta.Security.Cases.EdiscoveryCases.Item.LegalHolds.Item.EdiscoveryHoldPolicyItemRequestBuilder::|public|siteSources:global.Microsoft.Graph.Beta.Security.Cases.EdiscoveryCases.Item.LegalHolds.Item.SiteSources.SiteSourcesRequestBuilder @@ -266579,6 +267510,20 @@ Microsoft.Graph.Beta.Security.Cases.EdiscoveryCases.Item.LegalHolds.Item.Ediscov Microsoft.Graph.Beta.Security.Cases.EdiscoveryCases.Item.LegalHolds.Item.EdiscoveryHoldPolicyItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.Security.EdiscoveryHoldPolicy; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Security.Cases.EdiscoveryCases.Item.LegalHolds.Item.EdiscoveryHoldPolicyItemRequestBuilder::|public|userSources:global.Microsoft.Graph.Beta.Security.Cases.EdiscoveryCases.Item.LegalHolds.Item.UserSources.UserSourcesRequestBuilder Microsoft.Graph.Beta.Security.Cases.EdiscoveryCases.Item.LegalHolds.Item.EdiscoveryHoldPolicyItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Security.Cases.EdiscoveryCases.Item.LegalHolds.Item.EdiscoveryHoldPolicyItemRequestBuilder +Microsoft.Graph.Beta.Security.Cases.EdiscoveryCases.Item.LegalHolds.Item.MicrosoftGraphSecurityDisablePolicy.microsoftGraphSecurityDisablePolicyRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Security.Cases.EdiscoveryCases.Item.LegalHolds.Item.MicrosoftGraphSecurityDisablePolicy.microsoftGraphSecurityDisablePolicyRequestBuilder.microsoftGraphSecurityDisablePolicyRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.Cases.EdiscoveryCases.Item.LegalHolds.Item.MicrosoftGraphSecurityDisablePolicy.microsoftGraphSecurityDisablePolicyRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.Cases.EdiscoveryCases.Item.LegalHolds.Item.MicrosoftGraphSecurityDisablePolicy.microsoftGraphSecurityDisablePolicyRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.Cases.EdiscoveryCases.Item.LegalHolds.Item.MicrosoftGraphSecurityDisablePolicy.microsoftGraphSecurityDisablePolicyRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Security.Cases.EdiscoveryCases.Item.LegalHolds.Item.MicrosoftGraphSecurityDisablePolicy.microsoftGraphSecurityDisablePolicyRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.Cases.EdiscoveryCases.Item.LegalHolds.Item.MicrosoftGraphSecurityDisablePolicy.microsoftGraphSecurityDisablePolicyRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Security.Cases.EdiscoveryCases.Item.LegalHolds.Item.MicrosoftGraphSecurityDisablePolicy.MicrosoftGraphSecurityDisablePolicyRequestBuilder +Microsoft.Graph.Beta.Security.Cases.EdiscoveryCases.Item.LegalHolds.Item.MicrosoftGraphSecurityEnablePolicy.microsoftGraphSecurityEnablePolicyRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Security.Cases.EdiscoveryCases.Item.LegalHolds.Item.MicrosoftGraphSecurityEnablePolicy.microsoftGraphSecurityEnablePolicyRequestBuilder.microsoftGraphSecurityEnablePolicyRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.Cases.EdiscoveryCases.Item.LegalHolds.Item.MicrosoftGraphSecurityEnablePolicy.microsoftGraphSecurityEnablePolicyRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.Cases.EdiscoveryCases.Item.LegalHolds.Item.MicrosoftGraphSecurityEnablePolicy.microsoftGraphSecurityEnablePolicyRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.Cases.EdiscoveryCases.Item.LegalHolds.Item.MicrosoftGraphSecurityEnablePolicy.microsoftGraphSecurityEnablePolicyRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Security.Cases.EdiscoveryCases.Item.LegalHolds.Item.MicrosoftGraphSecurityEnablePolicy.microsoftGraphSecurityEnablePolicyRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.Cases.EdiscoveryCases.Item.LegalHolds.Item.MicrosoftGraphSecurityEnablePolicy.microsoftGraphSecurityEnablePolicyRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Security.Cases.EdiscoveryCases.Item.LegalHolds.Item.MicrosoftGraphSecurityEnablePolicy.MicrosoftGraphSecurityEnablePolicyRequestBuilder Microsoft.Graph.Beta.Security.Cases.EdiscoveryCases.Item.LegalHolds.Item.MicrosoftGraphSecurityRetryPolicy.microsoftGraphSecurityRetryPolicyRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Security.Cases.EdiscoveryCases.Item.LegalHolds.Item.MicrosoftGraphSecurityRetryPolicy.microsoftGraphSecurityRetryPolicyRequestBuilder.microsoftGraphSecurityRetryPolicyRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Security.Cases.EdiscoveryCases.Item.LegalHolds.Item.MicrosoftGraphSecurityRetryPolicy.microsoftGraphSecurityRetryPolicyRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -270286,6 +271231,7 @@ Microsoft.Graph.Beta.Security.securityRequestBuilder::|public|alerts:global.Micr Microsoft.Graph.Beta.Security.securityRequestBuilder::|public|alerts_v2:global.Microsoft.Graph.Beta.Security.Alerts_v2.Alerts_v2RequestBuilder Microsoft.Graph.Beta.Security.securityRequestBuilder::|public|attackSimulation:global.Microsoft.Graph.Beta.Security.AttackSimulation.AttackSimulationRequestBuilder Microsoft.Graph.Beta.Security.securityRequestBuilder::|public|auditLog:global.Microsoft.Graph.Beta.Security.AuditLog.AuditLogRequestBuilder +Microsoft.Graph.Beta.Security.securityRequestBuilder::|public|caseManagement:global.Microsoft.Graph.Beta.Security.CaseManagement.CaseManagementRequestBuilder Microsoft.Graph.Beta.Security.securityRequestBuilder::|public|cases:global.Microsoft.Graph.Beta.Security.Cases.CasesRequestBuilder Microsoft.Graph.Beta.Security.securityRequestBuilder::|public|cloudAppSecurityProfiles:global.Microsoft.Graph.Beta.Security.CloudAppSecurityProfiles.CloudAppSecurityProfilesRequestBuilder Microsoft.Graph.Beta.Security.securityRequestBuilder::|public|collaboration:global.Microsoft.Graph.Beta.Security.Collaboration.CollaborationRequestBuilder @@ -291414,6 +292360,8 @@ Microsoft.Graph.Beta.Storage.FileStorage.Containers.containersRequestBuilder::|p Microsoft.Graph.Beta.Storage.FileStorage.Containers.containersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Storage.FileStorage.Containers.containersRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Storage.FileStorage.Containers.Count.CountRequestBuilder Microsoft.Graph.Beta.Storage.FileStorage.Containers.containersRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.FileStorageContainerCollectionResponse +Microsoft.Graph.Beta.Storage.FileStorage.Containers.containersRequestBuilder::|public|getByUserWithUserPrincipalName(userPrincipalName:string):global.Microsoft.Graph.Beta.Storage.FileStorage.Containers.GetByUserWithUserPrincipalName.GetByUserWithUserPrincipalNameRequestBuilder +Microsoft.Graph.Beta.Storage.FileStorage.Containers.containersRequestBuilder::|public|getByUserWithUserPrincipalNameWithRole(role:string; userPrincipalName:string):global.Microsoft.Graph.Beta.Storage.FileStorage.Containers.GetByUserWithUserPrincipalNameWithRole.GetByUserWithUserPrincipalNameWithRoleRequestBuilder Microsoft.Graph.Beta.Storage.FileStorage.Containers.containersRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.FileStorageContainer; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.FileStorageContainer Microsoft.Graph.Beta.Storage.FileStorage.Containers.containersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Storage.FileStorage.Containers.containersRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.FileStorageContainer; requestConfiguration?:Action>):RequestInformation @@ -291427,6 +292375,52 @@ Microsoft.Graph.Beta.Storage.FileStorage.Containers.Count.CountRequestBuilder::| Microsoft.Graph.Beta.Storage.FileStorage.Containers.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? Microsoft.Graph.Beta.Storage.FileStorage.Containers.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Storage.FileStorage.Containers.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Storage.FileStorage.Containers.Count.CountRequestBuilder +Microsoft.Graph.Beta.Storage.FileStorage.Containers.GetByUserWithUserPrincipalName.getByUserWithUserPrincipalNameGetResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Storage.FileStorage.Containers.GetByUserWithUserPrincipalName.getByUserWithUserPrincipalNameGetResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Storage.FileStorage.Containers.GetByUserWithUserPrincipalName.getByUserWithUserPrincipalNameGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Storage.FileStorage.Containers.GetByUserWithUserPrincipalName.getByUserWithUserPrincipalNameGetResponse::|public|Value:List +Microsoft.Graph.Beta.Storage.FileStorage.Containers.GetByUserWithUserPrincipalName.getByUserWithUserPrincipalNameGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Storage.FileStorage.Containers.GetByUserWithUserPrincipalName.GetByUserWithUserPrincipalNameGetResponse +Microsoft.Graph.Beta.Storage.FileStorage.Containers.GetByUserWithUserPrincipalName.getByUserWithUserPrincipalNameRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Storage.FileStorage.Containers.GetByUserWithUserPrincipalName.getByUserWithUserPrincipalNameRequestBuilder.getByUserWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Storage.FileStorage.Containers.GetByUserWithUserPrincipalName.getByUserWithUserPrincipalNameRequestBuilder.getByUserWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Storage.FileStorage.Containers.GetByUserWithUserPrincipalName.getByUserWithUserPrincipalNameRequestBuilder.getByUserWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Storage.FileStorage.Containers.GetByUserWithUserPrincipalName.getByUserWithUserPrincipalNameRequestBuilder.getByUserWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Storage.FileStorage.Containers.GetByUserWithUserPrincipalName.getByUserWithUserPrincipalNameRequestBuilder.getByUserWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Storage.FileStorage.Containers.GetByUserWithUserPrincipalName.getByUserWithUserPrincipalNameRequestBuilder.getByUserWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Storage.FileStorage.Containers.GetByUserWithUserPrincipalName.getByUserWithUserPrincipalNameRequestBuilder.getByUserWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Storage.FileStorage.Containers.GetByUserWithUserPrincipalName.getByUserWithUserPrincipalNameRequestBuilder.getByUserWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Storage.FileStorage.Containers.GetByUserWithUserPrincipalName.getByUserWithUserPrincipalNameRequestBuilder.getByUserWithUserPrincipalNameRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Storage.FileStorage.Containers.GetByUserWithUserPrincipalName.getByUserWithUserPrincipalNameRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter; userPrincipalName?:string):void +Microsoft.Graph.Beta.Storage.FileStorage.Containers.GetByUserWithUserPrincipalName.getByUserWithUserPrincipalNameRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Storage.FileStorage.Containers.GetByUserWithUserPrincipalName.getByUserWithUserPrincipalNameRequestBuilder::|public|GetAsGetByUserWithUserPrincipalNameGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Storage.FileStorage.Containers.GetByUserWithUserPrincipalName.GetByUserWithUserPrincipalNameGetResponse +Microsoft.Graph.Beta.Storage.FileStorage.Containers.GetByUserWithUserPrincipalName.getByUserWithUserPrincipalNameRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Storage.FileStorage.Containers.GetByUserWithUserPrincipalName.GetByUserWithUserPrincipalNameResponse +Microsoft.Graph.Beta.Storage.FileStorage.Containers.GetByUserWithUserPrincipalName.getByUserWithUserPrincipalNameRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Storage.FileStorage.Containers.GetByUserWithUserPrincipalName.getByUserWithUserPrincipalNameRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Storage.FileStorage.Containers.GetByUserWithUserPrincipalName.GetByUserWithUserPrincipalNameRequestBuilder +Microsoft.Graph.Beta.Storage.FileStorage.Containers.GetByUserWithUserPrincipalName.getByUserWithUserPrincipalNameResponse-->global.Microsoft.Graph.Beta.Storage.FileStorage.Containers.GetByUserWithUserPrincipalName.GetByUserWithUserPrincipalNameGetResponse +Microsoft.Graph.Beta.Storage.FileStorage.Containers.GetByUserWithUserPrincipalName.getByUserWithUserPrincipalNameResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Storage.FileStorage.Containers.GetByUserWithUserPrincipalName.GetByUserWithUserPrincipalNameResponse +Microsoft.Graph.Beta.Storage.FileStorage.Containers.GetByUserWithUserPrincipalNameWithRole.getByUserWithUserPrincipalNameWithRoleGetResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Storage.FileStorage.Containers.GetByUserWithUserPrincipalNameWithRole.getByUserWithUserPrincipalNameWithRoleGetResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Storage.FileStorage.Containers.GetByUserWithUserPrincipalNameWithRole.getByUserWithUserPrincipalNameWithRoleGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Storage.FileStorage.Containers.GetByUserWithUserPrincipalNameWithRole.getByUserWithUserPrincipalNameWithRoleGetResponse::|public|Value:List +Microsoft.Graph.Beta.Storage.FileStorage.Containers.GetByUserWithUserPrincipalNameWithRole.getByUserWithUserPrincipalNameWithRoleGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Storage.FileStorage.Containers.GetByUserWithUserPrincipalNameWithRole.GetByUserWithUserPrincipalNameWithRoleGetResponse +Microsoft.Graph.Beta.Storage.FileStorage.Containers.GetByUserWithUserPrincipalNameWithRole.getByUserWithUserPrincipalNameWithRoleRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Storage.FileStorage.Containers.GetByUserWithUserPrincipalNameWithRole.getByUserWithUserPrincipalNameWithRoleRequestBuilder.getByUserWithUserPrincipalNameWithRoleRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Storage.FileStorage.Containers.GetByUserWithUserPrincipalNameWithRole.getByUserWithUserPrincipalNameWithRoleRequestBuilder.getByUserWithUserPrincipalNameWithRoleRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Storage.FileStorage.Containers.GetByUserWithUserPrincipalNameWithRole.getByUserWithUserPrincipalNameWithRoleRequestBuilder.getByUserWithUserPrincipalNameWithRoleRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Storage.FileStorage.Containers.GetByUserWithUserPrincipalNameWithRole.getByUserWithUserPrincipalNameWithRoleRequestBuilder.getByUserWithUserPrincipalNameWithRoleRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Storage.FileStorage.Containers.GetByUserWithUserPrincipalNameWithRole.getByUserWithUserPrincipalNameWithRoleRequestBuilder.getByUserWithUserPrincipalNameWithRoleRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Storage.FileStorage.Containers.GetByUserWithUserPrincipalNameWithRole.getByUserWithUserPrincipalNameWithRoleRequestBuilder.getByUserWithUserPrincipalNameWithRoleRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Storage.FileStorage.Containers.GetByUserWithUserPrincipalNameWithRole.getByUserWithUserPrincipalNameWithRoleRequestBuilder.getByUserWithUserPrincipalNameWithRoleRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Storage.FileStorage.Containers.GetByUserWithUserPrincipalNameWithRole.getByUserWithUserPrincipalNameWithRoleRequestBuilder.getByUserWithUserPrincipalNameWithRoleRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Storage.FileStorage.Containers.GetByUserWithUserPrincipalNameWithRole.getByUserWithUserPrincipalNameWithRoleRequestBuilder.getByUserWithUserPrincipalNameWithRoleRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Storage.FileStorage.Containers.GetByUserWithUserPrincipalNameWithRole.getByUserWithUserPrincipalNameWithRoleRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter; role?:string; userPrincipalName?:string):void +Microsoft.Graph.Beta.Storage.FileStorage.Containers.GetByUserWithUserPrincipalNameWithRole.getByUserWithUserPrincipalNameWithRoleRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Storage.FileStorage.Containers.GetByUserWithUserPrincipalNameWithRole.getByUserWithUserPrincipalNameWithRoleRequestBuilder::|public|GetAsGetByUserWithUserPrincipalNameWithRoleGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Storage.FileStorage.Containers.GetByUserWithUserPrincipalNameWithRole.GetByUserWithUserPrincipalNameWithRoleGetResponse +Microsoft.Graph.Beta.Storage.FileStorage.Containers.GetByUserWithUserPrincipalNameWithRole.getByUserWithUserPrincipalNameWithRoleRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Storage.FileStorage.Containers.GetByUserWithUserPrincipalNameWithRole.GetByUserWithUserPrincipalNameWithRoleResponse +Microsoft.Graph.Beta.Storage.FileStorage.Containers.GetByUserWithUserPrincipalNameWithRole.getByUserWithUserPrincipalNameWithRoleRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Storage.FileStorage.Containers.GetByUserWithUserPrincipalNameWithRole.getByUserWithUserPrincipalNameWithRoleRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Storage.FileStorage.Containers.GetByUserWithUserPrincipalNameWithRole.GetByUserWithUserPrincipalNameWithRoleRequestBuilder +Microsoft.Graph.Beta.Storage.FileStorage.Containers.GetByUserWithUserPrincipalNameWithRole.getByUserWithUserPrincipalNameWithRoleResponse-->global.Microsoft.Graph.Beta.Storage.FileStorage.Containers.GetByUserWithUserPrincipalNameWithRole.GetByUserWithUserPrincipalNameWithRoleGetResponse +Microsoft.Graph.Beta.Storage.FileStorage.Containers.GetByUserWithUserPrincipalNameWithRole.getByUserWithUserPrincipalNameWithRoleResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Storage.FileStorage.Containers.GetByUserWithUserPrincipalNameWithRole.GetByUserWithUserPrincipalNameWithRoleResponse Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Activate.activateRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Activate.activateRequestBuilder.activateRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Activate.activateRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -292386,10 +293380,58 @@ Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.deletedContainersRequ Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.deletedContainersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.deletedContainersRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Count.CountRequestBuilder Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.deletedContainersRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.FileStorageContainerCollectionResponse +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.deletedContainersRequestBuilder::|public|getByUserWithUserPrincipalName(userPrincipalName:string):global.Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalName.GetByUserWithUserPrincipalNameRequestBuilder +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.deletedContainersRequestBuilder::|public|getByUserWithUserPrincipalNameWithRole(role:string; userPrincipalName:string):global.Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalNameWithRole.GetByUserWithUserPrincipalNameWithRoleRequestBuilder Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.deletedContainersRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.FileStorageContainer; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.FileStorageContainer Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.deletedContainersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.deletedContainersRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.FileStorageContainer; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.deletedContainersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.DeletedContainersRequestBuilder +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalName.getByUserWithUserPrincipalNameGetResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalName.getByUserWithUserPrincipalNameGetResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalName.getByUserWithUserPrincipalNameGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalName.getByUserWithUserPrincipalNameGetResponse::|public|Value:List +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalName.getByUserWithUserPrincipalNameGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalName.GetByUserWithUserPrincipalNameGetResponse +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalName.getByUserWithUserPrincipalNameRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalName.getByUserWithUserPrincipalNameRequestBuilder.getByUserWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalName.getByUserWithUserPrincipalNameRequestBuilder.getByUserWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalName.getByUserWithUserPrincipalNameRequestBuilder.getByUserWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalName.getByUserWithUserPrincipalNameRequestBuilder.getByUserWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalName.getByUserWithUserPrincipalNameRequestBuilder.getByUserWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalName.getByUserWithUserPrincipalNameRequestBuilder.getByUserWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalName.getByUserWithUserPrincipalNameRequestBuilder.getByUserWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalName.getByUserWithUserPrincipalNameRequestBuilder.getByUserWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalName.getByUserWithUserPrincipalNameRequestBuilder.getByUserWithUserPrincipalNameRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalName.getByUserWithUserPrincipalNameRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter; userPrincipalName?:string):void +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalName.getByUserWithUserPrincipalNameRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalName.getByUserWithUserPrincipalNameRequestBuilder::|public|GetAsGetByUserWithUserPrincipalNameGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalName.GetByUserWithUserPrincipalNameGetResponse +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalName.getByUserWithUserPrincipalNameRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalName.GetByUserWithUserPrincipalNameResponse +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalName.getByUserWithUserPrincipalNameRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalName.getByUserWithUserPrincipalNameRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalName.GetByUserWithUserPrincipalNameRequestBuilder +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalName.getByUserWithUserPrincipalNameResponse-->global.Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalName.GetByUserWithUserPrincipalNameGetResponse +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalName.getByUserWithUserPrincipalNameResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalName.GetByUserWithUserPrincipalNameResponse +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalNameWithRole.getByUserWithUserPrincipalNameWithRoleGetResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalNameWithRole.getByUserWithUserPrincipalNameWithRoleGetResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalNameWithRole.getByUserWithUserPrincipalNameWithRoleGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalNameWithRole.getByUserWithUserPrincipalNameWithRoleGetResponse::|public|Value:List +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalNameWithRole.getByUserWithUserPrincipalNameWithRoleGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalNameWithRole.GetByUserWithUserPrincipalNameWithRoleGetResponse +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalNameWithRole.getByUserWithUserPrincipalNameWithRoleRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalNameWithRole.getByUserWithUserPrincipalNameWithRoleRequestBuilder.getByUserWithUserPrincipalNameWithRoleRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalNameWithRole.getByUserWithUserPrincipalNameWithRoleRequestBuilder.getByUserWithUserPrincipalNameWithRoleRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalNameWithRole.getByUserWithUserPrincipalNameWithRoleRequestBuilder.getByUserWithUserPrincipalNameWithRoleRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalNameWithRole.getByUserWithUserPrincipalNameWithRoleRequestBuilder.getByUserWithUserPrincipalNameWithRoleRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalNameWithRole.getByUserWithUserPrincipalNameWithRoleRequestBuilder.getByUserWithUserPrincipalNameWithRoleRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalNameWithRole.getByUserWithUserPrincipalNameWithRoleRequestBuilder.getByUserWithUserPrincipalNameWithRoleRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalNameWithRole.getByUserWithUserPrincipalNameWithRoleRequestBuilder.getByUserWithUserPrincipalNameWithRoleRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalNameWithRole.getByUserWithUserPrincipalNameWithRoleRequestBuilder.getByUserWithUserPrincipalNameWithRoleRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalNameWithRole.getByUserWithUserPrincipalNameWithRoleRequestBuilder.getByUserWithUserPrincipalNameWithRoleRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalNameWithRole.getByUserWithUserPrincipalNameWithRoleRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter; role?:string; userPrincipalName?:string):void +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalNameWithRole.getByUserWithUserPrincipalNameWithRoleRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalNameWithRole.getByUserWithUserPrincipalNameWithRoleRequestBuilder::|public|GetAsGetByUserWithUserPrincipalNameWithRoleGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalNameWithRole.GetByUserWithUserPrincipalNameWithRoleGetResponse +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalNameWithRole.getByUserWithUserPrincipalNameWithRoleRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalNameWithRole.GetByUserWithUserPrincipalNameWithRoleResponse +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalNameWithRole.getByUserWithUserPrincipalNameWithRoleRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalNameWithRole.getByUserWithUserPrincipalNameWithRoleRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalNameWithRole.GetByUserWithUserPrincipalNameWithRoleRequestBuilder +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalNameWithRole.getByUserWithUserPrincipalNameWithRoleResponse-->global.Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalNameWithRole.GetByUserWithUserPrincipalNameWithRoleGetResponse +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalNameWithRole.getByUserWithUserPrincipalNameWithRoleResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.GetByUserWithUserPrincipalNameWithRole.GetByUserWithUserPrincipalNameWithRoleResponse Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Activate.activateRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Activate.activateRequestBuilder.activateRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Activate.activateRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -328399,6 +329441,13 @@ Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.GetNonCompliantSettings.getN Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.GetNonCompliantSettings.getNonCompliantSettingsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.GetNonCompliantSettings.GetNonCompliantSettingsRequestBuilder Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.GetNonCompliantSettings.getNonCompliantSettingsResponse-->global.Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.GetNonCompliantSettings.GetNonCompliantSettingsGetResponse Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.GetNonCompliantSettings.getNonCompliantSettingsResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.GetNonCompliantSettings.GetNonCompliantSettingsResponse +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.GetSyncStatus.getSyncStatusRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.GetSyncStatus.getSyncStatusRequestBuilder.getSyncStatusRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.GetSyncStatus.getSyncStatusRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.GetSyncStatus.getSyncStatusRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.GetSyncStatus.getSyncStatusRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.DeviceSyncStatusResponse +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.GetSyncStatus.getSyncStatusRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.GetSyncStatus.getSyncStatusRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.GetSyncStatus.GetSyncStatusRequestBuilder Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.InitiateDeviceAttestation.initiateDeviceAttestationRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.InitiateDeviceAttestation.initiateDeviceAttestationRequestBuilder.initiateDeviceAttestationRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.InitiateDeviceAttestation.initiateDeviceAttestationRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -328534,6 +329583,7 @@ Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.ManagedDeviceItemRequestBuil Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ManagedDevice Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|getFileVaultKey:global.Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.GetFileVaultKey.GetFileVaultKeyRequestBuilder Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|getNonCompliantSettings:global.Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.GetNonCompliantSettings.GetNonCompliantSettingsRequestBuilder +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|getSyncStatus:global.Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.GetSyncStatus.GetSyncStatusRequestBuilder Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|initiateDeviceAttestation:global.Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.InitiateDeviceAttestation.InitiateDeviceAttestationRequestBuilder Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|initiateMobileDeviceManagementKeyRecovery:global.Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.InitiateMobileDeviceManagementKeyRecovery.InitiateMobileDeviceManagementKeyRecoveryRequestBuilder Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|initiateOnDemandProactiveRemediation:global.Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.InitiateOnDemandProactiveRemediation.InitiateOnDemandProactiveRemediationRequestBuilder @@ -328549,6 +329599,7 @@ Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.ManagedDeviceItemRequestBuil Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|recoverPasscode:global.Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RecoverPasscode.RecoverPasscodeRequestBuilder Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|reenable:global.Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.Reenable.ReenableRequestBuilder Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|remoteLock:global.Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RemoteLock.RemoteLockRequestBuilder +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|removeDeviceEsim:global.Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RemoveDeviceEsim.RemoveDeviceEsimRequestBuilder Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|removeDeviceFirmwareConfigurationInterfaceManagement:global.Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RemoveDeviceFirmwareConfigurationInterfaceManagement.RemoveDeviceFirmwareConfigurationInterfaceManagementRequestBuilder Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|requestRemoteAssistance:global.Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RequestRemoteAssistance.RequestRemoteAssistanceRequestBuilder Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|resetPasscode:global.Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.ResetPasscode.ResetPasscodeRequestBuilder @@ -328697,6 +329748,21 @@ Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RemoteLock.remoteLockRequest Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RemoteLock.remoteLockRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RemoteLock.remoteLockRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RemoteLock.remoteLockRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RemoteLock.RemoteLockRequestBuilder +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RemoveDeviceEsim.removeDeviceEsimPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RemoveDeviceEsim.removeDeviceEsimPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RemoveDeviceEsim.removeDeviceEsimPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RemoveDeviceEsim.removeDeviceEsimPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RemoveDeviceEsim.removeDeviceEsimPostRequestBody::|public|IccId:string +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RemoveDeviceEsim.removeDeviceEsimPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RemoveDeviceEsim.removeDeviceEsimPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RemoveDeviceEsim.RemoveDeviceEsimPostRequestBody +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RemoveDeviceEsim.removeDeviceEsimPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RemoveDeviceEsim.removeDeviceEsimRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RemoveDeviceEsim.removeDeviceEsimRequestBuilder.removeDeviceEsimRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RemoveDeviceEsim.removeDeviceEsimRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RemoveDeviceEsim.removeDeviceEsimRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RemoveDeviceEsim.removeDeviceEsimRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RemoveDeviceEsim.RemoveDeviceEsimPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RemoveDeviceEsim.removeDeviceEsimRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RemoveDeviceEsim.RemoveDeviceEsimPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RemoveDeviceEsim.removeDeviceEsimRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RemoveDeviceEsim.RemoveDeviceEsimRequestBuilder Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RemoveDeviceFirmwareConfigurationInterfaceManagement.removeDeviceFirmwareConfigurationInterfaceManagementRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RemoveDeviceFirmwareConfigurationInterfaceManagement.removeDeviceFirmwareConfigurationInterfaceManagementRequestBuilder.removeDeviceFirmwareConfigurationInterfaceManagementRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RemoveDeviceFirmwareConfigurationInterfaceManagement.removeDeviceFirmwareConfigurationInterfaceManagementRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void diff --git a/src/Microsoft.Graph/Generated/kiota-lock.json b/src/Microsoft.Graph/Generated/kiota-lock.json index 33b85f080f35..e631957e582a 100644 --- a/src/Microsoft.Graph/Generated/kiota-lock.json +++ b/src/Microsoft.Graph/Generated/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "2EEED958DDC2EB82ED569D96A66E836B0FCFC612E4BA7060C83E5566393F19AD278DD9DEBEA8AFABCF6E7CBEB0EC6B5BDFFAF9D504C7AD0CAD2A6822673D66C8", + "descriptionHash": "7FFDA3DB756514383C41211671B9E2002A61382E1DB5F726220EDAC916CCE4E1B790FB9F1D81BABF14F5133672EE5BE06C23F0DA0E5145E0D7A92F25B1397F2E", "descriptionLocation": "../../msgraph-metadata/clean_beta_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.34.1",