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 eee993a7d0f..e2e6cf99fd1 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 @@ -60,7 +60,7 @@ public FoldersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Get all the mailboxFolder objects in the specified mailbox, including any search folders. + /// Get all the mailboxFolder objects in the specified mailbox, including any search folders. By default, hidden folders aren't returned. To include them, specify includeHiddenFolders=true. /// Find more info here /// /// A @@ -110,7 +110,7 @@ public FoldersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MailboxFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get all the mailboxFolder objects in the specified mailbox, including any search folders. + /// Get all the mailboxFolder objects in the specified mailbox, including any search folders. By default, hidden folders aren't returned. To include them, specify includeHiddenFolders=true. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -160,7 +160,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.FoldersRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get all the mailboxFolder objects in the specified mailbox, including any search folders. + /// Get all the mailboxFolder objects in the specified mailbox, including any search folders. By default, hidden folders aren't returned. To include them, specify includeHiddenFolders=true. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class FoldersRequestBuilderGetQueryParameters 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 194ef12d022..a892c1df0df 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 @@ -60,7 +60,7 @@ public ChildFoldersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) { } /// - /// Get the mailboxFolder collection under the specified mailboxFolder in a mailbox. + /// Get the mailboxFolder collection under the specified mailboxFolder in a mailbox. By default, hidden child folders aren't returned. To include them, specify includeHiddenFolders=true. /// Find more info here /// /// A @@ -109,7 +109,7 @@ public ChildFoldersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MailboxFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get the mailboxFolder collection under the specified mailboxFolder in a mailbox. + /// Get the mailboxFolder collection under the specified mailboxFolder in a mailbox. By default, hidden child folders aren't returned. To include them, specify includeHiddenFolders=true. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -159,7 +159,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.ChildFoldersRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get the mailboxFolder collection under the specified mailboxFolder in a mailbox. + /// Get the mailboxFolder collection under the specified mailboxFolder in a mailbox. By default, hidden child folders aren't returned. To include them, specify includeHiddenFolders=true. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ChildFoldersRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs index 7c3b59b1d23..569aabd6c90 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs @@ -2,6 +2,7 @@ #pragma warning disable CS0618 using Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.ContainedApps; using Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Files; +using Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Scripts; using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; using Microsoft.Kiota.Abstractions.Extensions; @@ -30,6 +31,11 @@ public partial class MobileAppContentItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Files.FilesRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the scripts property of the microsoft.graph.mobileAppContent entity. + public global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Scripts.ScriptsRequestBuilder Scripts + { + get => new global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Scripts.ScriptsRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Item/Scripts/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Item/Scripts/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..c9180636887 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Item/Scripts/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Scripts.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.androidLobApp/contentVersions/{mobileAppContent%2Did}/scripts/$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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.androidLobApp/contentVersions/{mobileAppContent%2Did}/scripts/$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.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.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Scripts.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/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Item/Scripts/Item/MobileAppContentScriptItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Item/Scripts/Item/MobileAppContentScriptItemRequestBuilder.cs new file mode 100644 index 00000000000..8de664bb3ef --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Item/Scripts/Item/MobileAppContentScriptItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Scripts.Item +{ + /// + /// Provides operations to manage the scripts property of the microsoft.graph.mobileAppContent entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MobileAppContentScriptItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MobileAppContentScriptItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.androidLobApp/contentVersions/{mobileAppContent%2Did}/scripts/{mobileAppContentScript%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 MobileAppContentScriptItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.androidLobApp/contentVersions/{mobileAppContent%2Did}/scripts/{mobileAppContentScript%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property scripts for deviceAppManagement + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The list of scripts for this app content version. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MobileAppContentScript.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property scripts in deviceAppManagement + /// + /// 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.Models.MobileAppContentScript body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.MobileAppContentScript 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MobileAppContentScript.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property scripts for deviceAppManagement + /// + /// 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 list of scripts for this app content version. + /// + /// 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 scripts in deviceAppManagement + /// + /// 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.Models.MobileAppContentScript body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.MobileAppContentScript 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.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder(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 MobileAppContentScriptItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// The list of scripts for this app content version. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MobileAppContentScriptItemRequestBuilderGetQueryParameters + { + /// 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 MobileAppContentScriptItemRequestBuilderGetRequestConfiguration : 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 MobileAppContentScriptItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Item/Scripts/ScriptsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Item/Scripts/ScriptsRequestBuilder.cs new file mode 100644 index 00000000000..03ae0e0ae5a --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Item/Scripts/ScriptsRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Scripts.Count; +using Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Scripts.Item; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Scripts +{ + /// + /// Provides operations to manage the scripts property of the microsoft.graph.mobileAppContent entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ScriptsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the scripts property of the microsoft.graph.mobileAppContent entity. + /// The unique identifier of mobileAppContentScript + /// A + public global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("mobileAppContentScript%2Did", position); + return new global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder(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 ScriptsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.androidLobApp/contentVersions/{mobileAppContent%2Did}/scripts{?%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 ScriptsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.androidLobApp/contentVersions/{mobileAppContent%2Did}/scripts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The list of scripts for this app content version. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MobileAppContentScriptCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to scripts for deviceAppManagement + /// + /// 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.Models.MobileAppContentScript body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.MobileAppContentScript 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MobileAppContentScript.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The list of scripts for this app content version. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to scripts for deviceAppManagement + /// + /// 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.Models.MobileAppContentScript body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.MobileAppContentScript 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.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Scripts.ScriptsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Scripts.ScriptsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The list of scripts for this app content version. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ScriptsRequestBuilderGetQueryParameters + { + /// 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 ScriptsRequestBuilderGetRequestConfiguration : 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 ScriptsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs index 7fba8c4a314..c279909d403 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs @@ -2,6 +2,7 @@ #pragma warning disable CS0618 using Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.ContainedApps; using Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Files; +using Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Scripts; using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; using Microsoft.Kiota.Abstractions.Extensions; @@ -30,6 +31,11 @@ public partial class MobileAppContentItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Files.FilesRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the scripts property of the microsoft.graph.mobileAppContent entity. + public global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Scripts.ScriptsRequestBuilder Scripts + { + get => new global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Scripts.ScriptsRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Item/Scripts/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Item/Scripts/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..9413cee2277 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Item/Scripts/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Scripts.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.iosLobApp/contentVersions/{mobileAppContent%2Did}/scripts/$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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.iosLobApp/contentVersions/{mobileAppContent%2Did}/scripts/$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.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.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Scripts.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/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Item/Scripts/Item/MobileAppContentScriptItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Item/Scripts/Item/MobileAppContentScriptItemRequestBuilder.cs new file mode 100644 index 00000000000..c613bff92ae --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Item/Scripts/Item/MobileAppContentScriptItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Scripts.Item +{ + /// + /// Provides operations to manage the scripts property of the microsoft.graph.mobileAppContent entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MobileAppContentScriptItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MobileAppContentScriptItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.iosLobApp/contentVersions/{mobileAppContent%2Did}/scripts/{mobileAppContentScript%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 MobileAppContentScriptItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.iosLobApp/contentVersions/{mobileAppContent%2Did}/scripts/{mobileAppContentScript%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property scripts for deviceAppManagement + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The list of scripts for this app content version. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MobileAppContentScript.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property scripts in deviceAppManagement + /// + /// 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.Models.MobileAppContentScript body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.MobileAppContentScript 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MobileAppContentScript.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property scripts for deviceAppManagement + /// + /// 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 list of scripts for this app content version. + /// + /// 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 scripts in deviceAppManagement + /// + /// 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.Models.MobileAppContentScript body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.MobileAppContentScript 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.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder(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 MobileAppContentScriptItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// The list of scripts for this app content version. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MobileAppContentScriptItemRequestBuilderGetQueryParameters + { + /// 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 MobileAppContentScriptItemRequestBuilderGetRequestConfiguration : 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 MobileAppContentScriptItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Item/Scripts/ScriptsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Item/Scripts/ScriptsRequestBuilder.cs new file mode 100644 index 00000000000..d0433c7d1fa --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Item/Scripts/ScriptsRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Scripts.Count; +using Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Scripts.Item; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Scripts +{ + /// + /// Provides operations to manage the scripts property of the microsoft.graph.mobileAppContent entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ScriptsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the scripts property of the microsoft.graph.mobileAppContent entity. + /// The unique identifier of mobileAppContentScript + /// A + public global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("mobileAppContentScript%2Did", position); + return new global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder(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 ScriptsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.iosLobApp/contentVersions/{mobileAppContent%2Did}/scripts{?%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 ScriptsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.iosLobApp/contentVersions/{mobileAppContent%2Did}/scripts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The list of scripts for this app content version. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MobileAppContentScriptCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to scripts for deviceAppManagement + /// + /// 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.Models.MobileAppContentScript body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.MobileAppContentScript 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MobileAppContentScript.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The list of scripts for this app content version. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to scripts for deviceAppManagement + /// + /// 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.Models.MobileAppContentScript body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.MobileAppContentScript 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.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Scripts.ScriptsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Scripts.ScriptsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The list of scripts for this app content version. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ScriptsRequestBuilderGetQueryParameters + { + /// 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 ScriptsRequestBuilderGetRequestConfiguration : 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 ScriptsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs index 29e3d150168..817b939755b 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs @@ -2,6 +2,7 @@ #pragma warning disable CS0618 using Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.ContainedApps; using Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Files; +using Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Scripts; using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; using Microsoft.Kiota.Abstractions.Extensions; @@ -30,6 +31,11 @@ public partial class MobileAppContentItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Files.FilesRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the scripts property of the microsoft.graph.mobileAppContent entity. + public global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Scripts.ScriptsRequestBuilder Scripts + { + get => new global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Scripts.ScriptsRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Item/Scripts/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Item/Scripts/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..f86c00a3dd2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Item/Scripts/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Scripts.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.macOSDmgApp/contentVersions/{mobileAppContent%2Did}/scripts/$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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.macOSDmgApp/contentVersions/{mobileAppContent%2Did}/scripts/$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.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.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Scripts.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/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Item/Scripts/Item/MobileAppContentScriptItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Item/Scripts/Item/MobileAppContentScriptItemRequestBuilder.cs new file mode 100644 index 00000000000..d2025510b3d --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Item/Scripts/Item/MobileAppContentScriptItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Scripts.Item +{ + /// + /// Provides operations to manage the scripts property of the microsoft.graph.mobileAppContent entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MobileAppContentScriptItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MobileAppContentScriptItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.macOSDmgApp/contentVersions/{mobileAppContent%2Did}/scripts/{mobileAppContentScript%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 MobileAppContentScriptItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.macOSDmgApp/contentVersions/{mobileAppContent%2Did}/scripts/{mobileAppContentScript%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property scripts for deviceAppManagement + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The list of scripts for this app content version. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MobileAppContentScript.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property scripts in deviceAppManagement + /// + /// 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.Models.MobileAppContentScript body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.MobileAppContentScript 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MobileAppContentScript.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property scripts for deviceAppManagement + /// + /// 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 list of scripts for this app content version. + /// + /// 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 scripts in deviceAppManagement + /// + /// 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.Models.MobileAppContentScript body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.MobileAppContentScript 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.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder(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 MobileAppContentScriptItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// The list of scripts for this app content version. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MobileAppContentScriptItemRequestBuilderGetQueryParameters + { + /// 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 MobileAppContentScriptItemRequestBuilderGetRequestConfiguration : 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 MobileAppContentScriptItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Item/Scripts/ScriptsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Item/Scripts/ScriptsRequestBuilder.cs new file mode 100644 index 00000000000..5910468b9d9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Item/Scripts/ScriptsRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Scripts.Count; +using Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Scripts.Item; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Scripts +{ + /// + /// Provides operations to manage the scripts property of the microsoft.graph.mobileAppContent entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ScriptsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the scripts property of the microsoft.graph.mobileAppContent entity. + /// The unique identifier of mobileAppContentScript + /// A + public global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("mobileAppContentScript%2Did", position); + return new global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder(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 ScriptsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.macOSDmgApp/contentVersions/{mobileAppContent%2Did}/scripts{?%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 ScriptsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.macOSDmgApp/contentVersions/{mobileAppContent%2Did}/scripts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The list of scripts for this app content version. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MobileAppContentScriptCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to scripts for deviceAppManagement + /// + /// 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.Models.MobileAppContentScript body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.MobileAppContentScript 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MobileAppContentScript.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The list of scripts for this app content version. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to scripts for deviceAppManagement + /// + /// 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.Models.MobileAppContentScript body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.MobileAppContentScript 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.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Scripts.ScriptsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Scripts.ScriptsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The list of scripts for this app content version. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ScriptsRequestBuilderGetQueryParameters + { + /// 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 ScriptsRequestBuilderGetRequestConfiguration : 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 ScriptsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs index 939d5f50fdc..c63a23ce225 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs @@ -2,6 +2,7 @@ #pragma warning disable CS0618 using Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.ContainedApps; using Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Files; +using Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Scripts; using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; using Microsoft.Kiota.Abstractions.Extensions; @@ -30,6 +31,11 @@ public partial class MobileAppContentItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Files.FilesRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the scripts property of the microsoft.graph.mobileAppContent entity. + public global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Scripts.ScriptsRequestBuilder Scripts + { + get => new global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Scripts.ScriptsRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Item/Scripts/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Item/Scripts/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..029fbdce5b0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Item/Scripts/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Scripts.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.macOSLobApp/contentVersions/{mobileAppContent%2Did}/scripts/$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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.macOSLobApp/contentVersions/{mobileAppContent%2Did}/scripts/$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.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.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Scripts.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/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Item/Scripts/Item/MobileAppContentScriptItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Item/Scripts/Item/MobileAppContentScriptItemRequestBuilder.cs new file mode 100644 index 00000000000..d2569637916 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Item/Scripts/Item/MobileAppContentScriptItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Scripts.Item +{ + /// + /// Provides operations to manage the scripts property of the microsoft.graph.mobileAppContent entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MobileAppContentScriptItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MobileAppContentScriptItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.macOSLobApp/contentVersions/{mobileAppContent%2Did}/scripts/{mobileAppContentScript%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 MobileAppContentScriptItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.macOSLobApp/contentVersions/{mobileAppContent%2Did}/scripts/{mobileAppContentScript%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property scripts for deviceAppManagement + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The list of scripts for this app content version. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MobileAppContentScript.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property scripts in deviceAppManagement + /// + /// 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.Models.MobileAppContentScript body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.MobileAppContentScript 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MobileAppContentScript.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property scripts for deviceAppManagement + /// + /// 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 list of scripts for this app content version. + /// + /// 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 scripts in deviceAppManagement + /// + /// 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.Models.MobileAppContentScript body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.MobileAppContentScript 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.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder(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 MobileAppContentScriptItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// The list of scripts for this app content version. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MobileAppContentScriptItemRequestBuilderGetQueryParameters + { + /// 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 MobileAppContentScriptItemRequestBuilderGetRequestConfiguration : 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 MobileAppContentScriptItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Item/Scripts/ScriptsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Item/Scripts/ScriptsRequestBuilder.cs new file mode 100644 index 00000000000..ae68ff0eb07 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Item/Scripts/ScriptsRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Scripts.Count; +using Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Scripts.Item; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Scripts +{ + /// + /// Provides operations to manage the scripts property of the microsoft.graph.mobileAppContent entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ScriptsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the scripts property of the microsoft.graph.mobileAppContent entity. + /// The unique identifier of mobileAppContentScript + /// A + public global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("mobileAppContentScript%2Did", position); + return new global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder(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 ScriptsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.macOSLobApp/contentVersions/{mobileAppContent%2Did}/scripts{?%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 ScriptsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.macOSLobApp/contentVersions/{mobileAppContent%2Did}/scripts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The list of scripts for this app content version. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MobileAppContentScriptCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to scripts for deviceAppManagement + /// + /// 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.Models.MobileAppContentScript body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.MobileAppContentScript 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MobileAppContentScript.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The list of scripts for this app content version. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to scripts for deviceAppManagement + /// + /// 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.Models.MobileAppContentScript body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.MobileAppContentScript 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.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Scripts.ScriptsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Scripts.ScriptsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The list of scripts for this app content version. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ScriptsRequestBuilderGetQueryParameters + { + /// 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 ScriptsRequestBuilderGetRequestConfiguration : 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 ScriptsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs index fbbd95e60ab..24e289dafa9 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs @@ -2,6 +2,7 @@ #pragma warning disable CS0618 using Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.ContainedApps; using Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Files; +using Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Scripts; using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; using Microsoft.Kiota.Abstractions.Extensions; @@ -30,6 +31,11 @@ public partial class MobileAppContentItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Files.FilesRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the scripts property of the microsoft.graph.mobileAppContent entity. + public global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Scripts.ScriptsRequestBuilder Scripts + { + get => new global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Scripts.ScriptsRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Item/Scripts/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Item/Scripts/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..5cf18a252a0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Item/Scripts/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Scripts.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.managedAndroidLobApp/contentVersions/{mobileAppContent%2Did}/scripts/$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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.managedAndroidLobApp/contentVersions/{mobileAppContent%2Did}/scripts/$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.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.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Scripts.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/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Item/Scripts/Item/MobileAppContentScriptItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Item/Scripts/Item/MobileAppContentScriptItemRequestBuilder.cs new file mode 100644 index 00000000000..48c2607e9ef --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Item/Scripts/Item/MobileAppContentScriptItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Scripts.Item +{ + /// + /// Provides operations to manage the scripts property of the microsoft.graph.mobileAppContent entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MobileAppContentScriptItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MobileAppContentScriptItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.managedAndroidLobApp/contentVersions/{mobileAppContent%2Did}/scripts/{mobileAppContentScript%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 MobileAppContentScriptItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.managedAndroidLobApp/contentVersions/{mobileAppContent%2Did}/scripts/{mobileAppContentScript%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property scripts for deviceAppManagement + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The list of scripts for this app content version. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MobileAppContentScript.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property scripts in deviceAppManagement + /// + /// 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.Models.MobileAppContentScript body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.MobileAppContentScript 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MobileAppContentScript.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property scripts for deviceAppManagement + /// + /// 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 list of scripts for this app content version. + /// + /// 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 scripts in deviceAppManagement + /// + /// 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.Models.MobileAppContentScript body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.MobileAppContentScript 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.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder(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 MobileAppContentScriptItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// The list of scripts for this app content version. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MobileAppContentScriptItemRequestBuilderGetQueryParameters + { + /// 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 MobileAppContentScriptItemRequestBuilderGetRequestConfiguration : 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 MobileAppContentScriptItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Item/Scripts/ScriptsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Item/Scripts/ScriptsRequestBuilder.cs new file mode 100644 index 00000000000..2e426dc0884 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Item/Scripts/ScriptsRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Scripts.Count; +using Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Scripts.Item; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Scripts +{ + /// + /// Provides operations to manage the scripts property of the microsoft.graph.mobileAppContent entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ScriptsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the scripts property of the microsoft.graph.mobileAppContent entity. + /// The unique identifier of mobileAppContentScript + /// A + public global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("mobileAppContentScript%2Did", position); + return new global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder(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 ScriptsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.managedAndroidLobApp/contentVersions/{mobileAppContent%2Did}/scripts{?%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 ScriptsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.managedAndroidLobApp/contentVersions/{mobileAppContent%2Did}/scripts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The list of scripts for this app content version. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MobileAppContentScriptCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to scripts for deviceAppManagement + /// + /// 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.Models.MobileAppContentScript body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.MobileAppContentScript 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MobileAppContentScript.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The list of scripts for this app content version. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to scripts for deviceAppManagement + /// + /// 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.Models.MobileAppContentScript body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.MobileAppContentScript 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.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Scripts.ScriptsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Scripts.ScriptsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The list of scripts for this app content version. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ScriptsRequestBuilderGetQueryParameters + { + /// 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 ScriptsRequestBuilderGetRequestConfiguration : 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 ScriptsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs index 0040e53bc00..33e6ebd2677 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs @@ -2,6 +2,7 @@ #pragma warning disable CS0618 using Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.ContainedApps; using Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Files; +using Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Scripts; using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; using Microsoft.Kiota.Abstractions.Extensions; @@ -30,6 +31,11 @@ public partial class MobileAppContentItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Files.FilesRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the scripts property of the microsoft.graph.mobileAppContent entity. + public global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Scripts.ScriptsRequestBuilder Scripts + { + get => new global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Scripts.ScriptsRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Item/Scripts/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Item/Scripts/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..f07b447ded1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Item/Scripts/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Scripts.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.managedIOSLobApp/contentVersions/{mobileAppContent%2Did}/scripts/$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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.managedIOSLobApp/contentVersions/{mobileAppContent%2Did}/scripts/$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.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.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Scripts.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/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Item/Scripts/Item/MobileAppContentScriptItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Item/Scripts/Item/MobileAppContentScriptItemRequestBuilder.cs new file mode 100644 index 00000000000..0731b84e28f --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Item/Scripts/Item/MobileAppContentScriptItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Scripts.Item +{ + /// + /// Provides operations to manage the scripts property of the microsoft.graph.mobileAppContent entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MobileAppContentScriptItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MobileAppContentScriptItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.managedIOSLobApp/contentVersions/{mobileAppContent%2Did}/scripts/{mobileAppContentScript%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 MobileAppContentScriptItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.managedIOSLobApp/contentVersions/{mobileAppContent%2Did}/scripts/{mobileAppContentScript%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property scripts for deviceAppManagement + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The list of scripts for this app content version. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MobileAppContentScript.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property scripts in deviceAppManagement + /// + /// 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.Models.MobileAppContentScript body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.MobileAppContentScript 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MobileAppContentScript.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property scripts for deviceAppManagement + /// + /// 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 list of scripts for this app content version. + /// + /// 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 scripts in deviceAppManagement + /// + /// 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.Models.MobileAppContentScript body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.MobileAppContentScript 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.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder(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 MobileAppContentScriptItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// The list of scripts for this app content version. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MobileAppContentScriptItemRequestBuilderGetQueryParameters + { + /// 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 MobileAppContentScriptItemRequestBuilderGetRequestConfiguration : 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 MobileAppContentScriptItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Item/Scripts/ScriptsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Item/Scripts/ScriptsRequestBuilder.cs new file mode 100644 index 00000000000..5cd8c7a24f6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Item/Scripts/ScriptsRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Scripts.Count; +using Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Scripts.Item; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Scripts +{ + /// + /// Provides operations to manage the scripts property of the microsoft.graph.mobileAppContent entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ScriptsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the scripts property of the microsoft.graph.mobileAppContent entity. + /// The unique identifier of mobileAppContentScript + /// A + public global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("mobileAppContentScript%2Did", position); + return new global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder(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 ScriptsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.managedIOSLobApp/contentVersions/{mobileAppContent%2Did}/scripts{?%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 ScriptsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.managedIOSLobApp/contentVersions/{mobileAppContent%2Did}/scripts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The list of scripts for this app content version. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MobileAppContentScriptCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to scripts for deviceAppManagement + /// + /// 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.Models.MobileAppContentScript body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.MobileAppContentScript 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MobileAppContentScript.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The list of scripts for this app content version. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to scripts for deviceAppManagement + /// + /// 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.Models.MobileAppContentScript body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.MobileAppContentScript 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.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Scripts.ScriptsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Scripts.ScriptsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The list of scripts for this app content version. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ScriptsRequestBuilderGetQueryParameters + { + /// 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 ScriptsRequestBuilderGetRequestConfiguration : 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 ScriptsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs index a104e203c96..d6caa096309 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs @@ -2,6 +2,7 @@ #pragma warning disable CS0618 using Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.ContainedApps; using Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Files; +using Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Scripts; using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; using Microsoft.Kiota.Abstractions.Extensions; @@ -30,6 +31,11 @@ public partial class MobileAppContentItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Files.FilesRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the scripts property of the microsoft.graph.mobileAppContent entity. + public global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Scripts.ScriptsRequestBuilder Scripts + { + get => new global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Scripts.ScriptsRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Item/Scripts/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Item/Scripts/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..f8b98bc5d04 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Item/Scripts/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Scripts.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.managedMobileLobApp/contentVersions/{mobileAppContent%2Did}/scripts/$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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.managedMobileLobApp/contentVersions/{mobileAppContent%2Did}/scripts/$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.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.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Scripts.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/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Item/Scripts/Item/MobileAppContentScriptItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Item/Scripts/Item/MobileAppContentScriptItemRequestBuilder.cs new file mode 100644 index 00000000000..d813649310f --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Item/Scripts/Item/MobileAppContentScriptItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Scripts.Item +{ + /// + /// Provides operations to manage the scripts property of the microsoft.graph.mobileAppContent entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MobileAppContentScriptItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MobileAppContentScriptItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.managedMobileLobApp/contentVersions/{mobileAppContent%2Did}/scripts/{mobileAppContentScript%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 MobileAppContentScriptItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.managedMobileLobApp/contentVersions/{mobileAppContent%2Did}/scripts/{mobileAppContentScript%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property scripts for deviceAppManagement + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The list of scripts for this app content version. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MobileAppContentScript.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property scripts in deviceAppManagement + /// + /// 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.Models.MobileAppContentScript body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.MobileAppContentScript 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MobileAppContentScript.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property scripts for deviceAppManagement + /// + /// 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 list of scripts for this app content version. + /// + /// 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 scripts in deviceAppManagement + /// + /// 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.Models.MobileAppContentScript body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.MobileAppContentScript 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.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder(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 MobileAppContentScriptItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// The list of scripts for this app content version. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MobileAppContentScriptItemRequestBuilderGetQueryParameters + { + /// 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 MobileAppContentScriptItemRequestBuilderGetRequestConfiguration : 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 MobileAppContentScriptItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Item/Scripts/ScriptsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Item/Scripts/ScriptsRequestBuilder.cs new file mode 100644 index 00000000000..830a1477bfc --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Item/Scripts/ScriptsRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Scripts.Count; +using Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Scripts.Item; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Scripts +{ + /// + /// Provides operations to manage the scripts property of the microsoft.graph.mobileAppContent entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ScriptsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the scripts property of the microsoft.graph.mobileAppContent entity. + /// The unique identifier of mobileAppContentScript + /// A + public global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("mobileAppContentScript%2Did", position); + return new global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder(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 ScriptsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.managedMobileLobApp/contentVersions/{mobileAppContent%2Did}/scripts{?%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 ScriptsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.managedMobileLobApp/contentVersions/{mobileAppContent%2Did}/scripts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The list of scripts for this app content version. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MobileAppContentScriptCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to scripts for deviceAppManagement + /// + /// 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.Models.MobileAppContentScript body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.MobileAppContentScript 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MobileAppContentScript.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The list of scripts for this app content version. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to scripts for deviceAppManagement + /// + /// 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.Models.MobileAppContentScript body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.MobileAppContentScript 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.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Scripts.ScriptsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Scripts.ScriptsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The list of scripts for this app content version. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ScriptsRequestBuilderGetQueryParameters + { + /// 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 ScriptsRequestBuilderGetRequestConfiguration : 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 ScriptsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs index 8419f92dd93..f73c988fae2 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs @@ -2,6 +2,7 @@ #pragma warning disable CS0618 using Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.ContainedApps; using Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Files; +using Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Scripts; using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; using Microsoft.Kiota.Abstractions.Extensions; @@ -30,6 +31,11 @@ public partial class MobileAppContentItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Files.FilesRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the scripts property of the microsoft.graph.mobileAppContent entity. + public global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Scripts.ScriptsRequestBuilder Scripts + { + get => new global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Scripts.ScriptsRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Item/Scripts/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Item/Scripts/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..ed40bbf8c6e --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Item/Scripts/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Scripts.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.win32LobApp/contentVersions/{mobileAppContent%2Did}/scripts/$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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.win32LobApp/contentVersions/{mobileAppContent%2Did}/scripts/$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.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.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Scripts.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/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Item/Scripts/Item/MobileAppContentScriptItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Item/Scripts/Item/MobileAppContentScriptItemRequestBuilder.cs new file mode 100644 index 00000000000..ca2fad9c5b9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Item/Scripts/Item/MobileAppContentScriptItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Scripts.Item +{ + /// + /// Provides operations to manage the scripts property of the microsoft.graph.mobileAppContent entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MobileAppContentScriptItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MobileAppContentScriptItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.win32LobApp/contentVersions/{mobileAppContent%2Did}/scripts/{mobileAppContentScript%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 MobileAppContentScriptItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.win32LobApp/contentVersions/{mobileAppContent%2Did}/scripts/{mobileAppContentScript%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property scripts for deviceAppManagement + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The list of scripts for this app content version. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MobileAppContentScript.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property scripts in deviceAppManagement + /// + /// 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.Models.MobileAppContentScript body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.MobileAppContentScript 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MobileAppContentScript.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property scripts for deviceAppManagement + /// + /// 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 list of scripts for this app content version. + /// + /// 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 scripts in deviceAppManagement + /// + /// 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.Models.MobileAppContentScript body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.MobileAppContentScript 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.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder(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 MobileAppContentScriptItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// The list of scripts for this app content version. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MobileAppContentScriptItemRequestBuilderGetQueryParameters + { + /// 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 MobileAppContentScriptItemRequestBuilderGetRequestConfiguration : 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 MobileAppContentScriptItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Item/Scripts/ScriptsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Item/Scripts/ScriptsRequestBuilder.cs new file mode 100644 index 00000000000..b9e34756200 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Item/Scripts/ScriptsRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Scripts.Count; +using Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Scripts.Item; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Scripts +{ + /// + /// Provides operations to manage the scripts property of the microsoft.graph.mobileAppContent entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ScriptsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the scripts property of the microsoft.graph.mobileAppContent entity. + /// The unique identifier of mobileAppContentScript + /// A + public global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("mobileAppContentScript%2Did", position); + return new global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder(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 ScriptsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.win32LobApp/contentVersions/{mobileAppContent%2Did}/scripts{?%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 ScriptsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.win32LobApp/contentVersions/{mobileAppContent%2Did}/scripts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The list of scripts for this app content version. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MobileAppContentScriptCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to scripts for deviceAppManagement + /// + /// 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.Models.MobileAppContentScript body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.MobileAppContentScript 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MobileAppContentScript.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The list of scripts for this app content version. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to scripts for deviceAppManagement + /// + /// 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.Models.MobileAppContentScript body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.MobileAppContentScript 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.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Scripts.ScriptsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Scripts.ScriptsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The list of scripts for this app content version. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ScriptsRequestBuilderGetQueryParameters + { + /// 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 ScriptsRequestBuilderGetRequestConfiguration : 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 ScriptsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs index c902bcf898c..b74937299c6 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs @@ -2,6 +2,7 @@ #pragma warning disable CS0618 using Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.ContainedApps; using Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Files; +using Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Scripts; using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; using Microsoft.Kiota.Abstractions.Extensions; @@ -30,6 +31,11 @@ public partial class MobileAppContentItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Files.FilesRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the scripts property of the microsoft.graph.mobileAppContent entity. + public global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Scripts.ScriptsRequestBuilder Scripts + { + get => new global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Scripts.ScriptsRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Item/Scripts/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Item/Scripts/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..2d3418152f7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Item/Scripts/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Scripts.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsAppX/contentVersions/{mobileAppContent%2Did}/scripts/$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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsAppX/contentVersions/{mobileAppContent%2Did}/scripts/$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.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.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Scripts.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Scripts.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/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Item/Scripts/Item/MobileAppContentScriptItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Item/Scripts/Item/MobileAppContentScriptItemRequestBuilder.cs new file mode 100644 index 00000000000..d0e6a172e47 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Item/Scripts/Item/MobileAppContentScriptItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Scripts.Item +{ + /// + /// Provides operations to manage the scripts property of the microsoft.graph.mobileAppContent entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MobileAppContentScriptItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MobileAppContentScriptItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsAppX/contentVersions/{mobileAppContent%2Did}/scripts/{mobileAppContentScript%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 MobileAppContentScriptItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsAppX/contentVersions/{mobileAppContent%2Did}/scripts/{mobileAppContentScript%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property scripts for deviceAppManagement + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The list of scripts for this app content version. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MobileAppContentScript.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property scripts in deviceAppManagement + /// + /// 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.Models.MobileAppContentScript body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.MobileAppContentScript 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MobileAppContentScript.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property scripts for deviceAppManagement + /// + /// 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 list of scripts for this app content version. + /// + /// 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 scripts in deviceAppManagement + /// + /// 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.Models.MobileAppContentScript body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.MobileAppContentScript 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.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder(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 MobileAppContentScriptItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// The list of scripts for this app content version. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MobileAppContentScriptItemRequestBuilderGetQueryParameters + { + /// 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 MobileAppContentScriptItemRequestBuilderGetRequestConfiguration : 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 MobileAppContentScriptItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Item/Scripts/ScriptsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Item/Scripts/ScriptsRequestBuilder.cs new file mode 100644 index 00000000000..0de356bd6ca --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Item/Scripts/ScriptsRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Scripts.Count; +using Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Scripts.Item; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Scripts +{ + /// + /// Provides operations to manage the scripts property of the microsoft.graph.mobileAppContent entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ScriptsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Scripts.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Scripts.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the scripts property of the microsoft.graph.mobileAppContent entity. + /// The unique identifier of mobileAppContentScript + /// A + public global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("mobileAppContentScript%2Did", position); + return new global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder(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 ScriptsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsAppX/contentVersions/{mobileAppContent%2Did}/scripts{?%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 ScriptsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsAppX/contentVersions/{mobileAppContent%2Did}/scripts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The list of scripts for this app content version. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MobileAppContentScriptCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to scripts for deviceAppManagement + /// + /// 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.Models.MobileAppContentScript body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.MobileAppContentScript 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MobileAppContentScript.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The list of scripts for this app content version. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to scripts for deviceAppManagement + /// + /// 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.Models.MobileAppContentScript body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.MobileAppContentScript 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.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Scripts.ScriptsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Scripts.ScriptsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The list of scripts for this app content version. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ScriptsRequestBuilderGetQueryParameters + { + /// 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 ScriptsRequestBuilderGetRequestConfiguration : 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 ScriptsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs index 1762fd83131..b144e02002e 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs @@ -2,6 +2,7 @@ #pragma warning disable CS0618 using Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.ContainedApps; using Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Files; +using Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Scripts; using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; using Microsoft.Kiota.Abstractions.Extensions; @@ -30,6 +31,11 @@ public partial class MobileAppContentItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Files.FilesRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the scripts property of the microsoft.graph.mobileAppContent entity. + public global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Scripts.ScriptsRequestBuilder Scripts + { + get => new global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Scripts.ScriptsRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Item/Scripts/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Item/Scripts/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..733257465ed --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Item/Scripts/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Scripts.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsMobileMSI/contentVersions/{mobileAppContent%2Did}/scripts/$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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsMobileMSI/contentVersions/{mobileAppContent%2Did}/scripts/$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.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.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Scripts.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Scripts.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/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Item/Scripts/Item/MobileAppContentScriptItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Item/Scripts/Item/MobileAppContentScriptItemRequestBuilder.cs new file mode 100644 index 00000000000..789501447d6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Item/Scripts/Item/MobileAppContentScriptItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Scripts.Item +{ + /// + /// Provides operations to manage the scripts property of the microsoft.graph.mobileAppContent entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MobileAppContentScriptItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MobileAppContentScriptItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsMobileMSI/contentVersions/{mobileAppContent%2Did}/scripts/{mobileAppContentScript%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 MobileAppContentScriptItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsMobileMSI/contentVersions/{mobileAppContent%2Did}/scripts/{mobileAppContentScript%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property scripts for deviceAppManagement + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The list of scripts for this app content version. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MobileAppContentScript.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property scripts in deviceAppManagement + /// + /// 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.Models.MobileAppContentScript body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.MobileAppContentScript 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MobileAppContentScript.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property scripts for deviceAppManagement + /// + /// 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 list of scripts for this app content version. + /// + /// 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 scripts in deviceAppManagement + /// + /// 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.Models.MobileAppContentScript body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.MobileAppContentScript 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.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder(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 MobileAppContentScriptItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// The list of scripts for this app content version. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MobileAppContentScriptItemRequestBuilderGetQueryParameters + { + /// 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 MobileAppContentScriptItemRequestBuilderGetRequestConfiguration : 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 MobileAppContentScriptItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Item/Scripts/ScriptsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Item/Scripts/ScriptsRequestBuilder.cs new file mode 100644 index 00000000000..360892da761 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Item/Scripts/ScriptsRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Scripts.Count; +using Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Scripts.Item; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Scripts +{ + /// + /// Provides operations to manage the scripts property of the microsoft.graph.mobileAppContent entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ScriptsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Scripts.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Scripts.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the scripts property of the microsoft.graph.mobileAppContent entity. + /// The unique identifier of mobileAppContentScript + /// A + public global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("mobileAppContentScript%2Did", position); + return new global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder(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 ScriptsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsMobileMSI/contentVersions/{mobileAppContent%2Did}/scripts{?%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 ScriptsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsMobileMSI/contentVersions/{mobileAppContent%2Did}/scripts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The list of scripts for this app content version. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MobileAppContentScriptCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to scripts for deviceAppManagement + /// + /// 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.Models.MobileAppContentScript body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.MobileAppContentScript 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MobileAppContentScript.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The list of scripts for this app content version. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to scripts for deviceAppManagement + /// + /// 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.Models.MobileAppContentScript body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.MobileAppContentScript 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.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Scripts.ScriptsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Scripts.ScriptsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The list of scripts for this app content version. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ScriptsRequestBuilderGetQueryParameters + { + /// 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 ScriptsRequestBuilderGetRequestConfiguration : 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 ScriptsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs index a898294bae9..a4e70448782 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs @@ -2,6 +2,7 @@ #pragma warning disable CS0618 using Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.ContainedApps; using Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Files; +using Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Scripts; using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; using Microsoft.Kiota.Abstractions.Extensions; @@ -30,6 +31,11 @@ public partial class MobileAppContentItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Files.FilesRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the scripts property of the microsoft.graph.mobileAppContent entity. + public global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Scripts.ScriptsRequestBuilder Scripts + { + get => new global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Scripts.ScriptsRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Item/Scripts/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Item/Scripts/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..ca62d601ad6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Item/Scripts/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Scripts.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsUniversalAppX/contentVersions/{mobileAppContent%2Did}/scripts/$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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsUniversalAppX/contentVersions/{mobileAppContent%2Did}/scripts/$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.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.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Scripts.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Scripts.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/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Item/Scripts/Item/MobileAppContentScriptItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Item/Scripts/Item/MobileAppContentScriptItemRequestBuilder.cs new file mode 100644 index 00000000000..6e276d05c93 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Item/Scripts/Item/MobileAppContentScriptItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Scripts.Item +{ + /// + /// Provides operations to manage the scripts property of the microsoft.graph.mobileAppContent entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MobileAppContentScriptItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MobileAppContentScriptItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsUniversalAppX/contentVersions/{mobileAppContent%2Did}/scripts/{mobileAppContentScript%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 MobileAppContentScriptItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsUniversalAppX/contentVersions/{mobileAppContent%2Did}/scripts/{mobileAppContentScript%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property scripts for deviceAppManagement + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The list of scripts for this app content version. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MobileAppContentScript.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property scripts in deviceAppManagement + /// + /// 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.Models.MobileAppContentScript body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.MobileAppContentScript 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MobileAppContentScript.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property scripts for deviceAppManagement + /// + /// 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 list of scripts for this app content version. + /// + /// 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 scripts in deviceAppManagement + /// + /// 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.Models.MobileAppContentScript body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.MobileAppContentScript 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.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder(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 MobileAppContentScriptItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// The list of scripts for this app content version. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MobileAppContentScriptItemRequestBuilderGetQueryParameters + { + /// 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 MobileAppContentScriptItemRequestBuilderGetRequestConfiguration : 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 MobileAppContentScriptItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Item/Scripts/ScriptsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Item/Scripts/ScriptsRequestBuilder.cs new file mode 100644 index 00000000000..0ec40da679c --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Item/Scripts/ScriptsRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Scripts.Count; +using Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Scripts.Item; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Scripts +{ + /// + /// Provides operations to manage the scripts property of the microsoft.graph.mobileAppContent entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ScriptsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Scripts.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Scripts.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the scripts property of the microsoft.graph.mobileAppContent entity. + /// The unique identifier of mobileAppContentScript + /// A + public global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("mobileAppContentScript%2Did", position); + return new global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder(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 ScriptsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsUniversalAppX/contentVersions/{mobileAppContent%2Did}/scripts{?%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 ScriptsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsUniversalAppX/contentVersions/{mobileAppContent%2Did}/scripts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The list of scripts for this app content version. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MobileAppContentScriptCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to scripts for deviceAppManagement + /// + /// 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.Models.MobileAppContentScript body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.MobileAppContentScript 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MobileAppContentScript.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The list of scripts for this app content version. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to scripts for deviceAppManagement + /// + /// 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.Models.MobileAppContentScript body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.MobileAppContentScript 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.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Scripts.ScriptsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Scripts.ScriptsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The list of scripts for this app content version. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ScriptsRequestBuilderGetQueryParameters + { + /// 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 ScriptsRequestBuilderGetRequestConfiguration : 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 ScriptsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/DeletedItemsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/DeletedItemsRequestBuilder.cs index e296e7a461d..87085242a72 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/DeletedItemsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/DeletedItemsRequestBuilder.cs @@ -63,7 +63,7 @@ public async Task DeleteAsync(Action - /// Deleted workflows in your lifecycle workflows instance. + /// Deleted workflows and lifecycle policies in your lifecycle workflows instance. /// /// A /// Cancellation token to use when cancelling requests @@ -105,7 +105,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Deleted workflows in your lifecycle workflows instance. + /// Deleted workflows and lifecycle policies in your lifecycle workflows instance. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -141,7 +141,7 @@ public partial class DeletedItemsRequestBuilderDeleteRequestConfiguration : Requ { } /// - /// Deleted workflows in your lifecycle workflows instance. + /// Deleted workflows and lifecycle policies in your lifecycle workflows instance. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DeletedItemsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Me/DistributionLists/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/DistributionLists/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..30f96aa3146 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/DistributionLists/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Me.DistributionLists.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}/me/distributionLists/$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}/me/distributionLists/$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.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.Me.DistributionLists.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.DistributionLists.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/Me/DistributionLists/DistributionListsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/DistributionLists/DistributionListsRequestBuilder.cs new file mode 100644 index 00000000000..e3ae58a0f4f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/DistributionLists/DistributionListsRequestBuilder.cs @@ -0,0 +1,240 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Me.DistributionLists.Count; +using Microsoft.Graph.Me.DistributionLists.Item; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.Me.DistributionLists +{ + /// + /// Provides operations to manage the distributionLists property of the microsoft.graph.user entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DistributionListsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Me.DistributionLists.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Me.DistributionLists.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the distributionLists property of the microsoft.graph.user entity. + /// The unique identifier of distributionList + /// A + public global::Microsoft.Graph.Me.DistributionLists.Item.DistributionListItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("distributionList%2Did", position); + return new global::Microsoft.Graph.Me.DistributionLists.Item.DistributionListItemRequestBuilder(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 DistributionListsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/distributionLists{?%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 DistributionListsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/distributionLists{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get a list of the personal distribution lists in the user's mailbox. + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DistributionListCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create a new personal distribution list in the 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 +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Models.DistributionList body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.DistributionList 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DistributionList.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get a list of the personal distribution lists in the user's mailbox. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create a new personal distribution list in the user's mailbox. + /// + /// 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.Models.DistributionList body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.DistributionList 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.Me.DistributionLists.DistributionListsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.DistributionLists.DistributionListsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get a list of the personal distribution lists in the user's mailbox. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DistributionListsRequestBuilderGetQueryParameters + { + /// 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 DistributionListsRequestBuilderGetRequestConfiguration : 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 DistributionListsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/DistributionLists/Item/AddMembers/AddMembersPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/DistributionLists/Item/AddMembers/AddMembersPostRequestBody.cs new file mode 100644 index 00000000000..19944d2dcf7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/DistributionLists/Item/AddMembers/AddMembersPostRequestBody.cs @@ -0,0 +1,82 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Me.DistributionLists.Item.AddMembers +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AddMembersPostRequestBody : 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 Members property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Members + { + get { return BackingStore?.Get?>("Members"); } + set { BackingStore?.Set("Members", value); } + } +#nullable restore +#else + public List Members + { + get { return BackingStore?.Get>("Members"); } + set { BackingStore?.Set("Members", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public AddMembersPostRequestBody() + { + 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.Me.DistributionLists.Item.AddMembers.AddMembersPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.DistributionLists.Item.AddMembers.AddMembersPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "Members", n => { Members = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.Member.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfObjectValues("Members", Members); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/DistributionLists/Item/AddMembers/AddMembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/DistributionLists/Item/AddMembers/AddMembersRequestBuilder.cs new file mode 100644 index 00000000000..7349c92173a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/DistributionLists/Item/AddMembers/AddMembersRequestBuilder.cs @@ -0,0 +1,103 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.Me.DistributionLists.Item.AddMembers +{ + /// + /// Provides operations to call the addMembers method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AddMembersRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public AddMembersRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/distributionLists/{distributionList%2Did}/addMembers", 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 AddMembersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/distributionLists/{distributionList%2Did}/addMembers", rawUrl) + { + } + /// + /// Invoke action addMembers + /// + /// 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.Me.DistributionLists.Item.AddMembers.AddMembersPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Me.DistributionLists.Item.AddMembers.AddMembersPostRequestBody 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DistributionList.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action addMembers + /// + /// 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.Me.DistributionLists.Item.AddMembers.AddMembersPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.DistributionLists.Item.AddMembers.AddMembersPostRequestBody 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.Me.DistributionLists.Item.AddMembers.AddMembersRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.DistributionLists.Item.AddMembers.AddMembersRequestBuilder(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 AddMembersRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/DistributionLists/Item/DeleteMembers/DeleteMembersPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/DistributionLists/Item/DeleteMembers/DeleteMembersPostRequestBody.cs new file mode 100644 index 00000000000..696dc6e1a04 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/DistributionLists/Item/DeleteMembers/DeleteMembersPostRequestBody.cs @@ -0,0 +1,82 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Me.DistributionLists.Item.DeleteMembers +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DeleteMembersPostRequestBody : 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 Members property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Members + { + get { return BackingStore?.Get?>("Members"); } + set { BackingStore?.Set("Members", value); } + } +#nullable restore +#else + public List Members + { + get { return BackingStore?.Get>("Members"); } + set { BackingStore?.Set("Members", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public DeleteMembersPostRequestBody() + { + 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.Me.DistributionLists.Item.DeleteMembers.DeleteMembersPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.DistributionLists.Item.DeleteMembers.DeleteMembersPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "Members", n => { Members = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.Member.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfObjectValues("Members", Members); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/DistributionLists/Item/DeleteMembers/DeleteMembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/DistributionLists/Item/DeleteMembers/DeleteMembersRequestBuilder.cs new file mode 100644 index 00000000000..ba0519d6b65 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/DistributionLists/Item/DeleteMembers/DeleteMembersRequestBuilder.cs @@ -0,0 +1,103 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.Me.DistributionLists.Item.DeleteMembers +{ + /// + /// Provides operations to call the deleteMembers method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeleteMembersRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public DeleteMembersRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/distributionLists/{distributionList%2Did}/deleteMembers", 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 DeleteMembersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/distributionLists/{distributionList%2Did}/deleteMembers", rawUrl) + { + } + /// + /// Invoke action deleteMembers + /// + /// 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.Me.DistributionLists.Item.DeleteMembers.DeleteMembersPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Me.DistributionLists.Item.DeleteMembers.DeleteMembersPostRequestBody 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DistributionList.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action deleteMembers + /// + /// 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.Me.DistributionLists.Item.DeleteMembers.DeleteMembersPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.DistributionLists.Item.DeleteMembers.DeleteMembersPostRequestBody 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.Me.DistributionLists.Item.DeleteMembers.DeleteMembersRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.DistributionLists.Item.DeleteMembers.DeleteMembersRequestBuilder(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 DeleteMembersRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/DistributionLists/Item/DistributionListItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/DistributionLists/Item/DistributionListItemRequestBuilder.cs new file mode 100644 index 00000000000..7a3fe8d7132 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/DistributionLists/Item/DistributionListItemRequestBuilder.cs @@ -0,0 +1,247 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Me.DistributionLists.Item.AddMembers; +using Microsoft.Graph.Me.DistributionLists.Item.DeleteMembers; +using Microsoft.Graph.Me.DistributionLists.Item.Members; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.Me.DistributionLists.Item +{ + /// + /// Provides operations to manage the distributionLists property of the microsoft.graph.user entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DistributionListItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the addMembers method. + public global::Microsoft.Graph.Me.DistributionLists.Item.AddMembers.AddMembersRequestBuilder AddMembers + { + get => new global::Microsoft.Graph.Me.DistributionLists.Item.AddMembers.AddMembersRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the deleteMembers method. + public global::Microsoft.Graph.Me.DistributionLists.Item.DeleteMembers.DeleteMembersRequestBuilder DeleteMembers + { + get => new global::Microsoft.Graph.Me.DistributionLists.Item.DeleteMembers.DeleteMembersRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the members property of the microsoft.graph.distributionList entity. + public global::Microsoft.Graph.Me.DistributionLists.Item.Members.MembersRequestBuilder Members + { + get => new global::Microsoft.Graph.Me.DistributionLists.Item.Members.MembersRequestBuilder(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 DistributionListItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/distributionLists/{distributionList%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 DistributionListItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/distributionLists/{distributionList%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property distributionLists for me + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The personal distribution lists in the user's mailbox. Read-only. Nullable. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DistributionList.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property distributionLists in me + /// + /// 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.Models.DistributionList body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.DistributionList 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DistributionList.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property distributionLists for me + /// + /// 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 personal distribution lists in the user's mailbox. Read-only. Nullable. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#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 distributionLists in me + /// + /// 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.Models.DistributionList body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.DistributionList 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.Me.DistributionLists.Item.DistributionListItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.DistributionLists.Item.DistributionListItemRequestBuilder(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 DistributionListItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// The personal distribution lists in the user's mailbox. Read-only. Nullable. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DistributionListItemRequestBuilderGetQueryParameters + { + /// 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 DistributionListItemRequestBuilderGetRequestConfiguration : 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 DistributionListItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/DistributionLists/Item/Members/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/DistributionLists/Item/Members/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..94d46886c7f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/DistributionLists/Item/Members/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Me.DistributionLists.Item.Members.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}/me/distributionLists/{distributionList%2Did}/members/$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}/me/distributionLists/{distributionList%2Did}/members/$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.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.Me.DistributionLists.Item.Members.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.DistributionLists.Item.Members.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/Me/DistributionLists/Item/Members/Item/Contact/ContactRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/DistributionLists/Item/Members/Item/Contact/ContactRequestBuilder.cs new file mode 100644 index 00000000000..4c2d099d646 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/DistributionLists/Item/Members/Item/Contact/ContactRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.Me.DistributionLists.Item.Members.Item.Contact +{ + /// + /// Provides operations to manage the contact property of the microsoft.graph.distributionListMember entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContactRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ContactRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/distributionLists/{distributionList%2Did}/members/{distributionListMember%2Did}/contact{?%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 ContactRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/distributionLists/{distributionList%2Did}/members/{distributionListMember%2Did}/contact{?%24expand,%24select}", rawUrl) + { + } + /// + /// The contact associated with the distribution list member. Read-only. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Contact.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The contact associated with the distribution list member. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.DistributionLists.Item.Members.Item.Contact.ContactRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.DistributionLists.Item.Members.Item.Contact.ContactRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The contact associated with the distribution list member. Read-only. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContactRequestBuilderGetQueryParameters + { + /// 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 ContactRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/DistributionLists/Item/Members/Item/DistributionListMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/DistributionLists/Item/Members/Item/DistributionListMemberItemRequestBuilder.cs new file mode 100644 index 00000000000..180c6285671 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/DistributionLists/Item/Members/Item/DistributionListMemberItemRequestBuilder.cs @@ -0,0 +1,131 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Me.DistributionLists.Item.Members.Item.Contact; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.Me.DistributionLists.Item.Members.Item +{ + /// + /// Provides operations to manage the members property of the microsoft.graph.distributionList entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DistributionListMemberItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the contact property of the microsoft.graph.distributionListMember entity. + public global::Microsoft.Graph.Me.DistributionLists.Item.Members.Item.Contact.ContactRequestBuilder Contact + { + get => new global::Microsoft.Graph.Me.DistributionLists.Item.Members.Item.Contact.ContactRequestBuilder(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 DistributionListMemberItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/distributionLists/{distributionList%2Did}/members/{distributionListMember%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 DistributionListMemberItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/distributionLists/{distributionList%2Did}/members/{distributionListMember%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// The members of the distribution list. Not returned by default; use $expand=members to include. Read-only. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DistributionListMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The members of the distribution list. Not returned by default; use $expand=members to include. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.DistributionLists.Item.Members.Item.DistributionListMemberItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.DistributionLists.Item.Members.Item.DistributionListMemberItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The members of the distribution list. Not returned by default; use $expand=members to include. Read-only. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DistributionListMemberItemRequestBuilderGetQueryParameters + { + /// 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 DistributionListMemberItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/DistributionLists/Item/Members/MembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/DistributionLists/Item/Members/MembersRequestBuilder.cs new file mode 100644 index 00000000000..19957090fa6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/DistributionLists/Item/Members/MembersRequestBuilder.cs @@ -0,0 +1,183 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Me.DistributionLists.Item.Members.Count; +using Microsoft.Graph.Me.DistributionLists.Item.Members.Item; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.Me.DistributionLists.Item.Members +{ + /// + /// Provides operations to manage the members property of the microsoft.graph.distributionList entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MembersRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Me.DistributionLists.Item.Members.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Me.DistributionLists.Item.Members.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the members property of the microsoft.graph.distributionList entity. + /// The unique identifier of distributionListMember + /// A + public global::Microsoft.Graph.Me.DistributionLists.Item.Members.Item.DistributionListMemberItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("distributionListMember%2Did", position); + return new global::Microsoft.Graph.Me.DistributionLists.Item.Members.Item.DistributionListMemberItemRequestBuilder(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 MembersRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/distributionLists/{distributionList%2Did}/members{?%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 MembersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/distributionLists/{distributionList%2Did}/members{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The members of the distribution list. Not returned by default; use $expand=members to include. Read-only. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DistributionListMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The members of the distribution list. Not returned by default; use $expand=members to include. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.DistributionLists.Item.Members.MembersRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.DistributionLists.Item.Members.MembersRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The members of the distribution list. Not returned by default; use $expand=members to include. Read-only. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MembersRequestBuilderGetQueryParameters + { + /// 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 MembersRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MeRequestBuilder.cs index fb2cef81d50..c3b40ebc8af 100644 --- a/src/Microsoft.Graph/Generated/Me/MeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MeRequestBuilder.cs @@ -22,6 +22,7 @@ using Microsoft.Graph.Me.DataSecurityAndGovernance; using Microsoft.Graph.Me.DeviceManagementTroubleshootingEvents; using Microsoft.Graph.Me.DirectReports; +using Microsoft.Graph.Me.DistributionLists; using Microsoft.Graph.Me.Drive; using Microsoft.Graph.Me.Drives; using Microsoft.Graph.Me.EmployeeExperience; @@ -210,6 +211,11 @@ public partial class MeRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Me.DirectReports.DirectReportsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the distributionLists property of the microsoft.graph.user entity. + public global::Microsoft.Graph.Me.DistributionLists.DistributionListsRequestBuilder DistributionLists + { + get => new global::Microsoft.Graph.Me.DistributionLists.DistributionListsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the drive property of the microsoft.graph.user entity. public global::Microsoft.Graph.Me.Drive.DriveRequestBuilder Drive { diff --git a/src/Microsoft.Graph/Generated/Models/AgentUser.cs b/src/Microsoft.Graph/Generated/Models/AgentUser.cs index 82601f87d92..b572167d02e 100644 --- a/src/Microsoft.Graph/Generated/Models/AgentUser.cs +++ b/src/Microsoft.Graph/Generated/Models/AgentUser.cs @@ -12,6 +12,22 @@ namespace Microsoft.Graph.Models public partial class AgentUser : global::Microsoft.Graph.Models.User, IParsable #pragma warning restore CS1591 { + /// The application IDs (appId values) authorized to manage the agent user's backing agent blueprint. Read-only. Not nullable. Returns an empty collection when no manager applications are configured. Returned only with $select and the microsoft.graph.agentUser type cast; see Get agentUser. Doesn't support $filter. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ManagerApplications + { + get { return BackingStore?.Get?>("managerApplications"); } + set { BackingStore?.Set("managerApplications", value); } + } +#nullable restore +#else + public List ManagerApplications + { + get { return BackingStore?.Get>("managerApplications"); } + set { BackingStore?.Set("managerApplications", value); } + } +#endif /// /// Instantiates a new and sets the default values. /// @@ -37,6 +53,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { + { "managerApplications", n => { ManagerApplications = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, }; } /// diff --git a/src/Microsoft.Graph/Generated/Models/BrowseQueryResponseItem.cs b/src/Microsoft.Graph/Generated/Models/BrowseQueryResponseItem.cs index 5c3525717ea..ff852c49832 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 identity of the user or application that created the item. Returned only when type is file or folder. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.IdentitySet? CreatedBy + { + get { return BackingStore?.Get("createdBy"); } + set { BackingStore?.Set("createdBy", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.IdentitySet CreatedBy + { + get { return BackingStore?.Get("createdBy"); } + set { BackingStore?.Set("createdBy", value); } + } +#endif + /// The date and time when the item was created. Returned only when type is file or folder. 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); } + } /// 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 identity of the user or application that last modified the item. Returned only when type is file or folder. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.IdentitySet? LastModifiedBy + { + get { return BackingStore?.Get("lastModifiedBy"); } + set { BackingStore?.Set("lastModifiedBy", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.IdentitySet LastModifiedBy + { + get { return BackingStore?.Get("lastModifiedBy"); } + set { BackingStore?.Set("lastModifiedBy", value); } + } +#endif + /// The date and time when the item was last modified. Returned only when type is file or folder. 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? 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.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.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/CurrentLabel.cs b/src/Microsoft.Graph/Generated/Models/CurrentLabel.cs index 1a9c3e04c80..596f7d4e341 100644 --- a/src/Microsoft.Graph/Generated/Models/CurrentLabel.cs +++ b/src/Microsoft.Graph/Generated/Models/CurrentLabel.cs @@ -19,7 +19,7 @@ public IDictionary AdditionalData get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } set { BackingStore.Set("AdditionalData", value); } } - /// The applicationMode property + /// The application mode associated with the sensitivity label. The possible values are: manual, automatic, recommended, unknownFutureValue. public global::Microsoft.Graph.Models.ApplicationMode? ApplicationMode { get { return BackingStore?.Get("applicationMode"); } @@ -27,7 +27,7 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The id property + /// The GUID that identifies the sensitivity label. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Id diff --git a/src/Microsoft.Graph/Generated/Models/DistributionList.cs b/src/Microsoft.Graph/Generated/Models/DistributionList.cs new file mode 100644 index 00000000000..ebf1258e724 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/DistributionList.cs @@ -0,0 +1,143 @@ +// +#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.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DistributionList : global::Microsoft.Graph.Models.OutlookItem, IParsable + #pragma warning restore CS1591 + { + /// The display name of the distribution list. +#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 members of the distribution list. Not returned by default; use $expand=members to include. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Members + { + get { return BackingStore?.Get?>("members"); } + set { BackingStore?.Set("members", value); } + } +#nullable restore +#else + public List Members + { + get { return BackingStore?.Get>("members"); } + set { BackingStore?.Set("members", value); } + } +#endif + /// Notes about the distribution list. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", value); } + } +#nullable restore +#else + public string Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", value); } + } +#endif + /// The unique identifier of the distribution list in the mailbox. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? PersonId + { + get { return BackingStore?.Get("personId"); } + set { BackingStore?.Set("personId", value); } + } +#nullable restore +#else + public string PersonId + { + get { return BackingStore?.Get("personId"); } + set { BackingStore?.Set("personId", value); } + } +#endif + /// The collection of single-value extended properties defined for the distribution list. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? SingleValueExtendedProperties + { + get { return BackingStore?.Get?>("singleValueExtendedProperties"); } + set { BackingStore?.Set("singleValueExtendedProperties", value); } + } +#nullable restore +#else + public List SingleValueExtendedProperties + { + get { return BackingStore?.Get>("singleValueExtendedProperties"); } + set { BackingStore?.Set("singleValueExtendedProperties", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public DistributionList() : base() + { + OdataType = "#microsoft.graph.distributionList"; + } + /// + /// 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.Models.DistributionList CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.DistributionList(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "members", n => { Members = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.DistributionListMember.CreateFromDiscriminatorValue)?.AsList(); } }, + { "notes", n => { Notes = n.GetStringValue(); } }, + { "personId", n => { PersonId = n.GetStringValue(); } }, + { "singleValueExtendedProperties", n => { SingleValueExtendedProperties = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.SingleValueLegacyExtendedProperty.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteCollectionOfObjectValues("members", Members); + writer.WriteStringValue("notes", Notes); + writer.WriteStringValue("personId", PersonId); + writer.WriteCollectionOfObjectValues("singleValueExtendedProperties", SingleValueExtendedProperties); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/DistributionListCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/DistributionListCollectionResponse.cs new file mode 100644 index 00000000000..48409349df6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/DistributionListCollectionResponse.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.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DistributionListCollectionResponse : global::Microsoft.Graph.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.Models.DistributionListCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.DistributionListCollectionResponse(); + } + /// + /// 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.Models.DistributionList.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/DistributionListMember.cs b/src/Microsoft.Graph/Generated/Models/DistributionListMember.cs new file mode 100644 index 00000000000..d3be33b19a5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/DistributionListMember.cs @@ -0,0 +1,108 @@ +// +#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.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DistributionListMember : global::Microsoft.Graph.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The contact associated with the distribution list member. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.Contact? Contact + { + get { return BackingStore?.Get("contact"); } + set { BackingStore?.Set("contact", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.Contact Contact + { + get { return BackingStore?.Get("contact"); } + set { BackingStore?.Set("contact", value); } + } +#endif + /// The display name of the member. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// A system-generated unique identifier. Nonempty for contact, privateDL, and mailbox members. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? MemberId + { + get { return BackingStore?.Get("memberId"); } + set { BackingStore?.Set("memberId", value); } + } +#nullable restore +#else + public string MemberId + { + get { return BackingStore?.Get("memberId"); } + set { BackingStore?.Set("memberId", value); } + } +#endif + /// The type property + public global::Microsoft.Graph.Models.RecipientType? Type + { + get { return BackingStore?.Get("type"); } + set { BackingStore?.Set("type", 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.Models.DistributionListMember CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.DistributionListMember(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "contact", n => { Contact = n.GetObjectValue(global::Microsoft.Graph.Models.Contact.CreateFromDiscriminatorValue); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "memberId", n => { MemberId = n.GetStringValue(); } }, + { "type", n => { Type = n.GetEnumValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteObjectValue("contact", Contact); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteStringValue("memberId", MemberId); + writer.WriteEnumValue("type", Type); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/DistributionListMemberCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/DistributionListMemberCollectionResponse.cs new file mode 100644 index 00000000000..d0a607be5cc --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/DistributionListMemberCollectionResponse.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.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DistributionListMemberCollectionResponse : global::Microsoft.Graph.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.Models.DistributionListMemberCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.DistributionListMemberCollectionResponse(); + } + /// + /// 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.Models.DistributionListMember.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/Entity.cs b/src/Microsoft.Graph/Generated/Models/Entity.cs index 1fe123d7007..a4848ffcdfb 100644 --- a/src/Microsoft.Graph/Generated/Models/Entity.cs +++ b/src/Microsoft.Graph/Generated/Models/Entity.cs @@ -396,6 +396,8 @@ public Entity() "#microsoft.graph.directoryRole" => new global::Microsoft.Graph.Models.DirectoryRole(), "#microsoft.graph.directoryRoleManagementDeletedItemContainer" => new global::Microsoft.Graph.Models.DirectoryRoleManagementDeletedItemContainer(), "#microsoft.graph.directoryRoleTemplate" => new global::Microsoft.Graph.Models.DirectoryRoleTemplate(), + "#microsoft.graph.distributionList" => new global::Microsoft.Graph.Models.DistributionList(), + "#microsoft.graph.distributionListMember" => new global::Microsoft.Graph.Models.DistributionListMember(), "#microsoft.graph.documentSetVersion" => new global::Microsoft.Graph.Models.DocumentSetVersion(), "#microsoft.graph.domain" => new global::Microsoft.Graph.Models.Domain(), "#microsoft.graph.domainDnsCnameRecord" => new global::Microsoft.Graph.Models.DomainDnsCnameRecord(), @@ -663,6 +665,7 @@ public Entity() "#microsoft.graph.mobileAppCategory" => new global::Microsoft.Graph.Models.MobileAppCategory(), "#microsoft.graph.mobileAppContent" => new global::Microsoft.Graph.Models.MobileAppContent(), "#microsoft.graph.mobileAppContentFile" => new global::Microsoft.Graph.Models.MobileAppContentFile(), + "#microsoft.graph.mobileAppContentScript" => new global::Microsoft.Graph.Models.MobileAppContentScript(), "#microsoft.graph.mobileAppRelationship" => new global::Microsoft.Graph.Models.MobileAppRelationship(), "#microsoft.graph.mobileAppTroubleshootingEvent" => new global::Microsoft.Graph.Models.MobileAppTroubleshootingEvent(), "#microsoft.graph.mobileContainedApp" => new global::Microsoft.Graph.Models.MobileContainedApp(), @@ -1196,6 +1199,9 @@ public Entity() "#microsoft.graph.webApplicationFirewallVerificationModel" => new global::Microsoft.Graph.Models.WebApplicationFirewallVerificationModel(), "#microsoft.graph.webPart" => new global::Microsoft.Graph.Models.WebPart(), "#microsoft.graph.win32LobApp" => new global::Microsoft.Graph.Models.Win32LobApp(), + "#microsoft.graph.win32LobAppInstallPowerShellScript" => new global::Microsoft.Graph.Models.Win32LobAppInstallPowerShellScript(), + "#microsoft.graph.win32LobAppScript" => new global::Microsoft.Graph.Models.Win32LobAppScript(), + "#microsoft.graph.win32LobAppUninstallPowerShellScript" => new global::Microsoft.Graph.Models.Win32LobAppUninstallPowerShellScript(), "#microsoft.graph.windows10CompliancePolicy" => new global::Microsoft.Graph.Models.Windows10CompliancePolicy(), "#microsoft.graph.windows10CustomConfiguration" => new global::Microsoft.Graph.Models.Windows10CustomConfiguration(), "#microsoft.graph.windows10EndpointProtectionConfiguration" => new global::Microsoft.Graph.Models.Windows10EndpointProtectionConfiguration(), diff --git a/src/Microsoft.Graph/Generated/Models/GranularRestoreArtifactBase.cs b/src/Microsoft.Graph/Generated/Models/GranularRestoreArtifactBase.cs index 4f33dd3af6c..977c6605908 100644 --- a/src/Microsoft.Graph/Generated/Models/GranularRestoreArtifactBase.cs +++ b/src/Microsoft.Graph/Generated/Models/GranularRestoreArtifactBase.cs @@ -34,6 +34,22 @@ public DateTimeOffset? CompletionDateTime get { return BackingStore?.Get("completionDateTime"); } set { BackingStore?.Set("completionDateTime", value); } } + /// Contains error details if the restoration fails or completes with an error. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.PublicError? Error + { + get { return BackingStore?.Get("error"); } + set { BackingStore?.Set("error", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.PublicError Error + { + get { return BackingStore?.Get("error"); } + set { BackingStore?.Set("error", value); } + } +#endif /// The unique identifier for the restored artifact. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -142,6 +158,7 @@ public override IDictionary> GetFieldDeserializers() { { "browseSessionId", n => { BrowseSessionId = n.GetStringValue(); } }, { "completionDateTime", n => { CompletionDateTime = n.GetDateTimeOffsetValue(); } }, + { "error", n => { Error = n.GetObjectValue(global::Microsoft.Graph.Models.PublicError.CreateFromDiscriminatorValue); } }, { "restorePointDateTime", n => { RestorePointDateTime = n.GetDateTimeOffsetValue(); } }, { "restoredItemKey", n => { RestoredItemKey = n.GetStringValue(); } }, { "restoredItemPath", n => { RestoredItemPath = n.GetStringValue(); } }, @@ -161,6 +178,7 @@ public override void Serialize(ISerializationWriter writer) base.Serialize(writer); writer.WriteStringValue("browseSessionId", BrowseSessionId); writer.WriteDateTimeOffsetValue("completionDateTime", CompletionDateTime); + writer.WriteObjectValue("error", Error); writer.WriteStringValue("restoredItemKey", RestoredItemKey); writer.WriteStringValue("restoredItemPath", RestoredItemPath); writer.WriteStringValue("restoredItemWebUrl", RestoredItemWebUrl); diff --git a/src/Microsoft.Graph/Generated/Models/GranularSiteRestoreArtifact.cs b/src/Microsoft.Graph/Generated/Models/GranularSiteRestoreArtifact.cs index 6df8586a17f..14e2984d178 100644 --- a/src/Microsoft.Graph/Generated/Models/GranularSiteRestoreArtifact.cs +++ b/src/Microsoft.Graph/Generated/Models/GranularSiteRestoreArtifact.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Models public partial class GranularSiteRestoreArtifact : global::Microsoft.Graph.Models.GranularRestoreArtifactBase, IParsable #pragma warning restore CS1591 { - /// Id of the site in which artifact is present. + /// The ID of the site in which the artifact is present. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? SiteId diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecycleWorkflowsContainer.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecycleWorkflowsContainer.cs index 076c47aa263..6859ca0ed47 100644 --- a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecycleWorkflowsContainer.cs +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecycleWorkflowsContainer.cs @@ -28,7 +28,7 @@ public partial class LifecycleWorkflowsContainer : global::Microsoft.Graph.Model set { BackingStore?.Set("customTaskExtensions", value); } } #endif - /// Deleted workflows in your lifecycle workflows instance. + /// Deleted workflows and lifecycle policies in your lifecycle workflows instance. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Models.DeletedItemContainer? DeletedItems diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/OperatorBetween.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/OperatorBetween.cs new file mode 100644 index 00000000000..1bdc17b1383 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/OperatorBetween.cs @@ -0,0 +1,69 @@ +// +#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.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class OperatorBetween : global::Microsoft.Graph.Models.IdentityGovernance.WorkflowTriggerTimeBasedOperator, IParsable + #pragma warning restore CS1591 + { + /// The exclusive lower bound of the date range, in days. The value must be a nonnegative integer and less than lessThanOffsetInDays. + public int? GreaterThanOffsetInDays + { + get { return BackingStore?.Get("greaterThanOffsetInDays"); } + set { BackingStore?.Set("greaterThanOffsetInDays", value); } + } + /// The exclusive upper bound of the date range, in days. The value must be a nonnegative integer and greater than greaterThanOffsetInDays. The difference between the upper and lower bounds can't exceed 180 days. + public int? LessThanOffsetInDays + { + get { return BackingStore?.Get("lessThanOffsetInDays"); } + set { BackingStore?.Set("lessThanOffsetInDays", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public OperatorBetween() : base() + { + OdataType = "#microsoft.graph.identityGovernance.operatorBetween"; + } + /// + /// 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.Models.IdentityGovernance.OperatorBetween CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.IdentityGovernance.OperatorBetween(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "greaterThanOffsetInDays", n => { GreaterThanOffsetInDays = n.GetIntValue(); } }, + { "lessThanOffsetInDays", n => { LessThanOffsetInDays = 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("greaterThanOffsetInDays", GreaterThanOffsetInDays); + writer.WriteIntValue("lessThanOffsetInDays", LessThanOffsetInDays); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/OperatorEqualTo.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/OperatorEqualTo.cs new file mode 100644 index 00000000000..5f6d94a861e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/OperatorEqualTo.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.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class OperatorEqualTo : global::Microsoft.Graph.Models.IdentityGovernance.WorkflowTriggerTimeBasedOperator, IParsable + #pragma warning restore CS1591 + { + /// The exact number of days between the current date and the date in the user attribute. The value must be a nonnegative integer. + public int? OffsetInDays + { + get { return BackingStore?.Get("offsetInDays"); } + set { BackingStore?.Set("offsetInDays", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public OperatorEqualTo() : base() + { + OdataType = "#microsoft.graph.identityGovernance.operatorEqualTo"; + } + /// + /// 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.Models.IdentityGovernance.OperatorEqualTo CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.IdentityGovernance.OperatorEqualTo(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "offsetInDays", n => { OffsetInDays = 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("offsetInDays", OffsetInDays); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/OperatorLessThanEqualTo.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/OperatorLessThanEqualTo.cs new file mode 100644 index 00000000000..e83e3b1cd99 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/OperatorLessThanEqualTo.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.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class OperatorLessThanEqualTo : global::Microsoft.Graph.Models.IdentityGovernance.WorkflowTriggerTimeBasedOperator, IParsable + #pragma warning restore CS1591 + { + /// The maximum number of days between the current date and the date in the user attribute. The value must be a nonnegative integer. + public int? OffsetInDays + { + get { return BackingStore?.Get("offsetInDays"); } + set { BackingStore?.Set("offsetInDays", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public OperatorLessThanEqualTo() : base() + { + OdataType = "#microsoft.graph.identityGovernance.operatorLessThanEqualTo"; + } + /// + /// 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.Models.IdentityGovernance.OperatorLessThanEqualTo CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.IdentityGovernance.OperatorLessThanEqualTo(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "offsetInDays", n => { OffsetInDays = 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("offsetInDays", OffsetInDays); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/TimeBasedAttributeTriggerV2.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/TimeBasedAttributeTriggerV2.cs new file mode 100644 index 00000000000..3d00b31b683 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/TimeBasedAttributeTriggerV2.cs @@ -0,0 +1,89 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class TimeBasedAttributeTriggerV2 : global::Microsoft.Graph.Models.IdentityGovernance.WorkflowExecutionTrigger, IParsable + #pragma warning restore CS1591 + { + /// The name of the date-type user attribute to evaluate, such as employeeHireDate or employeeLeaveDateTime. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Attribute + { + get { return BackingStore?.Get("attribute"); } + set { BackingStore?.Set("attribute", value); } + } +#nullable restore +#else + public string Attribute + { + get { return BackingStore?.Get("attribute"); } + set { BackingStore?.Set("attribute", value); } + } +#endif + /// The operator property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.IdentityGovernance.WorkflowExecutionTriggerOperator? Operator + { + get { return BackingStore?.Get("operator"); } + set { BackingStore?.Set("operator", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.IdentityGovernance.WorkflowExecutionTriggerOperator Operator + { + get { return BackingStore?.Get("operator"); } + set { BackingStore?.Set("operator", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public TimeBasedAttributeTriggerV2() : base() + { + OdataType = "#microsoft.graph.identityGovernance.timeBasedAttributeTriggerV2"; + } + /// + /// 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.Models.IdentityGovernance.TimeBasedAttributeTriggerV2 CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.IdentityGovernance.TimeBasedAttributeTriggerV2(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "attribute", n => { Attribute = n.GetStringValue(); } }, + { "operator", n => { Operator = n.GetObjectValue(global::Microsoft.Graph.Models.IdentityGovernance.WorkflowExecutionTriggerOperator.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("attribute", Attribute); + writer.WriteObjectValue("operator", Operator); + } + } +} +#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 35e4a5c11fc..38769887374 100644 --- a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/WorkflowExecutionTrigger.cs +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/WorkflowExecutionTrigger.cs @@ -60,6 +60,7 @@ public WorkflowExecutionTrigger() "#microsoft.graph.identityGovernance.guestSponsorTrigger" => new global::Microsoft.Graph.Models.IdentityGovernance.GuestSponsorTrigger(), "#microsoft.graph.identityGovernance.membershipChangeTrigger" => new global::Microsoft.Graph.Models.IdentityGovernance.MembershipChangeTrigger(), "#microsoft.graph.identityGovernance.timeBasedAttributeTrigger" => new global::Microsoft.Graph.Models.IdentityGovernance.TimeBasedAttributeTrigger(), + "#microsoft.graph.identityGovernance.timeBasedAttributeTriggerV2" => new global::Microsoft.Graph.Models.IdentityGovernance.TimeBasedAttributeTriggerV2(), "#microsoft.graph.identityGovernance.userInactivityTrigger" => new global::Microsoft.Graph.Models.IdentityGovernance.UserInactivityTrigger(), _ => new global::Microsoft.Graph.Models.IdentityGovernance.WorkflowExecutionTrigger(), }; diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/WorkflowExecutionTriggerOperator.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/WorkflowExecutionTriggerOperator.cs new file mode 100644 index 00000000000..df298ef491e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/WorkflowExecutionTriggerOperator.cs @@ -0,0 +1,89 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class WorkflowExecutionTriggerOperator : 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 WorkflowExecutionTriggerOperator() + { + 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.Models.IdentityGovernance.WorkflowExecutionTriggerOperator CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.identityGovernance.operatorBetween" => new global::Microsoft.Graph.Models.IdentityGovernance.OperatorBetween(), + "#microsoft.graph.identityGovernance.operatorEqualTo" => new global::Microsoft.Graph.Models.IdentityGovernance.OperatorEqualTo(), + "#microsoft.graph.identityGovernance.operatorLessThanEqualTo" => new global::Microsoft.Graph.Models.IdentityGovernance.OperatorLessThanEqualTo(), + "#microsoft.graph.identityGovernance.workflowTriggerTimeBasedOperator" => new global::Microsoft.Graph.Models.IdentityGovernance.WorkflowTriggerTimeBasedOperator(), + _ => new global::Microsoft.Graph.Models.IdentityGovernance.WorkflowExecutionTriggerOperator(), + }; + } + /// + /// 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/IdentityGovernance/WorkflowTriggerOperatorEventTiming.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/WorkflowTriggerOperatorEventTiming.cs new file mode 100644 index 00000000000..6a3054a0be0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/WorkflowTriggerOperatorEventTiming.cs @@ -0,0 +1,28 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum WorkflowTriggerOperatorEventTiming + #pragma warning restore CS1591 + { + [EnumMember(Value = "before")] + #pragma warning disable CS1591 + Before, + #pragma warning restore CS1591 + [EnumMember(Value = "after")] + #pragma warning disable CS1591 + After, + #pragma warning restore CS1591 + [EnumMember(Value = "on")] + #pragma warning disable CS1591 + On, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/WorkflowTriggerTimeBasedOperator.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/WorkflowTriggerTimeBasedOperator.cs new file mode 100644 index 00000000000..454b8bc31ad --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/WorkflowTriggerTimeBasedOperator.cs @@ -0,0 +1,68 @@ +// +#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.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class WorkflowTriggerTimeBasedOperator : global::Microsoft.Graph.Models.IdentityGovernance.WorkflowExecutionTriggerOperator, IParsable + #pragma warning restore CS1591 + { + /// The eventTiming property + public global::Microsoft.Graph.Models.IdentityGovernance.WorkflowTriggerOperatorEventTiming? EventTiming + { + get { return BackingStore?.Get("eventTiming"); } + set { BackingStore?.Set("eventTiming", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public WorkflowTriggerTimeBasedOperator() : base() + { + OdataType = "#microsoft.graph.identityGovernance.workflowTriggerTimeBasedOperator"; + } + /// + /// 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.Models.IdentityGovernance.WorkflowTriggerTimeBasedOperator CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.identityGovernance.operatorBetween" => new global::Microsoft.Graph.Models.IdentityGovernance.OperatorBetween(), + "#microsoft.graph.identityGovernance.operatorEqualTo" => new global::Microsoft.Graph.Models.IdentityGovernance.OperatorEqualTo(), + "#microsoft.graph.identityGovernance.operatorLessThanEqualTo" => new global::Microsoft.Graph.Models.IdentityGovernance.OperatorLessThanEqualTo(), + _ => new global::Microsoft.Graph.Models.IdentityGovernance.WorkflowTriggerTimeBasedOperator(), + }; + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "eventTiming", n => { EventTiming = n.GetEnumValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteEnumValue("eventTiming", EventTiming); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/MailboxFolder.cs b/src/Microsoft.Graph/Generated/Models/MailboxFolder.cs index 80d8cc5bb75..b51125c48b6 100644 --- a/src/Microsoft.Graph/Generated/Models/MailboxFolder.cs +++ b/src/Microsoft.Graph/Generated/Models/MailboxFolder.cs @@ -50,6 +50,12 @@ public string DisplayName set { BackingStore?.Set("displayName", value); } } #endif + /// Indicates whether the folder is hidden. The default value is false. This property can be set only when you create the folder; it can't be updated using PATCH. By default, listing folders or listing child folders returns only folders that aren't hidden. To include hidden folders in the response, use the optional query parameter includeHiddenFolders=true. The response includes both hidden and nonhidden folders. If you use $select to limit the returned properties, include isHidden in the selection. + public bool? IsHidden + { + get { return BackingStore?.Get("isHidden"); } + set { BackingStore?.Set("isHidden", value); } + } /// The collection of items in this folder. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -173,6 +179,7 @@ public override IDictionary> GetFieldDeserializers() { "childFolderCount", n => { ChildFolderCount = n.GetIntValue(); } }, { "childFolders", n => { ChildFolders = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.MailboxFolder.CreateFromDiscriminatorValue)?.AsList(); } }, { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "isHidden", n => { IsHidden = n.GetBoolValue(); } }, { "items", n => { Items = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.MailboxItem.CreateFromDiscriminatorValue)?.AsList(); } }, { "multiValueExtendedProperties", n => { MultiValueExtendedProperties = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.MultiValueLegacyExtendedProperty.CreateFromDiscriminatorValue)?.AsList(); } }, { "parentFolderId", n => { ParentFolderId = n.GetStringValue(); } }, @@ -193,6 +200,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteIntValue("childFolderCount", ChildFolderCount); writer.WriteCollectionOfObjectValues("childFolders", ChildFolders); writer.WriteStringValue("displayName", DisplayName); + writer.WriteBoolValue("isHidden", IsHidden); writer.WriteCollectionOfObjectValues("items", Items); writer.WriteCollectionOfObjectValues("multiValueExtendedProperties", MultiValueExtendedProperties); writer.WriteStringValue("parentFolderId", ParentFolderId); diff --git a/src/Microsoft.Graph/Generated/Models/Member.cs b/src/Microsoft.Graph/Generated/Models/Member.cs new file mode 100644 index 00000000000..519b9040047 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Member.cs @@ -0,0 +1,143 @@ +// +#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.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class Member : 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 display name of the member. Optional. +#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 email address or routing key of the member. Optional. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Key + { + get { return BackingStore?.Get("key"); } + set { BackingStore?.Set("key", value); } + } +#nullable restore +#else + public string Key + { + get { return BackingStore?.Get("key"); } + set { BackingStore?.Set("key", value); } + } +#endif + /// A system-generated unique identifier for contact, privateDL, and mailbox members. Optional. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? MemberId + { + get { return BackingStore?.Get("memberId"); } + set { BackingStore?.Set("memberId", value); } + } +#nullable restore +#else + public string MemberId + { + get { return BackingStore?.Get("memberId"); } + set { BackingStore?.Set("memberId", 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 type property + public global::Microsoft.Graph.Models.RecipientType? Type + { + get { return BackingStore?.Get("type"); } + set { BackingStore?.Set("type", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public Member() + { + 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.Models.Member CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.Member(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "key", n => { Key = n.GetStringValue(); } }, + { "memberId", n => { MemberId = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "type", n => { Type = 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("displayName", DisplayName); + writer.WriteStringValue("key", Key); + writer.WriteStringValue("memberId", MemberId); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteEnumValue("type", Type); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/MobileAppContent.cs b/src/Microsoft.Graph/Generated/Models/MobileAppContent.cs index 22c78f09770..68dbf7197f7 100644 --- a/src/Microsoft.Graph/Generated/Models/MobileAppContent.cs +++ b/src/Microsoft.Graph/Generated/Models/MobileAppContent.cs @@ -44,6 +44,22 @@ public partial class MobileAppContent : global::Microsoft.Graph.Models.Entity, I get { return BackingStore?.Get>("files"); } set { BackingStore?.Set("files", value); } } +#endif + /// The list of scripts for this app content version. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Scripts + { + get { return BackingStore?.Get?>("scripts"); } + set { BackingStore?.Set("scripts", value); } + } +#nullable restore +#else + public List Scripts + { + get { return BackingStore?.Get>("scripts"); } + set { BackingStore?.Set("scripts", value); } + } #endif /// /// Creates a new instance of the appropriate class based on discriminator value @@ -65,6 +81,7 @@ public override IDictionary> GetFieldDeserializers() { { "containedApps", n => { ContainedApps = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.MobileContainedApp.CreateFromDiscriminatorValue)?.AsList(); } }, { "files", n => { Files = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.MobileAppContentFile.CreateFromDiscriminatorValue)?.AsList(); } }, + { "scripts", n => { Scripts = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.MobileAppContentScript.CreateFromDiscriminatorValue)?.AsList(); } }, }; } /// @@ -77,6 +94,7 @@ public override void Serialize(ISerializationWriter writer) base.Serialize(writer); writer.WriteCollectionOfObjectValues("containedApps", ContainedApps); writer.WriteCollectionOfObjectValues("files", Files); + writer.WriteCollectionOfObjectValues("scripts", Scripts); } } } diff --git a/src/Microsoft.Graph/Generated/Models/MobileAppContentScript.cs b/src/Microsoft.Graph/Generated/Models/MobileAppContentScript.cs new file mode 100644 index 00000000000..38e347afcb5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/MobileAppContentScript.cs @@ -0,0 +1,98 @@ +// +#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.Models +{ + /// + /// Contains properties for a script associated with amobileLobApp entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MobileAppContentScript : global::Microsoft.Graph.Models.Entity, IParsable + { + /// The content of the script. This is a Base64-encoded representation of the script's original content. The original content (before Base64 encoding) has a maximum size limit of 100KB. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Content + { + get { return BackingStore?.Get("content"); } + set { BackingStore?.Set("content", value); } + } +#nullable restore +#else + public string Content + { + get { return BackingStore?.Get("content"); } + set { BackingStore?.Set("content", value); } + } +#endif + /// The display name for the script. +#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 + /// A list of possible script lifecycle states. + public global::Microsoft.Graph.Models.MobileAppContentScriptState? State + { + get { return BackingStore?.Get("state"); } + set { BackingStore?.Set("state", 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.Models.MobileAppContentScript CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.win32LobAppInstallPowerShellScript" => new global::Microsoft.Graph.Models.Win32LobAppInstallPowerShellScript(), + "#microsoft.graph.win32LobAppScript" => new global::Microsoft.Graph.Models.Win32LobAppScript(), + "#microsoft.graph.win32LobAppUninstallPowerShellScript" => new global::Microsoft.Graph.Models.Win32LobAppUninstallPowerShellScript(), + _ => new global::Microsoft.Graph.Models.MobileAppContentScript(), + }; + } + /// + /// 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.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "state", n => { State = 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("content", Content); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteEnumValue("state", State); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/MobileAppContentScriptCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/MobileAppContentScriptCollectionResponse.cs new file mode 100644 index 00000000000..613e4e78624 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/MobileAppContentScriptCollectionResponse.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.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class MobileAppContentScriptCollectionResponse : global::Microsoft.Graph.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.Models.MobileAppContentScriptCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.MobileAppContentScriptCollectionResponse(); + } + /// + /// 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.Models.MobileAppContentScript.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/MobileAppContentScriptState.cs b/src/Microsoft.Graph/Generated/Models/MobileAppContentScriptState.cs new file mode 100644 index 00000000000..f2f387adbed --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/MobileAppContentScriptState.cs @@ -0,0 +1,23 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + /// A list of possible script lifecycle states. + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public enum MobileAppContentScriptState + { + /// Indicates that the script content is in a pending state. + [EnumMember(Value = "commitPending")] + CommitPending, + /// Indicates that the script content is ready. + [EnumMember(Value = "commitSuccess")] + CommitSuccess, + /// Indicates that the script is in an unusable state. + [EnumMember(Value = "commitFailed")] + CommitFailed, + /// Evolvable enumeration sentinel value. Do not use. + [EnumMember(Value = "unknownFutureValue")] + UnknownFutureValue, + } +} diff --git a/src/Microsoft.Graph/Generated/Models/MobileAppScriptReference.cs b/src/Microsoft.Graph/Generated/Models/MobileAppScriptReference.cs new file mode 100644 index 00000000000..9e92e94e819 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/MobileAppScriptReference.cs @@ -0,0 +1,100 @@ +// +#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.Models +{ + /// + /// A complex type that contains an identifier which is a reference an associated mobileAppContentScript entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MobileAppScriptReference : IAdditionalDataHolder, IBackedModel, IParsable + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The identifier of an associated mobileAppContentScript entity. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? TargetId + { + get { return BackingStore?.Get("targetId"); } + set { BackingStore?.Set("targetId", value); } + } +#nullable restore +#else + public string TargetId + { + get { return BackingStore?.Get("targetId"); } + set { BackingStore?.Set("targetId", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public MobileAppScriptReference() + { + 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.Models.MobileAppScriptReference CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.MobileAppScriptReference(); + } + /// + /// 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(); } }, + { "targetId", n => { TargetId = 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("targetId", TargetId); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/OptionalClaims.cs b/src/Microsoft.Graph/Generated/Models/OptionalClaims.cs index 1043dfb2859..c498d8a3c83 100644 --- a/src/Microsoft.Graph/Generated/Models/OptionalClaims.cs +++ b/src/Microsoft.Graph/Generated/Models/OptionalClaims.cs @@ -53,7 +53,7 @@ public IDictionary AdditionalData set { BackingStore?.Set("idToken", value); } } #endif - /// The kerberosTicket property + /// Optional claims that control group SID resolution for Kerberos tickets. The supported claim name is groups. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? KerberosTicket diff --git a/src/Microsoft.Graph/Generated/Models/OutlookItem.cs b/src/Microsoft.Graph/Generated/Models/OutlookItem.cs index fe4d60d7300..0394e06276d 100644 --- a/src/Microsoft.Graph/Generated/Models/OutlookItem.cs +++ b/src/Microsoft.Graph/Generated/Models/OutlookItem.cs @@ -69,6 +69,7 @@ public DateTimeOffset? LastModifiedDateTime { "#microsoft.graph.calendarSharingMessage" => new global::Microsoft.Graph.Models.CalendarSharingMessage(), "#microsoft.graph.contact" => new global::Microsoft.Graph.Models.Contact(), + "#microsoft.graph.distributionList" => new global::Microsoft.Graph.Models.DistributionList(), "#microsoft.graph.event" => new global::Microsoft.Graph.Models.Event(), "#microsoft.graph.eventMessage" => new global::Microsoft.Graph.Models.EventMessage(), "#microsoft.graph.eventMessageRequest" => new global::Microsoft.Graph.Models.EventMessageRequest(), diff --git a/src/Microsoft.Graph/Generated/Models/ProcessContentMetadataBase.cs b/src/Microsoft.Graph/Generated/Models/ProcessContentMetadataBase.cs index 65927c4ad5f..42e33ca158b 100644 --- a/src/Microsoft.Graph/Generated/Models/ProcessContentMetadataBase.cs +++ b/src/Microsoft.Graph/Generated/Models/ProcessContentMetadataBase.cs @@ -131,7 +131,7 @@ public string OdataType set { BackingStore?.Set("@odata.type", value); } } #endif - /// The sensitivityLabels property + /// Caller-supplied sensitivity labels describing the content. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? SensitivityLabels diff --git a/src/Microsoft.Graph/Generated/Models/ProtectionUnitBase.cs b/src/Microsoft.Graph/Generated/Models/ProtectionUnitBase.cs index f608c021cc5..c4feae91be5 100644 --- a/src/Microsoft.Graph/Generated/Models/ProtectionUnitBase.cs +++ b/src/Microsoft.Graph/Generated/Models/ProtectionUnitBase.cs @@ -12,6 +12,12 @@ namespace Microsoft.Graph.Models public partial class ProtectionUnitBase : global::Microsoft.Graph.Models.Entity, IParsable #pragma warning restore CS1591 { + /// The policy-configured retention period of the backup, in days. Not nullable. + public int? BackupRetentionPeriodInDays + { + get { return BackingStore?.Get("backupRetentionPeriodInDays"); } + set { BackingStore?.Set("backupRetentionPeriodInDays", value); } + } /// The identity of the person who created the protection unit. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -78,6 +84,22 @@ public DateTimeOffset? OffboardRequestedDateTime get { return BackingStore?.Get("offboardRequestedDateTime"); } set { BackingStore?.Set("offboardRequestedDateTime", value); } } + /// The retention period change to be applied to the protection unit when it moves between policies with different retention periods. Read-only. null when no change is pending. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.RetentionPeriodChange? PendingRetentionPeriodChange + { + get { return BackingStore?.Get("pendingRetentionPeriodChange"); } + set { BackingStore?.Set("pendingRetentionPeriodChange", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.RetentionPeriodChange PendingRetentionPeriodChange + { + get { return BackingStore?.Get("pendingRetentionPeriodChange"); } + set { BackingStore?.Set("pendingRetentionPeriodChange", value); } + } +#endif /// The unique identifier of the protection policy based on which protection unit was created. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -131,12 +153,14 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { + { "backupRetentionPeriodInDays", n => { BackupRetentionPeriodInDays = n.GetIntValue(); } }, { "createdBy", n => { CreatedBy = n.GetObjectValue(global::Microsoft.Graph.Models.IdentitySet.CreateFromDiscriminatorValue); } }, { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, { "error", n => { Error = n.GetObjectValue(global::Microsoft.Graph.Models.PublicError.CreateFromDiscriminatorValue); } }, { "lastModifiedBy", n => { LastModifiedBy = n.GetObjectValue(global::Microsoft.Graph.Models.IdentitySet.CreateFromDiscriminatorValue); } }, { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, { "offboardRequestedDateTime", n => { OffboardRequestedDateTime = n.GetDateTimeOffsetValue(); } }, + { "pendingRetentionPeriodChange", n => { PendingRetentionPeriodChange = n.GetObjectValue(global::Microsoft.Graph.Models.RetentionPeriodChange.CreateFromDiscriminatorValue); } }, { "policyId", n => { PolicyId = n.GetStringValue(); } }, { "protectionSources", n => { ProtectionSources = n.GetEnumValue(); } }, { "status", n => { Status = n.GetEnumValue(); } }, @@ -150,6 +174,7 @@ public override void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); + writer.WriteIntValue("backupRetentionPeriodInDays", BackupRetentionPeriodInDays); writer.WriteObjectValue("createdBy", CreatedBy); writer.WriteDateTimeOffsetValue("createdDateTime", CreatedDateTime); writer.WriteObjectValue("error", Error); diff --git a/src/Microsoft.Graph/Generated/Models/RecipientType.cs b/src/Microsoft.Graph/Generated/Models/RecipientType.cs new file mode 100644 index 00000000000..7161fc8b6ee --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/RecipientType.cs @@ -0,0 +1,32 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum RecipientType + #pragma warning restore CS1591 + { + [EnumMember(Value = "contact")] + #pragma warning disable CS1591 + Contact, + #pragma warning restore CS1591 + [EnumMember(Value = "oneOff")] + #pragma warning disable CS1591 + OneOff, + #pragma warning restore CS1591 + [EnumMember(Value = "mailbox")] + #pragma warning disable CS1591 + Mailbox, + #pragma warning restore CS1591 + [EnumMember(Value = "privateDL")] + #pragma warning disable CS1591 + PrivateDL, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/RetentionPeriodChange.cs b/src/Microsoft.Graph/Generated/Models/RetentionPeriodChange.cs new file mode 100644 index 00000000000..3d7613c336f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/RetentionPeriodChange.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.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RetentionPeriodChange : 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 date and time from which the retention period change takes effect. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2026, is 2026-01-01T00:00:00Z. Nullable. + public DateTimeOffset? EffectiveFromDateTime + { + get { return BackingStore?.Get("effectiveFromDateTime"); } + set { BackingStore?.Set("effectiveFromDateTime", 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 status property + public global::Microsoft.Graph.Models.RetentionPeriodChangeStatus? Status + { + get { return BackingStore?.Get("status"); } + set { BackingStore?.Set("status", value); } + } + /// Specifies the retention period, in days, that applies after the change is completed. Nullable. + public int? TargetRetentionPeriodInDays + { + get { return BackingStore?.Get("targetRetentionPeriodInDays"); } + set { BackingStore?.Set("targetRetentionPeriodInDays", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public RetentionPeriodChange() + { + 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.Models.RetentionPeriodChange CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.RetentionPeriodChange(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "effectiveFromDateTime", n => { EffectiveFromDateTime = n.GetDateTimeOffsetValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "status", n => { Status = n.GetEnumValue(); } }, + { "targetRetentionPeriodInDays", n => { TargetRetentionPeriodInDays = 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.WriteDateTimeOffsetValue("effectiveFromDateTime", EffectiveFromDateTime); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteEnumValue("status", Status); + writer.WriteIntValue("targetRetentionPeriodInDays", TargetRetentionPeriodInDays); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/RetentionPeriodChangeStatus.cs b/src/Microsoft.Graph/Generated/Models/RetentionPeriodChangeStatus.cs new file mode 100644 index 00000000000..8357857ff50 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/RetentionPeriodChangeStatus.cs @@ -0,0 +1,32 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum RetentionPeriodChangeStatus + #pragma warning restore CS1591 + { + [EnumMember(Value = "none")] + #pragma warning disable CS1591 + None, + #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 = "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/RetentionSetting.cs b/src/Microsoft.Graph/Generated/Models/RetentionSetting.cs index ef1eb133119..d67205b596e 100644 --- a/src/Microsoft.Graph/Generated/Models/RetentionSetting.cs +++ b/src/Microsoft.Graph/Generated/Models/RetentionSetting.cs @@ -21,7 +21,7 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The frequency of the backup. + /// The backup frequency, expressed as an ISO 8601 repeating interval. The service defines the backup intervals: R/PT10M for 10-minute copies and R/P1W for weekly copies. Use R/P1W when specifying the policy retention period in a create or update request. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Interval @@ -53,7 +53,7 @@ public string OdataType set { BackingStore?.Set("@odata.type", value); } } #endif - /// The period of time to retain the protected data for a single Microsoft 365 service. + /// The period of time to retain the protected data for a single Microsoft 365 service, expressed as an ISO 8601 duration. The supported policy retention periods in create and update requests are: P90D, P180D, P365D, P730D, P1095D, P1460D, P1825D, P2190D, P2555D, P2920D, P3285D, and P3650D. Other policy retention periods aren't supported. public TimeSpan? Period { get { return BackingStore?.Get("period"); } diff --git a/src/Microsoft.Graph/Generated/Models/SmsAuthenticationMethodConfiguration.cs b/src/Microsoft.Graph/Generated/Models/SmsAuthenticationMethodConfiguration.cs index cc4996fc8d1..3c9c23bfb79 100644 --- a/src/Microsoft.Graph/Generated/Models/SmsAuthenticationMethodConfiguration.cs +++ b/src/Microsoft.Graph/Generated/Models/SmsAuthenticationMethodConfiguration.cs @@ -27,6 +27,22 @@ public partial class SmsAuthenticationMethodConfiguration : global::Microsoft.Gr get { return BackingStore?.Get>("includeTargets"); } set { BackingStore?.Set("includeTargets", value); } } +#endif + /// Settings for routing SMS authentication traffic through a telecom provider integration. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.TelecomProviderSettings? TelecomProviderSettings + { + get { return BackingStore?.Get("telecomProviderSettings"); } + set { BackingStore?.Set("telecomProviderSettings", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.TelecomProviderSettings TelecomProviderSettings + { + get { return BackingStore?.Get("telecomProviderSettings"); } + set { BackingStore?.Set("telecomProviderSettings", value); } + } #endif /// /// Instantiates a new and sets the default values. @@ -54,6 +70,7 @@ public override IDictionary> GetFieldDeserializers() return new Dictionary>(base.GetFieldDeserializers()) { { "includeTargets", n => { IncludeTargets = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.SmsAuthenticationMethodTarget.CreateFromDiscriminatorValue)?.AsList(); } }, + { "telecomProviderSettings", n => { TelecomProviderSettings = n.GetObjectValue(global::Microsoft.Graph.Models.TelecomProviderSettings.CreateFromDiscriminatorValue); } }, }; } /// @@ -65,6 +82,7 @@ public override void Serialize(ISerializationWriter writer) if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); writer.WriteCollectionOfObjectValues("includeTargets", IncludeTargets); + writer.WriteObjectValue("telecomProviderSettings", TelecomProviderSettings); } } } diff --git a/src/Microsoft.Graph/Generated/Models/TelecomProviderSettings.cs b/src/Microsoft.Graph/Generated/Models/TelecomProviderSettings.cs new file mode 100644 index 00000000000..cc30ded1c9c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/TelecomProviderSettings.cs @@ -0,0 +1,123 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class TelecomProviderSettings : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// The application (client) ID used to authenticate to the telecom provider. + public Guid? AppId + { + get { return BackingStore?.Get("appId"); } + set { BackingStore?.Set("appId", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// true to run the telecom provider integration in evaluation (nonenforcing) mode; otherwise, false. + public bool? IsEvaluationModeEnabled + { + get { return BackingStore?.Get("isEvaluationModeEnabled"); } + set { BackingStore?.Set("isEvaluationModeEnabled", value); } + } + /// The percentage of authentication traffic routed to the telecom provider. Valid values range from 0 through 100. + public int? MigrationPercentage + { + get { return BackingStore?.Get("migrationPercentage"); } + set { BackingStore?.Set("migrationPercentage", value); } + } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The endpoint URL of the telecom provider integration. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Url + { + get { return BackingStore?.Get("url"); } + set { BackingStore?.Set("url", value); } + } +#nullable restore +#else + public string Url + { + get { return BackingStore?.Get("url"); } + set { BackingStore?.Set("url", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public TelecomProviderSettings() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.TelecomProviderSettings CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.TelecomProviderSettings(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "appId", n => { AppId = n.GetGuidValue(); } }, + { "isEvaluationModeEnabled", n => { IsEvaluationModeEnabled = n.GetBoolValue(); } }, + { "migrationPercentage", n => { MigrationPercentage = n.GetIntValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "url", n => { Url = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteGuidValue("appId", AppId); + writer.WriteBoolValue("isEvaluationModeEnabled", IsEvaluationModeEnabled); + writer.WriteIntValue("migrationPercentage", MigrationPercentage); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteStringValue("url", Url); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/UnifiedRoleDefinition.cs b/src/Microsoft.Graph/Generated/Models/UnifiedRoleDefinition.cs index 0e04b22dca9..4bf31bff2f7 100644 --- a/src/Microsoft.Graph/Generated/Models/UnifiedRoleDefinition.cs +++ b/src/Microsoft.Graph/Generated/Models/UnifiedRoleDefinition.cs @@ -12,6 +12,12 @@ namespace Microsoft.Graph.Models public partial class UnifiedRoleDefinition : global::Microsoft.Graph.Models.Entity, IParsable #pragma warning restore CS1591 { + /// The date and time when the custom role definition was deleted. The value is null for active and restored role definitions. Read-only. + public DateTimeOffset? DeletedDateTime + { + get { return BackingStore?.Get("deletedDateTime"); } + set { BackingStore?.Set("deletedDateTime", value); } + } /// The description for the unifiedRoleDefinition. Read-only when isBuiltIn is true. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -72,6 +78,12 @@ public bool? IsEnabled get { return BackingStore?.Get("isEnabled"); } set { BackingStore?.Set("isEnabled", value); } } + /// Flag indicating whether the role is privileged. Microsoft Entra ID defines a role as privileged if it contains at least one sensitive resource action in the allowedResourceActions collection of rolePermissions. Applies only to actions in the microsoft.directory resource namespace. Nullable. A value of null indicates that the privileged classification is unavailable, not that the role is nonprivileged. Read-only. Supports $filter (eq). + public bool? IsPrivileged + { + get { return BackingStore?.Get("isPrivileged"); } + set { BackingStore?.Set("isPrivileged", value); } + } /// List of the scopes or permissions the role definition applies to. Currently only / is supported. Read-only when isBuiltIn is true. DO NOT USE. This will be deprecated soon. Attach scope to role assignment. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -154,11 +166,13 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { + { "deletedDateTime", n => { DeletedDateTime = n.GetDateTimeOffsetValue(); } }, { "description", n => { Description = n.GetStringValue(); } }, { "displayName", n => { DisplayName = n.GetStringValue(); } }, { "inheritsPermissionsFrom", n => { InheritsPermissionsFrom = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.UnifiedRoleDefinition.CreateFromDiscriminatorValue)?.AsList(); } }, { "isBuiltIn", n => { IsBuiltIn = n.GetBoolValue(); } }, { "isEnabled", n => { IsEnabled = n.GetBoolValue(); } }, + { "isPrivileged", n => { IsPrivileged = n.GetBoolValue(); } }, { "resourceScopes", n => { ResourceScopes = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, { "rolePermissions", n => { RolePermissions = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.UnifiedRolePermission.CreateFromDiscriminatorValue)?.AsList(); } }, { "templateId", n => { TemplateId = n.GetStringValue(); } }, @@ -173,11 +187,13 @@ public override void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); + writer.WriteDateTimeOffsetValue("deletedDateTime", DeletedDateTime); writer.WriteStringValue("description", Description); writer.WriteStringValue("displayName", DisplayName); writer.WriteCollectionOfObjectValues("inheritsPermissionsFrom", InheritsPermissionsFrom); writer.WriteBoolValue("isBuiltIn", IsBuiltIn); writer.WriteBoolValue("isEnabled", IsEnabled); + writer.WriteBoolValue("isPrivileged", IsPrivileged); writer.WriteCollectionOfPrimitiveValues("resourceScopes", ResourceScopes); writer.WriteCollectionOfObjectValues("rolePermissions", RolePermissions); writer.WriteStringValue("templateId", TemplateId); diff --git a/src/Microsoft.Graph/Generated/Models/User.cs b/src/Microsoft.Graph/Generated/Models/User.cs index 4fc49b06fc9..3eeb0b21a9c 100644 --- a/src/Microsoft.Graph/Generated/Models/User.cs +++ b/src/Microsoft.Graph/Generated/Models/User.cs @@ -547,6 +547,22 @@ public string DisplayName get { return BackingStore?.Get("displayName"); } set { BackingStore?.Set("displayName", value); } } +#endif + /// The personal distribution lists in the user's mailbox. Read-only. Nullable. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? DistributionLists + { + get { return BackingStore?.Get?>("distributionLists"); } + set { BackingStore?.Set("distributionLists", value); } + } +#nullable restore +#else + public List DistributionLists + { + get { return BackingStore?.Get>("distributionLists"); } + set { BackingStore?.Set("distributionLists", value); } + } #endif /// The user's OneDrive. Read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -2104,6 +2120,7 @@ public override IDictionary> GetFieldDeserializers() { "deviceManagementTroubleshootingEvents", n => { DeviceManagementTroubleshootingEvents = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.DeviceManagementTroubleshootingEvent.CreateFromDiscriminatorValue)?.AsList(); } }, { "directReports", n => { DirectReports = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue)?.AsList(); } }, { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "distributionLists", n => { DistributionLists = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.DistributionList.CreateFromDiscriminatorValue)?.AsList(); } }, { "drive", n => { Drive = n.GetObjectValue(global::Microsoft.Graph.Models.Drive.CreateFromDiscriminatorValue); } }, { "drives", n => { Drives = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.Drive.CreateFromDiscriminatorValue)?.AsList(); } }, { "employeeExperience", n => { EmployeeExperience = n.GetObjectValue(global::Microsoft.Graph.Models.EmployeeExperienceUser.CreateFromDiscriminatorValue); } }, @@ -2250,6 +2267,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteCollectionOfObjectValues("deviceManagementTroubleshootingEvents", DeviceManagementTroubleshootingEvents); writer.WriteCollectionOfObjectValues("directReports", DirectReports); writer.WriteStringValue("displayName", DisplayName); + writer.WriteCollectionOfObjectValues("distributionLists", DistributionLists); writer.WriteObjectValue("drive", Drive); writer.WriteCollectionOfObjectValues("drives", Drives); writer.WriteObjectValue("employeeExperience", EmployeeExperience); diff --git a/src/Microsoft.Graph/Generated/Models/VoiceAuthenticationMethodConfiguration.cs b/src/Microsoft.Graph/Generated/Models/VoiceAuthenticationMethodConfiguration.cs index cda0e01f597..8cf6cd0d9eb 100644 --- a/src/Microsoft.Graph/Generated/Models/VoiceAuthenticationMethodConfiguration.cs +++ b/src/Microsoft.Graph/Generated/Models/VoiceAuthenticationMethodConfiguration.cs @@ -34,6 +34,22 @@ public bool? IsOfficePhoneAllowed get { return BackingStore?.Get("isOfficePhoneAllowed"); } set { BackingStore?.Set("isOfficePhoneAllowed", value); } } + /// Settings for routing voice authentication traffic through a telecom provider integration. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.TelecomProviderSettings? TelecomProviderSettings + { + get { return BackingStore?.Get("telecomProviderSettings"); } + set { BackingStore?.Set("telecomProviderSettings", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.TelecomProviderSettings TelecomProviderSettings + { + get { return BackingStore?.Get("telecomProviderSettings"); } + set { BackingStore?.Set("telecomProviderSettings", value); } + } +#endif /// /// Instantiates a new and sets the default values. /// @@ -61,6 +77,7 @@ public override IDictionary> GetFieldDeserializers() { { "includeTargets", n => { IncludeTargets = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.AuthenticationMethodTarget.CreateFromDiscriminatorValue)?.AsList(); } }, { "isOfficePhoneAllowed", n => { IsOfficePhoneAllowed = n.GetBoolValue(); } }, + { "telecomProviderSettings", n => { TelecomProviderSettings = n.GetObjectValue(global::Microsoft.Graph.Models.TelecomProviderSettings.CreateFromDiscriminatorValue); } }, }; } /// @@ -73,6 +90,7 @@ public override void Serialize(ISerializationWriter writer) base.Serialize(writer); writer.WriteCollectionOfObjectValues("includeTargets", IncludeTargets); writer.WriteBoolValue("isOfficePhoneAllowed", IsOfficePhoneAllowed); + writer.WriteObjectValue("telecomProviderSettings", TelecomProviderSettings); } } } diff --git a/src/Microsoft.Graph/Generated/Models/Win32LobApp.cs b/src/Microsoft.Graph/Generated/Models/Win32LobApp.cs index 5b0cbe637f9..03580cc26e6 100644 --- a/src/Microsoft.Graph/Generated/Models/Win32LobApp.cs +++ b/src/Microsoft.Graph/Generated/Models/Win32LobApp.cs @@ -13,6 +13,38 @@ namespace Microsoft.Graph.Models [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class Win32LobApp : global::Microsoft.Graph.Models.MobileLobApp, IParsable { + /// Contains the unique identifier of the associated install script for this Win32 app to be used instead of the install command line by the managed device during app installation. When null, the install command line is used instead. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.MobileAppScriptReference? ActiveInstallScript + { + get { return BackingStore?.Get("activeInstallScript"); } + set { BackingStore?.Set("activeInstallScript", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.MobileAppScriptReference ActiveInstallScript + { + get { return BackingStore?.Get("activeInstallScript"); } + set { BackingStore?.Set("activeInstallScript", value); } + } +#endif + /// Contains the unique identifier of the associated uninstall script for this Win32 app to be used instead of the uninstall command line by the managed device during app uninstallation. When null, the uninstall command line is used instead. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.MobileAppScriptReference? ActiveUninstallScript + { + get { return BackingStore?.Get("activeUninstallScript"); } + set { BackingStore?.Set("activeUninstallScript", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.MobileAppScriptReference ActiveUninstallScript + { + get { return BackingStore?.Get("activeUninstallScript"); } + set { BackingStore?.Set("activeUninstallScript", value); } + } +#endif /// Indicates the Windows architecture(s) this app should be installed on. The app will be treated as not applicable for devices with architectures not matching the selected value. When a non-null value is provided for the allowedArchitectures property, the value of the applicableArchitectures property is set to none. The possible values are: null, x86, x64, arm64. The possible values are: none, x86, x64, arm, neutral. public global::Microsoft.Graph.Models.WindowsArchitecture? AllowedArchitectures { @@ -202,6 +234,8 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { + { "activeInstallScript", n => { ActiveInstallScript = n.GetObjectValue(global::Microsoft.Graph.Models.MobileAppScriptReference.CreateFromDiscriminatorValue); } }, + { "activeUninstallScript", n => { ActiveUninstallScript = n.GetObjectValue(global::Microsoft.Graph.Models.MobileAppScriptReference.CreateFromDiscriminatorValue); } }, { "allowedArchitectures", n => { AllowedArchitectures = n.GetEnumValue(); } }, { "applicableArchitectures", n => { ApplicableArchitectures = n.GetEnumValue(); } }, { "installCommandLine", n => { InstallCommandLine = n.GetStringValue(); } }, @@ -226,6 +260,8 @@ public override void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); + writer.WriteObjectValue("activeInstallScript", ActiveInstallScript); + writer.WriteObjectValue("activeUninstallScript", ActiveUninstallScript); writer.WriteEnumValue("allowedArchitectures", AllowedArchitectures); writer.WriteEnumValue("applicableArchitectures", ApplicableArchitectures); writer.WriteStringValue("installCommandLine", InstallCommandLine); diff --git a/src/Microsoft.Graph/Generated/Models/Win32LobAppInstallPowerShellScript.cs b/src/Microsoft.Graph/Generated/Models/Win32LobAppInstallPowerShellScript.cs new file mode 100644 index 00000000000..cfe8683805f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Win32LobAppInstallPowerShellScript.cs @@ -0,0 +1,54 @@ +// +#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.Models +{ + /// + /// A representation of a PowerShell script that is used to install a Win32 app on an end-user device managed by Intune. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class Win32LobAppInstallPowerShellScript : global::Microsoft.Graph.Models.Win32LobAppScript, IParsable + { + /// + /// Instantiates a new and sets the default values. + /// + public Win32LobAppInstallPowerShellScript() : base() + { + OdataType = "#microsoft.graph.win32LobAppInstallPowerShellScript"; + } + /// + /// 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.Models.Win32LobAppInstallPowerShellScript CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.Win32LobAppInstallPowerShellScript(); + } + /// + /// 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/Win32LobAppScript.cs b/src/Microsoft.Graph/Generated/Models/Win32LobAppScript.cs new file mode 100644 index 00000000000..3f5fceae3ca --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Win32LobAppScript.cs @@ -0,0 +1,76 @@ +// +#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.Models +{ + /// + /// A representation of a script that can be run on an end-user device managed by Intune in relation to a Win32 app. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class Win32LobAppScript : global::Microsoft.Graph.Models.MobileAppContentScript, IParsable + { + /// Indicates whether or not to enforce a signature check when running the script. When TRUE, the script cannot be run without enforcing a signature check. When FALSE, no signature check will be enforced when running the script. Default value is FALSE. + public bool? EnforceSignatureCheck + { + get { return BackingStore?.Get("enforceSignatureCheck"); } + set { BackingStore?.Set("enforceSignatureCheck", value); } + } + /// Indicates whether the script will run as 32-bit or 64-bit. When TRUE, the script will run as 32-bit. When FALSE, the script will run as 64-bit. Default value is FALSE. + public bool? RunAs32Bit + { + get { return BackingStore?.Get("runAs32Bit"); } + set { BackingStore?.Set("runAs32Bit", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public Win32LobAppScript() : base() + { + OdataType = "#microsoft.graph.win32LobAppScript"; + } + /// + /// 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.Models.Win32LobAppScript CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.win32LobAppInstallPowerShellScript" => new global::Microsoft.Graph.Models.Win32LobAppInstallPowerShellScript(), + "#microsoft.graph.win32LobAppUninstallPowerShellScript" => new global::Microsoft.Graph.Models.Win32LobAppUninstallPowerShellScript(), + _ => new global::Microsoft.Graph.Models.Win32LobAppScript(), + }; + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "enforceSignatureCheck", n => { EnforceSignatureCheck = n.GetBoolValue(); } }, + { "runAs32Bit", n => { RunAs32Bit = 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("enforceSignatureCheck", EnforceSignatureCheck); + writer.WriteBoolValue("runAs32Bit", RunAs32Bit); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Win32LobAppUninstallPowerShellScript.cs b/src/Microsoft.Graph/Generated/Models/Win32LobAppUninstallPowerShellScript.cs new file mode 100644 index 00000000000..2e938eea2f2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Win32LobAppUninstallPowerShellScript.cs @@ -0,0 +1,54 @@ +// +#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.Models +{ + /// + /// A representation of a PowerShell script that is used to uninstall a Win32 app on an end-user device managed by Intune. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class Win32LobAppUninstallPowerShellScript : global::Microsoft.Graph.Models.Win32LobAppScript, IParsable + { + /// + /// Instantiates a new and sets the default values. + /// + public Win32LobAppUninstallPowerShellScript() : base() + { + OdataType = "#microsoft.graph.win32LobAppUninstallPowerShellScript"; + } + /// + /// 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.Models.Win32LobAppUninstallPowerShellScript CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.Win32LobAppUninstallPowerShellScript(); + } + /// + /// 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/Solutions/BackupRestore/ExchangeProtectionPolicies/Item/ExchangeProtectionPolicyItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/ExchangeProtectionPolicies/Item/ExchangeProtectionPolicyItemRequestBuilder.cs index c088ea7d049..91ca1a3126b 100644 --- a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/ExchangeProtectionPolicies/Item/ExchangeProtectionPolicyItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/ExchangeProtectionPolicies/Item/ExchangeProtectionPolicyItemRequestBuilder.cs @@ -98,7 +98,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.ExchangeProtectionPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update an Exchange protection policy. This method adds a mailboxprotectionunit to or removes it from the protection policy. + /// Update an Exchange protection policy. This method updates retention settings or adds a mailboxProtectionUnit to or removes it from the protection policy. /// Find more info here /// /// A @@ -162,7 +162,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update an Exchange protection policy. This method adds a mailboxprotectionunit to or removes it from the protection policy. + /// Update an Exchange protection policy. This method updates retention settings or adds a mailboxProtectionUnit to or removes it from the protection policy. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessProtectionPolicies/Item/OneDriveForBusinessProtectionPolicyItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessProtectionPolicies/Item/OneDriveForBusinessProtectionPolicyItemRequestBuilder.cs index 8633ac5d03d..111b8e4c6aa 100644 --- a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessProtectionPolicies/Item/OneDriveForBusinessProtectionPolicyItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessProtectionPolicies/Item/OneDriveForBusinessProtectionPolicyItemRequestBuilder.cs @@ -98,7 +98,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.OneDriveForBusinessProtectionPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the protection policy for the OneDrive service in Microsoft 365. This method adds a driveProtectionUnit to or removes it from a oneDriveForBusinessProtectionPolicy object. + /// Update the protection policy for the OneDrive service in Microsoft 365. This method updates retention settings or adds a driveProtectionUnit to or removes it from a oneDriveForBusinessProtectionPolicy object. /// Find more info here /// /// A @@ -162,7 +162,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the protection policy for the OneDrive service in Microsoft 365. This method adds a driveProtectionUnit to or removes it from a oneDriveForBusinessProtectionPolicy object. + /// Update the protection policy for the OneDrive service in Microsoft 365. This method updates retention settings or adds a driveProtectionUnit to or removes it from a oneDriveForBusinessProtectionPolicy object. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointProtectionPolicies/Item/SharePointProtectionPolicyItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointProtectionPolicies/Item/SharePointProtectionPolicyItemRequestBuilder.cs index 2eae0394deb..37f5939b95b 100644 --- a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointProtectionPolicies/Item/SharePointProtectionPolicyItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointProtectionPolicies/Item/SharePointProtectionPolicyItemRequestBuilder.cs @@ -98,7 +98,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.SharePointProtectionPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update a SharePoint protection policy. This method adds a siteprotectionunit to or removes it from the protection policy. + /// Update a SharePoint protection policy. This method updates retention settings or adds a siteProtectionUnit to or removes it from the protection policy. /// Find more info here /// /// A @@ -162,7 +162,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update a SharePoint protection policy. This method adds a siteprotectionunit to or removes it from the protection policy. + /// Update a SharePoint protection policy. This method updates retention settings or adds a siteProtectionUnit to or removes it from the protection policy. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Users/Item/DistributionLists/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/DistributionLists/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..d48f47846cd --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/DistributionLists/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Users.Item.DistributionLists.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}/users/{user%2Did}/distributionLists/$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}/users/{user%2Did}/distributionLists/$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.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.Users.Item.DistributionLists.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.DistributionLists.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/Users/Item/DistributionLists/DistributionListsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/DistributionLists/DistributionListsRequestBuilder.cs new file mode 100644 index 00000000000..42bf492fb28 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/DistributionLists/DistributionListsRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Users.Item.DistributionLists.Count; +using Microsoft.Graph.Users.Item.DistributionLists.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.Users.Item.DistributionLists +{ + /// + /// Provides operations to manage the distributionLists property of the microsoft.graph.user entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DistributionListsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Users.Item.DistributionLists.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Users.Item.DistributionLists.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the distributionLists property of the microsoft.graph.user entity. + /// The unique identifier of distributionList + /// A + public global::Microsoft.Graph.Users.Item.DistributionLists.Item.DistributionListItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("distributionList%2Did", position); + return new global::Microsoft.Graph.Users.Item.DistributionLists.Item.DistributionListItemRequestBuilder(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 DistributionListsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/distributionLists{?%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 DistributionListsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/distributionLists{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The personal distribution lists in the user's mailbox. Read-only. Nullable. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DistributionListCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to distributionLists for users + /// + /// 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.Models.DistributionList body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.DistributionList 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DistributionList.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The personal distribution lists in the user's mailbox. Read-only. Nullable. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to distributionLists for users + /// + /// 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.Models.DistributionList body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.DistributionList 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.Users.Item.DistributionLists.DistributionListsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.DistributionLists.DistributionListsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The personal distribution lists in the user's mailbox. Read-only. Nullable. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DistributionListsRequestBuilderGetQueryParameters + { + /// 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 DistributionListsRequestBuilderGetRequestConfiguration : 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 DistributionListsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/DistributionLists/Item/AddMembers/AddMembersPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/DistributionLists/Item/AddMembers/AddMembersPostRequestBody.cs new file mode 100644 index 00000000000..fd3799b7990 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/DistributionLists/Item/AddMembers/AddMembersPostRequestBody.cs @@ -0,0 +1,82 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Users.Item.DistributionLists.Item.AddMembers +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AddMembersPostRequestBody : 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 Members property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Members + { + get { return BackingStore?.Get?>("Members"); } + set { BackingStore?.Set("Members", value); } + } +#nullable restore +#else + public List Members + { + get { return BackingStore?.Get>("Members"); } + set { BackingStore?.Set("Members", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public AddMembersPostRequestBody() + { + 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.Users.Item.DistributionLists.Item.AddMembers.AddMembersPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Users.Item.DistributionLists.Item.AddMembers.AddMembersPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "Members", n => { Members = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.Member.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfObjectValues("Members", Members); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/DistributionLists/Item/AddMembers/AddMembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/DistributionLists/Item/AddMembers/AddMembersRequestBuilder.cs new file mode 100644 index 00000000000..cebd254a947 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/DistributionLists/Item/AddMembers/AddMembersRequestBuilder.cs @@ -0,0 +1,103 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.Users.Item.DistributionLists.Item.AddMembers +{ + /// + /// Provides operations to call the addMembers method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AddMembersRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public AddMembersRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/distributionLists/{distributionList%2Did}/addMembers", 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 AddMembersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/distributionLists/{distributionList%2Did}/addMembers", rawUrl) + { + } + /// + /// Invoke action addMembers + /// + /// 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.Users.Item.DistributionLists.Item.AddMembers.AddMembersPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Users.Item.DistributionLists.Item.AddMembers.AddMembersPostRequestBody 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DistributionList.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action addMembers + /// + /// 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.Users.Item.DistributionLists.Item.AddMembers.AddMembersPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Users.Item.DistributionLists.Item.AddMembers.AddMembersPostRequestBody 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.Users.Item.DistributionLists.Item.AddMembers.AddMembersRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.DistributionLists.Item.AddMembers.AddMembersRequestBuilder(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 AddMembersRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/DistributionLists/Item/DeleteMembers/DeleteMembersPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/DistributionLists/Item/DeleteMembers/DeleteMembersPostRequestBody.cs new file mode 100644 index 00000000000..a88edd69b0b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/DistributionLists/Item/DeleteMembers/DeleteMembersPostRequestBody.cs @@ -0,0 +1,82 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Users.Item.DistributionLists.Item.DeleteMembers +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DeleteMembersPostRequestBody : 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 Members property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Members + { + get { return BackingStore?.Get?>("Members"); } + set { BackingStore?.Set("Members", value); } + } +#nullable restore +#else + public List Members + { + get { return BackingStore?.Get>("Members"); } + set { BackingStore?.Set("Members", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public DeleteMembersPostRequestBody() + { + 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.Users.Item.DistributionLists.Item.DeleteMembers.DeleteMembersPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Users.Item.DistributionLists.Item.DeleteMembers.DeleteMembersPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "Members", n => { Members = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.Member.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfObjectValues("Members", Members); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/DistributionLists/Item/DeleteMembers/DeleteMembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/DistributionLists/Item/DeleteMembers/DeleteMembersRequestBuilder.cs new file mode 100644 index 00000000000..c6a8a6d7117 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/DistributionLists/Item/DeleteMembers/DeleteMembersRequestBuilder.cs @@ -0,0 +1,103 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.Users.Item.DistributionLists.Item.DeleteMembers +{ + /// + /// Provides operations to call the deleteMembers method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeleteMembersRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public DeleteMembersRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/distributionLists/{distributionList%2Did}/deleteMembers", 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 DeleteMembersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/distributionLists/{distributionList%2Did}/deleteMembers", rawUrl) + { + } + /// + /// Invoke action deleteMembers + /// + /// 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.Users.Item.DistributionLists.Item.DeleteMembers.DeleteMembersPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Users.Item.DistributionLists.Item.DeleteMembers.DeleteMembersPostRequestBody 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DistributionList.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action deleteMembers + /// + /// 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.Users.Item.DistributionLists.Item.DeleteMembers.DeleteMembersPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Users.Item.DistributionLists.Item.DeleteMembers.DeleteMembersPostRequestBody 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.Users.Item.DistributionLists.Item.DeleteMembers.DeleteMembersRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.DistributionLists.Item.DeleteMembers.DeleteMembersRequestBuilder(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 DeleteMembersRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/DistributionLists/Item/DistributionListItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/DistributionLists/Item/DistributionListItemRequestBuilder.cs new file mode 100644 index 00000000000..3c6888c8b05 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/DistributionLists/Item/DistributionListItemRequestBuilder.cs @@ -0,0 +1,247 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Users.Item.DistributionLists.Item.AddMembers; +using Microsoft.Graph.Users.Item.DistributionLists.Item.DeleteMembers; +using Microsoft.Graph.Users.Item.DistributionLists.Item.Members; +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.Users.Item.DistributionLists.Item +{ + /// + /// Provides operations to manage the distributionLists property of the microsoft.graph.user entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DistributionListItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the addMembers method. + public global::Microsoft.Graph.Users.Item.DistributionLists.Item.AddMembers.AddMembersRequestBuilder AddMembers + { + get => new global::Microsoft.Graph.Users.Item.DistributionLists.Item.AddMembers.AddMembersRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the deleteMembers method. + public global::Microsoft.Graph.Users.Item.DistributionLists.Item.DeleteMembers.DeleteMembersRequestBuilder DeleteMembers + { + get => new global::Microsoft.Graph.Users.Item.DistributionLists.Item.DeleteMembers.DeleteMembersRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the members property of the microsoft.graph.distributionList entity. + public global::Microsoft.Graph.Users.Item.DistributionLists.Item.Members.MembersRequestBuilder Members + { + get => new global::Microsoft.Graph.Users.Item.DistributionLists.Item.Members.MembersRequestBuilder(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 DistributionListItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/distributionLists/{distributionList%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 DistributionListItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/distributionLists/{distributionList%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property distributionLists for users + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The personal distribution lists in the user's mailbox. Read-only. Nullable. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DistributionList.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property distributionLists in users + /// + /// 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.Models.DistributionList body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.DistributionList 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DistributionList.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property distributionLists for users + /// + /// 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 personal distribution lists in the user's mailbox. Read-only. Nullable. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#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 distributionLists in users + /// + /// 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.Models.DistributionList body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.DistributionList 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.Users.Item.DistributionLists.Item.DistributionListItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.DistributionLists.Item.DistributionListItemRequestBuilder(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 DistributionListItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// The personal distribution lists in the user's mailbox. Read-only. Nullable. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DistributionListItemRequestBuilderGetQueryParameters + { + /// 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 DistributionListItemRequestBuilderGetRequestConfiguration : 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 DistributionListItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/DistributionLists/Item/Members/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/DistributionLists/Item/Members/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..7dda0f821ee --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/DistributionLists/Item/Members/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Users.Item.DistributionLists.Item.Members.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}/users/{user%2Did}/distributionLists/{distributionList%2Did}/members/$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}/users/{user%2Did}/distributionLists/{distributionList%2Did}/members/$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.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.Users.Item.DistributionLists.Item.Members.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.DistributionLists.Item.Members.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/Users/Item/DistributionLists/Item/Members/Item/Contact/ContactRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/DistributionLists/Item/Members/Item/Contact/ContactRequestBuilder.cs new file mode 100644 index 00000000000..e150428c59e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/DistributionLists/Item/Members/Item/Contact/ContactRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.Users.Item.DistributionLists.Item.Members.Item.Contact +{ + /// + /// Provides operations to manage the contact property of the microsoft.graph.distributionListMember entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContactRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ContactRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/distributionLists/{distributionList%2Did}/members/{distributionListMember%2Did}/contact{?%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 ContactRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/distributionLists/{distributionList%2Did}/members/{distributionListMember%2Did}/contact{?%24expand,%24select}", rawUrl) + { + } + /// + /// The contact associated with the distribution list member. Read-only. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Contact.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The contact associated with the distribution list member. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.DistributionLists.Item.Members.Item.Contact.ContactRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.DistributionLists.Item.Members.Item.Contact.ContactRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The contact associated with the distribution list member. Read-only. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContactRequestBuilderGetQueryParameters + { + /// 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 ContactRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/DistributionLists/Item/Members/Item/DistributionListMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/DistributionLists/Item/Members/Item/DistributionListMemberItemRequestBuilder.cs new file mode 100644 index 00000000000..b48dca19c27 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/DistributionLists/Item/Members/Item/DistributionListMemberItemRequestBuilder.cs @@ -0,0 +1,131 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Users.Item.DistributionLists.Item.Members.Item.Contact; +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.Users.Item.DistributionLists.Item.Members.Item +{ + /// + /// Provides operations to manage the members property of the microsoft.graph.distributionList entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DistributionListMemberItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the contact property of the microsoft.graph.distributionListMember entity. + public global::Microsoft.Graph.Users.Item.DistributionLists.Item.Members.Item.Contact.ContactRequestBuilder Contact + { + get => new global::Microsoft.Graph.Users.Item.DistributionLists.Item.Members.Item.Contact.ContactRequestBuilder(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 DistributionListMemberItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/distributionLists/{distributionList%2Did}/members/{distributionListMember%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 DistributionListMemberItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/distributionLists/{distributionList%2Did}/members/{distributionListMember%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// The members of the distribution list. Not returned by default; use $expand=members to include. Read-only. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DistributionListMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The members of the distribution list. Not returned by default; use $expand=members to include. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.DistributionLists.Item.Members.Item.DistributionListMemberItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.DistributionLists.Item.Members.Item.DistributionListMemberItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The members of the distribution list. Not returned by default; use $expand=members to include. Read-only. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DistributionListMemberItemRequestBuilderGetQueryParameters + { + /// 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 DistributionListMemberItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/DistributionLists/Item/Members/MembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/DistributionLists/Item/Members/MembersRequestBuilder.cs new file mode 100644 index 00000000000..0d3344f0c33 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/DistributionLists/Item/Members/MembersRequestBuilder.cs @@ -0,0 +1,183 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Users.Item.DistributionLists.Item.Members.Count; +using Microsoft.Graph.Users.Item.DistributionLists.Item.Members.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.Users.Item.DistributionLists.Item.Members +{ + /// + /// Provides operations to manage the members property of the microsoft.graph.distributionList entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MembersRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Users.Item.DistributionLists.Item.Members.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Users.Item.DistributionLists.Item.Members.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the members property of the microsoft.graph.distributionList entity. + /// The unique identifier of distributionListMember + /// A + public global::Microsoft.Graph.Users.Item.DistributionLists.Item.Members.Item.DistributionListMemberItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("distributionListMember%2Did", position); + return new global::Microsoft.Graph.Users.Item.DistributionLists.Item.Members.Item.DistributionListMemberItemRequestBuilder(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 MembersRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/distributionLists/{distributionList%2Did}/members{?%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 MembersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/distributionLists/{distributionList%2Did}/members{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The members of the distribution list. Not returned by default; use $expand=members to include. Read-only. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DistributionListMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The members of the distribution list. Not returned by default; use $expand=members to include. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.DistributionLists.Item.Members.MembersRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.DistributionLists.Item.Members.MembersRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The members of the distribution list. Not returned by default; use $expand=members to include. Read-only. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MembersRequestBuilderGetQueryParameters + { + /// 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 MembersRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/UserItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/UserItemRequestBuilder.cs index 91c44a841e2..90078bcf05b 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/UserItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/UserItemRequestBuilder.cs @@ -24,6 +24,7 @@ using Microsoft.Graph.Users.Item.DataSecurityAndGovernance; using Microsoft.Graph.Users.Item.DeviceManagementTroubleshootingEvents; using Microsoft.Graph.Users.Item.DirectReports; +using Microsoft.Graph.Users.Item.DistributionLists; using Microsoft.Graph.Users.Item.Drive; using Microsoft.Graph.Users.Item.Drives; using Microsoft.Graph.Users.Item.EmployeeExperience; @@ -210,6 +211,11 @@ public partial class UserItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Users.Item.DirectReports.DirectReportsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the distributionLists property of the microsoft.graph.user entity. + public global::Microsoft.Graph.Users.Item.DistributionLists.DistributionListsRequestBuilder DistributionLists + { + get => new global::Microsoft.Graph.Users.Item.DistributionLists.DistributionListsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the drive property of the microsoft.graph.user entity. public global::Microsoft.Graph.Users.Item.Drive.DriveRequestBuilder Drive { diff --git a/src/Microsoft.Graph/Generated/kiota-dom-export.txt b/src/Microsoft.Graph/Generated/kiota-dom-export.txt index fbfd8556996..b86150fac4b 100644 --- a/src/Microsoft.Graph/Generated/kiota-dom-export.txt +++ b/src/Microsoft.Graph/Generated/kiota-dom-export.txt @@ -11257,10 +11257,55 @@ Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVe Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|files:global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Files.FilesRequestBuilder Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MobileAppContent Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.MobileAppContent; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MobileAppContent +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|scripts:global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Scripts.ScriptsRequestBuilder Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.MobileAppContent; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.MobileAppContentItemRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder.MobileAppContentScriptItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder.MobileAppContentScriptItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder.MobileAppContentScriptItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder.MobileAppContentScriptItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder.MobileAppContentScriptItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MobileAppContentScript +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.MobileAppContentScript; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MobileAppContentScript +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.MobileAppContentScript; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder::[MobileAppContentScriptId:string]:global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|Count:global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MobileAppContentScriptCollectionResponse +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.MobileAppContentScript; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MobileAppContentScript +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.MobileAppContentScript; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Scripts.ScriptsRequestBuilder Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.graphAndroidLobAppRequestBuilder-->BaseRequestBuilder Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.graphAndroidLobAppRequestBuilder.graphAndroidLobAppRequestBuilderGetQueryParameters::|public|Expand:string[] Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.graphAndroidLobAppRequestBuilder.graphAndroidLobAppRequestBuilderGetQueryParameters::|public|Select:string[] @@ -11596,10 +11641,55 @@ Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersio Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|files:global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Files.FilesRequestBuilder Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MobileAppContent Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.MobileAppContent; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MobileAppContent +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|scripts:global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Scripts.ScriptsRequestBuilder Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.MobileAppContent; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.MobileAppContentItemRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder.MobileAppContentScriptItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder.MobileAppContentScriptItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder.MobileAppContentScriptItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder.MobileAppContentScriptItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder.MobileAppContentScriptItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MobileAppContentScript +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.MobileAppContentScript; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MobileAppContentScript +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.MobileAppContentScript; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder::[MobileAppContentScriptId:string]:global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|Count:global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MobileAppContentScriptCollectionResponse +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.MobileAppContentScript; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MobileAppContentScript +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.MobileAppContentScript; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Scripts.ScriptsRequestBuilder Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.graphIosLobAppRequestBuilder-->BaseRequestBuilder Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.graphIosLobAppRequestBuilder.graphIosLobAppRequestBuilderGetQueryParameters::|public|Expand:string[] Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.graphIosLobAppRequestBuilder.graphIosLobAppRequestBuilderGetQueryParameters::|public|Select:string[] @@ -12025,10 +12115,55 @@ Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVers Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|files:global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Files.FilesRequestBuilder Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MobileAppContent Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.MobileAppContent; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MobileAppContent +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|scripts:global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Scripts.ScriptsRequestBuilder Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.MobileAppContent; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.MobileAppContentItemRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder.MobileAppContentScriptItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder.MobileAppContentScriptItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder.MobileAppContentScriptItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder.MobileAppContentScriptItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder.MobileAppContentScriptItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MobileAppContentScript +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.MobileAppContentScript; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MobileAppContentScript +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.MobileAppContentScript; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Scripts.scriptsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Scripts.scriptsRequestBuilder::[MobileAppContentScriptId:string]:global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|Count:global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MobileAppContentScriptCollectionResponse +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.MobileAppContentScript; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MobileAppContentScript +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.MobileAppContentScript; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Scripts.ScriptsRequestBuilder Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.graphMacOSDmgAppRequestBuilder-->BaseRequestBuilder Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.graphMacOSDmgAppRequestBuilder.graphMacOSDmgAppRequestBuilderGetQueryParameters::|public|Expand:string[] Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.graphMacOSDmgAppRequestBuilder.graphMacOSDmgAppRequestBuilderGetQueryParameters::|public|Select:string[] @@ -12274,10 +12409,55 @@ Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVers Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|files:global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Files.FilesRequestBuilder Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MobileAppContent Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.MobileAppContent; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MobileAppContent +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|scripts:global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Scripts.ScriptsRequestBuilder Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.MobileAppContent; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.MobileAppContentItemRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder.MobileAppContentScriptItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder.MobileAppContentScriptItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder.MobileAppContentScriptItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder.MobileAppContentScriptItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder.MobileAppContentScriptItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MobileAppContentScript +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.MobileAppContentScript; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MobileAppContentScript +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.MobileAppContentScript; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder::[MobileAppContentScriptId:string]:global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|Count:global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MobileAppContentScriptCollectionResponse +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.MobileAppContentScript; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MobileAppContentScript +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.MobileAppContentScript; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Scripts.ScriptsRequestBuilder Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.graphMacOSLobAppRequestBuilder-->BaseRequestBuilder Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.graphMacOSLobAppRequestBuilder.graphMacOSLobAppRequestBuilderGetQueryParameters::|public|Expand:string[] Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.graphMacOSLobAppRequestBuilder.graphMacOSLobAppRequestBuilderGetQueryParameters::|public|Select:string[] @@ -12523,10 +12703,55 @@ Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.Co Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|files:global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Files.FilesRequestBuilder Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MobileAppContent Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.MobileAppContent; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MobileAppContent +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|scripts:global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Scripts.ScriptsRequestBuilder Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.MobileAppContent; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.MobileAppContentItemRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder.MobileAppContentScriptItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder.MobileAppContentScriptItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder.MobileAppContentScriptItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder.MobileAppContentScriptItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder.MobileAppContentScriptItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MobileAppContentScript +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.MobileAppContentScript; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MobileAppContentScript +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.MobileAppContentScript; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder::[MobileAppContentScriptId:string]:global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|Count:global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MobileAppContentScriptCollectionResponse +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.MobileAppContentScript; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MobileAppContentScript +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.MobileAppContentScript; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Scripts.ScriptsRequestBuilder Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.graphManagedAndroidLobAppRequestBuilder-->BaseRequestBuilder Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.graphManagedAndroidLobAppRequestBuilder.graphManagedAndroidLobAppRequestBuilderGetQueryParameters::|public|Expand:string[] Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.graphManagedAndroidLobAppRequestBuilder.graphManagedAndroidLobAppRequestBuilderGetQueryParameters::|public|Select:string[] @@ -12772,10 +12997,55 @@ Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.Conten Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|files:global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Files.FilesRequestBuilder Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MobileAppContent Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.MobileAppContent; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MobileAppContent +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|scripts:global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Scripts.ScriptsRequestBuilder Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.MobileAppContent; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.MobileAppContentItemRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder.MobileAppContentScriptItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder.MobileAppContentScriptItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder.MobileAppContentScriptItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder.MobileAppContentScriptItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder.MobileAppContentScriptItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MobileAppContentScript +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.MobileAppContentScript; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MobileAppContentScript +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.MobileAppContentScript; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder::[MobileAppContentScriptId:string]:global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|Count:global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MobileAppContentScriptCollectionResponse +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.MobileAppContentScript; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MobileAppContentScript +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.MobileAppContentScript; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Scripts.ScriptsRequestBuilder Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.graphManagedIOSLobAppRequestBuilder-->BaseRequestBuilder Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.graphManagedIOSLobAppRequestBuilder.graphManagedIOSLobAppRequestBuilderGetQueryParameters::|public|Expand:string[] Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.graphManagedIOSLobAppRequestBuilder.graphManagedIOSLobAppRequestBuilderGetQueryParameters::|public|Select:string[] @@ -13021,10 +13291,55 @@ Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.Con Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|files:global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Files.FilesRequestBuilder Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MobileAppContent Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.MobileAppContent; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MobileAppContent +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|scripts:global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Scripts.ScriptsRequestBuilder Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.MobileAppContent; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.MobileAppContentItemRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder.MobileAppContentScriptItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder.MobileAppContentScriptItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder.MobileAppContentScriptItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder.MobileAppContentScriptItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder.MobileAppContentScriptItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MobileAppContentScript +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.MobileAppContentScript; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MobileAppContentScript +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.MobileAppContentScript; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder::[MobileAppContentScriptId:string]:global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|Count:global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MobileAppContentScriptCollectionResponse +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.MobileAppContentScript; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MobileAppContentScript +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.MobileAppContentScript; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Scripts.ScriptsRequestBuilder Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.graphManagedMobileLobAppRequestBuilder-->BaseRequestBuilder Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.graphManagedMobileLobAppRequestBuilder.graphManagedMobileLobAppRequestBuilderGetQueryParameters::|public|Expand:string[] Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.graphManagedMobileLobAppRequestBuilder.graphManagedMobileLobAppRequestBuilderGetQueryParameters::|public|Select:string[] @@ -13360,10 +13675,55 @@ Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVers Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|files:global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Files.FilesRequestBuilder Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MobileAppContent Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.MobileAppContent; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MobileAppContent +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|scripts:global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Scripts.ScriptsRequestBuilder Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.MobileAppContent; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.MobileAppContentItemRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder.MobileAppContentScriptItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder.MobileAppContentScriptItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder.MobileAppContentScriptItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder.MobileAppContentScriptItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder.MobileAppContentScriptItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MobileAppContentScript +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.MobileAppContentScript; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MobileAppContentScript +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.MobileAppContentScript; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder::[MobileAppContentScriptId:string]:global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|Count:global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Scripts.Count.CountRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MobileAppContentScriptCollectionResponse +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.MobileAppContentScript; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MobileAppContentScript +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.MobileAppContentScript; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Scripts.ScriptsRequestBuilder Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.graphWin32LobAppRequestBuilder-->BaseRequestBuilder Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.graphWin32LobAppRequestBuilder.graphWin32LobAppRequestBuilderGetQueryParameters::|public|Expand:string[] Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.graphWin32LobAppRequestBuilder.graphWin32LobAppRequestBuilderGetQueryParameters::|public|Select:string[] @@ -13609,10 +13969,55 @@ Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVers Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|files:global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Files.FilesRequestBuilder Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MobileAppContent Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.MobileAppContent; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MobileAppContent +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|scripts:global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Scripts.ScriptsRequestBuilder Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.MobileAppContent; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.MobileAppContentItemRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Scripts.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Scripts.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Scripts.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Scripts.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Scripts.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Scripts.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Scripts.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Scripts.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Scripts.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Scripts.Count.CountRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder.MobileAppContentScriptItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder.MobileAppContentScriptItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder.MobileAppContentScriptItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder.MobileAppContentScriptItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder.MobileAppContentScriptItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MobileAppContentScript +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.MobileAppContentScript; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MobileAppContentScript +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.MobileAppContentScript; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Scripts.scriptsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Scripts.scriptsRequestBuilder::[MobileAppContentScriptId:string]:global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|Count:global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Scripts.Count.CountRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MobileAppContentScriptCollectionResponse +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.MobileAppContentScript; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MobileAppContentScript +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.MobileAppContentScript; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Scripts.ScriptsRequestBuilder Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.graphWindowsAppXRequestBuilder-->BaseRequestBuilder Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.graphWindowsAppXRequestBuilder.graphWindowsAppXRequestBuilderGetQueryParameters::|public|Expand:string[] Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.graphWindowsAppXRequestBuilder.graphWindowsAppXRequestBuilderGetQueryParameters::|public|Select:string[] @@ -13858,10 +14263,55 @@ Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.Conten Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|files:global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Files.FilesRequestBuilder Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MobileAppContent Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.MobileAppContent; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MobileAppContent +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|scripts:global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Scripts.ScriptsRequestBuilder Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.MobileAppContent; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.MobileAppContentItemRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Scripts.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Scripts.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Scripts.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Scripts.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Scripts.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Scripts.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Scripts.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Scripts.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Scripts.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Scripts.Count.CountRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder.MobileAppContentScriptItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder.MobileAppContentScriptItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder.MobileAppContentScriptItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder.MobileAppContentScriptItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder.MobileAppContentScriptItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MobileAppContentScript +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.MobileAppContentScript; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MobileAppContentScript +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.MobileAppContentScript; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Scripts.scriptsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Scripts.scriptsRequestBuilder::[MobileAppContentScriptId:string]:global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|Count:global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Scripts.Count.CountRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MobileAppContentScriptCollectionResponse +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.MobileAppContentScript; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MobileAppContentScript +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.MobileAppContentScript; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Scripts.ScriptsRequestBuilder Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.graphWindowsMobileMSIRequestBuilder-->BaseRequestBuilder Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.graphWindowsMobileMSIRequestBuilder.graphWindowsMobileMSIRequestBuilderGetQueryParameters::|public|Expand:string[] Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.graphWindowsMobileMSIRequestBuilder.graphWindowsMobileMSIRequestBuilderGetQueryParameters::|public|Select:string[] @@ -14151,10 +14601,55 @@ Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.Co Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|files:global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Files.FilesRequestBuilder Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MobileAppContent Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.MobileAppContent; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MobileAppContent +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|scripts:global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Scripts.ScriptsRequestBuilder Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.MobileAppContent; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.MobileAppContentItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.MobileAppContentItemRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Scripts.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Scripts.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Scripts.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Scripts.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Scripts.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Scripts.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Scripts.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Scripts.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Scripts.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Scripts.Count.CountRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder.MobileAppContentScriptItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder.MobileAppContentScriptItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder.MobileAppContentScriptItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder.MobileAppContentScriptItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder.MobileAppContentScriptItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MobileAppContentScript +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.MobileAppContentScript; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MobileAppContentScript +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.MobileAppContentScript; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Scripts.scriptsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Scripts.scriptsRequestBuilder.scriptsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Scripts.scriptsRequestBuilder::[MobileAppContentScriptId:string]:global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Scripts.Item.MobileAppContentScriptItemRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|Count:global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Scripts.Count.CountRequestBuilder +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MobileAppContentScriptCollectionResponse +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.MobileAppContentScript; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MobileAppContentScript +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.MobileAppContentScript; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Scripts.scriptsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Scripts.ScriptsRequestBuilder Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.graphWindowsUniversalAppXRequestBuilder-->BaseRequestBuilder Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.graphWindowsUniversalAppXRequestBuilder.graphWindowsUniversalAppXRequestBuilderGetQueryParameters::|public|Expand:string[] Microsoft.Graph.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.graphWindowsUniversalAppXRequestBuilder.graphWindowsUniversalAppXRequestBuilderGetQueryParameters::|public|Select:string[] @@ -95952,6 +96447,128 @@ Microsoft.Graph.Me.DirectReports.Item.GraphUser.graphUserRequestBuilder::|public Microsoft.Graph.Me.DirectReports.Item.GraphUser.graphUserRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.User Microsoft.Graph.Me.DirectReports.Item.GraphUser.graphUserRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Me.DirectReports.Item.GraphUser.graphUserRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.DirectReports.Item.GraphUser.GraphUserRequestBuilder +Microsoft.Graph.Me.DistributionLists.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.DistributionLists.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Me.DistributionLists.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Me.DistributionLists.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.DistributionLists.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.DistributionLists.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.DistributionLists.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Me.DistributionLists.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.DistributionLists.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.DistributionLists.Count.CountRequestBuilder +Microsoft.Graph.Me.DistributionLists.distributionListsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.DistributionLists.distributionListsRequestBuilder.distributionListsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Me.DistributionLists.distributionListsRequestBuilder.distributionListsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Me.DistributionLists.distributionListsRequestBuilder.distributionListsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Me.DistributionLists.distributionListsRequestBuilder.distributionListsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Me.DistributionLists.distributionListsRequestBuilder.distributionListsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Me.DistributionLists.distributionListsRequestBuilder.distributionListsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Me.DistributionLists.distributionListsRequestBuilder.distributionListsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Me.DistributionLists.distributionListsRequestBuilder.distributionListsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Me.DistributionLists.distributionListsRequestBuilder.distributionListsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.DistributionLists.distributionListsRequestBuilder.distributionListsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.DistributionLists.distributionListsRequestBuilder::[DistributionListId:string]:global.Microsoft.Graph.Me.DistributionLists.Item.DistributionListItemRequestBuilder +Microsoft.Graph.Me.DistributionLists.distributionListsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.DistributionLists.distributionListsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.DistributionLists.distributionListsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.DistributionLists.Count.CountRequestBuilder +Microsoft.Graph.Me.DistributionLists.distributionListsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DistributionListCollectionResponse +Microsoft.Graph.Me.DistributionLists.distributionListsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.DistributionList; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DistributionList +Microsoft.Graph.Me.DistributionLists.distributionListsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.DistributionLists.distributionListsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.DistributionList; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.DistributionLists.distributionListsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.DistributionLists.DistributionListsRequestBuilder +Microsoft.Graph.Me.DistributionLists.Item.AddMembers.addMembersPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Me.DistributionLists.Item.AddMembers.addMembersPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Me.DistributionLists.Item.AddMembers.addMembersPostRequestBody::|public|constructor():void +Microsoft.Graph.Me.DistributionLists.Item.AddMembers.addMembersPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Me.DistributionLists.Item.AddMembers.addMembersPostRequestBody::|public|Members:List +Microsoft.Graph.Me.DistributionLists.Item.AddMembers.addMembersPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Me.DistributionLists.Item.AddMembers.addMembersPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.DistributionLists.Item.AddMembers.AddMembersPostRequestBody +Microsoft.Graph.Me.DistributionLists.Item.AddMembers.addMembersPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Me.DistributionLists.Item.AddMembers.addMembersRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.DistributionLists.Item.AddMembers.addMembersRequestBuilder.addMembersRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.DistributionLists.Item.AddMembers.addMembersRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.DistributionLists.Item.AddMembers.addMembersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.DistributionLists.Item.AddMembers.addMembersRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.DistributionLists.Item.AddMembers.AddMembersPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DistributionList +Microsoft.Graph.Me.DistributionLists.Item.AddMembers.addMembersRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.DistributionLists.Item.AddMembers.AddMembersPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.DistributionLists.Item.AddMembers.addMembersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.DistributionLists.Item.AddMembers.AddMembersRequestBuilder +Microsoft.Graph.Me.DistributionLists.Item.DeleteMembers.deleteMembersPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Me.DistributionLists.Item.DeleteMembers.deleteMembersPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Me.DistributionLists.Item.DeleteMembers.deleteMembersPostRequestBody::|public|constructor():void +Microsoft.Graph.Me.DistributionLists.Item.DeleteMembers.deleteMembersPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Me.DistributionLists.Item.DeleteMembers.deleteMembersPostRequestBody::|public|Members:List +Microsoft.Graph.Me.DistributionLists.Item.DeleteMembers.deleteMembersPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Me.DistributionLists.Item.DeleteMembers.deleteMembersPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.DistributionLists.Item.DeleteMembers.DeleteMembersPostRequestBody +Microsoft.Graph.Me.DistributionLists.Item.DeleteMembers.deleteMembersPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Me.DistributionLists.Item.DeleteMembers.deleteMembersRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.DistributionLists.Item.DeleteMembers.deleteMembersRequestBuilder.deleteMembersRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.DistributionLists.Item.DeleteMembers.deleteMembersRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.DistributionLists.Item.DeleteMembers.deleteMembersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.DistributionLists.Item.DeleteMembers.deleteMembersRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.DistributionLists.Item.DeleteMembers.DeleteMembersPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DistributionList +Microsoft.Graph.Me.DistributionLists.Item.DeleteMembers.deleteMembersRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.DistributionLists.Item.DeleteMembers.DeleteMembersPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.DistributionLists.Item.DeleteMembers.deleteMembersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.DistributionLists.Item.DeleteMembers.DeleteMembersRequestBuilder +Microsoft.Graph.Me.DistributionLists.Item.DistributionListItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.DistributionLists.Item.DistributionListItemRequestBuilder.DistributionListItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.DistributionLists.Item.DistributionListItemRequestBuilder.DistributionListItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Me.DistributionLists.Item.DistributionListItemRequestBuilder.DistributionListItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Me.DistributionLists.Item.DistributionListItemRequestBuilder.DistributionListItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.DistributionLists.Item.DistributionListItemRequestBuilder.DistributionListItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.DistributionLists.Item.DistributionListItemRequestBuilder::|public|addMembers:global.Microsoft.Graph.Me.DistributionLists.Item.AddMembers.AddMembersRequestBuilder +Microsoft.Graph.Me.DistributionLists.Item.DistributionListItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.DistributionLists.Item.DistributionListItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.DistributionLists.Item.DistributionListItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Me.DistributionLists.Item.DistributionListItemRequestBuilder::|public|deleteMembers:global.Microsoft.Graph.Me.DistributionLists.Item.DeleteMembers.DeleteMembersRequestBuilder +Microsoft.Graph.Me.DistributionLists.Item.DistributionListItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DistributionList +Microsoft.Graph.Me.DistributionLists.Item.DistributionListItemRequestBuilder::|public|members:global.Microsoft.Graph.Me.DistributionLists.Item.Members.MembersRequestBuilder +Microsoft.Graph.Me.DistributionLists.Item.DistributionListItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.DistributionList; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DistributionList +Microsoft.Graph.Me.DistributionLists.Item.DistributionListItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.DistributionLists.Item.DistributionListItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.DistributionLists.Item.DistributionListItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.DistributionList; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.DistributionLists.Item.DistributionListItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.DistributionLists.Item.DistributionListItemRequestBuilder +Microsoft.Graph.Me.DistributionLists.Item.Members.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.DistributionLists.Item.Members.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Me.DistributionLists.Item.Members.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Me.DistributionLists.Item.Members.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.DistributionLists.Item.Members.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.DistributionLists.Item.Members.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.DistributionLists.Item.Members.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Me.DistributionLists.Item.Members.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.DistributionLists.Item.Members.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.DistributionLists.Item.Members.Count.CountRequestBuilder +Microsoft.Graph.Me.DistributionLists.Item.Members.Item.Contact.contactRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.DistributionLists.Item.Members.Item.Contact.contactRequestBuilder.contactRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Me.DistributionLists.Item.Members.Item.Contact.contactRequestBuilder.contactRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Me.DistributionLists.Item.Members.Item.Contact.contactRequestBuilder.contactRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.DistributionLists.Item.Members.Item.Contact.contactRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.DistributionLists.Item.Members.Item.Contact.contactRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.DistributionLists.Item.Members.Item.Contact.contactRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Contact +Microsoft.Graph.Me.DistributionLists.Item.Members.Item.Contact.contactRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.DistributionLists.Item.Members.Item.Contact.contactRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.DistributionLists.Item.Members.Item.Contact.ContactRequestBuilder +Microsoft.Graph.Me.DistributionLists.Item.Members.Item.DistributionListMemberItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.DistributionLists.Item.Members.Item.DistributionListMemberItemRequestBuilder.DistributionListMemberItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Me.DistributionLists.Item.Members.Item.DistributionListMemberItemRequestBuilder.DistributionListMemberItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Me.DistributionLists.Item.Members.Item.DistributionListMemberItemRequestBuilder.DistributionListMemberItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.DistributionLists.Item.Members.Item.DistributionListMemberItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.DistributionLists.Item.Members.Item.DistributionListMemberItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.DistributionLists.Item.Members.Item.DistributionListMemberItemRequestBuilder::|public|contact:global.Microsoft.Graph.Me.DistributionLists.Item.Members.Item.Contact.ContactRequestBuilder +Microsoft.Graph.Me.DistributionLists.Item.Members.Item.DistributionListMemberItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DistributionListMember +Microsoft.Graph.Me.DistributionLists.Item.Members.Item.DistributionListMemberItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.DistributionLists.Item.Members.Item.DistributionListMemberItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.DistributionLists.Item.Members.Item.DistributionListMemberItemRequestBuilder +Microsoft.Graph.Me.DistributionLists.Item.Members.membersRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.DistributionLists.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Me.DistributionLists.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Me.DistributionLists.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Me.DistributionLists.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Me.DistributionLists.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Me.DistributionLists.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Me.DistributionLists.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Me.DistributionLists.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Me.DistributionLists.Item.Members.membersRequestBuilder.membersRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.DistributionLists.Item.Members.membersRequestBuilder::[DistributionListMemberId:string]:global.Microsoft.Graph.Me.DistributionLists.Item.Members.Item.DistributionListMemberItemRequestBuilder +Microsoft.Graph.Me.DistributionLists.Item.Members.membersRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.DistributionLists.Item.Members.membersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.DistributionLists.Item.Members.membersRequestBuilder::|public|Count:global.Microsoft.Graph.Me.DistributionLists.Item.Members.Count.CountRequestBuilder +Microsoft.Graph.Me.DistributionLists.Item.Members.membersRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DistributionListMemberCollectionResponse +Microsoft.Graph.Me.DistributionLists.Item.Members.membersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.DistributionLists.Item.Members.membersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.DistributionLists.Item.Members.MembersRequestBuilder Microsoft.Graph.Me.Drive.driveRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Me.Drive.driveRequestBuilder.driveRequestBuilderGetQueryParameters::|public|Expand:string[] Microsoft.Graph.Me.Drive.driveRequestBuilder.driveRequestBuilderGetQueryParameters::|public|Select:string[] @@ -101965,6 +102582,7 @@ Microsoft.Graph.Me.meRequestBuilder::|public|createdObjects:global.Microsoft.Gra Microsoft.Graph.Me.meRequestBuilder::|public|dataSecurityAndGovernance:global.Microsoft.Graph.Me.DataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder Microsoft.Graph.Me.meRequestBuilder::|public|deviceManagementTroubleshootingEvents:global.Microsoft.Graph.Me.DeviceManagementTroubleshootingEvents.DeviceManagementTroubleshootingEventsRequestBuilder Microsoft.Graph.Me.meRequestBuilder::|public|directReports:global.Microsoft.Graph.Me.DirectReports.DirectReportsRequestBuilder +Microsoft.Graph.Me.meRequestBuilder::|public|distributionLists:global.Microsoft.Graph.Me.DistributionLists.DistributionListsRequestBuilder Microsoft.Graph.Me.meRequestBuilder::|public|drive:global.Microsoft.Graph.Me.Drive.DriveRequestBuilder Microsoft.Graph.Me.meRequestBuilder::|public|drives:global.Microsoft.Graph.Me.Drives.DrivesRequestBuilder Microsoft.Graph.Me.meRequestBuilder::|public|employeeExperience:global.Microsoft.Graph.Me.EmployeeExperience.EmployeeExperienceRequestBuilder @@ -108573,6 +109191,7 @@ Microsoft.Graph.Models.agentIdentityBlueprintPrincipal::|static|public|CreateFro Microsoft.Graph.Models.agentUser-->global.Microsoft.Graph.Models.User Microsoft.Graph.Models.agentUser::|public|constructor():void Microsoft.Graph.Models.agentUser::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.agentUser::|public|ManagerApplications:List Microsoft.Graph.Models.agentUser::|public|OdataType:string Microsoft.Graph.Models.agentUser::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.agentUser::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.AgentUser @@ -111979,9 +112598,13 @@ Microsoft.Graph.Models.browseQueryOrder::0004-unknownFutureValue Microsoft.Graph.Models.browseQueryResponseItem::|public|AdditionalData:IDictionary Microsoft.Graph.Models.browseQueryResponseItem::|public|BackingStore:IBackingStore Microsoft.Graph.Models.browseQueryResponseItem::|public|constructor():void +Microsoft.Graph.Models.browseQueryResponseItem::|public|CreatedBy:global.Microsoft.Graph.Models.IdentitySet +Microsoft.Graph.Models.browseQueryResponseItem::|public|CreatedDateTime:DateTimeOffset? Microsoft.Graph.Models.browseQueryResponseItem::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Models.browseQueryResponseItem::|public|ItemKey:string Microsoft.Graph.Models.browseQueryResponseItem::|public|ItemsCount:int? +Microsoft.Graph.Models.browseQueryResponseItem::|public|LastModifiedBy:global.Microsoft.Graph.Models.IdentitySet +Microsoft.Graph.Models.browseQueryResponseItem::|public|LastModifiedDateTime:DateTimeOffset? Microsoft.Graph.Models.browseQueryResponseItem::|public|Name:string Microsoft.Graph.Models.browseQueryResponseItem::|public|OdataType:string Microsoft.Graph.Models.browseQueryResponseItem::|public|Serialize(writer:ISerializationWriter):void @@ -117940,6 +118563,36 @@ Microsoft.Graph.Models.displayNameLocalization::|public|OdataType:string Microsoft.Graph.Models.displayNameLocalization::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.displayNameLocalization::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.DisplayNameLocalization Microsoft.Graph.Models.displayNameLocalization~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.distributionList-->global.Microsoft.Graph.Models.OutlookItem +Microsoft.Graph.Models.distributionList::|public|constructor():void +Microsoft.Graph.Models.distributionList::|public|DisplayName:string +Microsoft.Graph.Models.distributionList::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.distributionList::|public|Members:List +Microsoft.Graph.Models.distributionList::|public|Notes:string +Microsoft.Graph.Models.distributionList::|public|OdataType:string +Microsoft.Graph.Models.distributionList::|public|PersonId:string +Microsoft.Graph.Models.distributionList::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.distributionList::|public|SingleValueExtendedProperties:List +Microsoft.Graph.Models.distributionList::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.DistributionList +Microsoft.Graph.Models.distributionListCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Models.distributionListCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.distributionListCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.distributionListCollectionResponse::|public|Value:List +Microsoft.Graph.Models.distributionListCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.DistributionListCollectionResponse +Microsoft.Graph.Models.distributionListMember-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.distributionListMember::|public|Contact:global.Microsoft.Graph.Models.Contact +Microsoft.Graph.Models.distributionListMember::|public|DisplayName:string +Microsoft.Graph.Models.distributionListMember::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.distributionListMember::|public|MemberId:string +Microsoft.Graph.Models.distributionListMember::|public|OdataType:string +Microsoft.Graph.Models.distributionListMember::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.distributionListMember::|public|Type:global.Microsoft.Graph.Models.RecipientType? +Microsoft.Graph.Models.distributionListMember::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.DistributionListMember +Microsoft.Graph.Models.distributionListMemberCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Models.distributionListMemberCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.distributionListMemberCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.distributionListMemberCollectionResponse::|public|Value:List +Microsoft.Graph.Models.distributionListMemberCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.DistributionListMemberCollectionResponse Microsoft.Graph.Models.dlpAction::0000-notifyUser Microsoft.Graph.Models.dlpAction::0001-blockAccess Microsoft.Graph.Models.dlpAction::0002-deviceRestriction @@ -121299,6 +121952,7 @@ Microsoft.Graph.Models.granularMailboxRestoreArtifactCollectionResponse::|static Microsoft.Graph.Models.granularRestoreArtifactBase-->global.Microsoft.Graph.Models.Entity Microsoft.Graph.Models.granularRestoreArtifactBase::|public|BrowseSessionId:string Microsoft.Graph.Models.granularRestoreArtifactBase::|public|CompletionDateTime:DateTimeOffset? +Microsoft.Graph.Models.granularRestoreArtifactBase::|public|Error:global.Microsoft.Graph.Models.PublicError Microsoft.Graph.Models.granularRestoreArtifactBase::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Models.granularRestoreArtifactBase::|public|OdataType:string Microsoft.Graph.Models.granularRestoreArtifactBase::|public|RestoredItemKey:string @@ -121932,6 +122586,28 @@ Microsoft.Graph.Models.IdentityGovernance.onDemandExecutionOnly::|public|GetFiel Microsoft.Graph.Models.IdentityGovernance.onDemandExecutionOnly::|public|OdataType:string Microsoft.Graph.Models.IdentityGovernance.onDemandExecutionOnly::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.IdentityGovernance.onDemandExecutionOnly::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentityGovernance.OnDemandExecutionOnly +Microsoft.Graph.Models.IdentityGovernance.operatorBetween-->global.Microsoft.Graph.Models.IdentityGovernance.WorkflowTriggerTimeBasedOperator +Microsoft.Graph.Models.IdentityGovernance.operatorBetween::|public|constructor():void +Microsoft.Graph.Models.IdentityGovernance.operatorBetween::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.IdentityGovernance.operatorBetween::|public|GreaterThanOffsetInDays:int? +Microsoft.Graph.Models.IdentityGovernance.operatorBetween::|public|LessThanOffsetInDays:int? +Microsoft.Graph.Models.IdentityGovernance.operatorBetween::|public|OdataType:string +Microsoft.Graph.Models.IdentityGovernance.operatorBetween::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.IdentityGovernance.operatorBetween::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentityGovernance.OperatorBetween +Microsoft.Graph.Models.IdentityGovernance.operatorEqualTo-->global.Microsoft.Graph.Models.IdentityGovernance.WorkflowTriggerTimeBasedOperator +Microsoft.Graph.Models.IdentityGovernance.operatorEqualTo::|public|constructor():void +Microsoft.Graph.Models.IdentityGovernance.operatorEqualTo::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.IdentityGovernance.operatorEqualTo::|public|OdataType:string +Microsoft.Graph.Models.IdentityGovernance.operatorEqualTo::|public|OffsetInDays:int? +Microsoft.Graph.Models.IdentityGovernance.operatorEqualTo::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.IdentityGovernance.operatorEqualTo::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentityGovernance.OperatorEqualTo +Microsoft.Graph.Models.IdentityGovernance.operatorLessThanEqualTo-->global.Microsoft.Graph.Models.IdentityGovernance.WorkflowTriggerTimeBasedOperator +Microsoft.Graph.Models.IdentityGovernance.operatorLessThanEqualTo::|public|constructor():void +Microsoft.Graph.Models.IdentityGovernance.operatorLessThanEqualTo::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.IdentityGovernance.operatorLessThanEqualTo::|public|OdataType:string +Microsoft.Graph.Models.IdentityGovernance.operatorLessThanEqualTo::|public|OffsetInDays:int? +Microsoft.Graph.Models.IdentityGovernance.operatorLessThanEqualTo::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.IdentityGovernance.operatorLessThanEqualTo::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentityGovernance.OperatorLessThanEqualTo Microsoft.Graph.Models.IdentityGovernance.parameter::|public|AdditionalData:IDictionary Microsoft.Graph.Models.IdentityGovernance.parameter::|public|BackingStore:IBackingStore Microsoft.Graph.Models.IdentityGovernance.parameter::|public|constructor():void @@ -122193,6 +122869,14 @@ Microsoft.Graph.Models.IdentityGovernance.timeBasedAttributeTrigger::|public|Off Microsoft.Graph.Models.IdentityGovernance.timeBasedAttributeTrigger::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.IdentityGovernance.timeBasedAttributeTrigger::|public|TimeBasedAttribute:global.Microsoft.Graph.Models.IdentityGovernance.WorkflowTriggerTimeBasedAttribute? Microsoft.Graph.Models.IdentityGovernance.timeBasedAttributeTrigger::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentityGovernance.TimeBasedAttributeTrigger +Microsoft.Graph.Models.IdentityGovernance.timeBasedAttributeTriggerV2-->global.Microsoft.Graph.Models.IdentityGovernance.WorkflowExecutionTrigger +Microsoft.Graph.Models.IdentityGovernance.timeBasedAttributeTriggerV2::|public|Attribute:string +Microsoft.Graph.Models.IdentityGovernance.timeBasedAttributeTriggerV2::|public|constructor():void +Microsoft.Graph.Models.IdentityGovernance.timeBasedAttributeTriggerV2::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.IdentityGovernance.timeBasedAttributeTriggerV2::|public|OdataType:string +Microsoft.Graph.Models.IdentityGovernance.timeBasedAttributeTriggerV2::|public|Operator:global.Microsoft.Graph.Models.IdentityGovernance.WorkflowExecutionTriggerOperator +Microsoft.Graph.Models.IdentityGovernance.timeBasedAttributeTriggerV2::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.IdentityGovernance.timeBasedAttributeTriggerV2::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentityGovernance.TimeBasedAttributeTriggerV2 Microsoft.Graph.Models.IdentityGovernance.topTasksInsightsSummary::|public|AdditionalData:IDictionary Microsoft.Graph.Models.IdentityGovernance.topTasksInsightsSummary::|public|BackingStore:IBackingStore Microsoft.Graph.Models.IdentityGovernance.topTasksInsightsSummary::|public|constructor():void @@ -122351,6 +123035,14 @@ Microsoft.Graph.Models.IdentityGovernance.workflowExecutionTrigger::|public|GetF Microsoft.Graph.Models.IdentityGovernance.workflowExecutionTrigger::|public|OdataType:string Microsoft.Graph.Models.IdentityGovernance.workflowExecutionTrigger::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.IdentityGovernance.workflowExecutionTrigger::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentityGovernance.WorkflowExecutionTrigger +Microsoft.Graph.Models.IdentityGovernance.workflowExecutionTriggerOperator::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.IdentityGovernance.workflowExecutionTriggerOperator::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.IdentityGovernance.workflowExecutionTriggerOperator::|public|constructor():void +Microsoft.Graph.Models.IdentityGovernance.workflowExecutionTriggerOperator::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.IdentityGovernance.workflowExecutionTriggerOperator::|public|OdataType:string +Microsoft.Graph.Models.IdentityGovernance.workflowExecutionTriggerOperator::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.IdentityGovernance.workflowExecutionTriggerOperator::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentityGovernance.WorkflowExecutionTriggerOperator +Microsoft.Graph.Models.IdentityGovernance.workflowExecutionTriggerOperator~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.IdentityGovernance.workflowExecutionTrigger~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.IdentityGovernance.workflowExecutionType::0000-scheduled Microsoft.Graph.Models.IdentityGovernance.workflowExecutionType::0001-onDemand @@ -122424,10 +123116,21 @@ Microsoft.Graph.Models.IdentityGovernance.workflowTemplateCollectionResponse::|p Microsoft.Graph.Models.IdentityGovernance.workflowTemplateCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.IdentityGovernance.workflowTemplateCollectionResponse::|public|Value:List Microsoft.Graph.Models.IdentityGovernance.workflowTemplateCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentityGovernance.WorkflowTemplateCollectionResponse +Microsoft.Graph.Models.IdentityGovernance.workflowTriggerOperatorEventTiming::0000-before +Microsoft.Graph.Models.IdentityGovernance.workflowTriggerOperatorEventTiming::0001-after +Microsoft.Graph.Models.IdentityGovernance.workflowTriggerOperatorEventTiming::0002-on +Microsoft.Graph.Models.IdentityGovernance.workflowTriggerOperatorEventTiming::0003-unknownFutureValue Microsoft.Graph.Models.IdentityGovernance.workflowTriggerTimeBasedAttribute::0000-employeeHireDate Microsoft.Graph.Models.IdentityGovernance.workflowTriggerTimeBasedAttribute::0001-employeeLeaveDateTime Microsoft.Graph.Models.IdentityGovernance.workflowTriggerTimeBasedAttribute::0002-unknownFutureValue Microsoft.Graph.Models.IdentityGovernance.workflowTriggerTimeBasedAttribute::0003-createdDateTime +Microsoft.Graph.Models.IdentityGovernance.workflowTriggerTimeBasedOperator-->global.Microsoft.Graph.Models.IdentityGovernance.WorkflowExecutionTriggerOperator +Microsoft.Graph.Models.IdentityGovernance.workflowTriggerTimeBasedOperator::|public|constructor():void +Microsoft.Graph.Models.IdentityGovernance.workflowTriggerTimeBasedOperator::|public|EventTiming:global.Microsoft.Graph.Models.IdentityGovernance.WorkflowTriggerOperatorEventTiming? +Microsoft.Graph.Models.IdentityGovernance.workflowTriggerTimeBasedOperator::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.IdentityGovernance.workflowTriggerTimeBasedOperator::|public|OdataType:string +Microsoft.Graph.Models.IdentityGovernance.workflowTriggerTimeBasedOperator::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.IdentityGovernance.workflowTriggerTimeBasedOperator::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentityGovernance.WorkflowTriggerTimeBasedOperator Microsoft.Graph.Models.IdentityGovernance.workflowVersion-->global.Microsoft.Graph.Models.IdentityGovernance.WorkflowBase Microsoft.Graph.Models.IdentityGovernance.workflowVersion::|public|constructor():void Microsoft.Graph.Models.IdentityGovernance.workflowVersion::|public|GetFieldDeserializers():IDictionary> @@ -124453,6 +125156,7 @@ Microsoft.Graph.Models.mailboxFolder::|public|ChildFolderCount:int? Microsoft.Graph.Models.mailboxFolder::|public|ChildFolders:List Microsoft.Graph.Models.mailboxFolder::|public|DisplayName:string Microsoft.Graph.Models.mailboxFolder::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.mailboxFolder::|public|IsHidden:bool? Microsoft.Graph.Models.mailboxFolder::|public|Items:List Microsoft.Graph.Models.mailboxFolder::|public|MultiValueExtendedProperties:List Microsoft.Graph.Models.mailboxFolder::|public|OdataType:string @@ -125519,6 +126223,17 @@ Microsoft.Graph.Models.meetingTimeSuggestionsResult::|public|Serialize(writer:IS Microsoft.Graph.Models.meetingTimeSuggestionsResult::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.MeetingTimeSuggestionsResult Microsoft.Graph.Models.meetingTimeSuggestionsResult~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.meetingTimeSuggestion~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.member::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.member::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.member::|public|constructor():void +Microsoft.Graph.Models.member::|public|DisplayName:string +Microsoft.Graph.Models.member::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.member::|public|Key:string +Microsoft.Graph.Models.member::|public|MemberId:string +Microsoft.Graph.Models.member::|public|OdataType:string +Microsoft.Graph.Models.member::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.member::|public|Type:global.Microsoft.Graph.Models.RecipientType? +Microsoft.Graph.Models.member::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.Member Microsoft.Graph.Models.membersAddedEventMessageDetail-->global.Microsoft.Graph.Models.EventMessageDetail Microsoft.Graph.Models.membersAddedEventMessageDetail::|public|constructor():void Microsoft.Graph.Models.membersAddedEventMessageDetail::|public|GetFieldDeserializers():IDictionary> @@ -125565,6 +126280,7 @@ Microsoft.Graph.Models.membersLeftEventMessageDetail::|public|Members:ListIAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.mentionEvent::|public|AdditionalData:IDictionary Microsoft.Graph.Models.mentionEvent::|public|BackingStore:IBackingStore Microsoft.Graph.Models.mentionEvent::|public|constructor():void @@ -125978,6 +126694,7 @@ Microsoft.Graph.Models.mobileAppContent::|public|ContainedApps:List Microsoft.Graph.Models.mobileAppContent::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Models.mobileAppContent::|public|OdataType:string +Microsoft.Graph.Models.mobileAppContent::|public|Scripts:List Microsoft.Graph.Models.mobileAppContent::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.mobileAppContent::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.MobileAppContent Microsoft.Graph.Models.mobileAppContentCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse @@ -126021,6 +126738,23 @@ Microsoft.Graph.Models.mobileAppContentFileUploadState::0012-commitFileSuccess Microsoft.Graph.Models.mobileAppContentFileUploadState::0013-commitFilePending Microsoft.Graph.Models.mobileAppContentFileUploadState::0014-commitFileFailed Microsoft.Graph.Models.mobileAppContentFileUploadState::0015-commitFileTimedOut +Microsoft.Graph.Models.mobileAppContentScript-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.mobileAppContentScript::|public|Content:string +Microsoft.Graph.Models.mobileAppContentScript::|public|DisplayName:string +Microsoft.Graph.Models.mobileAppContentScript::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.mobileAppContentScript::|public|OdataType:string +Microsoft.Graph.Models.mobileAppContentScript::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.mobileAppContentScript::|public|State:global.Microsoft.Graph.Models.MobileAppContentScriptState? +Microsoft.Graph.Models.mobileAppContentScript::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.MobileAppContentScript +Microsoft.Graph.Models.mobileAppContentScriptCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Models.mobileAppContentScriptCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.mobileAppContentScriptCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.mobileAppContentScriptCollectionResponse::|public|Value:List +Microsoft.Graph.Models.mobileAppContentScriptCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.MobileAppContentScriptCollectionResponse +Microsoft.Graph.Models.mobileAppContentScriptState::0000-commitPending +Microsoft.Graph.Models.mobileAppContentScriptState::0001-commitSuccess +Microsoft.Graph.Models.mobileAppContentScriptState::0002-commitFailed +Microsoft.Graph.Models.mobileAppContentScriptState::0003-unknownFutureValue Microsoft.Graph.Models.mobileAppIdentifier::|public|AdditionalData:IDictionary Microsoft.Graph.Models.mobileAppIdentifier::|public|BackingStore:IBackingStore Microsoft.Graph.Models.mobileAppIdentifier::|public|constructor():void @@ -126061,6 +126795,15 @@ Microsoft.Graph.Models.mobileAppRelationshipCollectionResponse::|public|GetField Microsoft.Graph.Models.mobileAppRelationshipCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.mobileAppRelationshipCollectionResponse::|public|Value:List Microsoft.Graph.Models.mobileAppRelationshipCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.MobileAppRelationshipCollectionResponse +Microsoft.Graph.Models.mobileAppScriptReference::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.mobileAppScriptReference::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.mobileAppScriptReference::|public|constructor():void +Microsoft.Graph.Models.mobileAppScriptReference::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.mobileAppScriptReference::|public|OdataType:string +Microsoft.Graph.Models.mobileAppScriptReference::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.mobileAppScriptReference::|public|TargetId:string +Microsoft.Graph.Models.mobileAppScriptReference::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.MobileAppScriptReference +Microsoft.Graph.Models.mobileAppScriptReference~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.mobileAppTroubleshootingEvent-->global.Microsoft.Graph.Models.Entity Microsoft.Graph.Models.mobileAppTroubleshootingEvent::|public|AppLogCollectionRequests:List Microsoft.Graph.Models.mobileAppTroubleshootingEvent::|public|GetFieldDeserializers():IDictionary> @@ -131076,6 +131819,7 @@ Microsoft.Graph.Models.protectionSource::0001-manual Microsoft.Graph.Models.protectionSource::0002-dynamicRule Microsoft.Graph.Models.protectionSource::0003-unknownFutureValue Microsoft.Graph.Models.protectionUnitBase-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.protectionUnitBase::|public|BackupRetentionPeriodInDays:int? Microsoft.Graph.Models.protectionUnitBase::|public|CreatedBy:global.Microsoft.Graph.Models.IdentitySet Microsoft.Graph.Models.protectionUnitBase::|public|CreatedDateTime:DateTimeOffset? Microsoft.Graph.Models.protectionUnitBase::|public|Error:global.Microsoft.Graph.Models.PublicError @@ -131084,6 +131828,7 @@ Microsoft.Graph.Models.protectionUnitBase::|public|LastModifiedBy:global.Microso Microsoft.Graph.Models.protectionUnitBase::|public|LastModifiedDateTime:DateTimeOffset? Microsoft.Graph.Models.protectionUnitBase::|public|OdataType:string Microsoft.Graph.Models.protectionUnitBase::|public|OffboardRequestedDateTime:DateTimeOffset? +Microsoft.Graph.Models.protectionUnitBase::|public|PendingRetentionPeriodChange:global.Microsoft.Graph.Models.RetentionPeriodChange Microsoft.Graph.Models.protectionUnitBase::|public|PolicyId:string Microsoft.Graph.Models.protectionUnitBase::|public|ProtectionSources:global.Microsoft.Graph.Models.ProtectionSource? Microsoft.Graph.Models.protectionUnitBase::|public|Serialize(writer:ISerializationWriter):void @@ -131644,6 +132389,11 @@ Microsoft.Graph.Models.recipientScopeType::0001-internal Microsoft.Graph.Models.recipientScopeType::0002-external Microsoft.Graph.Models.recipientScopeType::0003-externalPartner Microsoft.Graph.Models.recipientScopeType::0004-externalNonPartner +Microsoft.Graph.Models.recipientType::0000-contact +Microsoft.Graph.Models.recipientType::0001-oneOff +Microsoft.Graph.Models.recipientType::0002-mailbox +Microsoft.Graph.Models.recipientType::0003-privateDL +Microsoft.Graph.Models.recipientType::0004-unknownFutureValue Microsoft.Graph.Models.recipient~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.recommendedAction::|public|ActionWebUrl:string Microsoft.Graph.Models.recommendedAction::|public|AdditionalData:IDictionary @@ -132570,6 +133320,22 @@ Microsoft.Graph.Models.retentionLabelSettings::|public|OdataType:string Microsoft.Graph.Models.retentionLabelSettings::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.retentionLabelSettings::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.RetentionLabelSettings Microsoft.Graph.Models.retentionLabelSettings~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.retentionPeriodChange::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.retentionPeriodChange::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.retentionPeriodChange::|public|constructor():void +Microsoft.Graph.Models.retentionPeriodChange::|public|EffectiveFromDateTime:DateTimeOffset? +Microsoft.Graph.Models.retentionPeriodChange::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.retentionPeriodChange::|public|OdataType:string +Microsoft.Graph.Models.retentionPeriodChange::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.retentionPeriodChange::|public|Status:global.Microsoft.Graph.Models.RetentionPeriodChangeStatus? +Microsoft.Graph.Models.retentionPeriodChange::|public|TargetRetentionPeriodInDays:int? +Microsoft.Graph.Models.retentionPeriodChange::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.RetentionPeriodChange +Microsoft.Graph.Models.retentionPeriodChangeStatus::0000-none +Microsoft.Graph.Models.retentionPeriodChangeStatus::0001-inProgress +Microsoft.Graph.Models.retentionPeriodChangeStatus::0002-failed +Microsoft.Graph.Models.retentionPeriodChangeStatus::0003-completed +Microsoft.Graph.Models.retentionPeriodChangeStatus::0004-unknownFutureValue +Microsoft.Graph.Models.retentionPeriodChange~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.retentionSetting::|public|AdditionalData:IDictionary Microsoft.Graph.Models.retentionSetting::|public|BackingStore:IBackingStore Microsoft.Graph.Models.retentionSetting::|public|constructor():void @@ -141749,6 +142515,7 @@ Microsoft.Graph.Models.smsAuthenticationMethodConfiguration::|public|GetFieldDes Microsoft.Graph.Models.smsAuthenticationMethodConfiguration::|public|IncludeTargets:List Microsoft.Graph.Models.smsAuthenticationMethodConfiguration::|public|OdataType:string Microsoft.Graph.Models.smsAuthenticationMethodConfiguration::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.smsAuthenticationMethodConfiguration::|public|TelecomProviderSettings:global.Microsoft.Graph.Models.TelecomProviderSettings Microsoft.Graph.Models.smsAuthenticationMethodConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.SmsAuthenticationMethodConfiguration Microsoft.Graph.Models.smsAuthenticationMethodTarget-->global.Microsoft.Graph.Models.AuthenticationMethodTarget Microsoft.Graph.Models.smsAuthenticationMethodTarget::|public|GetFieldDeserializers():IDictionary> @@ -143410,6 +144177,18 @@ Microsoft.Graph.Models.teamworkUserIdentityType::0005-skypeUser Microsoft.Graph.Models.teamworkUserIdentityType::0006-phoneUser Microsoft.Graph.Models.teamworkUserIdentityType::0007-unknownFutureValue Microsoft.Graph.Models.teamworkUserIdentityType::0008-emailUser +Microsoft.Graph.Models.telecomProviderSettings::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.telecomProviderSettings::|public|AppId:Guid? +Microsoft.Graph.Models.telecomProviderSettings::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.telecomProviderSettings::|public|constructor():void +Microsoft.Graph.Models.telecomProviderSettings::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.telecomProviderSettings::|public|IsEvaluationModeEnabled:bool? +Microsoft.Graph.Models.telecomProviderSettings::|public|MigrationPercentage:int? +Microsoft.Graph.Models.telecomProviderSettings::|public|OdataType:string +Microsoft.Graph.Models.telecomProviderSettings::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.telecomProviderSettings::|public|Url:string +Microsoft.Graph.Models.telecomProviderSettings::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.TelecomProviderSettings +Microsoft.Graph.Models.telecomProviderSettings~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.teleconferenceDeviceAudioQuality-->global.Microsoft.Graph.Models.TeleconferenceDeviceMediaQuality Microsoft.Graph.Models.teleconferenceDeviceAudioQuality::|public|constructor():void Microsoft.Graph.Models.teleconferenceDeviceAudioQuality::|public|GetFieldDeserializers():IDictionary> @@ -144526,12 +145305,14 @@ Microsoft.Graph.Models.unifiedRoleAssignmentScheduleRequestCollectionResponse::| Microsoft.Graph.Models.unifiedRoleAssignmentScheduleRequestCollectionResponse::|public|Value:List Microsoft.Graph.Models.unifiedRoleAssignmentScheduleRequestCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.UnifiedRoleAssignmentScheduleRequestCollectionResponse Microsoft.Graph.Models.unifiedRoleDefinition-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.unifiedRoleDefinition::|public|DeletedDateTime:DateTimeOffset? Microsoft.Graph.Models.unifiedRoleDefinition::|public|Description:string Microsoft.Graph.Models.unifiedRoleDefinition::|public|DisplayName:string Microsoft.Graph.Models.unifiedRoleDefinition::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Models.unifiedRoleDefinition::|public|InheritsPermissionsFrom:List Microsoft.Graph.Models.unifiedRoleDefinition::|public|IsBuiltIn:bool? Microsoft.Graph.Models.unifiedRoleDefinition::|public|IsEnabled:bool? +Microsoft.Graph.Models.unifiedRoleDefinition::|public|IsPrivileged:bool? Microsoft.Graph.Models.unifiedRoleDefinition::|public|OdataType:string Microsoft.Graph.Models.unifiedRoleDefinition::|public|ResourceScopes:List Microsoft.Graph.Models.unifiedRoleDefinition::|public|RolePermissions:List @@ -144958,6 +145739,7 @@ Microsoft.Graph.Models.user::|public|DeviceEnrollmentLimit:int? Microsoft.Graph.Models.user::|public|DeviceManagementTroubleshootingEvents:List Microsoft.Graph.Models.user::|public|DirectReports:List Microsoft.Graph.Models.user::|public|DisplayName:string +Microsoft.Graph.Models.user::|public|DistributionLists:List Microsoft.Graph.Models.user::|public|Drive:global.Microsoft.Graph.Models.Drive Microsoft.Graph.Models.user::|public|Drives:List Microsoft.Graph.Models.user::|public|EmployeeExperience:global.Microsoft.Graph.Models.EmployeeExperienceUser @@ -146470,6 +147252,7 @@ Microsoft.Graph.Models.voiceAuthenticationMethodConfiguration::|public|IncludeTa Microsoft.Graph.Models.voiceAuthenticationMethodConfiguration::|public|IsOfficePhoneAllowed:bool? Microsoft.Graph.Models.voiceAuthenticationMethodConfiguration::|public|OdataType:string Microsoft.Graph.Models.voiceAuthenticationMethodConfiguration::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.voiceAuthenticationMethodConfiguration::|public|TelecomProviderSettings:global.Microsoft.Graph.Models.TelecomProviderSettings Microsoft.Graph.Models.voiceAuthenticationMethodConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.VoiceAuthenticationMethodConfiguration Microsoft.Graph.Models.volumeType::0000-operatingSystemVolume Microsoft.Graph.Models.volumeType::0001-fixedDataVolume @@ -146854,6 +147637,8 @@ Microsoft.Graph.Models.whatIfAnalysisResult::|public|PolicyApplies:bool? Microsoft.Graph.Models.whatIfAnalysisResult::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.whatIfAnalysisResult::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.WhatIfAnalysisResult Microsoft.Graph.Models.win32LobApp-->global.Microsoft.Graph.Models.MobileLobApp +Microsoft.Graph.Models.win32LobApp::|public|ActiveInstallScript:global.Microsoft.Graph.Models.MobileAppScriptReference +Microsoft.Graph.Models.win32LobApp::|public|ActiveUninstallScript:global.Microsoft.Graph.Models.MobileAppScriptReference Microsoft.Graph.Models.win32LobApp::|public|AllowedArchitectures:global.Microsoft.Graph.Models.WindowsArchitecture? Microsoft.Graph.Models.win32LobApp::|public|ApplicableArchitectures:global.Microsoft.Graph.Models.WindowsArchitecture? Microsoft.Graph.Models.win32LobApp::|public|constructor():void @@ -146928,6 +147713,12 @@ Microsoft.Graph.Models.win32LobAppInstallExperience::|public|RunAsAccount:global Microsoft.Graph.Models.win32LobAppInstallExperience::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.win32LobAppInstallExperience::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.Win32LobAppInstallExperience Microsoft.Graph.Models.win32LobAppInstallExperience~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.win32LobAppInstallPowerShellScript-->global.Microsoft.Graph.Models.Win32LobAppScript +Microsoft.Graph.Models.win32LobAppInstallPowerShellScript::|public|constructor():void +Microsoft.Graph.Models.win32LobAppInstallPowerShellScript::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.win32LobAppInstallPowerShellScript::|public|OdataType:string +Microsoft.Graph.Models.win32LobAppInstallPowerShellScript::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.win32LobAppInstallPowerShellScript::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.Win32LobAppInstallPowerShellScript Microsoft.Graph.Models.win32LobAppMsiInformation::|public|AdditionalData:IDictionary Microsoft.Graph.Models.win32LobAppMsiInformation::|public|BackingStore:IBackingStore Microsoft.Graph.Models.win32LobAppMsiInformation::|public|constructor():void @@ -147045,6 +147836,20 @@ Microsoft.Graph.Models.win32LobAppRuleOperator::0006-lessThanOrEqual Microsoft.Graph.Models.win32LobAppRuleType::0000-detection Microsoft.Graph.Models.win32LobAppRuleType::0001-requirement Microsoft.Graph.Models.win32LobAppRule~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.win32LobAppScript-->global.Microsoft.Graph.Models.MobileAppContentScript +Microsoft.Graph.Models.win32LobAppScript::|public|constructor():void +Microsoft.Graph.Models.win32LobAppScript::|public|EnforceSignatureCheck:bool? +Microsoft.Graph.Models.win32LobAppScript::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.win32LobAppScript::|public|OdataType:string +Microsoft.Graph.Models.win32LobAppScript::|public|RunAs32Bit:bool? +Microsoft.Graph.Models.win32LobAppScript::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.win32LobAppScript::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.Win32LobAppScript +Microsoft.Graph.Models.win32LobAppUninstallPowerShellScript-->global.Microsoft.Graph.Models.Win32LobAppScript +Microsoft.Graph.Models.win32LobAppUninstallPowerShellScript::|public|constructor():void +Microsoft.Graph.Models.win32LobAppUninstallPowerShellScript::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.win32LobAppUninstallPowerShellScript::|public|OdataType:string +Microsoft.Graph.Models.win32LobAppUninstallPowerShellScript::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.win32LobAppUninstallPowerShellScript::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.Win32LobAppUninstallPowerShellScript Microsoft.Graph.Models.win32LobAutoUpdateSupersededAppsState::0000-notConfigured Microsoft.Graph.Models.win32LobAutoUpdateSupersededAppsState::0001-enabled Microsoft.Graph.Models.win32LobAutoUpdateSupersededAppsState::0002-unknownFutureValue @@ -192991,6 +193796,128 @@ Microsoft.Graph.Users.Item.DirectReports.Item.GraphUser.graphUserRequestBuilder: Microsoft.Graph.Users.Item.DirectReports.Item.GraphUser.graphUserRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.User Microsoft.Graph.Users.Item.DirectReports.Item.GraphUser.graphUserRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Users.Item.DirectReports.Item.GraphUser.graphUserRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.DirectReports.Item.GraphUser.GraphUserRequestBuilder +Microsoft.Graph.Users.Item.DistributionLists.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.DistributionLists.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Users.Item.DistributionLists.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Users.Item.DistributionLists.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.DistributionLists.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.DistributionLists.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.DistributionLists.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Users.Item.DistributionLists.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.DistributionLists.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.DistributionLists.Count.CountRequestBuilder +Microsoft.Graph.Users.Item.DistributionLists.distributionListsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.DistributionLists.distributionListsRequestBuilder.distributionListsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Users.Item.DistributionLists.distributionListsRequestBuilder.distributionListsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Users.Item.DistributionLists.distributionListsRequestBuilder.distributionListsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Users.Item.DistributionLists.distributionListsRequestBuilder.distributionListsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Users.Item.DistributionLists.distributionListsRequestBuilder.distributionListsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Users.Item.DistributionLists.distributionListsRequestBuilder.distributionListsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Users.Item.DistributionLists.distributionListsRequestBuilder.distributionListsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Users.Item.DistributionLists.distributionListsRequestBuilder.distributionListsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Users.Item.DistributionLists.distributionListsRequestBuilder.distributionListsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.DistributionLists.distributionListsRequestBuilder.distributionListsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.DistributionLists.distributionListsRequestBuilder::[DistributionListId:string]:global.Microsoft.Graph.Users.Item.DistributionLists.Item.DistributionListItemRequestBuilder +Microsoft.Graph.Users.Item.DistributionLists.distributionListsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.DistributionLists.distributionListsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.DistributionLists.distributionListsRequestBuilder::|public|Count:global.Microsoft.Graph.Users.Item.DistributionLists.Count.CountRequestBuilder +Microsoft.Graph.Users.Item.DistributionLists.distributionListsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DistributionListCollectionResponse +Microsoft.Graph.Users.Item.DistributionLists.distributionListsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.DistributionList; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DistributionList +Microsoft.Graph.Users.Item.DistributionLists.distributionListsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.DistributionLists.distributionListsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.DistributionList; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.DistributionLists.distributionListsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.DistributionLists.DistributionListsRequestBuilder +Microsoft.Graph.Users.Item.DistributionLists.Item.AddMembers.addMembersPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Users.Item.DistributionLists.Item.AddMembers.addMembersPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Users.Item.DistributionLists.Item.AddMembers.addMembersPostRequestBody::|public|constructor():void +Microsoft.Graph.Users.Item.DistributionLists.Item.AddMembers.addMembersPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Users.Item.DistributionLists.Item.AddMembers.addMembersPostRequestBody::|public|Members:List +Microsoft.Graph.Users.Item.DistributionLists.Item.AddMembers.addMembersPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Users.Item.DistributionLists.Item.AddMembers.addMembersPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.DistributionLists.Item.AddMembers.AddMembersPostRequestBody +Microsoft.Graph.Users.Item.DistributionLists.Item.AddMembers.addMembersPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Users.Item.DistributionLists.Item.AddMembers.addMembersRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.DistributionLists.Item.AddMembers.addMembersRequestBuilder.addMembersRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.DistributionLists.Item.AddMembers.addMembersRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.DistributionLists.Item.AddMembers.addMembersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.DistributionLists.Item.AddMembers.addMembersRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Users.Item.DistributionLists.Item.AddMembers.AddMembersPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DistributionList +Microsoft.Graph.Users.Item.DistributionLists.Item.AddMembers.addMembersRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Users.Item.DistributionLists.Item.AddMembers.AddMembersPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.DistributionLists.Item.AddMembers.addMembersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.DistributionLists.Item.AddMembers.AddMembersRequestBuilder +Microsoft.Graph.Users.Item.DistributionLists.Item.DeleteMembers.deleteMembersPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Users.Item.DistributionLists.Item.DeleteMembers.deleteMembersPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Users.Item.DistributionLists.Item.DeleteMembers.deleteMembersPostRequestBody::|public|constructor():void +Microsoft.Graph.Users.Item.DistributionLists.Item.DeleteMembers.deleteMembersPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Users.Item.DistributionLists.Item.DeleteMembers.deleteMembersPostRequestBody::|public|Members:List +Microsoft.Graph.Users.Item.DistributionLists.Item.DeleteMembers.deleteMembersPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Users.Item.DistributionLists.Item.DeleteMembers.deleteMembersPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.DistributionLists.Item.DeleteMembers.DeleteMembersPostRequestBody +Microsoft.Graph.Users.Item.DistributionLists.Item.DeleteMembers.deleteMembersPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Users.Item.DistributionLists.Item.DeleteMembers.deleteMembersRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.DistributionLists.Item.DeleteMembers.deleteMembersRequestBuilder.deleteMembersRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.DistributionLists.Item.DeleteMembers.deleteMembersRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.DistributionLists.Item.DeleteMembers.deleteMembersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.DistributionLists.Item.DeleteMembers.deleteMembersRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Users.Item.DistributionLists.Item.DeleteMembers.DeleteMembersPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DistributionList +Microsoft.Graph.Users.Item.DistributionLists.Item.DeleteMembers.deleteMembersRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Users.Item.DistributionLists.Item.DeleteMembers.DeleteMembersPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.DistributionLists.Item.DeleteMembers.deleteMembersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.DistributionLists.Item.DeleteMembers.DeleteMembersRequestBuilder +Microsoft.Graph.Users.Item.DistributionLists.Item.DistributionListItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.DistributionLists.Item.DistributionListItemRequestBuilder.DistributionListItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.DistributionLists.Item.DistributionListItemRequestBuilder.DistributionListItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Users.Item.DistributionLists.Item.DistributionListItemRequestBuilder.DistributionListItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Users.Item.DistributionLists.Item.DistributionListItemRequestBuilder.DistributionListItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.DistributionLists.Item.DistributionListItemRequestBuilder.DistributionListItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.DistributionLists.Item.DistributionListItemRequestBuilder::|public|addMembers:global.Microsoft.Graph.Users.Item.DistributionLists.Item.AddMembers.AddMembersRequestBuilder +Microsoft.Graph.Users.Item.DistributionLists.Item.DistributionListItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.DistributionLists.Item.DistributionListItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.DistributionLists.Item.DistributionListItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Users.Item.DistributionLists.Item.DistributionListItemRequestBuilder::|public|deleteMembers:global.Microsoft.Graph.Users.Item.DistributionLists.Item.DeleteMembers.DeleteMembersRequestBuilder +Microsoft.Graph.Users.Item.DistributionLists.Item.DistributionListItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DistributionList +Microsoft.Graph.Users.Item.DistributionLists.Item.DistributionListItemRequestBuilder::|public|members:global.Microsoft.Graph.Users.Item.DistributionLists.Item.Members.MembersRequestBuilder +Microsoft.Graph.Users.Item.DistributionLists.Item.DistributionListItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.DistributionList; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DistributionList +Microsoft.Graph.Users.Item.DistributionLists.Item.DistributionListItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.DistributionLists.Item.DistributionListItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.DistributionLists.Item.DistributionListItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.DistributionList; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.DistributionLists.Item.DistributionListItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.DistributionLists.Item.DistributionListItemRequestBuilder +Microsoft.Graph.Users.Item.DistributionLists.Item.Members.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.DistributionLists.Item.Members.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Users.Item.DistributionLists.Item.Members.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Users.Item.DistributionLists.Item.Members.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.DistributionLists.Item.Members.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.DistributionLists.Item.Members.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.DistributionLists.Item.Members.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Users.Item.DistributionLists.Item.Members.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.DistributionLists.Item.Members.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.DistributionLists.Item.Members.Count.CountRequestBuilder +Microsoft.Graph.Users.Item.DistributionLists.Item.Members.Item.Contact.contactRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.DistributionLists.Item.Members.Item.Contact.contactRequestBuilder.contactRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Users.Item.DistributionLists.Item.Members.Item.Contact.contactRequestBuilder.contactRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Users.Item.DistributionLists.Item.Members.Item.Contact.contactRequestBuilder.contactRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.DistributionLists.Item.Members.Item.Contact.contactRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.DistributionLists.Item.Members.Item.Contact.contactRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.DistributionLists.Item.Members.Item.Contact.contactRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Contact +Microsoft.Graph.Users.Item.DistributionLists.Item.Members.Item.Contact.contactRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.DistributionLists.Item.Members.Item.Contact.contactRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.DistributionLists.Item.Members.Item.Contact.ContactRequestBuilder +Microsoft.Graph.Users.Item.DistributionLists.Item.Members.Item.DistributionListMemberItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.DistributionLists.Item.Members.Item.DistributionListMemberItemRequestBuilder.DistributionListMemberItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Users.Item.DistributionLists.Item.Members.Item.DistributionListMemberItemRequestBuilder.DistributionListMemberItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Users.Item.DistributionLists.Item.Members.Item.DistributionListMemberItemRequestBuilder.DistributionListMemberItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.DistributionLists.Item.Members.Item.DistributionListMemberItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.DistributionLists.Item.Members.Item.DistributionListMemberItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.DistributionLists.Item.Members.Item.DistributionListMemberItemRequestBuilder::|public|contact:global.Microsoft.Graph.Users.Item.DistributionLists.Item.Members.Item.Contact.ContactRequestBuilder +Microsoft.Graph.Users.Item.DistributionLists.Item.Members.Item.DistributionListMemberItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DistributionListMember +Microsoft.Graph.Users.Item.DistributionLists.Item.Members.Item.DistributionListMemberItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.DistributionLists.Item.Members.Item.DistributionListMemberItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.DistributionLists.Item.Members.Item.DistributionListMemberItemRequestBuilder +Microsoft.Graph.Users.Item.DistributionLists.Item.Members.membersRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.DistributionLists.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Users.Item.DistributionLists.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Users.Item.DistributionLists.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Users.Item.DistributionLists.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Users.Item.DistributionLists.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Users.Item.DistributionLists.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Users.Item.DistributionLists.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Users.Item.DistributionLists.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Users.Item.DistributionLists.Item.Members.membersRequestBuilder.membersRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.DistributionLists.Item.Members.membersRequestBuilder::[DistributionListMemberId:string]:global.Microsoft.Graph.Users.Item.DistributionLists.Item.Members.Item.DistributionListMemberItemRequestBuilder +Microsoft.Graph.Users.Item.DistributionLists.Item.Members.membersRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.DistributionLists.Item.Members.membersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.DistributionLists.Item.Members.membersRequestBuilder::|public|Count:global.Microsoft.Graph.Users.Item.DistributionLists.Item.Members.Count.CountRequestBuilder +Microsoft.Graph.Users.Item.DistributionLists.Item.Members.membersRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DistributionListMemberCollectionResponse +Microsoft.Graph.Users.Item.DistributionLists.Item.Members.membersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.DistributionLists.Item.Members.membersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.DistributionLists.Item.Members.MembersRequestBuilder Microsoft.Graph.Users.Item.Drive.driveRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Users.Item.Drive.driveRequestBuilder.driveRequestBuilderGetQueryParameters::|public|Expand:string[] Microsoft.Graph.Users.Item.Drive.driveRequestBuilder.driveRequestBuilderGetQueryParameters::|public|Select:string[] @@ -204280,6 +205207,7 @@ Microsoft.Graph.Users.Item.UserItemRequestBuilder::|public|dataSecurityAndGovern Microsoft.Graph.Users.Item.UserItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Users.Item.UserItemRequestBuilder::|public|deviceManagementTroubleshootingEvents:global.Microsoft.Graph.Users.Item.DeviceManagementTroubleshootingEvents.DeviceManagementTroubleshootingEventsRequestBuilder Microsoft.Graph.Users.Item.UserItemRequestBuilder::|public|directReports:global.Microsoft.Graph.Users.Item.DirectReports.DirectReportsRequestBuilder +Microsoft.Graph.Users.Item.UserItemRequestBuilder::|public|distributionLists:global.Microsoft.Graph.Users.Item.DistributionLists.DistributionListsRequestBuilder Microsoft.Graph.Users.Item.UserItemRequestBuilder::|public|drive:global.Microsoft.Graph.Users.Item.Drive.DriveRequestBuilder Microsoft.Graph.Users.Item.UserItemRequestBuilder::|public|drives:global.Microsoft.Graph.Users.Item.Drives.DrivesRequestBuilder Microsoft.Graph.Users.Item.UserItemRequestBuilder::|public|employeeExperience:global.Microsoft.Graph.Users.Item.EmployeeExperience.EmployeeExperienceRequestBuilder diff --git a/src/Microsoft.Graph/Generated/kiota-lock.json b/src/Microsoft.Graph/Generated/kiota-lock.json index 7f1808addd3..a6123cd85cc 100644 --- a/src/Microsoft.Graph/Generated/kiota-lock.json +++ b/src/Microsoft.Graph/Generated/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "8CD0F81EB813CF30CC80A5949845C679CE852F413F8BAB16A73B72B4BB3FF5E7F40623C432B51495BD0C529C71381F37F63E3F8412E01FC9C187467B5110BB9F", + "descriptionHash": "CF1B252CB49BBC835775DCE3515EF50C47F80258F8E4AC873D64D994A1D3D86CFE887F7758F358BFC5807332D1C77A5FB5D29ED9BF071387842735C3F595ECF2", "descriptionLocation": "../../msgraph-metadata/clean_v10_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.38.0",