diff --git a/src/Microsoft.Graph/Generated/Admin/AdminRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/AdminRequestBuilder.cs index 7abf9aaa4a1..290e318719c 100644 --- a/src/Microsoft.Graph/Generated/Admin/AdminRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/AdminRequestBuilder.cs @@ -6,6 +6,7 @@ using Microsoft.Graph.Admin.ReportSettings; using Microsoft.Graph.Admin.ServiceAnnouncement; using Microsoft.Graph.Admin.Sharepoint; +using Microsoft.Graph.Admin.Teams; using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; using Microsoft.Kiota.Abstractions.Extensions; @@ -54,6 +55,11 @@ public partial class AdminRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Admin.Sharepoint.SharepointRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the teams property of the microsoft.graph.admin entity. + public global::Microsoft.Graph.Admin.Teams.TeamsRequestBuilder Teams + { + get => new global::Microsoft.Graph.Admin.Teams.TeamsRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/Admin/Teams/TeamsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Teams/TeamsRequestBuilder.cs new file mode 100644 index 00000000000..d835c0f897e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Teams/TeamsRequestBuilder.cs @@ -0,0 +1,235 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Admin.Teams.UserConfigurations; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models.TeamsAdministration; +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.Admin.Teams +{ + /// + /// Provides operations to manage the teams property of the microsoft.graph.admin entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TeamsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the userConfigurations property of the microsoft.graph.teamsAdministration.teamsAdminRoot entity. + public global::Microsoft.Graph.Admin.Teams.UserConfigurations.UserConfigurationsRequestBuilder UserConfigurations + { + get => new global::Microsoft.Graph.Admin.Teams.UserConfigurations.UserConfigurationsRequestBuilder(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 TeamsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/teams{?%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 TeamsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/teams{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property teams for admin + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Represents a collection of user configurations. + /// + /// 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.TeamsAdministration.TeamsAdminRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property teams in admin + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.TeamsAdministration.TeamsAdminRoot body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.TeamsAdministration.TeamsAdminRoot 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.TeamsAdministration.TeamsAdminRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property teams for admin + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Represents a collection of user configurations. + /// + /// A + /// Configuration 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 teams in admin + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.TeamsAdministration.TeamsAdminRoot body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.TeamsAdministration.TeamsAdminRoot 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.Admin.Teams.TeamsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Admin.Teams.TeamsRequestBuilder(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 TeamsRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Represents a collection of user configurations. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TeamsRequestBuilderGetQueryParameters + { + /// 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 TeamsRequestBuilderGetRequestConfiguration : 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 TeamsRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Teams/UserConfigurations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Teams/UserConfigurations/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..05e8837a0e8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Teams/UserConfigurations/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.Admin.Teams.UserConfigurations.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/teams/userConfigurations/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/teams/userConfigurations/$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.Admin.Teams.UserConfigurations.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Admin.Teams.UserConfigurations.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Teams/UserConfigurations/Item/TeamsUserConfigurationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Teams/UserConfigurations/Item/TeamsUserConfigurationItemRequestBuilder.cs new file mode 100644 index 00000000000..8575a13cbbc --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Teams/UserConfigurations/Item/TeamsUserConfigurationItemRequestBuilder.cs @@ -0,0 +1,236 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Admin.Teams.UserConfigurations.Item.User; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models.TeamsAdministration; +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.Admin.Teams.UserConfigurations.Item +{ + /// + /// Provides operations to manage the userConfigurations property of the microsoft.graph.teamsAdministration.teamsAdminRoot entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TeamsUserConfigurationItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the user property of the microsoft.graph.teamsAdministration.teamsUserConfiguration entity. + public global::Microsoft.Graph.Admin.Teams.UserConfigurations.Item.User.UserRequestBuilder User + { + get => new global::Microsoft.Graph.Admin.Teams.UserConfigurations.Item.User.UserRequestBuilder(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 TeamsUserConfigurationItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/teams/userConfigurations/{teamsUserConfiguration%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 TeamsUserConfigurationItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/teams/userConfigurations/{teamsUserConfiguration%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property userConfigurations for admin + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read the Teams user configurations for a specific user using their ID (the user's identifier). + /// 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.TeamsAdministration.TeamsUserConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property userConfigurations in admin + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.TeamsAdministration.TeamsUserConfiguration body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.TeamsAdministration.TeamsUserConfiguration 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.TeamsAdministration.TeamsUserConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property userConfigurations for admin + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Read the Teams user configurations for a specific user using their ID (the user's identifier). + /// + /// A + /// Configuration 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 userConfigurations in admin + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.TeamsAdministration.TeamsUserConfiguration body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.TeamsAdministration.TeamsUserConfiguration 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.Admin.Teams.UserConfigurations.Item.TeamsUserConfigurationItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Admin.Teams.UserConfigurations.Item.TeamsUserConfigurationItemRequestBuilder(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 TeamsUserConfigurationItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Read the Teams user configurations for a specific user using their ID (the user's identifier). + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TeamsUserConfigurationItemRequestBuilderGetQueryParameters + { + /// 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 TeamsUserConfigurationItemRequestBuilderGetRequestConfiguration : 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 TeamsUserConfigurationItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Teams/UserConfigurations/Item/User/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Teams/UserConfigurations/Item/User/MailboxSettings/MailboxSettingsRequestBuilder.cs new file mode 100644 index 00000000000..35cf34fe3a4 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Teams/UserConfigurations/Item/User/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -0,0 +1,180 @@ +// +#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.Admin.Teams.UserConfigurations.Item.User.MailboxSettings +{ + /// + /// Builds and executes requests for operations under \admin\teams\userConfigurations\{teamsUserConfiguration-id}\user\mailboxSettings + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailboxSettingsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MailboxSettingsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/teams/userConfigurations/{teamsUserConfiguration%2Did}/user/mailboxSettings{?%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 MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/teams/userConfigurations/{teamsUserConfiguration%2Did}/user/mailboxSettings{?%24expand,%24select}", rawUrl) + { + } + /// + /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. + /// + /// 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.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update property mailboxSettings value. + /// + /// 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.MailboxSettings body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.MailboxSettings 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.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. + /// + /// A + /// Configuration 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 property mailboxSettings value. + /// + /// 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.MailboxSettings body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.MailboxSettings 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.Admin.Teams.UserConfigurations.Item.User.MailboxSettings.MailboxSettingsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Admin.Teams.UserConfigurations.Item.User.MailboxSettings.MailboxSettingsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailboxSettingsRequestBuilderGetQueryParameters + { + /// 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 MailboxSettingsRequestBuilderGetRequestConfiguration : 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 MailboxSettingsRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Teams/UserConfigurations/Item/User/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Teams/UserConfigurations/Item/User/ServiceProvisioningErrors/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..ca8c4ab4c81 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Teams/UserConfigurations/Item/User/ServiceProvisioningErrors/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.Admin.Teams.UserConfigurations.Item.User.ServiceProvisioningErrors.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/teams/userConfigurations/{teamsUserConfiguration%2Did}/user/serviceProvisioningErrors/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/teams/userConfigurations/{teamsUserConfiguration%2Did}/user/serviceProvisioningErrors/$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.Admin.Teams.UserConfigurations.Item.User.ServiceProvisioningErrors.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Admin.Teams.UserConfigurations.Item.User.ServiceProvisioningErrors.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Teams/UserConfigurations/Item/User/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Teams/UserConfigurations/Item/User/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs new file mode 100644 index 00000000000..31bbec05e6b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Teams/UserConfigurations/Item/User/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs @@ -0,0 +1,170 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Admin.Teams.UserConfigurations.Item.User.ServiceProvisioningErrors.Count; +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.Admin.Teams.UserConfigurations.Item.User.ServiceProvisioningErrors +{ + /// + /// Builds and executes requests for operations under \admin\teams\userConfigurations\{teamsUserConfiguration-id}\user\serviceProvisioningErrors + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ServiceProvisioningErrorsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Admin.Teams.UserConfigurations.Item.User.ServiceProvisioningErrors.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Admin.Teams.UserConfigurations.Item.User.ServiceProvisioningErrors.Count.CountRequestBuilder(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 ServiceProvisioningErrorsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/teams/userConfigurations/{teamsUserConfiguration%2Did}/user/serviceProvisioningErrors{?%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 ServiceProvisioningErrorsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/teams/userConfigurations/{teamsUserConfiguration%2Did}/user/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + /// + /// 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.ServiceProvisioningErrorCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + /// + /// A + /// Configuration 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.Admin.Teams.UserConfigurations.Item.User.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Admin.Teams.UserConfigurations.Item.User.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ServiceProvisioningErrorsRequestBuilderGetQueryParameters + { + /// 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 ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Teams/UserConfigurations/Item/User/UserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Teams/UserConfigurations/Item/User/UserRequestBuilder.cs new file mode 100644 index 00000000000..4398be7d32e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Teams/UserConfigurations/Item/User/UserRequestBuilder.cs @@ -0,0 +1,137 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Admin.Teams.UserConfigurations.Item.User.MailboxSettings; +using Microsoft.Graph.Admin.Teams.UserConfigurations.Item.User.ServiceProvisioningErrors; +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.Admin.Teams.UserConfigurations.Item.User +{ + /// + /// Provides operations to manage the user property of the microsoft.graph.teamsAdministration.teamsUserConfiguration entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UserRequestBuilder : BaseRequestBuilder + { + /// The mailboxSettings property + public global::Microsoft.Graph.Admin.Teams.UserConfigurations.Item.User.MailboxSettings.MailboxSettingsRequestBuilder MailboxSettings + { + get => new global::Microsoft.Graph.Admin.Teams.UserConfigurations.Item.User.MailboxSettings.MailboxSettingsRequestBuilder(PathParameters, RequestAdapter); + } + /// The serviceProvisioningErrors property + public global::Microsoft.Graph.Admin.Teams.UserConfigurations.Item.User.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder ServiceProvisioningErrors + { + get => new global::Microsoft.Graph.Admin.Teams.UserConfigurations.Item.User.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder(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 UserRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/teams/userConfigurations/{teamsUserConfiguration%2Did}/user{?%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 UserRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/teams/userConfigurations/{teamsUserConfiguration%2Did}/user{?%24expand,%24select}", rawUrl) + { + } + /// + /// Represents an Entra user account. + /// + /// 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.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Represents an Entra user account. + /// + /// A + /// Configuration 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.Admin.Teams.UserConfigurations.Item.User.UserRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Admin.Teams.UserConfigurations.Item.User.UserRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Represents an Entra user account. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UserRequestBuilderGetQueryParameters + { + /// 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 UserRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Teams/UserConfigurations/UserConfigurationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Teams/UserConfigurations/UserConfigurationsRequestBuilder.cs new file mode 100644 index 00000000000..80b7a9208a8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Teams/UserConfigurations/UserConfigurationsRequestBuilder.cs @@ -0,0 +1,239 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Admin.Teams.UserConfigurations.Count; +using Microsoft.Graph.Admin.Teams.UserConfigurations.Item; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models.TeamsAdministration; +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.Admin.Teams.UserConfigurations +{ + /// + /// Provides operations to manage the userConfigurations property of the microsoft.graph.teamsAdministration.teamsAdminRoot entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UserConfigurationsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Admin.Teams.UserConfigurations.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Admin.Teams.UserConfigurations.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the userConfigurations property of the microsoft.graph.teamsAdministration.teamsAdminRoot entity. + /// The unique identifier of teamsUserConfiguration + /// A + public global::Microsoft.Graph.Admin.Teams.UserConfigurations.Item.TeamsUserConfigurationItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("teamsUserConfiguration%2Did", position); + return new global::Microsoft.Graph.Admin.Teams.UserConfigurations.Item.TeamsUserConfigurationItemRequestBuilder(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 UserConfigurationsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/teams/userConfigurations{?%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 UserConfigurationsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/teams/userConfigurations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get user configurations for all Teams users who belong to a tenant. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TeamsAdministration.TeamsUserConfigurationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to userConfigurations for admin + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Models.TeamsAdministration.TeamsUserConfiguration body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.TeamsAdministration.TeamsUserConfiguration 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.TeamsAdministration.TeamsUserConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get user configurations for all Teams users who belong to a tenant. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to userConfigurations for admin + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.TeamsAdministration.TeamsUserConfiguration body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.TeamsAdministration.TeamsUserConfiguration 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.Admin.Teams.UserConfigurations.UserConfigurationsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Admin.Teams.UserConfigurations.UserConfigurationsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get user configurations for all Teams users who belong to a tenant. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UserConfigurationsRequestBuilderGetQueryParameters + { + /// 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 UserConfigurationsRequestBuilderGetRequestConfiguration : 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 UserConfigurationsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Communications/AdhocCalls/AdhocCallsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/AdhocCalls/AdhocCallsRequestBuilder.cs new file mode 100644 index 00000000000..69584e45c47 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Communications/AdhocCalls/AdhocCallsRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Communications.AdhocCalls.Count; +using Microsoft.Graph.Communications.AdhocCalls.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.Communications.AdhocCalls +{ + /// + /// Provides operations to manage the adhocCalls property of the microsoft.graph.cloudCommunications entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AdhocCallsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Communications.AdhocCalls.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Communications.AdhocCalls.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the adhocCalls property of the microsoft.graph.cloudCommunications entity. + /// The unique identifier of adhocCall + /// A + public global::Microsoft.Graph.Communications.AdhocCalls.Item.AdhocCallItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("adhocCall%2Did", position); + return new global::Microsoft.Graph.Communications.AdhocCalls.Item.AdhocCallItemRequestBuilder(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 AdhocCallsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/communications/adhocCalls{?%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 AdhocCallsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/communications/adhocCalls{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get adhocCalls from communications + /// + /// 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.AdhocCallCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to adhocCalls for communications + /// + /// 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.AdhocCall body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.AdhocCall 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.AdhocCall.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get adhocCalls from communications + /// + /// A + /// Configuration 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 adhocCalls for communications + /// + /// 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.AdhocCall body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.AdhocCall 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.Communications.AdhocCalls.AdhocCallsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Communications.AdhocCalls.AdhocCallsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get adhocCalls from communications + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AdhocCallsRequestBuilderGetQueryParameters + { + /// 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 AdhocCallsRequestBuilderGetRequestConfiguration : 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 AdhocCallsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Communications/AdhocCalls/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/AdhocCalls/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..f8b40a35fc6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Communications/AdhocCalls/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.Communications.AdhocCalls.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}/communications/adhocCalls/$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}/communications/adhocCalls/$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.Communications.AdhocCalls.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Communications.AdhocCalls.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/Communications/AdhocCalls/Item/AdhocCallItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/AdhocCalls/Item/AdhocCallItemRequestBuilder.cs new file mode 100644 index 00000000000..d787add20c7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Communications/AdhocCalls/Item/AdhocCallItemRequestBuilder.cs @@ -0,0 +1,241 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Communications.AdhocCalls.Item.Recordings; +using Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts; +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.Communications.AdhocCalls.Item +{ + /// + /// Provides operations to manage the adhocCalls property of the microsoft.graph.cloudCommunications entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AdhocCallItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the recordings property of the microsoft.graph.adhocCall entity. + public global::Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.RecordingsRequestBuilder Recordings + { + get => new global::Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.RecordingsRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the transcripts property of the microsoft.graph.adhocCall entity. + public global::Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.TranscriptsRequestBuilder Transcripts + { + get => new global::Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.TranscriptsRequestBuilder(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 AdhocCallItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/communications/adhocCalls/{adhocCall%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 AdhocCallItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/communications/adhocCalls/{adhocCall%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property adhocCalls for communications + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and 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); + } + /// + /// Get adhocCalls from communications + /// + /// 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.AdhocCall.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property adhocCalls in communications + /// + /// 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.AdhocCall body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.AdhocCall 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.AdhocCall.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property adhocCalls for communications + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Get adhocCalls from communications + /// + /// A + /// Configuration 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 adhocCalls in communications + /// + /// 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.AdhocCall body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.AdhocCall 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.Communications.AdhocCalls.Item.AdhocCallItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Communications.AdhocCalls.Item.AdhocCallItemRequestBuilder(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 AdhocCallItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get adhocCalls from communications + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AdhocCallItemRequestBuilderGetQueryParameters + { + /// 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 AdhocCallItemRequestBuilderGetRequestConfiguration : 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 AdhocCallItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Communications/AdhocCalls/Item/Recordings/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/AdhocCalls/Item/Recordings/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..295ff700caf --- /dev/null +++ b/src/Microsoft.Graph/Generated/Communications/AdhocCalls/Item/Recordings/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.Communications.AdhocCalls.Item.Recordings.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}/communications/adhocCalls/{adhocCall%2Did}/recordings/$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}/communications/adhocCalls/{adhocCall%2Did}/recordings/$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.Communications.AdhocCalls.Item.Recordings.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.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/Communications/AdhocCalls/Item/Recordings/Delta/DeltaGetResponse.cs b/src/Microsoft.Graph/Generated/Communications/AdhocCalls/Item/Recordings/Delta/DeltaGetResponse.cs new file mode 100644 index 00000000000..5257a23ad1c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Communications/AdhocCalls/Item/Recordings/Delta/DeltaGetResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Delta +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DeltaGetResponse : global::Microsoft.Graph.Models.BaseDeltaFunctionResponse, 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.Communications.AdhocCalls.Item.Recordings.Delta.DeltaGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Delta.DeltaGetResponse(); + } + /// + /// 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.CallRecording.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/Communications/AdhocCalls/Item/Recordings/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/AdhocCalls/Item/Recordings/Delta/DeltaRequestBuilder.cs new file mode 100644 index 00000000000..75121c5c3bc --- /dev/null +++ b/src/Microsoft.Graph/Generated/Communications/AdhocCalls/Item/Recordings/Delta/DeltaRequestBuilder.cs @@ -0,0 +1,187 @@ +// +#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.Communications.AdhocCalls.Item.Recordings.Delta +{ + /// + /// Provides operations to call the delta method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeltaRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public DeltaRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/communications/adhocCalls/{adhocCall%2Did}/recordings/delta(){?%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 DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/communications/adhocCalls/{adhocCall%2Did}/recordings/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Invoke function delta + /// + /// 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 GetAsDeltaGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsDeltaGetResponseAsync(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.Communications.AdhocCalls.Item.Recordings.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function delta + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("This method is obsolete. Use GetAsDeltaGetResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function delta + /// + /// A + /// Configuration 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.Communications.AdhocCalls.Item.Recordings.Delta.DeltaRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Delta.DeltaRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Invoke function delta + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeltaRequestBuilderGetQueryParameters + { + /// 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 DeltaRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Communications/AdhocCalls/Item/Recordings/Delta/DeltaResponse.cs b/src/Microsoft.Graph/Generated/Communications/AdhocCalls/Item/Recordings/Delta/DeltaResponse.cs new file mode 100644 index 00000000000..c74848eb876 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Communications/AdhocCalls/Item/Recordings/Delta/DeltaResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Delta +{ + [Obsolete("This class is obsolete. Use DeltaGetResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DeltaResponse : global::Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Delta.DeltaGetResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Delta.DeltaResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Delta.DeltaResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Communications/AdhocCalls/Item/Recordings/Item/CallRecordingItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/AdhocCalls/Item/Recordings/Item/CallRecordingItemRequestBuilder.cs new file mode 100644 index 00000000000..974e4f9b1e2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Communications/AdhocCalls/Item/Recordings/Item/CallRecordingItemRequestBuilder.cs @@ -0,0 +1,235 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Item.Content; +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.Communications.AdhocCalls.Item.Recordings.Item +{ + /// + /// Provides operations to manage the recordings property of the microsoft.graph.adhocCall entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CallRecordingItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the media for the cloudCommunications entity. + public global::Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Item.Content.ContentRequestBuilder Content + { + get => new global::Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Item.Content.ContentRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CallRecordingItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/communications/adhocCalls/{adhocCall%2Did}/recordings/{callRecording%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 CallRecordingItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/communications/adhocCalls/{adhocCall%2Did}/recordings/{callRecording%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property recordings for communications + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and 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 recordings of a call. 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.CallRecording.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property recordings in communications + /// + /// 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.CallRecording body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.CallRecording 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.CallRecording.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property recordings for communications + /// + /// A + /// Configuration 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 recordings of a call. 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; + } + /// + /// Update the navigation property recordings in communications + /// + /// 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.CallRecording body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.CallRecording 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.Communications.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder(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 CallRecordingItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// The recordings of a call. Read-only. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CallRecordingItemRequestBuilderGetQueryParameters + { + /// 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 CallRecordingItemRequestBuilderGetRequestConfiguration : 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 CallRecordingItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Communications/AdhocCalls/Item/Recordings/Item/Content/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/AdhocCalls/Item/Recordings/Item/Content/ContentRequestBuilder.cs new file mode 100644 index 00000000000..15845b5c45a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Communications/AdhocCalls/Item/Recordings/Item/Content/ContentRequestBuilder.cs @@ -0,0 +1,202 @@ +// +#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.Communications.AdhocCalls.Item.Recordings.Item.Content +{ + /// + /// Provides operations to manage the media for the cloudCommunications entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContentRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ContentRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/communications/adhocCalls/{adhocCall%2Did}/recordings/{callRecording%2Did}/content", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ContentRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/communications/adhocCalls/{adhocCall%2Did}/recordings/{callRecording%2Did}/content", rawUrl) + { + } + /// + /// The content of the recording. Read-only. + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and 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 content of the recording. 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.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The content of the recording. Read-only. + /// + /// A + /// Binary request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PutAsync(Stream body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PutAsync(Stream body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPutRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.CallRecording.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The content of the recording. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The content of the recording. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json"); + return requestInfo; + } + /// + /// The content of the recording. Read-only. + /// + /// A + /// Binary request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPutRequestInformation(Stream body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPutRequestInformation(Stream body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PUT, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetStreamContent(body, "application/octet-stream"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Item.Content.ContentRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Item.Content.ContentRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContentRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContentRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContentRequestBuilderPutRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Communications/AdhocCalls/Item/Recordings/RecordingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/AdhocCalls/Item/Recordings/RecordingsRequestBuilder.cs new file mode 100644 index 00000000000..3b6cbe18023 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Communications/AdhocCalls/Item/Recordings/RecordingsRequestBuilder.cs @@ -0,0 +1,244 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Count; +using Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Delta; +using Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.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.Communications.AdhocCalls.Item.Recordings +{ + /// + /// Provides operations to manage the recordings property of the microsoft.graph.adhocCall entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RecordingsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the delta method. + public global::Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Delta.DeltaRequestBuilder Delta + { + get => new global::Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Delta.DeltaRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the recordings property of the microsoft.graph.adhocCall entity. + /// The unique identifier of callRecording + /// A + public global::Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("callRecording%2Did", position); + return new global::Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder(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 RecordingsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/communications/adhocCalls/{adhocCall%2Did}/recordings{?%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 RecordingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/communications/adhocCalls/{adhocCall%2Did}/recordings{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The recordings of a call. 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.CallRecordingCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to recordings for communications + /// + /// 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.CallRecording body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.CallRecording 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.CallRecording.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The recordings of a call. 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; + } + /// + /// Create new navigation property to recordings for communications + /// + /// 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.CallRecording body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.CallRecording 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.Communications.AdhocCalls.Item.Recordings.RecordingsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.RecordingsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The recordings of a call. Read-only. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RecordingsRequestBuilderGetQueryParameters + { + /// 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 RecordingsRequestBuilderGetRequestConfiguration : 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 RecordingsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Communications/AdhocCalls/Item/Transcripts/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/AdhocCalls/Item/Transcripts/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..a6cfad40db4 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Communications/AdhocCalls/Item/Transcripts/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.Communications.AdhocCalls.Item.Transcripts.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}/communications/adhocCalls/{adhocCall%2Did}/transcripts/$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}/communications/adhocCalls/{adhocCall%2Did}/transcripts/$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.Communications.AdhocCalls.Item.Transcripts.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.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/Communications/AdhocCalls/Item/Transcripts/Delta/DeltaGetResponse.cs b/src/Microsoft.Graph/Generated/Communications/AdhocCalls/Item/Transcripts/Delta/DeltaGetResponse.cs new file mode 100644 index 00000000000..85a5928ad9b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Communications/AdhocCalls/Item/Transcripts/Delta/DeltaGetResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Delta +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DeltaGetResponse : global::Microsoft.Graph.Models.BaseDeltaFunctionResponse, 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.Communications.AdhocCalls.Item.Transcripts.Delta.DeltaGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Delta.DeltaGetResponse(); + } + /// + /// 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.CallTranscript.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/Communications/AdhocCalls/Item/Transcripts/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/AdhocCalls/Item/Transcripts/Delta/DeltaRequestBuilder.cs new file mode 100644 index 00000000000..30ce8a7513c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Communications/AdhocCalls/Item/Transcripts/Delta/DeltaRequestBuilder.cs @@ -0,0 +1,187 @@ +// +#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.Communications.AdhocCalls.Item.Transcripts.Delta +{ + /// + /// Provides operations to call the delta method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeltaRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public DeltaRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/communications/adhocCalls/{adhocCall%2Did}/transcripts/delta(){?%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 DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/communications/adhocCalls/{adhocCall%2Did}/transcripts/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Invoke function delta + /// + /// 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 GetAsDeltaGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsDeltaGetResponseAsync(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.Communications.AdhocCalls.Item.Transcripts.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function delta + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("This method is obsolete. Use GetAsDeltaGetResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function delta + /// + /// A + /// Configuration 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.Communications.AdhocCalls.Item.Transcripts.Delta.DeltaRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Delta.DeltaRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Invoke function delta + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeltaRequestBuilderGetQueryParameters + { + /// 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 DeltaRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Communications/AdhocCalls/Item/Transcripts/Delta/DeltaResponse.cs b/src/Microsoft.Graph/Generated/Communications/AdhocCalls/Item/Transcripts/Delta/DeltaResponse.cs new file mode 100644 index 00000000000..b5a88d51df1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Communications/AdhocCalls/Item/Transcripts/Delta/DeltaResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Delta +{ + [Obsolete("This class is obsolete. Use DeltaGetResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DeltaResponse : global::Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Delta.DeltaGetResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Delta.DeltaResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Delta.DeltaResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Communications/AdhocCalls/Item/Transcripts/Item/CallTranscriptItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/AdhocCalls/Item/Transcripts/Item/CallTranscriptItemRequestBuilder.cs new file mode 100644 index 00000000000..7848adf8f69 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Communications/AdhocCalls/Item/Transcripts/Item/CallTranscriptItemRequestBuilder.cs @@ -0,0 +1,241 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Item.Content; +using Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Item.MetadataContent; +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.Communications.AdhocCalls.Item.Transcripts.Item +{ + /// + /// Provides operations to manage the transcripts property of the microsoft.graph.adhocCall entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CallTranscriptItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the media for the cloudCommunications entity. + public global::Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Item.Content.ContentRequestBuilder Content + { + get => new global::Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Item.Content.ContentRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the media for the cloudCommunications entity. + public global::Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Item.MetadataContent.MetadataContentRequestBuilder MetadataContent + { + get => new global::Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Item.MetadataContent.MetadataContentRequestBuilder(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 CallTranscriptItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/communications/adhocCalls/{adhocCall%2Did}/transcripts/{callTranscript%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 CallTranscriptItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/communications/adhocCalls/{adhocCall%2Did}/transcripts/{callTranscript%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property transcripts for communications + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and 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 transcripts of a call. 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.CallTranscript.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property transcripts in communications + /// + /// 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.CallTranscript body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.CallTranscript 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.CallTranscript.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property transcripts for communications + /// + /// A + /// Configuration 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 transcripts of a call. 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; + } + /// + /// Update the navigation property transcripts in communications + /// + /// 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.CallTranscript body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.CallTranscript 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.Communications.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder(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 CallTranscriptItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// The transcripts of a call. Read-only. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CallTranscriptItemRequestBuilderGetQueryParameters + { + /// 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 CallTranscriptItemRequestBuilderGetRequestConfiguration : 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 CallTranscriptItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Communications/AdhocCalls/Item/Transcripts/Item/Content/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/AdhocCalls/Item/Transcripts/Item/Content/ContentRequestBuilder.cs new file mode 100644 index 00000000000..ba92c3e8cf1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Communications/AdhocCalls/Item/Transcripts/Item/Content/ContentRequestBuilder.cs @@ -0,0 +1,202 @@ +// +#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.Communications.AdhocCalls.Item.Transcripts.Item.Content +{ + /// + /// Provides operations to manage the media for the cloudCommunications entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContentRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ContentRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/communications/adhocCalls/{adhocCall%2Did}/transcripts/{callTranscript%2Did}/content", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ContentRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/communications/adhocCalls/{adhocCall%2Did}/transcripts/{callTranscript%2Did}/content", rawUrl) + { + } + /// + /// The content of the transcript. Read-only. + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and 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 content of the transcript. 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.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The content of the transcript. Read-only. + /// + /// A + /// Binary request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PutAsync(Stream body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PutAsync(Stream body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPutRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.CallTranscript.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The content of the transcript. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The content of the transcript. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json"); + return requestInfo; + } + /// + /// The content of the transcript. Read-only. + /// + /// A + /// Binary request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPutRequestInformation(Stream body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPutRequestInformation(Stream body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PUT, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetStreamContent(body, "application/octet-stream"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Item.Content.ContentRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Item.Content.ContentRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContentRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContentRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContentRequestBuilderPutRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Communications/AdhocCalls/Item/Transcripts/Item/MetadataContent/MetadataContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/AdhocCalls/Item/Transcripts/Item/MetadataContent/MetadataContentRequestBuilder.cs new file mode 100644 index 00000000000..5602a43ac24 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Communications/AdhocCalls/Item/Transcripts/Item/MetadataContent/MetadataContentRequestBuilder.cs @@ -0,0 +1,201 @@ +// +#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.Communications.AdhocCalls.Item.Transcripts.Item.MetadataContent +{ + /// + /// Provides operations to manage the media for the cloudCommunications entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MetadataContentRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MetadataContentRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/communications/adhocCalls/{adhocCall%2Did}/transcripts/{callTranscript%2Did}/metadataContent", 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 MetadataContentRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/communications/adhocCalls/{adhocCall%2Did}/transcripts/{callTranscript%2Did}/metadataContent", rawUrl) + { + } + /// + /// The time-aligned metadata of the utterances in the transcript. Read-only. + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and 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 time-aligned metadata of the utterances in the transcript. 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.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The time-aligned metadata of the utterances in the transcript. Read-only. + /// + /// A + /// Binary request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PutAsync(Stream body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PutAsync(Stream body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPutRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The time-aligned metadata of the utterances in the transcript. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The time-aligned metadata of the utterances in the transcript. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json"); + return requestInfo; + } + /// + /// The time-aligned metadata of the utterances in the transcript. Read-only. + /// + /// A + /// Binary request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPutRequestInformation(Stream body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPutRequestInformation(Stream body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PUT, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetStreamContent(body, "application/octet-stream"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Item.MetadataContent.MetadataContentRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Item.MetadataContent.MetadataContentRequestBuilder(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 MetadataContentRequestBuilderDeleteRequestConfiguration : 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 MetadataContentRequestBuilderGetRequestConfiguration : 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 MetadataContentRequestBuilderPutRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Communications/AdhocCalls/Item/Transcripts/TranscriptsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/AdhocCalls/Item/Transcripts/TranscriptsRequestBuilder.cs new file mode 100644 index 00000000000..fbc2903cd23 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Communications/AdhocCalls/Item/Transcripts/TranscriptsRequestBuilder.cs @@ -0,0 +1,244 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Count; +using Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Delta; +using Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.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.Communications.AdhocCalls.Item.Transcripts +{ + /// + /// Provides operations to manage the transcripts property of the microsoft.graph.adhocCall entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TranscriptsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the delta method. + public global::Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Delta.DeltaRequestBuilder Delta + { + get => new global::Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Delta.DeltaRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the transcripts property of the microsoft.graph.adhocCall entity. + /// The unique identifier of callTranscript + /// A + public global::Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("callTranscript%2Did", position); + return new global::Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder(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 TranscriptsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/communications/adhocCalls/{adhocCall%2Did}/transcripts{?%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 TranscriptsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/communications/adhocCalls/{adhocCall%2Did}/transcripts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The transcripts of a call. 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.CallTranscriptCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to transcripts for communications + /// + /// 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.CallTranscript body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.CallTranscript 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.CallTranscript.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The transcripts of a call. 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; + } + /// + /// Create new navigation property to transcripts for communications + /// + /// 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.CallTranscript body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.CallTranscript 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.Communications.AdhocCalls.Item.Transcripts.TranscriptsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.TranscriptsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The transcripts of a call. Read-only. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TranscriptsRequestBuilderGetQueryParameters + { + /// 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 TranscriptsRequestBuilderGetRequestConfiguration : 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 TranscriptsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Communications/CommunicationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/CommunicationsRequestBuilder.cs index 849d87e7e57..d0e55d33230 100644 --- a/src/Microsoft.Graph/Generated/Communications/CommunicationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/CommunicationsRequestBuilder.cs @@ -1,5 +1,6 @@ // #pragma warning disable CS0618 +using Microsoft.Graph.Communications.AdhocCalls; using Microsoft.Graph.Communications.CallRecords; using Microsoft.Graph.Communications.Calls; using Microsoft.Graph.Communications.GetAllOnlineMeetingMessages; @@ -25,6 +26,11 @@ namespace Microsoft.Graph.Communications [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class CommunicationsRequestBuilder : BaseRequestBuilder { + /// Provides operations to manage the adhocCalls property of the microsoft.graph.cloudCommunications entity. + public global::Microsoft.Graph.Communications.AdhocCalls.AdhocCallsRequestBuilder AdhocCalls + { + get => new global::Microsoft.Graph.Communications.AdhocCalls.AdhocCallsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the callRecords property of the microsoft.graph.cloudCommunications entity. public global::Microsoft.Graph.Communications.CallRecords.CallRecordsRequestBuilder CallRecords { diff --git a/src/Microsoft.Graph/Generated/Communications/Presences/Item/ClearAutomaticLocation/ClearAutomaticLocationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/Presences/Item/ClearAutomaticLocation/ClearAutomaticLocationRequestBuilder.cs new file mode 100644 index 00000000000..66a07fb551e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Communications/Presences/Item/ClearAutomaticLocation/ClearAutomaticLocationRequestBuilder.cs @@ -0,0 +1,97 @@ +// +#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.Communications.Presences.Item.ClearAutomaticLocation +{ + /// + /// Provides operations to call the clearAutomaticLocation method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ClearAutomaticLocationRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ClearAutomaticLocationRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/communications/presences/{presence%2Did}/clearAutomaticLocation", 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 ClearAutomaticLocationRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/communications/presences/{presence%2Did}/clearAutomaticLocation", rawUrl) + { + } + /// + /// Clear the automatic work location signal for a user. After clearing, the user’s final aggregated work location is recomputed according to the precedence rules: Use this operation when you need to remove the current autodetected signal without affecting manual or scheduled layers. + /// Find more info here + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Clear the automatic work location signal for a user. After clearing, the user’s final aggregated work location is recomputed according to the precedence rules: Use this operation when you need to remove the current autodetected signal without affecting manual or scheduled layers. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Communications.Presences.Item.ClearAutomaticLocation.ClearAutomaticLocationRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Communications.Presences.Item.ClearAutomaticLocation.ClearAutomaticLocationRequestBuilder(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 ClearAutomaticLocationRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Communications/Presences/Item/ClearLocation/ClearLocationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/Presences/Item/ClearLocation/ClearLocationRequestBuilder.cs new file mode 100644 index 00000000000..fc8e1e56c86 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Communications/Presences/Item/ClearLocation/ClearLocationRequestBuilder.cs @@ -0,0 +1,97 @@ +// +#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.Communications.Presences.Item.ClearLocation +{ + /// + /// Provides operations to call the clearLocation method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ClearLocationRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ClearLocationRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/communications/presences/{presence%2Did}/clearLocation", 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 ClearLocationRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/communications/presences/{presence%2Did}/clearLocation", rawUrl) + { + } + /// + /// Clear the work location signals for a user, including both the manual and automatic layers for the current date. + /// Find more info here + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Clear the work location signals for a user, including both the manual and automatic layers for the current date. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Communications.Presences.Item.ClearLocation.ClearLocationRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Communications.Presences.Item.ClearLocation.ClearLocationRequestBuilder(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 ClearLocationRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Communications/Presences/Item/PresenceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/Presences/Item/PresenceItemRequestBuilder.cs index 669859e4179..c4a6308edf6 100644 --- a/src/Microsoft.Graph/Generated/Communications/Presences/Item/PresenceItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/Presences/Item/PresenceItemRequestBuilder.cs @@ -1,7 +1,11 @@ // #pragma warning disable CS0618 +using Microsoft.Graph.Communications.Presences.Item.ClearAutomaticLocation; +using Microsoft.Graph.Communications.Presences.Item.ClearLocation; using Microsoft.Graph.Communications.Presences.Item.ClearPresence; using Microsoft.Graph.Communications.Presences.Item.ClearUserPreferredPresence; +using Microsoft.Graph.Communications.Presences.Item.SetAutomaticLocation; +using Microsoft.Graph.Communications.Presences.Item.SetManualLocation; using Microsoft.Graph.Communications.Presences.Item.SetPresence; using Microsoft.Graph.Communications.Presences.Item.SetStatusMessage; using Microsoft.Graph.Communications.Presences.Item.SetUserPreferredPresence; @@ -23,6 +27,16 @@ namespace Microsoft.Graph.Communications.Presences.Item [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class PresenceItemRequestBuilder : BaseRequestBuilder { + /// Provides operations to call the clearAutomaticLocation method. + public global::Microsoft.Graph.Communications.Presences.Item.ClearAutomaticLocation.ClearAutomaticLocationRequestBuilder ClearAutomaticLocation + { + get => new global::Microsoft.Graph.Communications.Presences.Item.ClearAutomaticLocation.ClearAutomaticLocationRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the clearLocation method. + public global::Microsoft.Graph.Communications.Presences.Item.ClearLocation.ClearLocationRequestBuilder ClearLocation + { + get => new global::Microsoft.Graph.Communications.Presences.Item.ClearLocation.ClearLocationRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the clearPresence method. public global::Microsoft.Graph.Communications.Presences.Item.ClearPresence.ClearPresenceRequestBuilder ClearPresence { @@ -33,6 +47,16 @@ public partial class PresenceItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Communications.Presences.Item.ClearUserPreferredPresence.ClearUserPreferredPresenceRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the setAutomaticLocation method. + public global::Microsoft.Graph.Communications.Presences.Item.SetAutomaticLocation.SetAutomaticLocationRequestBuilder SetAutomaticLocation + { + get => new global::Microsoft.Graph.Communications.Presences.Item.SetAutomaticLocation.SetAutomaticLocationRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the setManualLocation method. + public global::Microsoft.Graph.Communications.Presences.Item.SetManualLocation.SetManualLocationRequestBuilder SetManualLocation + { + get => new global::Microsoft.Graph.Communications.Presences.Item.SetManualLocation.SetManualLocationRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the setPresence method. public global::Microsoft.Graph.Communications.Presences.Item.SetPresence.SetPresenceRequestBuilder SetPresence { diff --git a/src/Microsoft.Graph/Generated/Communications/Presences/Item/SetAutomaticLocation/SetAutomaticLocationPostRequestBody.cs b/src/Microsoft.Graph/Generated/Communications/Presences/Item/SetAutomaticLocation/SetAutomaticLocationPostRequestBody.cs new file mode 100644 index 00000000000..9932050e49b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Communications/Presences/Item/SetAutomaticLocation/SetAutomaticLocationPostRequestBody.cs @@ -0,0 +1,90 @@ +// +#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.Communications.Presences.Item.SetAutomaticLocation +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class SetAutomaticLocationPostRequestBody : 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 placeId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? PlaceId + { + get { return BackingStore?.Get("placeId"); } + set { BackingStore?.Set("placeId", value); } + } +#nullable restore +#else + public string PlaceId + { + get { return BackingStore?.Get("placeId"); } + set { BackingStore?.Set("placeId", value); } + } +#endif + /// The workLocationType property + public global::Microsoft.Graph.Models.WorkLocationType? WorkLocationType + { + get { return BackingStore?.Get("workLocationType"); } + set { BackingStore?.Set("workLocationType", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public SetAutomaticLocationPostRequestBody() + { + 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.Communications.Presences.Item.SetAutomaticLocation.SetAutomaticLocationPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Communications.Presences.Item.SetAutomaticLocation.SetAutomaticLocationPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "placeId", n => { PlaceId = n.GetStringValue(); } }, + { "workLocationType", n => { WorkLocationType = 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("placeId", PlaceId); + writer.WriteEnumValue("workLocationType", WorkLocationType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Communications/Presences/Item/SetAutomaticLocation/SetAutomaticLocationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/Presences/Item/SetAutomaticLocation/SetAutomaticLocationRequestBuilder.cs new file mode 100644 index 00000000000..d53ed51a88f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Communications/Presences/Item/SetAutomaticLocation/SetAutomaticLocationRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#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.Communications.Presences.Item.SetAutomaticLocation +{ + /// + /// Provides operations to call the setAutomaticLocation method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SetAutomaticLocationRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public SetAutomaticLocationRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/communications/presences/{presence%2Did}/setAutomaticLocation", 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 SetAutomaticLocationRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/communications/presences/{presence%2Did}/setAutomaticLocation", rawUrl) + { + } + /// + /// Update the automatic work location for a user. The automatic layer participates in the standard precedence model: Use this operation from clients or services that automatically detect location (for example, Teams, network and location agents, or OEM docking apps). It doesn't clear manual or scheduled signals. + /// Find more info here + /// + /// 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.Communications.Presences.Item.SetAutomaticLocation.SetAutomaticLocationPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Communications.Presences.Item.SetAutomaticLocation.SetAutomaticLocationPostRequestBody 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 }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the automatic work location for a user. The automatic layer participates in the standard precedence model: Use this operation from clients or services that automatically detect location (for example, Teams, network and location agents, or OEM docking apps). It doesn't clear manual or scheduled signals. + /// + /// 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.Communications.Presences.Item.SetAutomaticLocation.SetAutomaticLocationPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Communications.Presences.Item.SetAutomaticLocation.SetAutomaticLocationPostRequestBody 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.Communications.Presences.Item.SetAutomaticLocation.SetAutomaticLocationRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Communications.Presences.Item.SetAutomaticLocation.SetAutomaticLocationRequestBuilder(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 SetAutomaticLocationRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Communications/Presences/Item/SetManualLocation/SetManualLocationPostRequestBody.cs b/src/Microsoft.Graph/Generated/Communications/Presences/Item/SetManualLocation/SetManualLocationPostRequestBody.cs new file mode 100644 index 00000000000..38556841ea7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Communications/Presences/Item/SetManualLocation/SetManualLocationPostRequestBody.cs @@ -0,0 +1,90 @@ +// +#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.Communications.Presences.Item.SetManualLocation +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class SetManualLocationPostRequestBody : 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 placeId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? PlaceId + { + get { return BackingStore?.Get("placeId"); } + set { BackingStore?.Set("placeId", value); } + } +#nullable restore +#else + public string PlaceId + { + get { return BackingStore?.Get("placeId"); } + set { BackingStore?.Set("placeId", value); } + } +#endif + /// The workLocationType property + public global::Microsoft.Graph.Models.WorkLocationType? WorkLocationType + { + get { return BackingStore?.Get("workLocationType"); } + set { BackingStore?.Set("workLocationType", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public SetManualLocationPostRequestBody() + { + 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.Communications.Presences.Item.SetManualLocation.SetManualLocationPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Communications.Presences.Item.SetManualLocation.SetManualLocationPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "placeId", n => { PlaceId = n.GetStringValue(); } }, + { "workLocationType", n => { WorkLocationType = 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("placeId", PlaceId); + writer.WriteEnumValue("workLocationType", WorkLocationType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Communications/Presences/Item/SetManualLocation/SetManualLocationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/Presences/Item/SetManualLocation/SetManualLocationRequestBuilder.cs new file mode 100644 index 00000000000..f1270a20e78 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Communications/Presences/Item/SetManualLocation/SetManualLocationRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#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.Communications.Presences.Item.SetManualLocation +{ + /// + /// Provides operations to call the setManualLocation method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SetManualLocationRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public SetManualLocationRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/communications/presences/{presence%2Did}/setManualLocation", 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 SetManualLocationRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/communications/presences/{presence%2Did}/setManualLocation", rawUrl) + { + } + /// + /// Set the manual work location signal for a user. The explicit value chosen by a user or an authorized client overrides any automatically detected or scheduled working hours and location. + /// Find more info here + /// + /// 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.Communications.Presences.Item.SetManualLocation.SetManualLocationPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Communications.Presences.Item.SetManualLocation.SetManualLocationPostRequestBody 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 }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Set the manual work location signal for a user. The explicit value chosen by a user or an authorized client overrides any automatically detected or scheduled working hours and location. + /// + /// 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.Communications.Presences.Item.SetManualLocation.SetManualLocationPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Communications.Presences.Item.SetManualLocation.SetManualLocationPostRequestBody 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.Communications.Presences.Item.SetManualLocation.SetManualLocationRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Communications.Presences.Item.SetManualLocation.SetManualLocationRequestBuilder(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 SetManualLocationRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/CloudPCItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/CloudPCItemRequestBuilder.cs index c7a10fd6aee..919a4d89c9a 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/CloudPCItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/CloudPCItemRequestBuilder.cs @@ -3,8 +3,10 @@ using Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.EndGracePeriod; using Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Reboot; using Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Rename; +using Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Reprovision; using Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Resize; using Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Restore; +using Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.RetrieveCloudPcLaunchDetail; using Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Troubleshoot; using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; @@ -39,6 +41,11 @@ public partial class CloudPCItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Rename.RenameRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the reprovision method. + public global::Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Reprovision.ReprovisionRequestBuilder Reprovision + { + get => new global::Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Reprovision.ReprovisionRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the resize method. public global::Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Resize.ResizeRequestBuilder Resize { @@ -49,6 +56,11 @@ public partial class CloudPCItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Restore.RestoreRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the retrieveCloudPcLaunchDetail method. + public global::Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.RetrieveCloudPcLaunchDetail.RetrieveCloudPcLaunchDetailRequestBuilder RetrieveCloudPcLaunchDetail + { + get => new global::Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.RetrieveCloudPcLaunchDetail.RetrieveCloudPcLaunchDetailRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the troubleshoot method. public global::Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Troubleshoot.TroubleshootRequestBuilder Troubleshoot { diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/Reprovision/ReprovisionPostRequestBody.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/Reprovision/ReprovisionPostRequestBody.cs new file mode 100644 index 00000000000..0323f5f7443 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/Reprovision/ReprovisionPostRequestBody.cs @@ -0,0 +1,80 @@ +// +#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.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Reprovision +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ReprovisionPostRequestBody : 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 osVersion property + public global::Microsoft.Graph.Models.CloudPcOperatingSystem? OsVersion + { + get { return BackingStore?.Get("osVersion"); } + set { BackingStore?.Set("osVersion", value); } + } + /// The userAccountType property + public global::Microsoft.Graph.Models.CloudPcUserAccountType? UserAccountType + { + get { return BackingStore?.Get("userAccountType"); } + set { BackingStore?.Set("userAccountType", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public ReprovisionPostRequestBody() + { + 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.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Reprovision.ReprovisionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Reprovision.ReprovisionPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "osVersion", n => { OsVersion = n.GetEnumValue(); } }, + { "userAccountType", n => { UserAccountType = 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.WriteEnumValue("osVersion", OsVersion); + writer.WriteEnumValue("userAccountType", UserAccountType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/Reprovision/ReprovisionRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/Reprovision/ReprovisionRequestBuilder.cs new file mode 100644 index 00000000000..5c380f7538b --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/Reprovision/ReprovisionRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#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.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Reprovision +{ + /// + /// Provides operations to call the reprovision method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReprovisionRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ReprovisionRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/cloudPCs/{cloudPC%2Did}/reprovision", 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 ReprovisionRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/cloudPCs/{cloudPC%2Did}/reprovision", rawUrl) + { + } + /// + /// Reprovision a specific Cloud PC. + /// Find more info here + /// + /// 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.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Reprovision.ReprovisionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Reprovision.ReprovisionPostRequestBody 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 }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Reprovision a specific Cloud PC. + /// + /// 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.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Reprovision.ReprovisionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Reprovision.ReprovisionPostRequestBody 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.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Reprovision.ReprovisionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Reprovision.ReprovisionRequestBuilder(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 ReprovisionRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/RetrieveCloudPcLaunchDetail/RetrieveCloudPcLaunchDetailRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/RetrieveCloudPcLaunchDetail/RetrieveCloudPcLaunchDetailRequestBuilder.cs new file mode 100644 index 00000000000..8a61a668b87 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/RetrieveCloudPcLaunchDetail/RetrieveCloudPcLaunchDetailRequestBuilder.cs @@ -0,0 +1,99 @@ +// +#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.DeviceManagement.VirtualEndpoint.CloudPCs.Item.RetrieveCloudPcLaunchDetail +{ + /// + /// Provides operations to call the retrieveCloudPcLaunchDetail method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RetrieveCloudPcLaunchDetailRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RetrieveCloudPcLaunchDetailRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/cloudPCs/{cloudPC%2Did}/retrieveCloudPcLaunchDetail()", 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 RetrieveCloudPcLaunchDetailRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/cloudPCs/{cloudPC%2Did}/retrieveCloudPcLaunchDetail()", rawUrl) + { + } + /// + /// Get the cloudPcLaunchDetail for a specific cloudPC that belongs to the current signed-in user. + /// 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.CloudPcLaunchDetail.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the cloudPcLaunchDetail for a specific cloudPC that belongs to the current signed-in user. + /// + /// A + /// Configuration 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.DeviceManagement.VirtualEndpoint.CloudPCs.Item.RetrieveCloudPcLaunchDetail.RetrieveCloudPcLaunchDetailRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.RetrieveCloudPcLaunchDetail.RetrieveCloudPcLaunchDetailRequestBuilder(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 RetrieveCloudPcLaunchDetailRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/Report/ReportRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/Report/ReportRequestBuilder.cs new file mode 100644 index 00000000000..56fa716ee16 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/Report/ReportRequestBuilder.cs @@ -0,0 +1,235 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcRecommendationReports; +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.DeviceManagement.VirtualEndpoint.Report +{ + /// + /// Provides operations to manage the report property of the microsoft.graph.virtualEndpoint entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReportRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the retrieveCloudPcRecommendationReports method. + public global::Microsoft.Graph.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcRecommendationReports.RetrieveCloudPcRecommendationReportsRequestBuilder RetrieveCloudPcRecommendationReports + { + get => new global::Microsoft.Graph.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcRecommendationReports.RetrieveCloudPcRecommendationReportsRequestBuilder(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 ReportRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/report{?%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 ReportRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/report{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property report for deviceManagement + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and 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); + } + /// + /// Cloud PC-related reports. 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.CloudPcReport.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property report in deviceManagement + /// + /// 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.CloudPcReport body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.CloudPcReport 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.CloudPcReport.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property report for deviceManagement + /// + /// A + /// Configuration 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; + } + /// + /// Cloud PC-related reports. 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; + } + /// + /// Update the navigation property report in deviceManagement + /// + /// 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.CloudPcReport body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.CloudPcReport 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.DeviceManagement.VirtualEndpoint.Report.ReportRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.DeviceManagement.VirtualEndpoint.Report.ReportRequestBuilder(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 ReportRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Cloud PC-related reports. Read-only. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReportRequestBuilderGetQueryParameters + { + /// 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 ReportRequestBuilderGetRequestConfiguration : 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 ReportRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/Report/RetrieveCloudPcRecommendationReports/RetrieveCloudPcRecommendationReportsPostRequestBody.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/Report/RetrieveCloudPcRecommendationReports/RetrieveCloudPcRecommendationReportsPostRequestBody.cs new file mode 100644 index 00000000000..3c503667f9d --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/Report/RetrieveCloudPcRecommendationReports/RetrieveCloudPcRecommendationReportsPostRequestBody.cs @@ -0,0 +1,178 @@ +// +#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.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcRecommendationReports +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RetrieveCloudPcRecommendationReportsPostRequestBody : 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 filter property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Filter + { + get { return BackingStore?.Get("filter"); } + set { BackingStore?.Set("filter", value); } + } +#nullable restore +#else + public string Filter + { + get { return BackingStore?.Get("filter"); } + set { BackingStore?.Set("filter", value); } + } +#endif + /// The groupBy property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? GroupBy + { + get { return BackingStore?.Get?>("groupBy"); } + set { BackingStore?.Set("groupBy", value); } + } +#nullable restore +#else + public List GroupBy + { + get { return BackingStore?.Get>("groupBy"); } + set { BackingStore?.Set("groupBy", value); } + } +#endif + /// The orderBy property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? OrderBy + { + get { return BackingStore?.Get?>("orderBy"); } + set { BackingStore?.Set("orderBy", value); } + } +#nullable restore +#else + public List OrderBy + { + get { return BackingStore?.Get>("orderBy"); } + set { BackingStore?.Set("orderBy", value); } + } +#endif + /// The reportType property + public global::Microsoft.Graph.Models.CloudPcRecommendationReportType? ReportType + { + get { return BackingStore?.Get("reportType"); } + set { BackingStore?.Set("reportType", value); } + } + /// The search property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Search + { + get { return BackingStore?.Get("search"); } + set { BackingStore?.Set("search", value); } + } +#nullable restore +#else + public string Search + { + get { return BackingStore?.Get("search"); } + set { BackingStore?.Set("search", value); } + } +#endif + /// The select property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Select + { + get { return BackingStore?.Get?>("select"); } + set { BackingStore?.Set("select", value); } + } +#nullable restore +#else + public List Select + { + get { return BackingStore?.Get>("select"); } + set { BackingStore?.Set("select", value); } + } +#endif + /// The skip property + public int? Skip + { + get { return BackingStore?.Get("skip"); } + set { BackingStore?.Set("skip", value); } + } + /// The top property + public int? Top + { + get { return BackingStore?.Get("top"); } + set { BackingStore?.Set("top", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public RetrieveCloudPcRecommendationReportsPostRequestBody() + { + 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.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcRecommendationReports.RetrieveCloudPcRecommendationReportsPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcRecommendationReports.RetrieveCloudPcRecommendationReportsPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "filter", n => { Filter = n.GetStringValue(); } }, + { "groupBy", n => { GroupBy = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "orderBy", n => { OrderBy = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "reportType", n => { ReportType = n.GetEnumValue(); } }, + { "search", n => { Search = n.GetStringValue(); } }, + { "select", n => { Select = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "skip", n => { Skip = n.GetIntValue(); } }, + { "top", n => { Top = 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.WriteStringValue("filter", Filter); + writer.WriteCollectionOfPrimitiveValues("groupBy", GroupBy); + writer.WriteCollectionOfPrimitiveValues("orderBy", OrderBy); + writer.WriteEnumValue("reportType", ReportType); + writer.WriteStringValue("search", Search); + writer.WriteCollectionOfPrimitiveValues("select", Select); + writer.WriteIntValue("skip", Skip); + writer.WriteIntValue("top", Top); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/Report/RetrieveCloudPcRecommendationReports/RetrieveCloudPcRecommendationReportsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/Report/RetrieveCloudPcRecommendationReports/RetrieveCloudPcRecommendationReportsRequestBuilder.cs new file mode 100644 index 00000000000..dcab33aeb9c --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/Report/RetrieveCloudPcRecommendationReports/RetrieveCloudPcRecommendationReportsRequestBuilder.cs @@ -0,0 +1,103 @@ +// +#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.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcRecommendationReports +{ + /// + /// Provides operations to call the retrieveCloudPcRecommendationReports method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RetrieveCloudPcRecommendationReportsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RetrieveCloudPcRecommendationReportsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/report/retrieveCloudPcRecommendationReports", 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 RetrieveCloudPcRecommendationReportsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/report/retrieveCloudPcRecommendationReports", rawUrl) + { + } + /// + /// Retrieve Cloud PC recommendation reports for usage optimization and cost savings. The usage category report categorizes a Cloud PC as Undersized, Oversized, Rightsized, or Underutilized, and also provides the recommended SKU when the Cloud PC isn't Rightsized. + /// 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.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcRecommendationReports.RetrieveCloudPcRecommendationReportsPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcRecommendationReports.RetrieveCloudPcRecommendationReportsPostRequestBody 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.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Retrieve Cloud PC recommendation reports for usage optimization and cost savings. The usage category report categorizes a Cloud PC as Undersized, Oversized, Rightsized, or Underutilized, and also provides the recommended SKU when the Cloud PC isn't Rightsized. + /// + /// 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.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcRecommendationReports.RetrieveCloudPcRecommendationReportsPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcRecommendationReports.RetrieveCloudPcRecommendationReportsPostRequestBody 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/octet-stream, 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.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcRecommendationReports.RetrieveCloudPcRecommendationReportsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcRecommendationReports.RetrieveCloudPcRecommendationReportsRequestBuilder(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 RetrieveCloudPcRecommendationReportsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/VirtualEndpointRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/VirtualEndpointRequestBuilder.cs index 3c72c9c4078..92458f534f0 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/VirtualEndpointRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/VirtualEndpointRequestBuilder.cs @@ -6,6 +6,7 @@ using Microsoft.Graph.DeviceManagement.VirtualEndpoint.GalleryImages; using Microsoft.Graph.DeviceManagement.VirtualEndpoint.OnPremisesConnections; using Microsoft.Graph.DeviceManagement.VirtualEndpoint.ProvisioningPolicies; +using Microsoft.Graph.DeviceManagement.VirtualEndpoint.Report; using Microsoft.Graph.DeviceManagement.VirtualEndpoint.UserSettings; using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; @@ -55,6 +56,11 @@ public partial class VirtualEndpointRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.ProvisioningPoliciesRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the report property of the microsoft.graph.virtualEndpoint entity. + public global::Microsoft.Graph.DeviceManagement.VirtualEndpoint.Report.ReportRequestBuilder Report + { + get => new global::Microsoft.Graph.DeviceManagement.VirtualEndpoint.Report.ReportRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the userSettings property of the microsoft.graph.virtualEndpoint entity. public global::Microsoft.Graph.DeviceManagement.VirtualEndpoint.UserSettings.UserSettingsRequestBuilder UserSettings { diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Recent/RecentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Recent/RecentRequestBuilder.cs index de4042c6991..f8d41fdf3ad 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Recent/RecentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Recent/RecentRequestBuilder.cs @@ -41,6 +41,7 @@ public RecentRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. /// When receiving a 4XX or 5XX status code + [Obsolete("This API is deprecated and will stop returning data after November, 2027. as of 2025-11/Removal on 2025-11-13 and will be removed 2027-11-01")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public async Task GetAsRecentGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -87,6 +88,7 @@ public RecentRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete("This API is deprecated and will stop returning data after November, 2027. as of 2025-11/Removal on 2025-11-13 and will be removed 2027-11-01")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) @@ -106,6 +108,7 @@ public RequestInformation ToGetRequestInformation(Action /// A /// The raw URL to use for the request builder. + [Obsolete("This API is deprecated and will stop returning data after November, 2027. as of 2025-11/Removal on 2025-11-13 and will be removed 2027-11-01")] public global::Microsoft.Graph.Drives.Item.Recent.RecentRequestBuilder WithUrl(string rawUrl) { return new global::Microsoft.Graph.Drives.Item.Recent.RecentRequestBuilder(rawUrl, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Drives/Item/SharedWithMe/SharedWithMeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/SharedWithMe/SharedWithMeRequestBuilder.cs index 4fed3facd32..280872cf089 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/SharedWithMe/SharedWithMeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/SharedWithMe/SharedWithMeRequestBuilder.cs @@ -41,6 +41,7 @@ public SharedWithMeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. /// When receiving a 4XX or 5XX status code + [Obsolete("This API is deprecated and will stop returning data after November, 2027. as of 2025-11/Removal on 2025-11-13 and will be removed 2027-11-01")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public async Task GetAsSharedWithMeGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -87,6 +88,7 @@ public SharedWithMeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete("This API is deprecated and will stop returning data after November, 2027. as of 2025-11/Removal on 2025-11-13 and will be removed 2027-11-01")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) @@ -106,6 +108,7 @@ public RequestInformation ToGetRequestInformation(Action /// A /// The raw URL to use for the request builder. + [Obsolete("This API is deprecated and will stop returning data after November, 2027. as of 2025-11/Removal on 2025-11-13 and will be removed 2027-11-01")] public global::Microsoft.Graph.Drives.Item.SharedWithMe.SharedWithMeRequestBuilder WithUrl(string rawUrl) { return new global::Microsoft.Graph.Drives.Item.SharedWithMe.SharedWithMeRequestBuilder(rawUrl, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Me/Activities/Item/HistoryItems/Item/ActivityHistoryItemItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Activities/Item/HistoryItems/Item/ActivityHistoryItemItemRequestBuilder.cs index 2ff9e76cda5..039b5fcbabf 100644 --- a/src/Microsoft.Graph/Generated/Me/Activities/Item/HistoryItems/Item/ActivityHistoryItemItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Activities/Item/HistoryItems/Item/ActivityHistoryItemItemRequestBuilder.cs @@ -41,7 +41,8 @@ public ActivityHistoryItemItemRequestBuilder(string rawUrl, IRequestAdapter requ { } /// - /// Delete navigation property historyItems for me + /// Delete an existing history item for an existing user activity. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -86,8 +87,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.ActivityHistoryItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete an existing history item for an existing user activity. - /// Find more info here + /// Create a new or replace an existing history item for an existing user activity. + /// Find more info here /// /// A /// The request body @@ -112,7 +113,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.ActivityHistoryItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete navigation property historyItems for me + /// Delete an existing history item for an existing user activity. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -150,7 +151,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Delete an existing history item for an existing user activity. + /// Create a new or replace an existing history item for an existing user activity. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Me/AdhocCalls/AdhocCallsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/AdhocCalls/AdhocCallsRequestBuilder.cs new file mode 100644 index 00000000000..4c80197f8ff --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/AdhocCalls/AdhocCallsRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Me.AdhocCalls.Count; +using Microsoft.Graph.Me.AdhocCalls.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.AdhocCalls +{ + /// + /// Provides operations to manage the adhocCalls property of the microsoft.graph.user entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AdhocCallsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Me.AdhocCalls.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Me.AdhocCalls.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the adhocCalls property of the microsoft.graph.user entity. + /// The unique identifier of adhocCall + /// A + public global::Microsoft.Graph.Me.AdhocCalls.Item.AdhocCallItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("adhocCall%2Did", position); + return new global::Microsoft.Graph.Me.AdhocCalls.Item.AdhocCallItemRequestBuilder(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 AdhocCallsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/adhocCalls{?%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 AdhocCallsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/adhocCalls{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Ad hoc calls associated with the user. 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.AdhocCallCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to adhocCalls for 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 PostAsync(global::Microsoft.Graph.Models.AdhocCall body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.AdhocCall 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.AdhocCall.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Ad hoc calls associated with the user. 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 adhocCalls for 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 ToPostRequestInformation(global::Microsoft.Graph.Models.AdhocCall body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.AdhocCall 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.AdhocCalls.AdhocCallsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.AdhocCalls.AdhocCallsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Ad hoc calls associated with the user. Read-only. Nullable. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AdhocCallsRequestBuilderGetQueryParameters + { + /// 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 AdhocCallsRequestBuilderGetRequestConfiguration : 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 AdhocCallsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/AdhocCalls/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/AdhocCalls/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..405f2b9bd96 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/AdhocCalls/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.AdhocCalls.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/adhocCalls/$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/adhocCalls/$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.AdhocCalls.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.AdhocCalls.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/AdhocCalls/Item/AdhocCallItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/AdhocCallItemRequestBuilder.cs new file mode 100644 index 00000000000..d3e02c9fdc7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/AdhocCallItemRequestBuilder.cs @@ -0,0 +1,241 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Me.AdhocCalls.Item.Recordings; +using Microsoft.Graph.Me.AdhocCalls.Item.Transcripts; +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.AdhocCalls.Item +{ + /// + /// Provides operations to manage the adhocCalls property of the microsoft.graph.user entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AdhocCallItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the recordings property of the microsoft.graph.adhocCall entity. + public global::Microsoft.Graph.Me.AdhocCalls.Item.Recordings.RecordingsRequestBuilder Recordings + { + get => new global::Microsoft.Graph.Me.AdhocCalls.Item.Recordings.RecordingsRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the transcripts property of the microsoft.graph.adhocCall entity. + public global::Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.TranscriptsRequestBuilder Transcripts + { + get => new global::Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.TranscriptsRequestBuilder(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 AdhocCallItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/adhocCalls/{adhocCall%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 AdhocCallItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/adhocCalls/{adhocCall%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property adhocCalls 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); + } + /// + /// Ad hoc calls associated with the user. 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.AdhocCall.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property adhocCalls 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.AdhocCall body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.AdhocCall 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.AdhocCall.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property adhocCalls 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; + } + /// + /// Ad hoc calls associated with the user. 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 adhocCalls 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.AdhocCall body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.AdhocCall 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.AdhocCalls.Item.AdhocCallItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.AdhocCalls.Item.AdhocCallItemRequestBuilder(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 AdhocCallItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Ad hoc calls associated with the user. Read-only. Nullable. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AdhocCallItemRequestBuilderGetQueryParameters + { + /// 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 AdhocCallItemRequestBuilderGetRequestConfiguration : 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 AdhocCallItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Recordings/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Recordings/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..fb226f5e665 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Recordings/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.AdhocCalls.Item.Recordings.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/adhocCalls/{adhocCall%2Did}/recordings/$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/adhocCalls/{adhocCall%2Did}/recordings/$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.AdhocCalls.Item.Recordings.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.AdhocCalls.Item.Recordings.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/AdhocCalls/Item/Recordings/Delta/DeltaGetResponse.cs b/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Recordings/Delta/DeltaGetResponse.cs new file mode 100644 index 00000000000..37450551400 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Recordings/Delta/DeltaGetResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Delta +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DeltaGetResponse : global::Microsoft.Graph.Models.BaseDeltaFunctionResponse, 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.Me.AdhocCalls.Item.Recordings.Delta.DeltaGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Delta.DeltaGetResponse(); + } + /// + /// 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.CallRecording.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/Me/AdhocCalls/Item/Recordings/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Recordings/Delta/DeltaRequestBuilder.cs new file mode 100644 index 00000000000..a651c69ae48 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Recordings/Delta/DeltaRequestBuilder.cs @@ -0,0 +1,187 @@ +// +#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.AdhocCalls.Item.Recordings.Delta +{ + /// + /// Provides operations to call the delta method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeltaRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public DeltaRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/adhocCalls/{adhocCall%2Did}/recordings/delta(){?%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 DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/adhocCalls/{adhocCall%2Did}/recordings/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Invoke function delta + /// + /// 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 GetAsDeltaGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsDeltaGetResponseAsync(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.Me.AdhocCalls.Item.Recordings.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function delta + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("This method is obsolete. Use GetAsDeltaGetResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function delta + /// + /// A + /// Configuration 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.AdhocCalls.Item.Recordings.Delta.DeltaRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Delta.DeltaRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Invoke function delta + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeltaRequestBuilderGetQueryParameters + { + /// 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 DeltaRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Recordings/Delta/DeltaResponse.cs b/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Recordings/Delta/DeltaResponse.cs new file mode 100644 index 00000000000..c8c824c2c34 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Recordings/Delta/DeltaResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Delta +{ + [Obsolete("This class is obsolete. Use DeltaGetResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DeltaResponse : global::Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Delta.DeltaGetResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Delta.DeltaResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Delta.DeltaResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Recordings/Item/CallRecordingItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Recordings/Item/CallRecordingItemRequestBuilder.cs new file mode 100644 index 00000000000..7db83b562a7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Recordings/Item/CallRecordingItemRequestBuilder.cs @@ -0,0 +1,235 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.Content; +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.AdhocCalls.Item.Recordings.Item +{ + /// + /// Provides operations to manage the recordings property of the microsoft.graph.adhocCall entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CallRecordingItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the media for the user entity. + public global::Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.Content.ContentRequestBuilder Content + { + get => new global::Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.Content.ContentRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CallRecordingItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/adhocCalls/{adhocCall%2Did}/recordings/{callRecording%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 CallRecordingItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/adhocCalls/{adhocCall%2Did}/recordings/{callRecording%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property recordings 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 recordings of a call. 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.CallRecording.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property recordings 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.CallRecording body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.CallRecording 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.CallRecording.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property recordings 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 recordings of a call. 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; + } + /// + /// Update the navigation property recordings 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.CallRecording body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.CallRecording 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.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder(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 CallRecordingItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// The recordings of a call. Read-only. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CallRecordingItemRequestBuilderGetQueryParameters + { + /// 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 CallRecordingItemRequestBuilderGetRequestConfiguration : 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 CallRecordingItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Recordings/Item/Content/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Recordings/Item/Content/ContentRequestBuilder.cs new file mode 100644 index 00000000000..9a0e1854cbc --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Recordings/Item/Content/ContentRequestBuilder.cs @@ -0,0 +1,202 @@ +// +#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.AdhocCalls.Item.Recordings.Item.Content +{ + /// + /// Provides operations to manage the media for the user entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContentRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ContentRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/adhocCalls/{adhocCall%2Did}/recordings/{callRecording%2Did}/content", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ContentRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/adhocCalls/{adhocCall%2Did}/recordings/{callRecording%2Did}/content", rawUrl) + { + } + /// + /// The content of the recording. Read-only. + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and 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 content of the recording. 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.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The content of the recording. Read-only. + /// + /// A + /// Binary request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PutAsync(Stream body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PutAsync(Stream body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPutRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.CallRecording.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The content of the recording. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The content of the recording. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json"); + return requestInfo; + } + /// + /// The content of the recording. Read-only. + /// + /// A + /// Binary request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPutRequestInformation(Stream body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPutRequestInformation(Stream body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PUT, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetStreamContent(body, "application/octet-stream"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.Content.ContentRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.Content.ContentRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContentRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContentRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContentRequestBuilderPutRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Recordings/RecordingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Recordings/RecordingsRequestBuilder.cs new file mode 100644 index 00000000000..3c99b009124 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Recordings/RecordingsRequestBuilder.cs @@ -0,0 +1,244 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Count; +using Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Delta; +using Microsoft.Graph.Me.AdhocCalls.Item.Recordings.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.AdhocCalls.Item.Recordings +{ + /// + /// Provides operations to manage the recordings property of the microsoft.graph.adhocCall entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RecordingsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the delta method. + public global::Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Delta.DeltaRequestBuilder Delta + { + get => new global::Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Delta.DeltaRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the recordings property of the microsoft.graph.adhocCall entity. + /// The unique identifier of callRecording + /// A + public global::Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("callRecording%2Did", position); + return new global::Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder(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 RecordingsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/adhocCalls/{adhocCall%2Did}/recordings{?%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 RecordingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/adhocCalls/{adhocCall%2Did}/recordings{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The recordings of a call. 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.CallRecordingCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to recordings for 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 PostAsync(global::Microsoft.Graph.Models.CallRecording body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.CallRecording 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.CallRecording.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The recordings of a call. 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; + } + /// + /// Create new navigation property to recordings for 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 ToPostRequestInformation(global::Microsoft.Graph.Models.CallRecording body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.CallRecording 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.AdhocCalls.Item.Recordings.RecordingsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.AdhocCalls.Item.Recordings.RecordingsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The recordings of a call. Read-only. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RecordingsRequestBuilderGetQueryParameters + { + /// 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 RecordingsRequestBuilderGetRequestConfiguration : 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 RecordingsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Transcripts/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Transcripts/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..f024b53371f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Transcripts/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.AdhocCalls.Item.Transcripts.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/adhocCalls/{adhocCall%2Did}/transcripts/$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/adhocCalls/{adhocCall%2Did}/transcripts/$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.AdhocCalls.Item.Transcripts.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.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/AdhocCalls/Item/Transcripts/Delta/DeltaGetResponse.cs b/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Transcripts/Delta/DeltaGetResponse.cs new file mode 100644 index 00000000000..c6295f21a4d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Transcripts/Delta/DeltaGetResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Delta +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DeltaGetResponse : global::Microsoft.Graph.Models.BaseDeltaFunctionResponse, 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.Me.AdhocCalls.Item.Transcripts.Delta.DeltaGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Delta.DeltaGetResponse(); + } + /// + /// 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.CallTranscript.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/Me/AdhocCalls/Item/Transcripts/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Transcripts/Delta/DeltaRequestBuilder.cs new file mode 100644 index 00000000000..cf6e3d4ba6c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Transcripts/Delta/DeltaRequestBuilder.cs @@ -0,0 +1,187 @@ +// +#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.AdhocCalls.Item.Transcripts.Delta +{ + /// + /// Provides operations to call the delta method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeltaRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public DeltaRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/adhocCalls/{adhocCall%2Did}/transcripts/delta(){?%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 DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/adhocCalls/{adhocCall%2Did}/transcripts/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Invoke function delta + /// + /// 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 GetAsDeltaGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsDeltaGetResponseAsync(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.Me.AdhocCalls.Item.Transcripts.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function delta + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("This method is obsolete. Use GetAsDeltaGetResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function delta + /// + /// A + /// Configuration 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.AdhocCalls.Item.Transcripts.Delta.DeltaRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Delta.DeltaRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Invoke function delta + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeltaRequestBuilderGetQueryParameters + { + /// 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 DeltaRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Transcripts/Delta/DeltaResponse.cs b/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Transcripts/Delta/DeltaResponse.cs new file mode 100644 index 00000000000..25b70b70823 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Transcripts/Delta/DeltaResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Delta +{ + [Obsolete("This class is obsolete. Use DeltaGetResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DeltaResponse : global::Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Delta.DeltaGetResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Delta.DeltaResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Delta.DeltaResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Transcripts/Item/CallTranscriptItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Transcripts/Item/CallTranscriptItemRequestBuilder.cs new file mode 100644 index 00000000000..b9363660b9e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Transcripts/Item/CallTranscriptItemRequestBuilder.cs @@ -0,0 +1,241 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.Content; +using Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.MetadataContent; +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.AdhocCalls.Item.Transcripts.Item +{ + /// + /// Provides operations to manage the transcripts property of the microsoft.graph.adhocCall entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CallTranscriptItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the media for the user entity. + public global::Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.Content.ContentRequestBuilder Content + { + get => new global::Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.Content.ContentRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the media for the user entity. + public global::Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.MetadataContent.MetadataContentRequestBuilder MetadataContent + { + get => new global::Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.MetadataContent.MetadataContentRequestBuilder(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 CallTranscriptItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/adhocCalls/{adhocCall%2Did}/transcripts/{callTranscript%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 CallTranscriptItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/adhocCalls/{adhocCall%2Did}/transcripts/{callTranscript%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property transcripts 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 transcripts of a call. 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.CallTranscript.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property transcripts 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.CallTranscript body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.CallTranscript 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.CallTranscript.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property transcripts 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 transcripts of a call. 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; + } + /// + /// Update the navigation property transcripts 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.CallTranscript body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.CallTranscript 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.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder(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 CallTranscriptItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// The transcripts of a call. Read-only. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CallTranscriptItemRequestBuilderGetQueryParameters + { + /// 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 CallTranscriptItemRequestBuilderGetRequestConfiguration : 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 CallTranscriptItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Transcripts/Item/Content/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Transcripts/Item/Content/ContentRequestBuilder.cs new file mode 100644 index 00000000000..eca31c31ef8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Transcripts/Item/Content/ContentRequestBuilder.cs @@ -0,0 +1,202 @@ +// +#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.AdhocCalls.Item.Transcripts.Item.Content +{ + /// + /// Provides operations to manage the media for the user entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContentRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ContentRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/adhocCalls/{adhocCall%2Did}/transcripts/{callTranscript%2Did}/content", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ContentRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/adhocCalls/{adhocCall%2Did}/transcripts/{callTranscript%2Did}/content", rawUrl) + { + } + /// + /// The content of the transcript. Read-only. + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and 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 content of the transcript. 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.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The content of the transcript. Read-only. + /// + /// A + /// Binary request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PutAsync(Stream body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PutAsync(Stream body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPutRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.CallTranscript.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The content of the transcript. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The content of the transcript. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json"); + return requestInfo; + } + /// + /// The content of the transcript. Read-only. + /// + /// A + /// Binary request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPutRequestInformation(Stream body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPutRequestInformation(Stream body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PUT, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetStreamContent(body, "application/octet-stream"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.Content.ContentRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.Content.ContentRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContentRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContentRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContentRequestBuilderPutRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Transcripts/Item/MetadataContent/MetadataContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Transcripts/Item/MetadataContent/MetadataContentRequestBuilder.cs new file mode 100644 index 00000000000..e81fcada65f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Transcripts/Item/MetadataContent/MetadataContentRequestBuilder.cs @@ -0,0 +1,201 @@ +// +#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.AdhocCalls.Item.Transcripts.Item.MetadataContent +{ + /// + /// Provides operations to manage the media for the user entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MetadataContentRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MetadataContentRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/adhocCalls/{adhocCall%2Did}/transcripts/{callTranscript%2Did}/metadataContent", 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 MetadataContentRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/adhocCalls/{adhocCall%2Did}/transcripts/{callTranscript%2Did}/metadataContent", rawUrl) + { + } + /// + /// The time-aligned metadata of the utterances in the transcript. Read-only. + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and 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 time-aligned metadata of the utterances in the transcript. 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.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The time-aligned metadata of the utterances in the transcript. Read-only. + /// + /// A + /// Binary request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PutAsync(Stream body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PutAsync(Stream body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPutRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The time-aligned metadata of the utterances in the transcript. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The time-aligned metadata of the utterances in the transcript. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json"); + return requestInfo; + } + /// + /// The time-aligned metadata of the utterances in the transcript. Read-only. + /// + /// A + /// Binary request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPutRequestInformation(Stream body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPutRequestInformation(Stream body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PUT, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetStreamContent(body, "application/octet-stream"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.MetadataContent.MetadataContentRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.MetadataContent.MetadataContentRequestBuilder(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 MetadataContentRequestBuilderDeleteRequestConfiguration : 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 MetadataContentRequestBuilderGetRequestConfiguration : 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 MetadataContentRequestBuilderPutRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Transcripts/TranscriptsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Transcripts/TranscriptsRequestBuilder.cs new file mode 100644 index 00000000000..ce501ed4bc5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/AdhocCalls/Item/Transcripts/TranscriptsRequestBuilder.cs @@ -0,0 +1,244 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Count; +using Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Delta; +using Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.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.AdhocCalls.Item.Transcripts +{ + /// + /// Provides operations to manage the transcripts property of the microsoft.graph.adhocCall entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TranscriptsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the delta method. + public global::Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Delta.DeltaRequestBuilder Delta + { + get => new global::Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Delta.DeltaRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the transcripts property of the microsoft.graph.adhocCall entity. + /// The unique identifier of callTranscript + /// A + public global::Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("callTranscript%2Did", position); + return new global::Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder(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 TranscriptsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/adhocCalls/{adhocCall%2Did}/transcripts{?%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 TranscriptsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/adhocCalls/{adhocCall%2Did}/transcripts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The transcripts of a call. 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.CallTranscriptCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to transcripts for 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 PostAsync(global::Microsoft.Graph.Models.CallTranscript body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.CallTranscript 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.CallTranscript.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The transcripts of a call. 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; + } + /// + /// Create new navigation property to transcripts for 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 ToPostRequestInformation(global::Microsoft.Graph.Models.CallTranscript body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.CallTranscript 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.AdhocCalls.Item.Transcripts.TranscriptsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.TranscriptsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The transcripts of a call. Read-only. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TranscriptsRequestBuilderGetQueryParameters + { + /// 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 TranscriptsRequestBuilderGetRequestConfiguration : 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 TranscriptsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/CloudPCItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/CloudPCItemRequestBuilder.cs index 73bbf5fa921..c9f2cc73224 100644 --- a/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/CloudPCItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/CloudPCItemRequestBuilder.cs @@ -3,8 +3,10 @@ using Microsoft.Graph.Me.CloudPCs.Item.EndGracePeriod; using Microsoft.Graph.Me.CloudPCs.Item.Reboot; using Microsoft.Graph.Me.CloudPCs.Item.Rename; +using Microsoft.Graph.Me.CloudPCs.Item.Reprovision; using Microsoft.Graph.Me.CloudPCs.Item.Resize; using Microsoft.Graph.Me.CloudPCs.Item.Restore; +using Microsoft.Graph.Me.CloudPCs.Item.RetrieveCloudPcLaunchDetail; using Microsoft.Graph.Me.CloudPCs.Item.Troubleshoot; using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; @@ -39,6 +41,11 @@ public partial class CloudPCItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Me.CloudPCs.Item.Rename.RenameRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the reprovision method. + public global::Microsoft.Graph.Me.CloudPCs.Item.Reprovision.ReprovisionRequestBuilder Reprovision + { + get => new global::Microsoft.Graph.Me.CloudPCs.Item.Reprovision.ReprovisionRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the resize method. public global::Microsoft.Graph.Me.CloudPCs.Item.Resize.ResizeRequestBuilder Resize { @@ -49,6 +56,11 @@ public partial class CloudPCItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Me.CloudPCs.Item.Restore.RestoreRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the retrieveCloudPcLaunchDetail method. + public global::Microsoft.Graph.Me.CloudPCs.Item.RetrieveCloudPcLaunchDetail.RetrieveCloudPcLaunchDetailRequestBuilder RetrieveCloudPcLaunchDetail + { + get => new global::Microsoft.Graph.Me.CloudPCs.Item.RetrieveCloudPcLaunchDetail.RetrieveCloudPcLaunchDetailRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the troubleshoot method. public global::Microsoft.Graph.Me.CloudPCs.Item.Troubleshoot.TroubleshootRequestBuilder Troubleshoot { diff --git a/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/Reprovision/ReprovisionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/Reprovision/ReprovisionPostRequestBody.cs new file mode 100644 index 00000000000..91738b9c400 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/Reprovision/ReprovisionPostRequestBody.cs @@ -0,0 +1,80 @@ +// +#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.CloudPCs.Item.Reprovision +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ReprovisionPostRequestBody : 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 osVersion property + public global::Microsoft.Graph.Models.CloudPcOperatingSystem? OsVersion + { + get { return BackingStore?.Get("osVersion"); } + set { BackingStore?.Set("osVersion", value); } + } + /// The userAccountType property + public global::Microsoft.Graph.Models.CloudPcUserAccountType? UserAccountType + { + get { return BackingStore?.Get("userAccountType"); } + set { BackingStore?.Set("userAccountType", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public ReprovisionPostRequestBody() + { + 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.CloudPCs.Item.Reprovision.ReprovisionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.CloudPCs.Item.Reprovision.ReprovisionPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "osVersion", n => { OsVersion = n.GetEnumValue(); } }, + { "userAccountType", n => { UserAccountType = 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.WriteEnumValue("osVersion", OsVersion); + writer.WriteEnumValue("userAccountType", UserAccountType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/Reprovision/ReprovisionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/Reprovision/ReprovisionRequestBuilder.cs new file mode 100644 index 00000000000..7e7dc25f622 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/Reprovision/ReprovisionRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#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.CloudPCs.Item.Reprovision +{ + /// + /// Provides operations to call the reprovision method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReprovisionRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ReprovisionRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/cloudPCs/{cloudPC%2Did}/reprovision", 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 ReprovisionRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/cloudPCs/{cloudPC%2Did}/reprovision", rawUrl) + { + } + /// + /// Reprovision a specific Cloud PC. + /// Find more info here + /// + /// 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.CloudPCs.Item.Reprovision.ReprovisionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Me.CloudPCs.Item.Reprovision.ReprovisionPostRequestBody 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 }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Reprovision a specific Cloud PC. + /// + /// 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.CloudPCs.Item.Reprovision.ReprovisionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.CloudPCs.Item.Reprovision.ReprovisionPostRequestBody 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.CloudPCs.Item.Reprovision.ReprovisionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.CloudPCs.Item.Reprovision.ReprovisionRequestBuilder(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 ReprovisionRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/RetrieveCloudPcLaunchDetail/RetrieveCloudPcLaunchDetailRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/RetrieveCloudPcLaunchDetail/RetrieveCloudPcLaunchDetailRequestBuilder.cs new file mode 100644 index 00000000000..965911e45b9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/CloudPCs/Item/RetrieveCloudPcLaunchDetail/RetrieveCloudPcLaunchDetailRequestBuilder.cs @@ -0,0 +1,99 @@ +// +#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.CloudPCs.Item.RetrieveCloudPcLaunchDetail +{ + /// + /// Provides operations to call the retrieveCloudPcLaunchDetail method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RetrieveCloudPcLaunchDetailRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RetrieveCloudPcLaunchDetailRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/cloudPCs/{cloudPC%2Did}/retrieveCloudPcLaunchDetail()", 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 RetrieveCloudPcLaunchDetailRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/cloudPCs/{cloudPC%2Did}/retrieveCloudPcLaunchDetail()", rawUrl) + { + } + /// + /// Get the cloudPcLaunchDetail for a specific cloudPC that belongs to the current signed-in user. + /// 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.CloudPcLaunchDetail.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the cloudPcLaunchDetail for a specific cloudPC that belongs to the current signed-in user. + /// + /// A + /// Configuration 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.CloudPCs.Item.RetrieveCloudPcLaunchDetail.RetrieveCloudPcLaunchDetailRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.CloudPCs.Item.RetrieveCloudPcLaunchDetail.RetrieveCloudPcLaunchDetailRequestBuilder(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 RetrieveCloudPcLaunchDetailRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Delta/DeltaRequestBuilder.cs index b6dc2605134..e8b2fa800af 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Delta/DeltaRequestBuilder.cs @@ -34,7 +34,7 @@ public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base { } /// - /// Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. + /// Get a set of messages added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). It allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. /// Find more info here /// /// A @@ -58,7 +58,7 @@ public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. + /// Get a set of messages added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). It allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. /// Find more info here /// /// A @@ -83,7 +83,7 @@ public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. + /// Get a set of messages added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). It allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -111,7 +111,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. + /// Get a set of messages added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). It allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DeltaRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Delta/DeltaRequestBuilder.cs index ca9ffbe3129..f3f76a94083 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Delta/DeltaRequestBuilder.cs @@ -34,7 +34,7 @@ public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base { } /// - /// Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. + /// Get a set of messages added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). It allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. /// Find more info here /// /// A @@ -58,7 +58,7 @@ public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.MailFolders.Item.Messages.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. + /// Get a set of messages added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). It allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. /// Find more info here /// /// A @@ -83,7 +83,7 @@ public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.MailFolders.Item.Messages.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. + /// Get a set of messages added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). It allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -111,7 +111,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. + /// Get a set of messages added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). It allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DeltaRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Me/MeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MeRequestBuilder.cs index e527a95dd38..f1301a99c41 100644 --- a/src/Microsoft.Graph/Generated/Me/MeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MeRequestBuilder.cs @@ -1,6 +1,7 @@ // #pragma warning disable CS0618 using Microsoft.Graph.Me.Activities; +using Microsoft.Graph.Me.AdhocCalls; using Microsoft.Graph.Me.AgreementAcceptances; using Microsoft.Graph.Me.AppRoleAssignments; using Microsoft.Graph.Me.AssignLicense; @@ -49,6 +50,7 @@ using Microsoft.Graph.Me.MemberOf; using Microsoft.Graph.Me.Messages; using Microsoft.Graph.Me.Oauth2PermissionGrants; +using Microsoft.Graph.Me.OnPremisesSyncBehavior; using Microsoft.Graph.Me.Onenote; using Microsoft.Graph.Me.OnlineMeetings; using Microsoft.Graph.Me.Outlook; @@ -101,6 +103,11 @@ public partial class MeRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Me.Activities.ActivitiesRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the adhocCalls property of the microsoft.graph.user entity. + public global::Microsoft.Graph.Me.AdhocCalls.AdhocCallsRequestBuilder AdhocCalls + { + get => new global::Microsoft.Graph.Me.AdhocCalls.AdhocCallsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the agreementAcceptances property of the microsoft.graph.user entity. public global::Microsoft.Graph.Me.AgreementAcceptances.AgreementAcceptancesRequestBuilder AgreementAcceptances { @@ -346,6 +353,11 @@ public partial class MeRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Me.OnlineMeetings.OnlineMeetingsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the onPremisesSyncBehavior property of the microsoft.graph.user entity. + public global::Microsoft.Graph.Me.OnPremisesSyncBehavior.OnPremisesSyncBehaviorRequestBuilder OnPremisesSyncBehavior + { + get => new global::Microsoft.Graph.Me.OnPremisesSyncBehavior.OnPremisesSyncBehaviorRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the outlook property of the microsoft.graph.user entity. public global::Microsoft.Graph.Me.Outlook.OutlookRequestBuilder Outlook { diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/Delta/DeltaRequestBuilder.cs index 5d198f33c75..19a838c4360 100644 --- a/src/Microsoft.Graph/Generated/Me/Messages/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Messages/Delta/DeltaRequestBuilder.cs @@ -34,7 +34,7 @@ public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base { } /// - /// Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. + /// Get a set of messages added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). It allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. /// Find more info here /// /// A @@ -58,7 +58,7 @@ public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.Messages.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. + /// Get a set of messages added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). It allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. /// Find more info here /// /// A @@ -83,7 +83,7 @@ public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.Messages.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. + /// Get a set of messages added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). It allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -111,7 +111,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. + /// Get a set of messages added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). It allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DeltaRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Me/OnPremisesSyncBehavior/OnPremisesSyncBehaviorRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OnPremisesSyncBehavior/OnPremisesSyncBehaviorRequestBuilder.cs new file mode 100644 index 00000000000..98383d1e6a0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/OnPremisesSyncBehavior/OnPremisesSyncBehaviorRequestBuilder.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.Me.OnPremisesSyncBehavior +{ + /// + /// Provides operations to manage the onPremisesSyncBehavior property of the microsoft.graph.user entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class OnPremisesSyncBehaviorRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public OnPremisesSyncBehaviorRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onPremisesSyncBehavior{?%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 OnPremisesSyncBehaviorRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/onPremisesSyncBehavior{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property onPremisesSyncBehavior 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); + } + /// + /// Get onPremisesSyncBehavior from me + /// + /// 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.OnPremisesSyncBehavior.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property onPremisesSyncBehavior 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.OnPremisesSyncBehavior body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.OnPremisesSyncBehavior 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.OnPremisesSyncBehavior.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property onPremisesSyncBehavior 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; + } + /// + /// Get onPremisesSyncBehavior from 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 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 onPremisesSyncBehavior 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.OnPremisesSyncBehavior body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.OnPremisesSyncBehavior 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.OnPremisesSyncBehavior.OnPremisesSyncBehaviorRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.OnPremisesSyncBehavior.OnPremisesSyncBehaviorRequestBuilder(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 OnPremisesSyncBehaviorRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get onPremisesSyncBehavior from me + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class OnPremisesSyncBehaviorRequestBuilderGetQueryParameters + { + /// 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 OnPremisesSyncBehaviorRequestBuilderGetRequestConfiguration : 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 OnPremisesSyncBehaviorRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Presence/ClearAutomaticLocation/ClearAutomaticLocationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Presence/ClearAutomaticLocation/ClearAutomaticLocationRequestBuilder.cs new file mode 100644 index 00000000000..7e983908b08 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Presence/ClearAutomaticLocation/ClearAutomaticLocationRequestBuilder.cs @@ -0,0 +1,97 @@ +// +#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.Presence.ClearAutomaticLocation +{ + /// + /// Provides operations to call the clearAutomaticLocation method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ClearAutomaticLocationRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ClearAutomaticLocationRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/presence/clearAutomaticLocation", 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 ClearAutomaticLocationRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/presence/clearAutomaticLocation", rawUrl) + { + } + /// + /// Clear the automatic work location signal for a user. After clearing, the user’s final aggregated work location is recomputed according to the precedence rules: Use this operation when you need to remove the current autodetected signal without affecting manual or scheduled layers. + /// Find more info here + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Clear the automatic work location signal for a user. After clearing, the user’s final aggregated work location is recomputed according to the precedence rules: Use this operation when you need to remove the current autodetected signal without affecting manual or scheduled layers. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.Presence.ClearAutomaticLocation.ClearAutomaticLocationRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.Presence.ClearAutomaticLocation.ClearAutomaticLocationRequestBuilder(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 ClearAutomaticLocationRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Presence/ClearLocation/ClearLocationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Presence/ClearLocation/ClearLocationRequestBuilder.cs new file mode 100644 index 00000000000..5372ad58d14 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Presence/ClearLocation/ClearLocationRequestBuilder.cs @@ -0,0 +1,97 @@ +// +#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.Presence.ClearLocation +{ + /// + /// Provides operations to call the clearLocation method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ClearLocationRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ClearLocationRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/presence/clearLocation", 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 ClearLocationRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/presence/clearLocation", rawUrl) + { + } + /// + /// Clear the work location signals for a user, including both the manual and automatic layers for the current date. + /// Find more info here + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Clear the work location signals for a user, including both the manual and automatic layers for the current date. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.Presence.ClearLocation.ClearLocationRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.Presence.ClearLocation.ClearLocationRequestBuilder(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 ClearLocationRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Presence/PresenceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Presence/PresenceRequestBuilder.cs index 27eb83c4904..0f67c551dc6 100644 --- a/src/Microsoft.Graph/Generated/Me/Presence/PresenceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Presence/PresenceRequestBuilder.cs @@ -1,7 +1,11 @@ // #pragma warning disable CS0618 +using Microsoft.Graph.Me.Presence.ClearAutomaticLocation; +using Microsoft.Graph.Me.Presence.ClearLocation; using Microsoft.Graph.Me.Presence.ClearPresence; using Microsoft.Graph.Me.Presence.ClearUserPreferredPresence; +using Microsoft.Graph.Me.Presence.SetAutomaticLocation; +using Microsoft.Graph.Me.Presence.SetManualLocation; using Microsoft.Graph.Me.Presence.SetPresence; using Microsoft.Graph.Me.Presence.SetStatusMessage; using Microsoft.Graph.Me.Presence.SetUserPreferredPresence; @@ -23,6 +27,16 @@ namespace Microsoft.Graph.Me.Presence [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class PresenceRequestBuilder : BaseRequestBuilder { + /// Provides operations to call the clearAutomaticLocation method. + public global::Microsoft.Graph.Me.Presence.ClearAutomaticLocation.ClearAutomaticLocationRequestBuilder ClearAutomaticLocation + { + get => new global::Microsoft.Graph.Me.Presence.ClearAutomaticLocation.ClearAutomaticLocationRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the clearLocation method. + public global::Microsoft.Graph.Me.Presence.ClearLocation.ClearLocationRequestBuilder ClearLocation + { + get => new global::Microsoft.Graph.Me.Presence.ClearLocation.ClearLocationRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the clearPresence method. public global::Microsoft.Graph.Me.Presence.ClearPresence.ClearPresenceRequestBuilder ClearPresence { @@ -33,6 +47,16 @@ public partial class PresenceRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Me.Presence.ClearUserPreferredPresence.ClearUserPreferredPresenceRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the setAutomaticLocation method. + public global::Microsoft.Graph.Me.Presence.SetAutomaticLocation.SetAutomaticLocationRequestBuilder SetAutomaticLocation + { + get => new global::Microsoft.Graph.Me.Presence.SetAutomaticLocation.SetAutomaticLocationRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the setManualLocation method. + public global::Microsoft.Graph.Me.Presence.SetManualLocation.SetManualLocationRequestBuilder SetManualLocation + { + get => new global::Microsoft.Graph.Me.Presence.SetManualLocation.SetManualLocationRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the setPresence method. public global::Microsoft.Graph.Me.Presence.SetPresence.SetPresenceRequestBuilder SetPresence { diff --git a/src/Microsoft.Graph/Generated/Me/Presence/SetAutomaticLocation/SetAutomaticLocationPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Presence/SetAutomaticLocation/SetAutomaticLocationPostRequestBody.cs new file mode 100644 index 00000000000..f5dee05155d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Presence/SetAutomaticLocation/SetAutomaticLocationPostRequestBody.cs @@ -0,0 +1,90 @@ +// +#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.Presence.SetAutomaticLocation +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class SetAutomaticLocationPostRequestBody : 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 placeId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? PlaceId + { + get { return BackingStore?.Get("placeId"); } + set { BackingStore?.Set("placeId", value); } + } +#nullable restore +#else + public string PlaceId + { + get { return BackingStore?.Get("placeId"); } + set { BackingStore?.Set("placeId", value); } + } +#endif + /// The workLocationType property + public global::Microsoft.Graph.Models.WorkLocationType? WorkLocationType + { + get { return BackingStore?.Get("workLocationType"); } + set { BackingStore?.Set("workLocationType", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public SetAutomaticLocationPostRequestBody() + { + 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.Presence.SetAutomaticLocation.SetAutomaticLocationPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.Presence.SetAutomaticLocation.SetAutomaticLocationPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "placeId", n => { PlaceId = n.GetStringValue(); } }, + { "workLocationType", n => { WorkLocationType = 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("placeId", PlaceId); + writer.WriteEnumValue("workLocationType", WorkLocationType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Presence/SetAutomaticLocation/SetAutomaticLocationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Presence/SetAutomaticLocation/SetAutomaticLocationRequestBuilder.cs new file mode 100644 index 00000000000..5b274f20d2d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Presence/SetAutomaticLocation/SetAutomaticLocationRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#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.Presence.SetAutomaticLocation +{ + /// + /// Provides operations to call the setAutomaticLocation method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SetAutomaticLocationRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public SetAutomaticLocationRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/presence/setAutomaticLocation", 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 SetAutomaticLocationRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/presence/setAutomaticLocation", rawUrl) + { + } + /// + /// Update the automatic work location for a user. The automatic layer participates in the standard precedence model: Use this operation from clients or services that automatically detect location (for example, Teams, network and location agents, or OEM docking apps). It doesn't clear manual or scheduled signals. + /// Find more info here + /// + /// 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.Presence.SetAutomaticLocation.SetAutomaticLocationPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Me.Presence.SetAutomaticLocation.SetAutomaticLocationPostRequestBody 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 }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the automatic work location for a user. The automatic layer participates in the standard precedence model: Use this operation from clients or services that automatically detect location (for example, Teams, network and location agents, or OEM docking apps). It doesn't clear manual or scheduled signals. + /// + /// 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.Presence.SetAutomaticLocation.SetAutomaticLocationPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Presence.SetAutomaticLocation.SetAutomaticLocationPostRequestBody 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.Presence.SetAutomaticLocation.SetAutomaticLocationRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.Presence.SetAutomaticLocation.SetAutomaticLocationRequestBuilder(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 SetAutomaticLocationRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Presence/SetManualLocation/SetManualLocationPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Presence/SetManualLocation/SetManualLocationPostRequestBody.cs new file mode 100644 index 00000000000..bb9a7d68786 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Presence/SetManualLocation/SetManualLocationPostRequestBody.cs @@ -0,0 +1,90 @@ +// +#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.Presence.SetManualLocation +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class SetManualLocationPostRequestBody : 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 placeId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? PlaceId + { + get { return BackingStore?.Get("placeId"); } + set { BackingStore?.Set("placeId", value); } + } +#nullable restore +#else + public string PlaceId + { + get { return BackingStore?.Get("placeId"); } + set { BackingStore?.Set("placeId", value); } + } +#endif + /// The workLocationType property + public global::Microsoft.Graph.Models.WorkLocationType? WorkLocationType + { + get { return BackingStore?.Get("workLocationType"); } + set { BackingStore?.Set("workLocationType", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public SetManualLocationPostRequestBody() + { + 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.Presence.SetManualLocation.SetManualLocationPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.Presence.SetManualLocation.SetManualLocationPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "placeId", n => { PlaceId = n.GetStringValue(); } }, + { "workLocationType", n => { WorkLocationType = 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("placeId", PlaceId); + writer.WriteEnumValue("workLocationType", WorkLocationType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Presence/SetManualLocation/SetManualLocationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Presence/SetManualLocation/SetManualLocationRequestBuilder.cs new file mode 100644 index 00000000000..a9deebc1822 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Presence/SetManualLocation/SetManualLocationRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#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.Presence.SetManualLocation +{ + /// + /// Provides operations to call the setManualLocation method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SetManualLocationRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public SetManualLocationRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/presence/setManualLocation", 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 SetManualLocationRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/presence/setManualLocation", rawUrl) + { + } + /// + /// Set the manual work location signal for a user. The explicit value chosen by a user or an authorized client overrides any automatically detected or scheduled working hours and location. + /// Find more info here + /// + /// 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.Presence.SetManualLocation.SetManualLocationPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Me.Presence.SetManualLocation.SetManualLocationPostRequestBody 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 }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Set the manual work location signal for a user. The explicit value chosen by a user or an authorized client overrides any automatically detected or scheduled working hours and location. + /// + /// 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.Presence.SetManualLocation.SetManualLocationPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Presence.SetManualLocation.SetManualLocationPostRequestBody 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.Presence.SetManualLocation.SetManualLocationRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.Presence.SetManualLocation.SetManualLocationRequestBuilder(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 SetManualLocationRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Settings/SettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Settings/SettingsRequestBuilder.cs index 6495fede209..855bfdca291 100644 --- a/src/Microsoft.Graph/Generated/Me/Settings/SettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Settings/SettingsRequestBuilder.cs @@ -4,6 +4,7 @@ using Microsoft.Graph.Me.Settings.ShiftPreferences; using Microsoft.Graph.Me.Settings.Storage; using Microsoft.Graph.Me.Settings.Windows; +using Microsoft.Graph.Me.Settings.WorkHoursAndLocations; using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; using Microsoft.Kiota.Abstractions.Extensions; @@ -42,6 +43,11 @@ public partial class SettingsRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Me.Settings.Windows.WindowsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the workHoursAndLocations property of the microsoft.graph.userSettings entity. + public global::Microsoft.Graph.Me.Settings.WorkHoursAndLocations.WorkHoursAndLocationsRequestBuilder WorkHoursAndLocations + { + get => new global::Microsoft.Graph.Me.Settings.WorkHoursAndLocations.WorkHoursAndLocationsRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/Me/Settings/WorkHoursAndLocations/Occurrences/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Settings/WorkHoursAndLocations/Occurrences/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..a81d5d18ae8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Settings/WorkHoursAndLocations/Occurrences/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.Settings.WorkHoursAndLocations.Occurrences.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/settings/workHoursAndLocations/occurrences/$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/settings/workHoursAndLocations/occurrences/$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.Settings.WorkHoursAndLocations.Occurrences.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.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/Settings/WorkHoursAndLocations/Occurrences/Item/WorkPlanOccurrenceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Settings/WorkHoursAndLocations/Occurrences/Item/WorkPlanOccurrenceItemRequestBuilder.cs new file mode 100644 index 00000000000..446748f39b6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Settings/WorkHoursAndLocations/Occurrences/Item/WorkPlanOccurrenceItemRequestBuilder.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.Me.Settings.WorkHoursAndLocations.Occurrences.Item +{ + /// + /// Provides operations to manage the occurrences property of the microsoft.graph.workHoursAndLocationsSetting entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class WorkPlanOccurrenceItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public WorkPlanOccurrenceItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/settings/workHoursAndLocations/occurrences/{workPlanOccurrence%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 WorkPlanOccurrenceItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/settings/workHoursAndLocations/occurrences/{workPlanOccurrence%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property occurrences 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); + } + /// + /// Collection of work plan occurrences. + /// + /// 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.WorkPlanOccurrence.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property occurrences 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 PutAsync(global::Microsoft.Graph.Models.WorkPlanOccurrence body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PutAsync(global::Microsoft.Graph.Models.WorkPlanOccurrence body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPutRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.WorkPlanOccurrence.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property occurrences 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; + } + /// + /// Collection of work plan occurrences. + /// + /// A + /// Configuration 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 occurrences 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 ToPutRequestInformation(global::Microsoft.Graph.Models.WorkPlanOccurrence body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPutRequestInformation(global::Microsoft.Graph.Models.WorkPlanOccurrence body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PUT, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.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.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder(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 WorkPlanOccurrenceItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Collection of work plan occurrences. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class WorkPlanOccurrenceItemRequestBuilderGetQueryParameters + { + /// 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 WorkPlanOccurrenceItemRequestBuilderGetRequestConfiguration : 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 WorkPlanOccurrenceItemRequestBuilderPutRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Settings/WorkHoursAndLocations/Occurrences/OccurrencesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Settings/WorkHoursAndLocations/Occurrences/OccurrencesRequestBuilder.cs new file mode 100644 index 00000000000..c2b542a09e5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Settings/WorkHoursAndLocations/Occurrences/OccurrencesRequestBuilder.cs @@ -0,0 +1,245 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.Count; +using Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.Item; +using Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation; +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.Settings.WorkHoursAndLocations.Occurrences +{ + /// + /// Provides operations to manage the occurrences property of the microsoft.graph.workHoursAndLocationsSetting entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class OccurrencesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the setCurrentLocation method. + public global::Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.SetCurrentLocationRequestBuilder SetCurrentLocation + { + get => new global::Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.SetCurrentLocationRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the occurrences property of the microsoft.graph.workHoursAndLocationsSetting entity. + /// The unique identifier of workPlanOccurrence + /// A + public global::Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("workPlanOccurrence%2Did", position); + return new global::Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder(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 OccurrencesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/settings/workHoursAndLocations/occurrences{?%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 OccurrencesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/settings/workHoursAndLocations/occurrences{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Collection of work plan occurrences. + /// + /// 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.WorkPlanOccurrenceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create a new workPlanOccurrence object in your own work plan. Only time-off occurrences can be created directly. The workLocationType must be set to timeOff. Other occurrences are autogenerated from recurrences. + /// 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.WorkPlanOccurrence body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.WorkPlanOccurrence 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.WorkPlanOccurrence.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Collection of work plan occurrences. + /// + /// A + /// Configuration 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 workPlanOccurrence object in your own work plan. Only time-off occurrences can be created directly. The workLocationType must be set to timeOff. Other occurrences are autogenerated from recurrences. + /// + /// 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.WorkPlanOccurrence body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.WorkPlanOccurrence 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.Settings.WorkHoursAndLocations.Occurrences.OccurrencesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.OccurrencesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Collection of work plan occurrences. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class OccurrencesRequestBuilderGetQueryParameters + { + /// 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 OccurrencesRequestBuilderGetRequestConfiguration : 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 OccurrencesRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Settings/WorkHoursAndLocations/Occurrences/SetCurrentLocation/SetCurrentLocationPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Settings/WorkHoursAndLocations/Occurrences/SetCurrentLocation/SetCurrentLocationPostRequestBody.cs new file mode 100644 index 00000000000..a9ec2e98a56 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Settings/WorkHoursAndLocations/Occurrences/SetCurrentLocation/SetCurrentLocationPostRequestBody.cs @@ -0,0 +1,98 @@ +// +#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.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class SetCurrentLocationPostRequestBody : 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 placeId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? PlaceId + { + get { return BackingStore?.Get("placeId"); } + set { BackingStore?.Set("placeId", value); } + } +#nullable restore +#else + public string PlaceId + { + get { return BackingStore?.Get("placeId"); } + set { BackingStore?.Set("placeId", value); } + } +#endif + /// The updateScope property + public global::Microsoft.Graph.Models.WorkLocationUpdateScope? UpdateScope + { + get { return BackingStore?.Get("updateScope"); } + set { BackingStore?.Set("updateScope", value); } + } + /// The workLocationType property + public global::Microsoft.Graph.Models.WorkLocationType? WorkLocationType + { + get { return BackingStore?.Get("workLocationType"); } + set { BackingStore?.Set("workLocationType", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public SetCurrentLocationPostRequestBody() + { + 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.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.SetCurrentLocationPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.SetCurrentLocationPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "placeId", n => { PlaceId = n.GetStringValue(); } }, + { "updateScope", n => { UpdateScope = n.GetEnumValue(); } }, + { "workLocationType", n => { WorkLocationType = 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("placeId", PlaceId); + writer.WriteEnumValue("updateScope", UpdateScope); + writer.WriteEnumValue("workLocationType", WorkLocationType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Settings/WorkHoursAndLocations/Occurrences/SetCurrentLocation/SetCurrentLocationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Settings/WorkHoursAndLocations/Occurrences/SetCurrentLocation/SetCurrentLocationRequestBuilder.cs new file mode 100644 index 00000000000..f8f0fb8be85 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Settings/WorkHoursAndLocations/Occurrences/SetCurrentLocation/SetCurrentLocationRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#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.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation +{ + /// + /// Provides operations to call the setCurrentLocation method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SetCurrentLocationRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public SetCurrentLocationRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/settings/workHoursAndLocations/occurrences/setCurrentLocation", 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 SetCurrentLocationRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/settings/workHoursAndLocations/occurrences/setCurrentLocation", rawUrl) + { + } + /// + /// Update your work location for the current day or current active segment. This action allows you to quickly update your work location without modifying individual occurrences. + /// Find more info here + /// + /// 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.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.SetCurrentLocationPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.SetCurrentLocationPostRequestBody 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 }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update your work location for the current day or current active segment. This action allows you to quickly update your work location without modifying individual occurrences. + /// + /// 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.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.SetCurrentLocationPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.SetCurrentLocationPostRequestBody 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.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.SetCurrentLocationRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.SetCurrentLocationRequestBuilder(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 SetCurrentLocationRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Settings/WorkHoursAndLocations/OccurrencesViewWithStartDateTimeWithEndDateTime/OccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse.cs b/src/Microsoft.Graph/Generated/Me/Settings/WorkHoursAndLocations/OccurrencesViewWithStartDateTimeWithEndDateTime/OccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse.cs new file mode 100644 index 00000000000..0186610899c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Settings/WorkHoursAndLocations/OccurrencesViewWithStartDateTimeWithEndDateTime/OccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class OccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse : 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.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.OccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.OccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse(); + } + /// + /// 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.WorkPlanOccurrence.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/Me/Settings/WorkHoursAndLocations/OccurrencesViewWithStartDateTimeWithEndDateTime/OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Settings/WorkHoursAndLocations/OccurrencesViewWithStartDateTimeWithEndDateTime/OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.cs new file mode 100644 index 00000000000..5b355fa4e4d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Settings/WorkHoursAndLocations/OccurrencesViewWithStartDateTimeWithEndDateTime/OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.cs @@ -0,0 +1,193 @@ +// +#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.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime +{ + /// + /// Provides operations to call the occurrencesView method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Usage: endDateTime='{endDateTime}' + /// Path parameters for the request + /// The request adapter to use to execute the requests. + /// Usage: startDateTime='{startDateTime}' + public OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter, string endDateTime = "", string startDateTime = "") : base(requestAdapter, "{+baseurl}/me/settings/workHoursAndLocations/occurrencesView(startDateTime='{startDateTime}',endDateTime='{endDateTime}'){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + if (!string.IsNullOrWhiteSpace(endDateTime)) PathParameters.Add("endDateTime", endDateTime); + if (!string.IsNullOrWhiteSpace(startDateTime)) PathParameters.Add("startDateTime", startDateTime); + } + /// + /// 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 OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/settings/workHoursAndLocations/occurrencesView(startDateTime='{startDateTime}',endDateTime='{endDateTime}'){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get work plan occurrences from your own work plan within a specified date range. This function requires the startDateTime and endDateTime parameters. + /// 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 GetAsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponseAsync(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.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.OccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get work plan occurrences from your own work plan within a specified date range. This function requires the startDateTime and endDateTime parameters. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("This method is obsolete. Use GetAsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.OccurrencesViewWithStartDateTimeWithEndDateTimeResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get work plan occurrences from your own work plan within a specified date range. This function requires the startDateTime and endDateTime parameters. + /// + /// A + /// Configuration 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.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get work plan occurrences from your own work plan within a specified date range. This function requires the startDateTime and endDateTime parameters. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters + { + /// 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 OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Settings/WorkHoursAndLocations/OccurrencesViewWithStartDateTimeWithEndDateTime/OccurrencesViewWithStartDateTimeWithEndDateTimeResponse.cs b/src/Microsoft.Graph/Generated/Me/Settings/WorkHoursAndLocations/OccurrencesViewWithStartDateTimeWithEndDateTime/OccurrencesViewWithStartDateTimeWithEndDateTimeResponse.cs new file mode 100644 index 00000000000..83c49f27393 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Settings/WorkHoursAndLocations/OccurrencesViewWithStartDateTimeWithEndDateTime/OccurrencesViewWithStartDateTimeWithEndDateTimeResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime +{ + [Obsolete("This class is obsolete. Use OccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class OccurrencesViewWithStartDateTimeWithEndDateTimeResponse : global::Microsoft.Graph.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.OccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.OccurrencesViewWithStartDateTimeWithEndDateTimeResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.OccurrencesViewWithStartDateTimeWithEndDateTimeResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Settings/WorkHoursAndLocations/Recurrences/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Settings/WorkHoursAndLocations/Recurrences/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..bcd37f9b9a1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Settings/WorkHoursAndLocations/Recurrences/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.Settings.WorkHoursAndLocations.Recurrences.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/settings/workHoursAndLocations/recurrences/$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/settings/workHoursAndLocations/recurrences/$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.Settings.WorkHoursAndLocations.Recurrences.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.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/Settings/WorkHoursAndLocations/Recurrences/Item/WorkPlanRecurrenceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Settings/WorkHoursAndLocations/Recurrences/Item/WorkPlanRecurrenceItemRequestBuilder.cs new file mode 100644 index 00000000000..b0b214ade15 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Settings/WorkHoursAndLocations/Recurrences/Item/WorkPlanRecurrenceItemRequestBuilder.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.Me.Settings.WorkHoursAndLocations.Recurrences.Item +{ + /// + /// Provides operations to manage the recurrences property of the microsoft.graph.workHoursAndLocationsSetting entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class WorkPlanRecurrenceItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public WorkPlanRecurrenceItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/settings/workHoursAndLocations/recurrences/{workPlanRecurrence%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 WorkPlanRecurrenceItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/settings/workHoursAndLocations/recurrences/{workPlanRecurrence%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property recurrences 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); + } + /// + /// Collection of recurring work plans defined by the user. + /// + /// 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.WorkPlanRecurrence.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property recurrences 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 PutAsync(global::Microsoft.Graph.Models.WorkPlanRecurrence body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PutAsync(global::Microsoft.Graph.Models.WorkPlanRecurrence body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPutRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.WorkPlanRecurrence.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property recurrences 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; + } + /// + /// Collection of recurring work plans defined by the user. + /// + /// A + /// Configuration 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 recurrences 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 ToPutRequestInformation(global::Microsoft.Graph.Models.WorkPlanRecurrence body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPutRequestInformation(global::Microsoft.Graph.Models.WorkPlanRecurrence body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PUT, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.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.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder(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 WorkPlanRecurrenceItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Collection of recurring work plans defined by the user. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class WorkPlanRecurrenceItemRequestBuilderGetQueryParameters + { + /// 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 WorkPlanRecurrenceItemRequestBuilderGetRequestConfiguration : 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 WorkPlanRecurrenceItemRequestBuilderPutRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Settings/WorkHoursAndLocations/Recurrences/RecurrencesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Settings/WorkHoursAndLocations/Recurrences/RecurrencesRequestBuilder.cs new file mode 100644 index 00000000000..59cfb389b19 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Settings/WorkHoursAndLocations/Recurrences/RecurrencesRequestBuilder.cs @@ -0,0 +1,240 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.Count; +using Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.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.Settings.WorkHoursAndLocations.Recurrences +{ + /// + /// Provides operations to manage the recurrences property of the microsoft.graph.workHoursAndLocationsSetting entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RecurrencesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the recurrences property of the microsoft.graph.workHoursAndLocationsSetting entity. + /// The unique identifier of workPlanRecurrence + /// A + public global::Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("workPlanRecurrence%2Did", position); + return new global::Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder(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 RecurrencesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/settings/workHoursAndLocations/recurrences{?%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 RecurrencesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/settings/workHoursAndLocations/recurrences{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get the recurrences from your own work plan via the recurrences navigation property. + /// 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.WorkPlanRecurrenceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create a new workPlanRecurrence object in your own work plan. + /// 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.WorkPlanRecurrence body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.WorkPlanRecurrence 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.WorkPlanRecurrence.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the recurrences from your own work plan via the recurrences navigation property. + /// + /// A + /// Configuration 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 workPlanRecurrence object in your own work plan. + /// + /// 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.WorkPlanRecurrence body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.WorkPlanRecurrence 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.Settings.WorkHoursAndLocations.Recurrences.RecurrencesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.RecurrencesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the recurrences from your own work plan via the recurrences navigation property. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RecurrencesRequestBuilderGetQueryParameters + { + /// 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 RecurrencesRequestBuilderGetRequestConfiguration : 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 RecurrencesRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Settings/WorkHoursAndLocations/WorkHoursAndLocationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Settings/WorkHoursAndLocations/WorkHoursAndLocationsRequestBuilder.cs new file mode 100644 index 00000000000..ce221562516 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Settings/WorkHoursAndLocations/WorkHoursAndLocationsRequestBuilder.cs @@ -0,0 +1,207 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences; +using Microsoft.Graph.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime; +using Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences; +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.Settings.WorkHoursAndLocations +{ + /// + /// Provides operations to manage the workHoursAndLocations property of the microsoft.graph.userSettings entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class WorkHoursAndLocationsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the occurrences property of the microsoft.graph.workHoursAndLocationsSetting entity. + public global::Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.OccurrencesRequestBuilder Occurrences + { + get => new global::Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.OccurrencesRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the recurrences property of the microsoft.graph.workHoursAndLocationsSetting entity. + public global::Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.RecurrencesRequestBuilder Recurrences + { + get => new global::Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.RecurrencesRequestBuilder(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 WorkHoursAndLocationsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/settings/workHoursAndLocations{?%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 WorkHoursAndLocationsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/settings/workHoursAndLocations{?%24expand,%24select}", rawUrl) + { + } + /// + /// Get the properties and relationships of your own workHoursAndLocationsSetting. + /// 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.WorkHoursAndLocationsSetting.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Provides operations to call the occurrencesView method. + /// + /// A + /// Usage: endDateTime='{endDateTime}' + /// Usage: startDateTime='{startDateTime}' + public global::Microsoft.Graph.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder OccurrencesViewWithStartDateTimeWithEndDateTime(string endDateTime, string startDateTime) + { + if(string.IsNullOrEmpty(endDateTime)) throw new ArgumentNullException(nameof(endDateTime)); + if(string.IsNullOrEmpty(startDateTime)) throw new ArgumentNullException(nameof(startDateTime)); + return new global::Microsoft.Graph.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder(PathParameters, RequestAdapter, endDateTime, startDateTime); + } + /// + /// Update the properties of your own workHoursAndLocationsSetting. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.WorkHoursAndLocationsSetting body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.WorkHoursAndLocationsSetting 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.WorkHoursAndLocationsSetting.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the properties and relationships of your own workHoursAndLocationsSetting. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the properties of your own workHoursAndLocationsSetting. + /// + /// 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.WorkHoursAndLocationsSetting body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.WorkHoursAndLocationsSetting 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.Settings.WorkHoursAndLocations.WorkHoursAndLocationsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.Settings.WorkHoursAndLocations.WorkHoursAndLocationsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the properties and relationships of your own workHoursAndLocationsSetting. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class WorkHoursAndLocationsRequestBuilderGetQueryParameters + { + /// 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 WorkHoursAndLocationsRequestBuilderGetRequestConfiguration : 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 WorkHoursAndLocationsRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ActionItem.cs b/src/Microsoft.Graph/Generated/Models/ActionItem.cs new file mode 100644 index 00000000000..3f1cd2e7e81 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ActionItem.cs @@ -0,0 +1,135 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ActionItem : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The ownerDisplayName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OwnerDisplayName + { + get { return BackingStore?.Get("ownerDisplayName"); } + set { BackingStore?.Set("ownerDisplayName", value); } + } +#nullable restore +#else + public string OwnerDisplayName + { + get { return BackingStore?.Get("ownerDisplayName"); } + set { BackingStore?.Set("ownerDisplayName", value); } + } +#endif + /// The text property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Text + { + get { return BackingStore?.Get("text"); } + set { BackingStore?.Set("text", value); } + } +#nullable restore +#else + public string Text + { + get { return BackingStore?.Get("text"); } + set { BackingStore?.Set("text", value); } + } +#endif + /// The title property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Title + { + get { return BackingStore?.Get("title"); } + set { BackingStore?.Set("title", value); } + } +#nullable restore +#else + public string Title + { + get { return BackingStore?.Get("title"); } + set { BackingStore?.Set("title", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ActionItem() + { + 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.ActionItem CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.ActionItem(); + } + /// + /// 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(); } }, + { "ownerDisplayName", n => { OwnerDisplayName = n.GetStringValue(); } }, + { "text", n => { Text = n.GetStringValue(); } }, + { "title", n => { Title = 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("ownerDisplayName", OwnerDisplayName); + writer.WriteStringValue("text", Text); + writer.WriteStringValue("title", Title); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/AdhocCall.cs b/src/Microsoft.Graph/Generated/Models/AdhocCall.cs new file mode 100644 index 00000000000..89864b44830 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/AdhocCall.cs @@ -0,0 +1,82 @@ +// +#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 AdhocCall : global::Microsoft.Graph.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The recordings of a call. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Recordings + { + get { return BackingStore?.Get?>("recordings"); } + set { BackingStore?.Set("recordings", value); } + } +#nullable restore +#else + public List Recordings + { + get { return BackingStore?.Get>("recordings"); } + set { BackingStore?.Set("recordings", value); } + } +#endif + /// The transcripts of a call. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Transcripts + { + get { return BackingStore?.Get?>("transcripts"); } + set { BackingStore?.Set("transcripts", value); } + } +#nullable restore +#else + public List Transcripts + { + get { return BackingStore?.Get>("transcripts"); } + set { BackingStore?.Set("transcripts", 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.AdhocCall CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.AdhocCall(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "recordings", n => { Recordings = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.CallRecording.CreateFromDiscriminatorValue)?.AsList(); } }, + { "transcripts", n => { Transcripts = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.CallTranscript.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("recordings", Recordings); + writer.WriteCollectionOfObjectValues("transcripts", Transcripts); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/AdhocCallCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/AdhocCallCollectionResponse.cs new file mode 100644 index 00000000000..5fa5e4d96c7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/AdhocCallCollectionResponse.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 AdhocCallCollectionResponse : 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.AdhocCallCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.AdhocCallCollectionResponse(); + } + /// + /// 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.AdhocCall.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/Admin.cs b/src/Microsoft.Graph/Generated/Models/Admin.cs index 41cb63663c1..f6425b4c748 100644 --- a/src/Microsoft.Graph/Generated/Models/Admin.cs +++ b/src/Microsoft.Graph/Generated/Models/Admin.cs @@ -1,5 +1,6 @@ // #pragma warning disable CS0618 +using Microsoft.Graph.Models.TeamsAdministration; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions.Store; @@ -132,6 +133,22 @@ public string OdataType get { return BackingStore?.Get("sharepoint"); } set { BackingStore?.Set("sharepoint", value); } } +#endif + /// Represents a collection of user configurations. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.TeamsAdministration.TeamsAdminRoot? Teams + { + get { return BackingStore?.Get("teams"); } + set { BackingStore?.Set("teams", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.TeamsAdministration.TeamsAdminRoot Teams + { + get { return BackingStore?.Get("teams"); } + set { BackingStore?.Set("teams", value); } + } #endif /// /// Instantiates a new and sets the default values. @@ -166,6 +183,7 @@ public virtual IDictionary> GetFieldDeserializers() { "reportSettings", n => { ReportSettings = n.GetObjectValue(global::Microsoft.Graph.Models.AdminReportSettings.CreateFromDiscriminatorValue); } }, { "serviceAnnouncement", n => { ServiceAnnouncement = n.GetObjectValue(global::Microsoft.Graph.Models.ServiceAnnouncement.CreateFromDiscriminatorValue); } }, { "sharepoint", n => { Sharepoint = n.GetObjectValue(global::Microsoft.Graph.Models.Sharepoint.CreateFromDiscriminatorValue); } }, + { "teams", n => { Teams = n.GetObjectValue(global::Microsoft.Graph.Models.TeamsAdministration.TeamsAdminRoot.CreateFromDiscriminatorValue); } }, }; } /// @@ -182,6 +200,7 @@ public virtual void Serialize(ISerializationWriter writer) writer.WriteObjectValue("reportSettings", ReportSettings); writer.WriteObjectValue("serviceAnnouncement", ServiceAnnouncement); writer.WriteObjectValue("sharepoint", Sharepoint); + writer.WriteObjectValue("teams", Teams); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Models/AiOnlineMeeting.cs b/src/Microsoft.Graph/Generated/Models/AiOnlineMeeting.cs new file mode 100644 index 00000000000..28052ff1486 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/AiOnlineMeeting.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 AiOnlineMeeting : global::Microsoft.Graph.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The aiInsights property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? AiInsights + { + get { return BackingStore?.Get?>("aiInsights"); } + set { BackingStore?.Set("aiInsights", value); } + } +#nullable restore +#else + public List AiInsights + { + get { return BackingStore?.Get>("aiInsights"); } + set { BackingStore?.Set("aiInsights", 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.AiOnlineMeeting CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.AiOnlineMeeting(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "aiInsights", n => { AiInsights = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.CallAiInsight.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("aiInsights", AiInsights); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/AiUser.cs b/src/Microsoft.Graph/Generated/Models/AiUser.cs index 1e50bc54465..f95eddacfdf 100644 --- a/src/Microsoft.Graph/Generated/Models/AiUser.cs +++ b/src/Microsoft.Graph/Generated/Models/AiUser.cs @@ -27,6 +27,22 @@ public partial class AiUser : global::Microsoft.Graph.Models.Entity, IParsable get { return BackingStore?.Get("interactionHistory"); } set { BackingStore?.Set("interactionHistory", value); } } +#endif + /// The onlineMeetings property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? OnlineMeetings + { + get { return BackingStore?.Get?>("onlineMeetings"); } + set { BackingStore?.Set("onlineMeetings", value); } + } +#nullable restore +#else + public List OnlineMeetings + { + get { return BackingStore?.Get>("onlineMeetings"); } + set { BackingStore?.Set("onlineMeetings", value); } + } #endif /// /// Creates a new instance of the appropriate class based on discriminator value @@ -47,6 +63,7 @@ public override IDictionary> GetFieldDeserializers() return new Dictionary>(base.GetFieldDeserializers()) { { "interactionHistory", n => { InteractionHistory = n.GetObjectValue(global::Microsoft.Graph.Models.AiInteractionHistory.CreateFromDiscriminatorValue); } }, + { "onlineMeetings", n => { OnlineMeetings = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.AiOnlineMeeting.CreateFromDiscriminatorValue)?.AsList(); } }, }; } /// @@ -58,6 +75,7 @@ public override void Serialize(ISerializationWriter writer) if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); writer.WriteObjectValue("interactionHistory", InteractionHistory); + writer.WriteCollectionOfObjectValues("onlineMeetings", OnlineMeetings); } } } diff --git a/src/Microsoft.Graph/Generated/Models/AllowedTargetScope.cs b/src/Microsoft.Graph/Generated/Models/AllowedTargetScope.cs index 2d2e23f396c..8c2e7075a91 100644 --- a/src/Microsoft.Graph/Generated/Models/AllowedTargetScope.cs +++ b/src/Microsoft.Graph/Generated/Models/AllowedTargetScope.cs @@ -44,6 +44,10 @@ public enum AllowedTargetScope #pragma warning disable CS1591 AllExternalUsers, #pragma warning restore CS1591 + [EnumMember(Value = "allDirectoryAgentIdentities")] + #pragma warning disable CS1591 + AllDirectoryAgentIdentities, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] #pragma warning disable CS1591 UnknownFutureValue, diff --git a/src/Microsoft.Graph/Generated/Models/Building.cs b/src/Microsoft.Graph/Generated/Models/Building.cs index a30c01c5b3d..abf697672e9 100644 --- a/src/Microsoft.Graph/Generated/Models/Building.cs +++ b/src/Microsoft.Graph/Generated/Models/Building.cs @@ -44,6 +44,12 @@ public partial class Building : global::Microsoft.Graph.Models.Place, IParsable set { BackingStore?.Set("resourceLinks", value); } } #endif + /// The wifiState property + public global::Microsoft.Graph.Models.PlaceFeatureEnablement? WifiState + { + get { return BackingStore?.Get("wifiState"); } + set { BackingStore?.Set("wifiState", value); } + } /// /// Instantiates a new and sets the default values. /// @@ -71,6 +77,7 @@ public override IDictionary> GetFieldDeserializers() { { "map", n => { Map = n.GetObjectValue(global::Microsoft.Graph.Models.BuildingMap.CreateFromDiscriminatorValue); } }, { "resourceLinks", n => { ResourceLinks = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ResourceLink.CreateFromDiscriminatorValue)?.AsList(); } }, + { "wifiState", n => { WifiState = n.GetEnumValue(); } }, }; } /// @@ -83,6 +90,7 @@ public override void Serialize(ISerializationWriter writer) base.Serialize(writer); writer.WriteObjectValue("map", Map); writer.WriteCollectionOfObjectValues("resourceLinks", ResourceLinks); + writer.WriteEnumValue("wifiState", WifiState); } } } diff --git a/src/Microsoft.Graph/Generated/Models/CallAiInsight.cs b/src/Microsoft.Graph/Generated/Models/CallAiInsight.cs new file mode 100644 index 00000000000..a816fb19456 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CallAiInsight.cs @@ -0,0 +1,152 @@ +// +#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 CallAiInsight : global::Microsoft.Graph.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The actionItems property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ActionItems + { + get { return BackingStore?.Get?>("actionItems"); } + set { BackingStore?.Set("actionItems", value); } + } +#nullable restore +#else + public List ActionItems + { + get { return BackingStore?.Get>("actionItems"); } + set { BackingStore?.Set("actionItems", value); } + } +#endif + /// The callId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? CallId + { + get { return BackingStore?.Get("callId"); } + set { BackingStore?.Set("callId", value); } + } +#nullable restore +#else + public string CallId + { + get { return BackingStore?.Get("callId"); } + set { BackingStore?.Set("callId", value); } + } +#endif + /// The contentCorrelationId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ContentCorrelationId + { + get { return BackingStore?.Get("contentCorrelationId"); } + set { BackingStore?.Set("contentCorrelationId", value); } + } +#nullable restore +#else + public string ContentCorrelationId + { + get { return BackingStore?.Get("contentCorrelationId"); } + set { BackingStore?.Set("contentCorrelationId", value); } + } +#endif + /// The createdDateTime property + public DateTimeOffset? CreatedDateTime + { + get { return BackingStore?.Get("createdDateTime"); } + set { BackingStore?.Set("createdDateTime", value); } + } + /// The endDateTime property + public DateTimeOffset? EndDateTime + { + get { return BackingStore?.Get("endDateTime"); } + set { BackingStore?.Set("endDateTime", value); } + } + /// The meetingNotes property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? MeetingNotes + { + get { return BackingStore?.Get?>("meetingNotes"); } + set { BackingStore?.Set("meetingNotes", value); } + } +#nullable restore +#else + public List MeetingNotes + { + get { return BackingStore?.Get>("meetingNotes"); } + set { BackingStore?.Set("meetingNotes", value); } + } +#endif + /// The viewpoint property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.CallAiInsightViewPoint? Viewpoint + { + get { return BackingStore?.Get("viewpoint"); } + set { BackingStore?.Set("viewpoint", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.CallAiInsightViewPoint Viewpoint + { + get { return BackingStore?.Get("viewpoint"); } + set { BackingStore?.Set("viewpoint", 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.CallAiInsight CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.CallAiInsight(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "actionItems", n => { ActionItems = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ActionItem.CreateFromDiscriminatorValue)?.AsList(); } }, + { "callId", n => { CallId = n.GetStringValue(); } }, + { "contentCorrelationId", n => { ContentCorrelationId = n.GetStringValue(); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "endDateTime", n => { EndDateTime = n.GetDateTimeOffsetValue(); } }, + { "meetingNotes", n => { MeetingNotes = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.MeetingNote.CreateFromDiscriminatorValue)?.AsList(); } }, + { "viewpoint", n => { Viewpoint = n.GetObjectValue(global::Microsoft.Graph.Models.CallAiInsightViewPoint.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.WriteCollectionOfObjectValues("actionItems", ActionItems); + writer.WriteStringValue("callId", CallId); + writer.WriteStringValue("contentCorrelationId", ContentCorrelationId); + writer.WriteDateTimeOffsetValue("createdDateTime", CreatedDateTime); + writer.WriteDateTimeOffsetValue("endDateTime", EndDateTime); + writer.WriteCollectionOfObjectValues("meetingNotes", MeetingNotes); + writer.WriteObjectValue("viewpoint", Viewpoint); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/CallAiInsightViewPoint.cs b/src/Microsoft.Graph/Generated/Models/CallAiInsightViewPoint.cs new file mode 100644 index 00000000000..7277ecad203 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CallAiInsightViewPoint.cs @@ -0,0 +1,99 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class CallAiInsightViewPoint : 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 mentionEvents property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? MentionEvents + { + get { return BackingStore?.Get?>("mentionEvents"); } + set { BackingStore?.Set("mentionEvents", value); } + } +#nullable restore +#else + public List MentionEvents + { + get { return BackingStore?.Get>("mentionEvents"); } + set { BackingStore?.Set("mentionEvents", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public CallAiInsightViewPoint() + { + 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.CallAiInsightViewPoint CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.CallAiInsightViewPoint(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "mentionEvents", n => { MentionEvents = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.MentionEvent.CreateFromDiscriminatorValue)?.AsList(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfObjectValues("mentionEvents", MentionEvents); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/CloudCommunications.cs b/src/Microsoft.Graph/Generated/Models/CloudCommunications.cs index c950d602f10..bce583ef860 100644 --- a/src/Microsoft.Graph/Generated/Models/CloudCommunications.cs +++ b/src/Microsoft.Graph/Generated/Models/CloudCommunications.cs @@ -21,6 +21,22 @@ public IDictionary AdditionalData get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } set { BackingStore.Set("AdditionalData", value); } } + /// The adhocCalls property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? AdhocCalls + { + get { return BackingStore?.Get?>("adhocCalls"); } + set { BackingStore?.Set("adhocCalls", value); } + } +#nullable restore +#else + public List AdhocCalls + { + get { return BackingStore?.Get>("adhocCalls"); } + set { BackingStore?.Set("adhocCalls", value); } + } +#endif /// Stores model information. public IBackingStore BackingStore { get; private set; } /// The callRecords property @@ -145,6 +161,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { + { "adhocCalls", n => { AdhocCalls = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.AdhocCall.CreateFromDiscriminatorValue)?.AsList(); } }, { "callRecords", n => { CallRecords = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.CallRecords.CallRecord.CreateFromDiscriminatorValue)?.AsList(); } }, { "calls", n => { Calls = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.Call.CreateFromDiscriminatorValue)?.AsList(); } }, { "@odata.type", n => { OdataType = n.GetStringValue(); } }, @@ -160,6 +177,7 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfObjectValues("adhocCalls", AdhocCalls); writer.WriteCollectionOfObjectValues("callRecords", CallRecords); writer.WriteCollectionOfObjectValues("calls", Calls); writer.WriteStringValue("@odata.type", OdataType); diff --git a/src/Microsoft.Graph/Generated/Models/CloudPcLaunchDetail.cs b/src/Microsoft.Graph/Generated/Models/CloudPcLaunchDetail.cs new file mode 100644 index 00000000000..1eac5ceb0c6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CloudPcLaunchDetail.cs @@ -0,0 +1,133 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class CloudPcLaunchDetail : 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 unique identifier of the Cloud PC. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? CloudPcId + { + get { return BackingStore?.Get("cloudPcId"); } + set { BackingStore?.Set("cloudPcId", value); } + } +#nullable restore +#else + public string CloudPcId + { + get { return BackingStore?.Get("cloudPcId"); } + set { BackingStore?.Set("cloudPcId", value); } + } +#endif + /// The connect URL of the Cloud PC. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? CloudPcLaunchUrl + { + get { return BackingStore?.Get("cloudPcLaunchUrl"); } + set { BackingStore?.Set("cloudPcLaunchUrl", value); } + } +#nullable restore +#else + public string CloudPcLaunchUrl + { + get { return BackingStore?.Get("cloudPcLaunchUrl"); } + set { BackingStore?.Set("cloudPcLaunchUrl", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// Indicates the reason the Cloud PC isn't compatible with Windows 365 Switch. Possible values are: osVersionNotSupported, hardwareNotSupported, unknownFutureValue. osVersionNotSupported indicates that the user needs to update their Cloud PC operating system version. hardwareNotSupported indicates that the Cloud PC needs more CPUs or RAM to support the functionality. + public global::Microsoft.Graph.Models.Windows365SwitchCompatibilityFailureReasonType? Windows365SwitchCompatibilityFailureReasonType + { + get { return BackingStore?.Get("windows365SwitchCompatibilityFailureReasonType"); } + set { BackingStore?.Set("windows365SwitchCompatibilityFailureReasonType", value); } + } + /// Indicates whether the Cloud PC supports switch functionality. If the value is true, it supports switch functionality; otherwise, false. + public bool? Windows365SwitchCompatible + { + get { return BackingStore?.Get("windows365SwitchCompatible"); } + set { BackingStore?.Set("windows365SwitchCompatible", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public CloudPcLaunchDetail() + { + 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.CloudPcLaunchDetail CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.CloudPcLaunchDetail(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "cloudPcId", n => { CloudPcId = n.GetStringValue(); } }, + { "cloudPcLaunchUrl", n => { CloudPcLaunchUrl = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "windows365SwitchCompatibilityFailureReasonType", n => { Windows365SwitchCompatibilityFailureReasonType = n.GetEnumValue(); } }, + { "windows365SwitchCompatible", n => { Windows365SwitchCompatible = n.GetBoolValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("cloudPcId", CloudPcId); + writer.WriteStringValue("cloudPcLaunchUrl", CloudPcLaunchUrl); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteEnumValue("windows365SwitchCompatibilityFailureReasonType", Windows365SwitchCompatibilityFailureReasonType); + writer.WriteBoolValue("windows365SwitchCompatible", Windows365SwitchCompatible); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/CloudPcOperatingSystem.cs b/src/Microsoft.Graph/Generated/Models/CloudPcOperatingSystem.cs new file mode 100644 index 00000000000..f9cf4a0d205 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CloudPcOperatingSystem.cs @@ -0,0 +1,24 @@ +// +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 CloudPcOperatingSystem + #pragma warning restore CS1591 + { + [EnumMember(Value = "windows10")] + #pragma warning disable CS1591 + Windows10, + #pragma warning restore CS1591 + [EnumMember(Value = "windows11")] + #pragma warning disable CS1591 + Windows11, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/CloudPcRecommendationReportType.cs b/src/Microsoft.Graph/Generated/Models/CloudPcRecommendationReportType.cs new file mode 100644 index 00000000000..f0d3499e69b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CloudPcRecommendationReportType.cs @@ -0,0 +1,20 @@ +// +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 CloudPcRecommendationReportType + #pragma warning restore CS1591 + { + [EnumMember(Value = "cloudPcUsageCategoryReport")] + #pragma warning disable CS1591 + CloudPcUsageCategoryReport, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/CloudPcReport.cs b/src/Microsoft.Graph/Generated/Models/CloudPcReport.cs new file mode 100644 index 00000000000..2ce7b19f26a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CloudPcReport.cs @@ -0,0 +1,46 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class CloudPcReport : global::Microsoft.Graph.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.CloudPcReport CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.CloudPcReport(); + } + /// + /// 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/CloudPcUserAccountType.cs b/src/Microsoft.Graph/Generated/Models/CloudPcUserAccountType.cs new file mode 100644 index 00000000000..f3a4ef7763f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CloudPcUserAccountType.cs @@ -0,0 +1,24 @@ +// +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 CloudPcUserAccountType + #pragma warning restore CS1591 + { + [EnumMember(Value = "standardUser")] + #pragma warning disable CS1591 + StandardUser, + #pragma warning restore CS1591 + [EnumMember(Value = "administrator")] + #pragma warning disable CS1591 + Administrator, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/Desk.cs b/src/Microsoft.Graph/Generated/Models/Desk.cs index 141f17edc37..5ea9daf24b6 100644 --- a/src/Microsoft.Graph/Generated/Models/Desk.cs +++ b/src/Microsoft.Graph/Generated/Models/Desk.cs @@ -28,6 +28,12 @@ public string DisplayDeviceName set { BackingStore?.Set("displayDeviceName", value); } } #endif + /// The heightAdjustableState property + public global::Microsoft.Graph.Models.PlaceFeatureEnablement? HeightAdjustableState + { + get { return BackingStore?.Get("heightAdjustableState"); } + set { BackingStore?.Set("heightAdjustableState", value); } + } /// The mailbox object id and email address that are associated with the desk. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -44,7 +50,7 @@ public string DisplayDeviceName set { BackingStore?.Set("mailboxDetails", value); } } #endif - /// The mode of the desk. The supported modes are:assignedPlaceMode - Desks that are assigned to a user.reservablePlaceMode - Desks that can be booked in advance using desk reservation tools.dropInPlaceMode - First come, first served desks. When you plug into a peripheral on one of these desks, the desk is booked for you, assuming the peripheral is associated with the desk in the Microsoft Teams Rooms Pro management portal. + /// The mode of the desk. The supported modes are:assignedPlaceMode - Desks that are assigned to a user.reservablePlaceMode - Desks that can be booked in advance using desk reservation tools.dropInPlaceMode - First come, first served desks. When you plug into a peripheral on one of these desks, the desk is booked for you, assuming the peripheral is associated with the desk in the Microsoft Teams Rooms pro management portal.unavailablePlaceMode - Desks that are taken down for maintenance or marked as not reservable. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Models.PlaceMode? Mode @@ -86,6 +92,7 @@ public override IDictionary> GetFieldDeserializers() return new Dictionary>(base.GetFieldDeserializers()) { { "displayDeviceName", n => { DisplayDeviceName = n.GetStringValue(); } }, + { "heightAdjustableState", n => { HeightAdjustableState = n.GetEnumValue(); } }, { "mailboxDetails", n => { MailboxDetails = n.GetObjectValue(global::Microsoft.Graph.Models.MailboxDetails.CreateFromDiscriminatorValue); } }, { "mode", n => { Mode = n.GetObjectValue(global::Microsoft.Graph.Models.PlaceMode.CreateFromDiscriminatorValue); } }, }; @@ -99,6 +106,7 @@ public override void Serialize(ISerializationWriter writer) if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); writer.WriteStringValue("displayDeviceName", DisplayDeviceName); + writer.WriteEnumValue("heightAdjustableState", HeightAdjustableState); writer.WriteObjectValue("mailboxDetails", MailboxDetails); writer.WriteObjectValue("mode", Mode); } diff --git a/src/Microsoft.Graph/Generated/Models/Entity.cs b/src/Microsoft.Graph/Generated/Models/Entity.cs index a043e980005..3bc5e3b8b12 100644 --- a/src/Microsoft.Graph/Generated/Models/Entity.cs +++ b/src/Microsoft.Graph/Generated/Models/Entity.cs @@ -7,6 +7,7 @@ using Microsoft.Graph.Models.Partners; using Microsoft.Graph.Models.Search; using Microsoft.Graph.Models.Security; +using Microsoft.Graph.Models.TeamsAdministration; using Microsoft.Graph.Models.TermStore; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; @@ -110,6 +111,7 @@ public Entity() "#microsoft.graph.activityBasedTimeoutPolicy" => new global::Microsoft.Graph.Models.ActivityBasedTimeoutPolicy(), "#microsoft.graph.activityHistoryItem" => new global::Microsoft.Graph.Models.ActivityHistoryItem(), "#microsoft.graph.addLargeGalleryViewOperation" => new global::Microsoft.Graph.Models.AddLargeGalleryViewOperation(), + "#microsoft.graph.adhocCall" => new global::Microsoft.Graph.Models.AdhocCall(), "#microsoft.graph.adminConsentRequestPolicy" => new global::Microsoft.Graph.Models.AdminConsentRequestPolicy(), "#microsoft.graph.administrativeUnit" => new global::Microsoft.Graph.Models.AdministrativeUnit(), "#microsoft.graph.adminMicrosoft365Apps" => new global::Microsoft.Graph.Models.AdminMicrosoft365Apps(), @@ -122,6 +124,7 @@ public Entity() "#microsoft.graph.agreementFileVersion" => new global::Microsoft.Graph.Models.AgreementFileVersion(), "#microsoft.graph.aiInteraction" => new global::Microsoft.Graph.Models.AiInteraction(), "#microsoft.graph.aiInteractionHistory" => new global::Microsoft.Graph.Models.AiInteractionHistory(), + "#microsoft.graph.aiOnlineMeeting" => new global::Microsoft.Graph.Models.AiOnlineMeeting(), "#microsoft.graph.aiUser" => new global::Microsoft.Graph.Models.AiUser(), "#microsoft.graph.akamaiWebApplicationFirewallProvider" => new global::Microsoft.Graph.Models.AkamaiWebApplicationFirewallProvider(), "#microsoft.graph.alert" => new global::Microsoft.Graph.Models.Alert(), @@ -210,6 +213,7 @@ public Entity() "#microsoft.graph.calendarPermission" => new global::Microsoft.Graph.Models.CalendarPermission(), "#microsoft.graph.calendarSharingMessage" => new global::Microsoft.Graph.Models.CalendarSharingMessage(), "#microsoft.graph.call" => new global::Microsoft.Graph.Models.Call(), + "#microsoft.graph.callAiInsight" => new global::Microsoft.Graph.Models.CallAiInsight(), "#microsoft.graph.callEvent" => new global::Microsoft.Graph.Models.CallEvent(), "#microsoft.graph.callRecording" => new global::Microsoft.Graph.Models.CallRecording(), "#microsoft.graph.callRecords.callRecord" => new global::Microsoft.Graph.Models.CallRecords.CallRecord(), @@ -242,6 +246,7 @@ public Entity() "#microsoft.graph.cloudPcOnPremisesConnection" => new global::Microsoft.Graph.Models.CloudPcOnPremisesConnection(), "#microsoft.graph.cloudPcProvisioningPolicy" => new global::Microsoft.Graph.Models.CloudPcProvisioningPolicy(), "#microsoft.graph.cloudPcProvisioningPolicyAssignment" => new global::Microsoft.Graph.Models.CloudPcProvisioningPolicyAssignment(), + "#microsoft.graph.cloudPcReport" => new global::Microsoft.Graph.Models.CloudPcReport(), "#microsoft.graph.cloudPcUserSetting" => new global::Microsoft.Graph.Models.CloudPcUserSetting(), "#microsoft.graph.cloudPcUserSettingAssignment" => new global::Microsoft.Graph.Models.CloudPcUserSettingAssignment(), "#microsoft.graph.columnDefinition" => new global::Microsoft.Graph.Models.ColumnDefinition(), @@ -428,6 +433,8 @@ public Entity() "#microsoft.graph.fileAttachment" => new global::Microsoft.Graph.Models.FileAttachment(), "#microsoft.graph.fileStorage" => new global::Microsoft.Graph.Models.FileStorage(), "#microsoft.graph.fileStorageContainer" => new global::Microsoft.Graph.Models.FileStorageContainer(), + "#microsoft.graph.fileStorageContainerType" => new global::Microsoft.Graph.Models.FileStorageContainerType(), + "#microsoft.graph.fileStorageContainerTypeRegistration" => new global::Microsoft.Graph.Models.FileStorageContainerTypeRegistration(), "#microsoft.graph.filterOperatorSchema" => new global::Microsoft.Graph.Models.FilterOperatorSchema(), "#microsoft.graph.fixtureMap" => new global::Microsoft.Graph.Models.FixtureMap(), "#microsoft.graph.floor" => new global::Microsoft.Graph.Models.Floor(), @@ -778,6 +785,7 @@ public Entity() "#microsoft.graph.security.dispositionReviewStage" => new global::Microsoft.Graph.Models.Security.DispositionReviewStage(), "#microsoft.graph.security.ediscoveryAddToReviewSetOperation" => new global::Microsoft.Graph.Models.Security.EdiscoveryAddToReviewSetOperation(), "#microsoft.graph.security.ediscoveryCase" => new global::Microsoft.Graph.Models.Security.EdiscoveryCase(), + "#microsoft.graph.security.ediscoveryCaseMember" => new global::Microsoft.Graph.Models.Security.EdiscoveryCaseMember(), "#microsoft.graph.security.ediscoveryCaseSettings" => new global::Microsoft.Graph.Models.Security.EdiscoveryCaseSettings(), "#microsoft.graph.security.ediscoveryCustodian" => new global::Microsoft.Graph.Models.Security.EdiscoveryCustodian(), "#microsoft.graph.security.ediscoveryEstimateOperation" => new global::Microsoft.Graph.Models.Security.EdiscoveryEstimateOperation(), @@ -917,6 +925,8 @@ public Entity() "#microsoft.graph.taskFileAttachment" => new global::Microsoft.Graph.Models.TaskFileAttachment(), "#microsoft.graph.team" => new global::Microsoft.Graph.Models.Team(), "#microsoft.graph.teamInfo" => new global::Microsoft.Graph.Models.TeamInfo(), + "#microsoft.graph.teamsAdministration.teamsAdminRoot" => new global::Microsoft.Graph.Models.TeamsAdministration.TeamsAdminRoot(), + "#microsoft.graph.teamsAdministration.teamsUserConfiguration" => new global::Microsoft.Graph.Models.TeamsAdministration.TeamsUserConfiguration(), "#microsoft.graph.teamsApp" => new global::Microsoft.Graph.Models.TeamsApp(), "#microsoft.graph.teamsAppDefinition" => new global::Microsoft.Graph.Models.TeamsAppDefinition(), "#microsoft.graph.teamsAppInstallation" => new global::Microsoft.Graph.Models.TeamsAppInstallation(), @@ -1131,7 +1141,10 @@ public Entity() "#microsoft.graph.workbookWorksheet" => new global::Microsoft.Graph.Models.WorkbookWorksheet(), "#microsoft.graph.workbookWorksheetProtection" => new global::Microsoft.Graph.Models.WorkbookWorksheetProtection(), "#microsoft.graph.workforceIntegration" => new global::Microsoft.Graph.Models.WorkforceIntegration(), + "#microsoft.graph.workHoursAndLocationsSetting" => new global::Microsoft.Graph.Models.WorkHoursAndLocationsSetting(), "#microsoft.graph.workingTimeSchedule" => new global::Microsoft.Graph.Models.WorkingTimeSchedule(), + "#microsoft.graph.workPlanOccurrence" => new global::Microsoft.Graph.Models.WorkPlanOccurrence(), + "#microsoft.graph.workPlanRecurrence" => new global::Microsoft.Graph.Models.WorkPlanRecurrence(), "#microsoft.graph.workspace" => new global::Microsoft.Graph.Models.Workspace(), "#microsoft.graph.x509CertificateAuthenticationMethodConfiguration" => new global::Microsoft.Graph.Models.X509CertificateAuthenticationMethodConfiguration(), "#microsoft.graph.x509CertificateCombinationConfiguration" => new global::Microsoft.Graph.Models.X509CertificateCombinationConfiguration(), diff --git a/src/Microsoft.Graph/Generated/Models/FileStorage.cs b/src/Microsoft.Graph/Generated/Models/FileStorage.cs index e2445e792c4..5ee1c2d7e49 100644 --- a/src/Microsoft.Graph/Generated/Models/FileStorage.cs +++ b/src/Microsoft.Graph/Generated/Models/FileStorage.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Models public partial class FileStorage : global::Microsoft.Graph.Models.Entity, IParsable #pragma warning restore CS1591 { - /// The containers property + /// The collection of active fileStorageContainer resources. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Containers @@ -28,7 +28,39 @@ public partial class FileStorage : global::Microsoft.Graph.Models.Entity, IParsa set { BackingStore?.Set("containers", value); } } #endif - /// The deletedContainers property + /// The collection of fileStorageContainerTypeRegistration resources. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ContainerTypeRegistrations + { + get { return BackingStore?.Get?>("containerTypeRegistrations"); } + set { BackingStore?.Set("containerTypeRegistrations", value); } + } +#nullable restore +#else + public List ContainerTypeRegistrations + { + get { return BackingStore?.Get>("containerTypeRegistrations"); } + set { BackingStore?.Set("containerTypeRegistrations", value); } + } +#endif + /// The collection of fileStorageContainerType resources. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ContainerTypes + { + get { return BackingStore?.Get?>("containerTypes"); } + set { BackingStore?.Set("containerTypes", value); } + } +#nullable restore +#else + public List ContainerTypes + { + get { return BackingStore?.Get>("containerTypes"); } + set { BackingStore?.Set("containerTypes", value); } + } +#endif + /// The collection of deleted fileStorageContainer resources. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? DeletedContainers @@ -62,6 +94,8 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { + { "containerTypeRegistrations", n => { ContainerTypeRegistrations = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.FileStorageContainerTypeRegistration.CreateFromDiscriminatorValue)?.AsList(); } }, + { "containerTypes", n => { ContainerTypes = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.FileStorageContainerType.CreateFromDiscriminatorValue)?.AsList(); } }, { "containers", n => { Containers = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.FileStorageContainer.CreateFromDiscriminatorValue)?.AsList(); } }, { "deletedContainers", n => { DeletedContainers = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.FileStorageContainer.CreateFromDiscriminatorValue)?.AsList(); } }, }; @@ -75,6 +109,8 @@ public override void Serialize(ISerializationWriter writer) if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); writer.WriteCollectionOfObjectValues("containers", Containers); + writer.WriteCollectionOfObjectValues("containerTypeRegistrations", ContainerTypeRegistrations); + writer.WriteCollectionOfObjectValues("containerTypes", ContainerTypes); writer.WriteCollectionOfObjectValues("deletedContainers", DeletedContainers); } } diff --git a/src/Microsoft.Graph/Generated/Models/FileStorageContainer.cs b/src/Microsoft.Graph/Generated/Models/FileStorageContainer.cs index e87435806da..ea110785081 100644 --- a/src/Microsoft.Graph/Generated/Models/FileStorageContainer.cs +++ b/src/Microsoft.Graph/Generated/Models/FileStorageContainer.cs @@ -12,6 +12,22 @@ namespace Microsoft.Graph.Models public partial class FileStorageContainer : global::Microsoft.Graph.Models.Entity, IParsable #pragma warning restore CS1591 { + /// Sensitivity label assigned to the fileStorageContainer. Read-write. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.AssignedLabel? AssignedSensitivityLabel + { + get { return BackingStore?.Get("assignedSensitivityLabel"); } + set { BackingStore?.Set("assignedSensitivityLabel", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.AssignedLabel AssignedSensitivityLabel + { + get { return BackingStore?.Get("assignedSensitivityLabel"); } + set { BackingStore?.Set("assignedSensitivityLabel", value); } + } +#endif /// The columns property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -214,6 +230,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { + { "assignedSensitivityLabel", n => { AssignedSensitivityLabel = n.GetObjectValue(global::Microsoft.Graph.Models.AssignedLabel.CreateFromDiscriminatorValue); } }, { "columns", n => { Columns = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ColumnDefinition.CreateFromDiscriminatorValue)?.AsList(); } }, { "containerTypeId", n => { ContainerTypeId = n.GetGuidValue(); } }, { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, @@ -238,6 +255,7 @@ public override void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); + writer.WriteObjectValue("assignedSensitivityLabel", AssignedSensitivityLabel); writer.WriteCollectionOfObjectValues("columns", Columns); writer.WriteGuidValue("containerTypeId", ContainerTypeId); writer.WriteDateTimeOffsetValue("createdDateTime", CreatedDateTime); diff --git a/src/Microsoft.Graph/Generated/Models/FileStorageContainerBillingClassification.cs b/src/Microsoft.Graph/Generated/Models/FileStorageContainerBillingClassification.cs new file mode 100644 index 00000000000..c42b63e1388 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/FileStorageContainerBillingClassification.cs @@ -0,0 +1,28 @@ +// +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 FileStorageContainerBillingClassification + #pragma warning restore CS1591 + { + [EnumMember(Value = "standard")] + #pragma warning disable CS1591 + Standard, + #pragma warning restore CS1591 + [EnumMember(Value = "trial")] + #pragma warning disable CS1591 + Trial, + #pragma warning restore CS1591 + [EnumMember(Value = "directToCustomer")] + #pragma warning disable CS1591 + DirectToCustomer, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/FileStorageContainerBillingStatus.cs b/src/Microsoft.Graph/Generated/Models/FileStorageContainerBillingStatus.cs new file mode 100644 index 00000000000..117f1dd7bf9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/FileStorageContainerBillingStatus.cs @@ -0,0 +1,24 @@ +// +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 FileStorageContainerBillingStatus + #pragma warning restore CS1591 + { + [EnumMember(Value = "invalid")] + #pragma warning disable CS1591 + Invalid, + #pragma warning restore CS1591 + [EnumMember(Value = "valid")] + #pragma warning disable CS1591 + Valid, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/FileStorageContainerType.cs b/src/Microsoft.Graph/Generated/Models/FileStorageContainerType.cs new file mode 100644 index 00000000000..8581e849d88 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/FileStorageContainerType.cs @@ -0,0 +1,140 @@ +// +#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 FileStorageContainerType : global::Microsoft.Graph.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The billingClassification property + public global::Microsoft.Graph.Models.FileStorageContainerBillingClassification? BillingClassification + { + get { return BackingStore?.Get("billingClassification"); } + set { BackingStore?.Set("billingClassification", value); } + } + /// The billingStatus property + public global::Microsoft.Graph.Models.FileStorageContainerBillingStatus? BillingStatus + { + get { return BackingStore?.Get("billingStatus"); } + set { BackingStore?.Set("billingStatus", value); } + } + /// The creation date. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. + public DateTimeOffset? CreatedDateTime + { + get { return BackingStore?.Get("createdDateTime"); } + set { BackingStore?.Set("createdDateTime", value); } + } + /// Used in update scenarios for optimistic concurrency control. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Etag + { + get { return BackingStore?.Get("etag"); } + set { BackingStore?.Set("etag", value); } + } +#nullable restore +#else + public string Etag + { + get { return BackingStore?.Get("etag"); } + set { BackingStore?.Set("etag", value); } + } +#endif + /// The expiration date. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. + public DateTimeOffset? ExpirationDateTime + { + get { return BackingStore?.Get("expirationDateTime"); } + set { BackingStore?.Set("expirationDateTime", value); } + } + /// The name of the fileStorageContainerType. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Name + { + get { return BackingStore?.Get("name"); } + set { BackingStore?.Set("name", value); } + } +#nullable restore +#else + public string Name + { + get { return BackingStore?.Get("name"); } + set { BackingStore?.Set("name", value); } + } +#endif + /// ID of the application that owns the fileStorageContainerType. + public Guid? OwningAppId + { + get { return BackingStore?.Get("owningAppId"); } + set { BackingStore?.Set("owningAppId", value); } + } + /// The settings property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.FileStorageContainerTypeSettings? Settings + { + get { return BackingStore?.Get("settings"); } + set { BackingStore?.Set("settings", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.FileStorageContainerTypeSettings Settings + { + get { return BackingStore?.Get("settings"); } + set { BackingStore?.Set("settings", 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.FileStorageContainerType CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.FileStorageContainerType(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "billingClassification", n => { BillingClassification = n.GetEnumValue(); } }, + { "billingStatus", n => { BillingStatus = n.GetEnumValue(); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "etag", n => { Etag = n.GetStringValue(); } }, + { "expirationDateTime", n => { ExpirationDateTime = n.GetDateTimeOffsetValue(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "owningAppId", n => { OwningAppId = n.GetGuidValue(); } }, + { "settings", n => { Settings = n.GetObjectValue(global::Microsoft.Graph.Models.FileStorageContainerTypeSettings.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.WriteEnumValue("billingClassification", BillingClassification); + writer.WriteEnumValue("billingStatus", BillingStatus); + writer.WriteDateTimeOffsetValue("createdDateTime", CreatedDateTime); + writer.WriteStringValue("etag", Etag); + writer.WriteDateTimeOffsetValue("expirationDateTime", ExpirationDateTime); + writer.WriteStringValue("name", Name); + writer.WriteGuidValue("owningAppId", OwningAppId); + writer.WriteObjectValue("settings", Settings); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/FileStorageContainerTypeAppPermission.cs b/src/Microsoft.Graph/Generated/Models/FileStorageContainerTypeAppPermission.cs new file mode 100644 index 00000000000..8c39e503545 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/FileStorageContainerTypeAppPermission.cs @@ -0,0 +1,76 @@ +// +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 FileStorageContainerTypeAppPermission + #pragma warning restore CS1591 + { + [EnumMember(Value = "none")] + #pragma warning disable CS1591 + None, + #pragma warning restore CS1591 + [EnumMember(Value = "readContent")] + #pragma warning disable CS1591 + ReadContent, + #pragma warning restore CS1591 + [EnumMember(Value = "writeContent")] + #pragma warning disable CS1591 + WriteContent, + #pragma warning restore CS1591 + [EnumMember(Value = "manageContent")] + #pragma warning disable CS1591 + ManageContent, + #pragma warning restore CS1591 + [EnumMember(Value = "create")] + #pragma warning disable CS1591 + Create, + #pragma warning restore CS1591 + [EnumMember(Value = "delete")] + #pragma warning disable CS1591 + Delete, + #pragma warning restore CS1591 + [EnumMember(Value = "read")] + #pragma warning disable CS1591 + Read, + #pragma warning restore CS1591 + [EnumMember(Value = "write")] + #pragma warning disable CS1591 + Write, + #pragma warning restore CS1591 + [EnumMember(Value = "enumeratePermissions")] + #pragma warning disable CS1591 + EnumeratePermissions, + #pragma warning restore CS1591 + [EnumMember(Value = "addPermissions")] + #pragma warning disable CS1591 + AddPermissions, + #pragma warning restore CS1591 + [EnumMember(Value = "updatePermissions")] + #pragma warning disable CS1591 + UpdatePermissions, + #pragma warning restore CS1591 + [EnumMember(Value = "deletePermissions")] + #pragma warning disable CS1591 + DeletePermissions, + #pragma warning restore CS1591 + [EnumMember(Value = "deleteOwnPermission")] + #pragma warning disable CS1591 + DeleteOwnPermission, + #pragma warning restore CS1591 + [EnumMember(Value = "managePermissions")] + #pragma warning disable CS1591 + ManagePermissions, + #pragma warning restore CS1591 + [EnumMember(Value = "full")] + #pragma warning disable CS1591 + Full, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/FileStorageContainerTypeAppPermissionGrant.cs b/src/Microsoft.Graph/Generated/Models/FileStorageContainerTypeAppPermissionGrant.cs new file mode 100644 index 00000000000..138fe24b04f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/FileStorageContainerTypeAppPermissionGrant.cs @@ -0,0 +1,135 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class FileStorageContainerTypeAppPermissionGrant : 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); } + } + /// Application ID to which to set permissions. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? AppId + { + get { return BackingStore?.Get("appId"); } + set { BackingStore?.Set("appId", value); } + } +#nullable restore +#else + public string AppId + { + get { return BackingStore?.Get("appId"); } + set { BackingStore?.Set("appId", value); } + } +#endif + /// Allowed permissions when you use delegated tokens. The possible values are: none, readContent, writeContent, manageContent, create, delete, read, write, enumeratePermissions, addPermissions, updatePermissions, deletePermissions, deleteOwnPermission, managePermissions, full, unknownFutureValue. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ApplicationPermissions + { + get { return BackingStore?.Get?>("applicationPermissions"); } + set { BackingStore?.Set("applicationPermissions", value); } + } +#nullable restore +#else + public List ApplicationPermissions + { + get { return BackingStore?.Get>("applicationPermissions"); } + set { BackingStore?.Set("applicationPermissions", value); } + } +#endif + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// Allowed permissions when you use application tokens. The possible values are: none, readContent, writeContent, manageContent, create, delete, read, write, enumeratePermissions, addPermissions, updatePermissions, deletePermissions, deleteOwnPermission, managePermissions, full, unknownFutureValue. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? DelegatedPermissions + { + get { return BackingStore?.Get?>("delegatedPermissions"); } + set { BackingStore?.Set("delegatedPermissions", value); } + } +#nullable restore +#else + public List DelegatedPermissions + { + get { return BackingStore?.Get>("delegatedPermissions"); } + set { BackingStore?.Set("delegatedPermissions", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public FileStorageContainerTypeAppPermissionGrant() + { + 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.FileStorageContainerTypeAppPermissionGrant CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.FileStorageContainerTypeAppPermissionGrant(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "appId", n => { AppId = n.GetStringValue(); } }, + { "applicationPermissions", n => { ApplicationPermissions = n.GetCollectionOfEnumValues()?.AsList(); } }, + { "delegatedPermissions", n => { DelegatedPermissions = n.GetCollectionOfEnumValues()?.AsList(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("appId", AppId); + writer.WriteCollectionOfEnumValues("applicationPermissions", ApplicationPermissions); + writer.WriteCollectionOfEnumValues("delegatedPermissions", DelegatedPermissions); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/FileStorageContainerTypeAppPermissionGrantCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/FileStorageContainerTypeAppPermissionGrantCollectionResponse.cs new file mode 100644 index 00000000000..c3c2da39137 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/FileStorageContainerTypeAppPermissionGrantCollectionResponse.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 FileStorageContainerTypeAppPermissionGrantCollectionResponse : 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.FileStorageContainerTypeAppPermissionGrantCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.FileStorageContainerTypeAppPermissionGrantCollectionResponse(); + } + /// + /// 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.FileStorageContainerTypeAppPermissionGrant.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/FileStorageContainerTypeCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/FileStorageContainerTypeCollectionResponse.cs new file mode 100644 index 00000000000..9d5cc7da6f0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/FileStorageContainerTypeCollectionResponse.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 FileStorageContainerTypeCollectionResponse : 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.FileStorageContainerTypeCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.FileStorageContainerTypeCollectionResponse(); + } + /// + /// 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.FileStorageContainerType.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/FileStorageContainerTypeRegistration.cs b/src/Microsoft.Graph/Generated/Models/FileStorageContainerTypeRegistration.cs new file mode 100644 index 00000000000..7240b389cf4 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/FileStorageContainerTypeRegistration.cs @@ -0,0 +1,158 @@ +// +#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 FileStorageContainerTypeRegistration : global::Microsoft.Graph.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// Access privileges of applications on containers. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ApplicationPermissionGrants + { + get { return BackingStore?.Get?>("applicationPermissionGrants"); } + set { BackingStore?.Set("applicationPermissionGrants", value); } + } +#nullable restore +#else + public List ApplicationPermissionGrants + { + get { return BackingStore?.Get>("applicationPermissionGrants"); } + set { BackingStore?.Set("applicationPermissionGrants", value); } + } +#endif + /// The billingClassification property + public global::Microsoft.Graph.Models.FileStorageContainerBillingClassification? BillingClassification + { + get { return BackingStore?.Get("billingClassification"); } + set { BackingStore?.Set("billingClassification", value); } + } + /// The billingStatus property + public global::Microsoft.Graph.Models.FileStorageContainerBillingStatus? BillingStatus + { + get { return BackingStore?.Get("billingStatus"); } + set { BackingStore?.Set("billingStatus", value); } + } + /// Used in update scenarios for optimistic concurrency control. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Etag + { + get { return BackingStore?.Get("etag"); } + set { BackingStore?.Set("etag", value); } + } +#nullable restore +#else + public string Etag + { + get { return BackingStore?.Get("etag"); } + set { BackingStore?.Set("etag", value); } + } +#endif + /// The expiration date. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. + public DateTimeOffset? ExpirationDateTime + { + get { return BackingStore?.Get("expirationDateTime"); } + set { BackingStore?.Set("expirationDateTime", value); } + } + /// The name of the fileStorageContainerTypeRegistration. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Name + { + get { return BackingStore?.Get("name"); } + set { BackingStore?.Set("name", value); } + } +#nullable restore +#else + public string Name + { + get { return BackingStore?.Get("name"); } + set { BackingStore?.Set("name", value); } + } +#endif + /// ID of the application that owns the fileStorageContainerType. Read-only. + public Guid? OwningAppId + { + get { return BackingStore?.Get("owningAppId"); } + set { BackingStore?.Set("owningAppId", value); } + } + /// The registration date. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. + public DateTimeOffset? RegisteredDateTime + { + get { return BackingStore?.Get("registeredDateTime"); } + set { BackingStore?.Set("registeredDateTime", value); } + } + /// The settings property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.FileStorageContainerTypeRegistrationSettings? Settings + { + get { return BackingStore?.Get("settings"); } + set { BackingStore?.Set("settings", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.FileStorageContainerTypeRegistrationSettings Settings + { + get { return BackingStore?.Get("settings"); } + set { BackingStore?.Set("settings", 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.FileStorageContainerTypeRegistration CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.FileStorageContainerTypeRegistration(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "applicationPermissionGrants", n => { ApplicationPermissionGrants = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.FileStorageContainerTypeAppPermissionGrant.CreateFromDiscriminatorValue)?.AsList(); } }, + { "billingClassification", n => { BillingClassification = n.GetEnumValue(); } }, + { "billingStatus", n => { BillingStatus = n.GetEnumValue(); } }, + { "etag", n => { Etag = n.GetStringValue(); } }, + { "expirationDateTime", n => { ExpirationDateTime = n.GetDateTimeOffsetValue(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "owningAppId", n => { OwningAppId = n.GetGuidValue(); } }, + { "registeredDateTime", n => { RegisteredDateTime = n.GetDateTimeOffsetValue(); } }, + { "settings", n => { Settings = n.GetObjectValue(global::Microsoft.Graph.Models.FileStorageContainerTypeRegistrationSettings.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.WriteCollectionOfObjectValues("applicationPermissionGrants", ApplicationPermissionGrants); + writer.WriteEnumValue("billingClassification", BillingClassification); + writer.WriteEnumValue("billingStatus", BillingStatus); + writer.WriteStringValue("etag", Etag); + writer.WriteDateTimeOffsetValue("expirationDateTime", ExpirationDateTime); + writer.WriteStringValue("name", Name); + writer.WriteGuidValue("owningAppId", OwningAppId); + writer.WriteDateTimeOffsetValue("registeredDateTime", RegisteredDateTime); + writer.WriteObjectValue("settings", Settings); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/FileStorageContainerTypeRegistrationCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/FileStorageContainerTypeRegistrationCollectionResponse.cs new file mode 100644 index 00000000000..1f05a03e13c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/FileStorageContainerTypeRegistrationCollectionResponse.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 FileStorageContainerTypeRegistrationCollectionResponse : 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.FileStorageContainerTypeRegistrationCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.FileStorageContainerTypeRegistrationCollectionResponse(); + } + /// + /// 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.FileStorageContainerTypeRegistration.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/FileStorageContainerTypeRegistrationSettings.cs b/src/Microsoft.Graph/Generated/Models/FileStorageContainerTypeRegistrationSettings.cs new file mode 100644 index 00000000000..93e938b2776 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/FileStorageContainerTypeRegistrationSettings.cs @@ -0,0 +1,155 @@ +// +#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 FileStorageContainerTypeRegistrationSettings : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// Indicates whether items from containers are surfaced in experiences such as My Activity or Microsoft 365. + public bool? IsDiscoverabilityEnabled + { + get { return BackingStore?.Get("isDiscoverabilityEnabled"); } + set { BackingStore?.Set("isDiscoverabilityEnabled", value); } + } + /// Indicates whether item versioning is enabled. + public bool? IsItemVersioningEnabled + { + get { return BackingStore?.Get("isItemVersioningEnabled"); } + set { BackingStore?.Set("isItemVersioningEnabled", value); } + } + /// Indicates whether search is enabled. + public bool? IsSearchEnabled + { + get { return BackingStore?.Get("isSearchEnabled"); } + set { BackingStore?.Set("isSearchEnabled", value); } + } + /// Only the manager and owner can share files in the container if restricted sharing is enabled. + public bool? IsSharingRestricted + { + get { return BackingStore?.Get("isSharingRestricted"); } + set { BackingStore?.Set("isSharingRestricted", value); } + } + /// Maximum number of versions. Versioning must be enabled ('isItemVersioningEnabled'=true). + public long? ItemMajorVersionLimit + { + get { return BackingStore?.Get("itemMajorVersionLimit"); } + set { BackingStore?.Set("itemMajorVersionLimit", value); } + } + /// Controls maximum storage in bytes. + public long? MaxStoragePerContainerInBytes + { + get { return BackingStore?.Get("maxStoragePerContainerInBytes"); } + set { BackingStore?.Set("maxStoragePerContainerInBytes", 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 + /// Sharing capabilities permitted for containers. The possible values are: disabled, externalUserSharingOnly, externalUserAndGuestSharing, existingExternalUserSharingOnly, unknownFutureValue. Can always be updated. + public global::Microsoft.Graph.Models.SharingCapabilities? SharingCapability + { + get { return BackingStore?.Get("sharingCapability"); } + set { BackingStore?.Set("sharingCapability", value); } + } + /// Pattern used to redirect files. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? UrlTemplate + { + get { return BackingStore?.Get("urlTemplate"); } + set { BackingStore?.Set("urlTemplate", value); } + } +#nullable restore +#else + public string UrlTemplate + { + get { return BackingStore?.Get("urlTemplate"); } + set { BackingStore?.Set("urlTemplate", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public FileStorageContainerTypeRegistrationSettings() + { + 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.FileStorageContainerTypeRegistrationSettings CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.FileStorageContainerTypeRegistrationSettings(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "isDiscoverabilityEnabled", n => { IsDiscoverabilityEnabled = n.GetBoolValue(); } }, + { "isItemVersioningEnabled", n => { IsItemVersioningEnabled = n.GetBoolValue(); } }, + { "isSearchEnabled", n => { IsSearchEnabled = n.GetBoolValue(); } }, + { "isSharingRestricted", n => { IsSharingRestricted = n.GetBoolValue(); } }, + { "itemMajorVersionLimit", n => { ItemMajorVersionLimit = n.GetLongValue(); } }, + { "maxStoragePerContainerInBytes", n => { MaxStoragePerContainerInBytes = n.GetLongValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "sharingCapability", n => { SharingCapability = n.GetEnumValue(); } }, + { "urlTemplate", n => { UrlTemplate = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteBoolValue("isDiscoverabilityEnabled", IsDiscoverabilityEnabled); + writer.WriteBoolValue("isItemVersioningEnabled", IsItemVersioningEnabled); + writer.WriteBoolValue("isSearchEnabled", IsSearchEnabled); + writer.WriteBoolValue("isSharingRestricted", IsSharingRestricted); + writer.WriteLongValue("itemMajorVersionLimit", ItemMajorVersionLimit); + writer.WriteLongValue("maxStoragePerContainerInBytes", MaxStoragePerContainerInBytes); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteEnumValue("sharingCapability", SharingCapability); + writer.WriteStringValue("urlTemplate", UrlTemplate); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/FileStorageContainerTypeSettings.cs b/src/Microsoft.Graph/Generated/Models/FileStorageContainerTypeSettings.cs new file mode 100644 index 00000000000..67cc232cba5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/FileStorageContainerTypeSettings.cs @@ -0,0 +1,163 @@ +// +#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 FileStorageContainerTypeSettings : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// A comma-separated list of settings that can be overridden in the consuming tenant. The possible values are: urlTemplate, isDiscoverabilityEnabled, isSearchEnabled, isItemVersioningEnabled, itemMajorVersionLimit, maxStoragePerContainerInBytes, unknownFutureValue. + public global::Microsoft.Graph.Models.FileStorageContainerTypeSettingsOverride? ConsumingTenantOverridables + { + get { return BackingStore?.Get("consumingTenantOverridables"); } + set { BackingStore?.Set("consumingTenantOverridables", value); } + } + /// Indicates whether items from containers are surfaced in experiences such as My Activity or Microsoft 365. + public bool? IsDiscoverabilityEnabled + { + get { return BackingStore?.Get("isDiscoverabilityEnabled"); } + set { BackingStore?.Set("isDiscoverabilityEnabled", value); } + } + /// Indicates whether item versioning is enabled. + public bool? IsItemVersioningEnabled + { + get { return BackingStore?.Get("isItemVersioningEnabled"); } + set { BackingStore?.Set("isItemVersioningEnabled", value); } + } + /// Indicates whether search is enabled. + public bool? IsSearchEnabled + { + get { return BackingStore?.Get("isSearchEnabled"); } + set { BackingStore?.Set("isSearchEnabled", value); } + } + /// Only the manager and owner can share files in the container if restricted sharing is enabled. + public bool? IsSharingRestricted + { + get { return BackingStore?.Get("isSharingRestricted"); } + set { BackingStore?.Set("isSharingRestricted", value); } + } + /// Maximum number of versions. Versioning must be enabled ('isItemVersioningEnabled'=true). + public long? ItemMajorVersionLimit + { + get { return BackingStore?.Get("itemMajorVersionLimit"); } + set { BackingStore?.Set("itemMajorVersionLimit", value); } + } + /// Controls maximum storage in bytes. + public long? MaxStoragePerContainerInBytes + { + get { return BackingStore?.Get("maxStoragePerContainerInBytes"); } + set { BackingStore?.Set("maxStoragePerContainerInBytes", 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 + /// Sharing capabilities permitted for containers. This value can always be overridden during registration if needed. The possible values are: disabled, externalUserSharingOnly, externalUserAndGuestSharing, existingExternalUserSharingOnly, unknownFutureValue. + public global::Microsoft.Graph.Models.SharingCapabilities? SharingCapability + { + get { return BackingStore?.Get("sharingCapability"); } + set { BackingStore?.Set("sharingCapability", value); } + } + /// Pattern used to redirect files. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? UrlTemplate + { + get { return BackingStore?.Get("urlTemplate"); } + set { BackingStore?.Set("urlTemplate", value); } + } +#nullable restore +#else + public string UrlTemplate + { + get { return BackingStore?.Get("urlTemplate"); } + set { BackingStore?.Set("urlTemplate", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public FileStorageContainerTypeSettings() + { + 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.FileStorageContainerTypeSettings CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.FileStorageContainerTypeSettings(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "consumingTenantOverridables", n => { ConsumingTenantOverridables = n.GetEnumValue(); } }, + { "isDiscoverabilityEnabled", n => { IsDiscoverabilityEnabled = n.GetBoolValue(); } }, + { "isItemVersioningEnabled", n => { IsItemVersioningEnabled = n.GetBoolValue(); } }, + { "isSearchEnabled", n => { IsSearchEnabled = n.GetBoolValue(); } }, + { "isSharingRestricted", n => { IsSharingRestricted = n.GetBoolValue(); } }, + { "itemMajorVersionLimit", n => { ItemMajorVersionLimit = n.GetLongValue(); } }, + { "maxStoragePerContainerInBytes", n => { MaxStoragePerContainerInBytes = n.GetLongValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "sharingCapability", n => { SharingCapability = n.GetEnumValue(); } }, + { "urlTemplate", n => { UrlTemplate = 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.WriteEnumValue("consumingTenantOverridables", ConsumingTenantOverridables); + writer.WriteBoolValue("isDiscoverabilityEnabled", IsDiscoverabilityEnabled); + writer.WriteBoolValue("isItemVersioningEnabled", IsItemVersioningEnabled); + writer.WriteBoolValue("isSearchEnabled", IsSearchEnabled); + writer.WriteBoolValue("isSharingRestricted", IsSharingRestricted); + writer.WriteLongValue("itemMajorVersionLimit", ItemMajorVersionLimit); + writer.WriteLongValue("maxStoragePerContainerInBytes", MaxStoragePerContainerInBytes); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteEnumValue("sharingCapability", SharingCapability); + writer.WriteStringValue("urlTemplate", UrlTemplate); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/FileStorageContainerTypeSettingsOverride.cs b/src/Microsoft.Graph/Generated/Models/FileStorageContainerTypeSettingsOverride.cs new file mode 100644 index 00000000000..9ddf2bbc030 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/FileStorageContainerTypeSettingsOverride.cs @@ -0,0 +1,41 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + [Flags] + #pragma warning disable CS1591 + public enum FileStorageContainerTypeSettingsOverride + #pragma warning restore CS1591 + { + [EnumMember(Value = "urlTemplate")] + #pragma warning disable CS1591 + UrlTemplate = 1, + #pragma warning restore CS1591 + [EnumMember(Value = "isDiscoverabilityEnabled")] + #pragma warning disable CS1591 + IsDiscoverabilityEnabled = 2, + #pragma warning restore CS1591 + [EnumMember(Value = "isSearchEnabled")] + #pragma warning disable CS1591 + IsSearchEnabled = 4, + #pragma warning restore CS1591 + [EnumMember(Value = "isItemVersioningEnabled")] + #pragma warning disable CS1591 + IsItemVersioningEnabled = 8, + #pragma warning restore CS1591 + [EnumMember(Value = "itemMajorVersionLimit")] + #pragma warning disable CS1591 + ItemMajorVersionLimit = 16, + #pragma warning restore CS1591 + [EnumMember(Value = "maxStoragePerContainerInBytes")] + #pragma warning disable CS1591 + MaxStoragePerContainerInBytes = 32, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue = 64, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/ListItem.cs b/src/Microsoft.Graph/Generated/Models/ListItem.cs index 49639c86642..38f2e7d0c0b 100644 --- a/src/Microsoft.Graph/Generated/Models/ListItem.cs +++ b/src/Microsoft.Graph/Generated/Models/ListItem.cs @@ -43,6 +43,22 @@ public partial class ListItem : global::Microsoft.Graph.Models.BaseItem, IParsab get { return BackingStore?.Get("contentType"); } set { BackingStore?.Set("contentType", value); } } +#endif + /// If present in the result of a delta enumeration, indicates that the item was deleted. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.Deleted? Deleted + { + get { return BackingStore?.Get("deleted"); } + set { BackingStore?.Set("deleted", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.Deleted Deleted + { + get { return BackingStore?.Get("deleted"); } + set { BackingStore?.Set("deleted", value); } + } #endif /// Version information for a document set version created by a user. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -151,6 +167,7 @@ public override IDictionary> GetFieldDeserializers() { { "analytics", n => { Analytics = n.GetObjectValue(global::Microsoft.Graph.Models.ItemAnalytics.CreateFromDiscriminatorValue); } }, { "contentType", n => { ContentType = n.GetObjectValue(global::Microsoft.Graph.Models.ContentTypeInfo.CreateFromDiscriminatorValue); } }, + { "deleted", n => { Deleted = n.GetObjectValue(global::Microsoft.Graph.Models.Deleted.CreateFromDiscriminatorValue); } }, { "documentSetVersions", n => { DocumentSetVersions = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.DocumentSetVersion.CreateFromDiscriminatorValue)?.AsList(); } }, { "driveItem", n => { DriveItem = n.GetObjectValue(global::Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue); } }, { "fields", n => { Fields = n.GetObjectValue(global::Microsoft.Graph.Models.FieldValueSet.CreateFromDiscriminatorValue); } }, @@ -168,6 +185,7 @@ public override void Serialize(ISerializationWriter writer) base.Serialize(writer); writer.WriteObjectValue("analytics", Analytics); writer.WriteObjectValue("contentType", ContentType); + writer.WriteObjectValue("deleted", Deleted); writer.WriteCollectionOfObjectValues("documentSetVersions", DocumentSetVersions); writer.WriteObjectValue("driveItem", DriveItem); writer.WriteObjectValue("fields", Fields); diff --git a/src/Microsoft.Graph/Generated/Models/MaxWorkLocationDetails.cs b/src/Microsoft.Graph/Generated/Models/MaxWorkLocationDetails.cs new file mode 100644 index 00000000000..c47f72c9d8d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/MaxWorkLocationDetails.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 MaxWorkLocationDetails + #pragma warning restore CS1591 + { + [EnumMember(Value = "unknown")] + #pragma warning disable CS1591 + Unknown, + #pragma warning restore CS1591 + [EnumMember(Value = "none")] + #pragma warning disable CS1591 + None, + #pragma warning restore CS1591 + [EnumMember(Value = "approximate")] + #pragma warning disable CS1591 + Approximate, + #pragma warning restore CS1591 + [EnumMember(Value = "specific")] + #pragma warning disable CS1591 + Specific, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/MeetingNote.cs b/src/Microsoft.Graph/Generated/Models/MeetingNote.cs new file mode 100644 index 00000000000..6beb38b99b8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/MeetingNote.cs @@ -0,0 +1,135 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class MeetingNote : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The subpoints property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Subpoints + { + get { return BackingStore?.Get?>("subpoints"); } + set { BackingStore?.Set("subpoints", value); } + } +#nullable restore +#else + public List Subpoints + { + get { return BackingStore?.Get>("subpoints"); } + set { BackingStore?.Set("subpoints", value); } + } +#endif + /// The text property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Text + { + get { return BackingStore?.Get("text"); } + set { BackingStore?.Set("text", value); } + } +#nullable restore +#else + public string Text + { + get { return BackingStore?.Get("text"); } + set { BackingStore?.Set("text", value); } + } +#endif + /// The title property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Title + { + get { return BackingStore?.Get("title"); } + set { BackingStore?.Set("title", value); } + } +#nullable restore +#else + public string Title + { + get { return BackingStore?.Get("title"); } + set { BackingStore?.Set("title", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public MeetingNote() + { + 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.MeetingNote CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.MeetingNote(); + } + /// + /// 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(); } }, + { "subpoints", n => { Subpoints = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.MeetingNoteSubpoint.CreateFromDiscriminatorValue)?.AsList(); } }, + { "text", n => { Text = n.GetStringValue(); } }, + { "title", n => { Title = 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.WriteCollectionOfObjectValues("subpoints", Subpoints); + writer.WriteStringValue("text", Text); + writer.WriteStringValue("title", Title); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/MeetingNoteSubpoint.cs b/src/Microsoft.Graph/Generated/Models/MeetingNoteSubpoint.cs new file mode 100644 index 00000000000..a2f19399200 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/MeetingNoteSubpoint.cs @@ -0,0 +1,117 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class MeetingNoteSubpoint : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The text property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Text + { + get { return BackingStore?.Get("text"); } + set { BackingStore?.Set("text", value); } + } +#nullable restore +#else + public string Text + { + get { return BackingStore?.Get("text"); } + set { BackingStore?.Set("text", value); } + } +#endif + /// The title property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Title + { + get { return BackingStore?.Get("title"); } + set { BackingStore?.Set("title", value); } + } +#nullable restore +#else + public string Title + { + get { return BackingStore?.Get("title"); } + set { BackingStore?.Set("title", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public MeetingNoteSubpoint() + { + 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.MeetingNoteSubpoint CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.MeetingNoteSubpoint(); + } + /// + /// 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(); } }, + { "text", n => { Text = n.GetStringValue(); } }, + { "title", n => { Title = 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("text", Text); + writer.WriteStringValue("title", Title); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/MentionEvent.cs b/src/Microsoft.Graph/Generated/Models/MentionEvent.cs new file mode 100644 index 00000000000..054f8b3e5f1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/MentionEvent.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class MentionEvent : 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 eventDateTime property + public DateTimeOffset? EventDateTime + { + get { return BackingStore?.Get("eventDateTime"); } + set { BackingStore?.Set("eventDateTime", 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 speaker property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.IdentitySet? Speaker + { + get { return BackingStore?.Get("speaker"); } + set { BackingStore?.Set("speaker", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.IdentitySet Speaker + { + get { return BackingStore?.Get("speaker"); } + set { BackingStore?.Set("speaker", value); } + } +#endif + /// The transcriptUtterance property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? TranscriptUtterance + { + get { return BackingStore?.Get("transcriptUtterance"); } + set { BackingStore?.Set("transcriptUtterance", value); } + } +#nullable restore +#else + public string TranscriptUtterance + { + get { return BackingStore?.Get("transcriptUtterance"); } + set { BackingStore?.Set("transcriptUtterance", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public MentionEvent() + { + 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.MentionEvent CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.MentionEvent(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "eventDateTime", n => { EventDateTime = n.GetDateTimeOffsetValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "speaker", n => { Speaker = n.GetObjectValue(global::Microsoft.Graph.Models.IdentitySet.CreateFromDiscriminatorValue); } }, + { "transcriptUtterance", n => { TranscriptUtterance = 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.WriteDateTimeOffsetValue("eventDateTime", EventDateTime); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteObjectValue("speaker", Speaker); + writer.WriteStringValue("transcriptUtterance", TranscriptUtterance); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/OnlineMeetingBase.cs b/src/Microsoft.Graph/Generated/Models/OnlineMeetingBase.cs index 7f35ba2edf5..e42d5a13ec4 100644 --- a/src/Microsoft.Graph/Generated/Models/OnlineMeetingBase.cs +++ b/src/Microsoft.Graph/Generated/Models/OnlineMeetingBase.cs @@ -160,6 +160,12 @@ public bool? AllowWhiteboard set { BackingStore?.Set("chatRestrictions", value); } } #endif + /// Indicates the date and time when the meeting resource expires. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + public DateTimeOffset? ExpiryDateTime + { + get { return BackingStore?.Get("expiryDateTime"); } + set { BackingStore?.Set("expiryDateTime", value); } + } /// Indicates whether end-to-end encryption (E2EE) is enabled for the online meeting. public bool? IsEndToEndEncryptionEnabled { @@ -235,6 +241,38 @@ public string JoinWebUrl get { return BackingStore?.Get("lobbyBypassSettings"); } set { BackingStore?.Set("lobbyBypassSettings", value); } } +#endif + /// Provides the URL to the Teams meeting options page for the specified meeting. This link allows only the organizer to configure meeting settings. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? MeetingOptionsWebUrl + { + get { return BackingStore?.Get("meetingOptionsWebUrl"); } + set { BackingStore?.Set("meetingOptionsWebUrl", value); } + } +#nullable restore +#else + public string MeetingOptionsWebUrl + { + get { return BackingStore?.Get("meetingOptionsWebUrl"); } + set { BackingStore?.Set("meetingOptionsWebUrl", value); } + } +#endif + /// Specifies the spoken language used during the meeting for recording and transcription purposes. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? MeetingSpokenLanguageTag + { + get { return BackingStore?.Get("meetingSpokenLanguageTag"); } + set { BackingStore?.Set("meetingSpokenLanguageTag", value); } + } +#nullable restore +#else + public string MeetingSpokenLanguageTag + { + get { return BackingStore?.Get("meetingSpokenLanguageTag"); } + set { BackingStore?.Set("meetingSpokenLanguageTag", value); } + } #endif /// Indicates whether to record the meeting automatically. public bool? RecordAutomatically @@ -242,6 +280,22 @@ public bool? RecordAutomatically get { return BackingStore?.Get("recordAutomatically"); } set { BackingStore?.Set("recordAutomatically", value); } } + /// Specifies the sensitivity label applied to the Teams meeting. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.OnlineMeetingSensitivityLabelAssignment? SensitivityLabelAssignment + { + get { return BackingStore?.Get("sensitivityLabelAssignment"); } + set { BackingStore?.Set("sensitivityLabelAssignment", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.OnlineMeetingSensitivityLabelAssignment SensitivityLabelAssignment + { + get { return BackingStore?.Get("sensitivityLabelAssignment"); } + set { BackingStore?.Set("sensitivityLabelAssignment", value); } + } +#endif /// Specifies whether meeting chat history is shared with participants. The possible values are: all, none, unknownFutureValue. public global::Microsoft.Graph.Models.MeetingChatHistoryDefaultMode? ShareMeetingChatHistoryDefault { @@ -338,13 +392,17 @@ public override IDictionary> GetFieldDeserializers() { "audioConferencing", n => { AudioConferencing = n.GetObjectValue(global::Microsoft.Graph.Models.AudioConferencing.CreateFromDiscriminatorValue); } }, { "chatInfo", n => { ChatInfo = n.GetObjectValue(global::Microsoft.Graph.Models.ChatInfo.CreateFromDiscriminatorValue); } }, { "chatRestrictions", n => { ChatRestrictions = n.GetObjectValue(global::Microsoft.Graph.Models.ChatRestrictions.CreateFromDiscriminatorValue); } }, + { "expiryDateTime", n => { ExpiryDateTime = n.GetDateTimeOffsetValue(); } }, { "isEndToEndEncryptionEnabled", n => { IsEndToEndEncryptionEnabled = n.GetBoolValue(); } }, { "isEntryExitAnnounced", n => { IsEntryExitAnnounced = n.GetBoolValue(); } }, { "joinInformation", n => { JoinInformation = n.GetObjectValue(global::Microsoft.Graph.Models.ItemBody.CreateFromDiscriminatorValue); } }, { "joinMeetingIdSettings", n => { JoinMeetingIdSettings = n.GetObjectValue(global::Microsoft.Graph.Models.JoinMeetingIdSettings.CreateFromDiscriminatorValue); } }, { "joinWebUrl", n => { JoinWebUrl = n.GetStringValue(); } }, { "lobbyBypassSettings", n => { LobbyBypassSettings = n.GetObjectValue(global::Microsoft.Graph.Models.LobbyBypassSettings.CreateFromDiscriminatorValue); } }, + { "meetingOptionsWebUrl", n => { MeetingOptionsWebUrl = n.GetStringValue(); } }, + { "meetingSpokenLanguageTag", n => { MeetingSpokenLanguageTag = n.GetStringValue(); } }, { "recordAutomatically", n => { RecordAutomatically = n.GetBoolValue(); } }, + { "sensitivityLabelAssignment", n => { SensitivityLabelAssignment = n.GetObjectValue(global::Microsoft.Graph.Models.OnlineMeetingSensitivityLabelAssignment.CreateFromDiscriminatorValue); } }, { "shareMeetingChatHistoryDefault", n => { ShareMeetingChatHistoryDefault = n.GetEnumValue(); } }, { "subject", n => { Subject = n.GetStringValue(); } }, { "videoTeleconferenceId", n => { VideoTeleconferenceId = n.GetStringValue(); } }, @@ -377,13 +435,17 @@ public override void Serialize(ISerializationWriter writer) writer.WriteObjectValue("audioConferencing", AudioConferencing); writer.WriteObjectValue("chatInfo", ChatInfo); writer.WriteObjectValue("chatRestrictions", ChatRestrictions); + writer.WriteDateTimeOffsetValue("expiryDateTime", ExpiryDateTime); writer.WriteBoolValue("isEndToEndEncryptionEnabled", IsEndToEndEncryptionEnabled); writer.WriteBoolValue("isEntryExitAnnounced", IsEntryExitAnnounced); writer.WriteObjectValue("joinInformation", JoinInformation); writer.WriteObjectValue("joinMeetingIdSettings", JoinMeetingIdSettings); writer.WriteStringValue("joinWebUrl", JoinWebUrl); writer.WriteObjectValue("lobbyBypassSettings", LobbyBypassSettings); + writer.WriteStringValue("meetingOptionsWebUrl", MeetingOptionsWebUrl); + writer.WriteStringValue("meetingSpokenLanguageTag", MeetingSpokenLanguageTag); writer.WriteBoolValue("recordAutomatically", RecordAutomatically); + writer.WriteObjectValue("sensitivityLabelAssignment", SensitivityLabelAssignment); writer.WriteEnumValue("shareMeetingChatHistoryDefault", ShareMeetingChatHistoryDefault); writer.WriteStringValue("subject", Subject); writer.WriteStringValue("videoTeleconferenceId", VideoTeleconferenceId); diff --git a/src/Microsoft.Graph/Generated/Models/OnlineMeetingSensitivityLabelAssignment.cs b/src/Microsoft.Graph/Generated/Models/OnlineMeetingSensitivityLabelAssignment.cs new file mode 100644 index 00000000000..48cecf78734 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/OnlineMeetingSensitivityLabelAssignment.cs @@ -0,0 +1,99 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class OnlineMeetingSensitivityLabelAssignment : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The ID of the sensitivity label that is applied to the Teams meeting. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? SensitivityLabelId + { + get { return BackingStore?.Get("sensitivityLabelId"); } + set { BackingStore?.Set("sensitivityLabelId", value); } + } +#nullable restore +#else + public string SensitivityLabelId + { + get { return BackingStore?.Get("sensitivityLabelId"); } + set { BackingStore?.Set("sensitivityLabelId", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public OnlineMeetingSensitivityLabelAssignment() + { + 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.OnlineMeetingSensitivityLabelAssignment CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.OnlineMeetingSensitivityLabelAssignment(); + } + /// + /// 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(); } }, + { "sensitivityLabelId", n => { SensitivityLabelId = 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("sensitivityLabelId", SensitivityLabelId); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/PlaceFeatureEnablement.cs b/src/Microsoft.Graph/Generated/Models/PlaceFeatureEnablement.cs new file mode 100644 index 00000000000..3adf3841325 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/PlaceFeatureEnablement.cs @@ -0,0 +1,28 @@ +// +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 PlaceFeatureEnablement + #pragma warning restore CS1591 + { + [EnumMember(Value = "unknown")] + #pragma warning disable CS1591 + Unknown, + #pragma warning restore CS1591 + [EnumMember(Value = "enabled")] + #pragma warning disable CS1591 + Enabled, + #pragma warning restore CS1591 + [EnumMember(Value = "disabled")] + #pragma warning disable CS1591 + Disabled, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/PlaceMode.cs b/src/Microsoft.Graph/Generated/Models/PlaceMode.cs index 59ac52223a7..40174c14393 100644 --- a/src/Microsoft.Graph/Generated/Models/PlaceMode.cs +++ b/src/Microsoft.Graph/Generated/Models/PlaceMode.cs @@ -59,6 +59,7 @@ public PlaceMode() "#microsoft.graph.assignedPlaceMode" => new global::Microsoft.Graph.Models.AssignedPlaceMode(), "#microsoft.graph.dropInPlaceMode" => new global::Microsoft.Graph.Models.DropInPlaceMode(), "#microsoft.graph.reservablePlaceMode" => new global::Microsoft.Graph.Models.ReservablePlaceMode(), + "#microsoft.graph.unavailablePlaceMode" => new global::Microsoft.Graph.Models.UnavailablePlaceMode(), _ => new global::Microsoft.Graph.Models.PlaceMode(), }; } diff --git a/src/Microsoft.Graph/Generated/Models/Presence.cs b/src/Microsoft.Graph/Generated/Models/Presence.cs index 4302e953208..8ff02c41e09 100644 --- a/src/Microsoft.Graph/Generated/Models/Presence.cs +++ b/src/Microsoft.Graph/Generated/Models/Presence.cs @@ -91,6 +91,22 @@ public string SequenceNumber get { return BackingStore?.Get("statusMessage"); } set { BackingStore?.Set("statusMessage", value); } } +#endif + /// Represents the user’s aggregated work location state. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.UserWorkLocation? WorkLocation + { + get { return BackingStore?.Get("workLocation"); } + set { BackingStore?.Set("workLocation", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.UserWorkLocation WorkLocation + { + get { return BackingStore?.Get("workLocation"); } + set { BackingStore?.Set("workLocation", value); } + } #endif /// /// Creates a new instance of the appropriate class based on discriminator value @@ -115,6 +131,7 @@ public override IDictionary> GetFieldDeserializers() { "outOfOfficeSettings", n => { OutOfOfficeSettings = n.GetObjectValue(global::Microsoft.Graph.Models.OutOfOfficeSettings.CreateFromDiscriminatorValue); } }, { "sequenceNumber", n => { SequenceNumber = n.GetStringValue(); } }, { "statusMessage", n => { StatusMessage = n.GetObjectValue(global::Microsoft.Graph.Models.PresenceStatusMessage.CreateFromDiscriminatorValue); } }, + { "workLocation", n => { WorkLocation = n.GetObjectValue(global::Microsoft.Graph.Models.UserWorkLocation.CreateFromDiscriminatorValue); } }, }; } /// @@ -129,6 +146,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteStringValue("availability", Availability); writer.WriteObjectValue("outOfOfficeSettings", OutOfOfficeSettings); writer.WriteObjectValue("statusMessage", StatusMessage); + writer.WriteObjectValue("workLocation", WorkLocation); } } } diff --git a/src/Microsoft.Graph/Generated/Models/RestorePointSearchResult.cs b/src/Microsoft.Graph/Generated/Models/RestorePointSearchResult.cs index 81790f85d52..808339451fd 100644 --- a/src/Microsoft.Graph/Generated/Models/RestorePointSearchResult.cs +++ b/src/Microsoft.Graph/Generated/Models/RestorePointSearchResult.cs @@ -19,7 +19,7 @@ public IDictionary AdditionalData get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } set { BackingStore.Set("AdditionalData", value); } } - /// Total number of artifacts restored. + /// Total number of mailbox items that can be restored for a granular restore session. public int? ArtifactHitCount { get { return BackingStore?.Get("artifactHitCount"); } diff --git a/src/Microsoft.Graph/Generated/Models/Room.cs b/src/Microsoft.Graph/Generated/Models/Room.cs index 9ddc19989c3..f0c7d5f2900 100644 --- a/src/Microsoft.Graph/Generated/Models/Room.cs +++ b/src/Microsoft.Graph/Generated/Models/Room.cs @@ -126,6 +126,28 @@ public string Nickname set { BackingStore?.Set("nickname", value); } } #endif + /// An alternative immutable unique identifier of the room. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? PlaceId + { + get { return BackingStore?.Get("placeId"); } + set { BackingStore?.Set("placeId", value); } + } +#nullable restore +#else + public string PlaceId + { + get { return BackingStore?.Get("placeId"); } + set { BackingStore?.Set("placeId", value); } + } +#endif + /// The teamsEnabledState property + public global::Microsoft.Graph.Models.PlaceFeatureEnablement? TeamsEnabledState + { + get { return BackingStore?.Get("teamsEnabledState"); } + set { BackingStore?.Set("teamsEnabledState", value); } + } /// Specifies the name of the video device in the room. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -176,6 +198,8 @@ public override IDictionary> GetFieldDeserializers() { "floorLabel", n => { FloorLabel = n.GetStringValue(); } }, { "floorNumber", n => { FloorNumber = n.GetIntValue(); } }, { "nickname", n => { Nickname = n.GetStringValue(); } }, + { "placeId", n => { PlaceId = n.GetStringValue(); } }, + { "teamsEnabledState", n => { TeamsEnabledState = n.GetEnumValue(); } }, { "videoDeviceName", n => { VideoDeviceName = n.GetStringValue(); } }, }; } @@ -196,6 +220,8 @@ public override void Serialize(ISerializationWriter writer) writer.WriteStringValue("floorLabel", FloorLabel); writer.WriteIntValue("floorNumber", FloorNumber); writer.WriteStringValue("nickname", Nickname); + writer.WriteStringValue("placeId", PlaceId); + writer.WriteEnumValue("teamsEnabledState", TeamsEnabledState); writer.WriteStringValue("videoDeviceName", VideoDeviceName); } } diff --git a/src/Microsoft.Graph/Generated/Models/Security/ActiveDirectoryDomainEvidence.cs b/src/Microsoft.Graph/Generated/Models/Security/ActiveDirectoryDomainEvidence.cs new file mode 100644 index 00000000000..63f9b24906a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/ActiveDirectoryDomainEvidence.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.Security +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ActiveDirectoryDomainEvidence : global::Microsoft.Graph.Models.Security.AlertEvidence, IParsable + #pragma warning restore CS1591 + { + /// The activeDirectoryDomainName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ActiveDirectoryDomainName + { + get { return BackingStore?.Get("activeDirectoryDomainName"); } + set { BackingStore?.Set("activeDirectoryDomainName", value); } + } +#nullable restore +#else + public string ActiveDirectoryDomainName + { + get { return BackingStore?.Get("activeDirectoryDomainName"); } + set { BackingStore?.Set("activeDirectoryDomainName", value); } + } +#endif + /// The trustedDomains property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? TrustedDomains + { + get { return BackingStore?.Get?>("trustedDomains"); } + set { BackingStore?.Set("trustedDomains", value); } + } +#nullable restore +#else + public List TrustedDomains + { + get { return BackingStore?.Get>("trustedDomains"); } + set { BackingStore?.Set("trustedDomains", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ActiveDirectoryDomainEvidence() : base() + { + OdataType = "#microsoft.graph.security.activeDirectoryDomainEvidence"; + } + /// + /// 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.Security.ActiveDirectoryDomainEvidence CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.Security.ActiveDirectoryDomainEvidence(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "activeDirectoryDomainName", n => { ActiveDirectoryDomainName = n.GetStringValue(); } }, + { "trustedDomains", n => { TrustedDomains = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.Security.ActiveDirectoryDomainEvidence.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("activeDirectoryDomainName", ActiveDirectoryDomainName); + writer.WriteCollectionOfObjectValues("trustedDomains", TrustedDomains); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/AlertEvidence.cs b/src/Microsoft.Graph/Generated/Models/Security/AlertEvidence.cs index 07e30967d71..cdbbb7e9478 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/AlertEvidence.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/AlertEvidence.cs @@ -138,6 +138,7 @@ public AlertEvidence() var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); return mappingValue switch { + "#microsoft.graph.security.activeDirectoryDomainEvidence" => new global::Microsoft.Graph.Models.Security.ActiveDirectoryDomainEvidence(), "#microsoft.graph.security.aiAgentEvidence" => new global::Microsoft.Graph.Models.Security.AiAgentEvidence(), "#microsoft.graph.security.amazonResourceEvidence" => new global::Microsoft.Graph.Models.Security.AmazonResourceEvidence(), "#microsoft.graph.security.analyzedMessageEvidence" => new global::Microsoft.Graph.Models.Security.AnalyzedMessageEvidence(), diff --git a/src/Microsoft.Graph/Generated/Models/Security/DeviceEvidence.cs b/src/Microsoft.Graph/Generated/Models/Security/DeviceEvidence.cs index 30a7ab2fed4..f1268331926 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/DeviceEvidence.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/DeviceEvidence.cs @@ -28,7 +28,7 @@ public string AzureAdDeviceId set { BackingStore?.Set("azureAdDeviceId", value); } } #endif - /// State of the Defender AntiMalware engine. The possible values are: notReporting, disabled, notUpdated, updated, unknown, notSupported, unknownFutureValue. + /// State of the Defender anti-malware engine. The possible values are: notReporting, disabled, notUpdated, updated, unknown, notSupported, unknownFutureValue. public global::Microsoft.Graph.Models.Security.DefenderAvStatus? DefenderAvStatus { get { return BackingStore?.Get("defenderAvStatus"); } @@ -239,6 +239,22 @@ public string RbacGroupName get { return BackingStore?.Get("rbacGroupName"); } set { BackingStore?.Set("rbacGroupName", value); } } +#endif + /// Information on resource access attempts made by the user account. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ResourceAccessEvents + { + get { return BackingStore?.Get?>("resourceAccessEvents"); } + set { BackingStore?.Set("resourceAccessEvents", value); } + } +#nullable restore +#else + public List ResourceAccessEvents + { + get { return BackingStore?.Get>("resourceAccessEvents"); } + set { BackingStore?.Set("resourceAccessEvents", value); } + } #endif /// Risk score as evaluated by Microsoft Defender for Endpoint. The possible values are: none, informational, low, medium, high, unknownFutureValue. public global::Microsoft.Graph.Models.Security.DeviceRiskScore? RiskScore @@ -321,6 +337,7 @@ public override IDictionary> GetFieldDeserializers() { "osPlatform", n => { OsPlatform = n.GetStringValue(); } }, { "rbacGroupId", n => { RbacGroupId = n.GetIntValue(); } }, { "rbacGroupName", n => { RbacGroupName = n.GetStringValue(); } }, + { "resourceAccessEvents", n => { ResourceAccessEvents = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.Security.ResourceAccessEvent.CreateFromDiscriminatorValue)?.AsList(); } }, { "riskScore", n => { RiskScore = n.GetEnumValue(); } }, { "version", n => { Version = n.GetStringValue(); } }, { "vmMetadata", n => { VmMetadata = n.GetObjectValue(global::Microsoft.Graph.Models.Security.VmMetadata.CreateFromDiscriminatorValue); } }, @@ -352,6 +369,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteStringValue("osPlatform", OsPlatform); writer.WriteIntValue("rbacGroupId", RbacGroupId); writer.WriteStringValue("rbacGroupName", RbacGroupName); + writer.WriteCollectionOfObjectValues("resourceAccessEvents", ResourceAccessEvents); writer.WriteEnumValue("riskScore", RiskScore); writer.WriteStringValue("version", Version); writer.WriteObjectValue("vmMetadata", VmMetadata); diff --git a/src/Microsoft.Graph/Generated/Models/Security/EdiscoveryCase.cs b/src/Microsoft.Graph/Generated/Models/Security/EdiscoveryCase.cs index bcd7e81061d..3946bded096 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/EdiscoveryCase.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/EdiscoveryCase.cs @@ -12,6 +12,22 @@ namespace Microsoft.Graph.Models.Security public partial class EdiscoveryCase : global::Microsoft.Graph.Models.Security.Case, IParsable #pragma warning restore CS1591 { + /// Represents members of an eDiscovery case. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? CaseMembers + { + get { return BackingStore?.Get?>("caseMembers"); } + set { BackingStore?.Set("caseMembers", value); } + } +#nullable restore +#else + public List CaseMembers + { + get { return BackingStore?.Get>("caseMembers"); } + set { BackingStore?.Set("caseMembers", value); } + } +#endif /// The user who closed the case. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -187,6 +203,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { + { "caseMembers", n => { CaseMembers = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.Security.EdiscoveryCaseMember.CreateFromDiscriminatorValue)?.AsList(); } }, { "closedBy", n => { ClosedBy = n.GetObjectValue(global::Microsoft.Graph.Models.IdentitySet.CreateFromDiscriminatorValue); } }, { "closedDateTime", n => { ClosedDateTime = n.GetDateTimeOffsetValue(); } }, { "custodians", n => { Custodians = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.Security.EdiscoveryCustodian.CreateFromDiscriminatorValue)?.AsList(); } }, @@ -207,6 +224,7 @@ public override void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); + writer.WriteCollectionOfObjectValues("caseMembers", CaseMembers); writer.WriteObjectValue("closedBy", ClosedBy); writer.WriteDateTimeOffsetValue("closedDateTime", ClosedDateTime); writer.WriteCollectionOfObjectValues("custodians", Custodians); diff --git a/src/Microsoft.Graph/Generated/Models/Security/EdiscoveryCaseMember.cs b/src/Microsoft.Graph/Generated/Models/Security/EdiscoveryCaseMember.cs new file mode 100644 index 00000000000..a78216fcc54 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/EdiscoveryCaseMember.cs @@ -0,0 +1,90 @@ +// +#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.Security +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class EdiscoveryCaseMember : global::Microsoft.Graph.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The display name of the eDiscovery case member. Allowed only for case members of type roleGroup. +#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 + /// Specifies the recipient type of the eDiscovery case member. The possible values are: user, roleGroup, unknownFutureValue. + public global::Microsoft.Graph.Models.Security.RecipientType? RecipientType + { + get { return BackingStore?.Get("recipientType"); } + set { BackingStore?.Set("recipientType", value); } + } + /// The smtp address of the eDiscovery case member. Allowed only for case members of type user. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? SmtpAddress + { + get { return BackingStore?.Get("smtpAddress"); } + set { BackingStore?.Set("smtpAddress", value); } + } +#nullable restore +#else + public string SmtpAddress + { + get { return BackingStore?.Get("smtpAddress"); } + set { BackingStore?.Set("smtpAddress", 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.Security.EdiscoveryCaseMember CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.Security.EdiscoveryCaseMember(); + } + /// + /// 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(); } }, + { "recipientType", n => { RecipientType = n.GetEnumValue(); } }, + { "smtpAddress", n => { SmtpAddress = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteEnumValue("recipientType", RecipientType); + writer.WriteStringValue("smtpAddress", SmtpAddress); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/EdiscoveryCaseMemberCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/Security/EdiscoveryCaseMemberCollectionResponse.cs new file mode 100644 index 00000000000..0bc3acb7b3d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/EdiscoveryCaseMemberCollectionResponse.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.Security +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class EdiscoveryCaseMemberCollectionResponse : 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.Security.EdiscoveryCaseMemberCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.Security.EdiscoveryCaseMemberCollectionResponse(); + } + /// + /// 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.Security.EdiscoveryCaseMember.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/MailboxConfigurationEvidence.cs b/src/Microsoft.Graph/Generated/Models/Security/MailboxConfigurationEvidence.cs index 891c81060ad..e5e34b7b9af 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/MailboxConfigurationEvidence.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/MailboxConfigurationEvidence.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Models.Security public partial class MailboxConfigurationEvidence : global::Microsoft.Graph.Models.Security.AlertEvidence, IParsable #pragma warning restore CS1591 { - /// The configurationId property + /// The unique identifier of the mailbox configuration. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? ConfigurationId @@ -28,13 +28,13 @@ public string ConfigurationId set { BackingStore?.Set("configurationId", value); } } #endif - /// The configurationType property + /// The type of mailbox configuration. The possible values are: mailForwardingRule, owaSettings, ewsSettings, mailDelegation, userInboxRule, unknownFutureValue. public global::Microsoft.Graph.Models.Security.MailboxConfigurationType? ConfigurationType { get { return BackingStore?.Get("configurationType"); } set { BackingStore?.Set("configurationType", value); } } - /// The displayName property + /// The display name of the mailbox. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DisplayName @@ -50,13 +50,13 @@ public string DisplayName set { BackingStore?.Set("displayName", value); } } #endif - /// The externalDirectoryObjectId property + /// The external directory object identifier of the mailbox. public Guid? ExternalDirectoryObjectId { get { return BackingStore?.Get("externalDirectoryObjectId"); } set { BackingStore?.Set("externalDirectoryObjectId", value); } } - /// The mailboxPrimaryAddress property + /// The primary email address of the mailbox. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? MailboxPrimaryAddress @@ -72,7 +72,7 @@ public string MailboxPrimaryAddress set { BackingStore?.Set("mailboxPrimaryAddress", value); } } #endif - /// The upn property + /// The user principal name (UPN) of the mailbox. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Upn diff --git a/src/Microsoft.Graph/Generated/Models/Security/RecipientType.cs b/src/Microsoft.Graph/Generated/Models/Security/RecipientType.cs new file mode 100644 index 00000000000..e6695db0647 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/RecipientType.cs @@ -0,0 +1,25 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models.Security +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + [Flags] + #pragma warning disable CS1591 + public enum RecipientType + #pragma warning restore CS1591 + { + [EnumMember(Value = "user")] + #pragma warning disable CS1591 + User = 1, + #pragma warning restore CS1591 + [EnumMember(Value = "roleGroup")] + #pragma warning disable CS1591 + RoleGroup = 2, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue = 4, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/SensitivityLabel.cs b/src/Microsoft.Graph/Generated/Models/SensitivityLabel.cs index 44052ae56ff..c272b14deef 100644 --- a/src/Microsoft.Graph/Generated/Models/SensitivityLabel.cs +++ b/src/Microsoft.Graph/Generated/Models/SensitivityLabel.cs @@ -66,6 +66,12 @@ public string DisplayName set { BackingStore?.Set("displayName", value); } } #endif + /// The hasProtection property + public bool? HasProtection + { + get { return BackingStore?.Get("hasProtection"); } + set { BackingStore?.Set("hasProtection", value); } + } /// The isDefault property public bool? IsDefault { @@ -192,6 +198,7 @@ public override IDictionary> GetFieldDeserializers() { "autoTooltip", n => { AutoTooltip = n.GetStringValue(); } }, { "description", n => { Description = n.GetStringValue(); } }, { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "hasProtection", n => { HasProtection = n.GetBoolValue(); } }, { "isDefault", n => { IsDefault = n.GetBoolValue(); } }, { "isEndpointProtectionEnabled", n => { IsEndpointProtectionEnabled = n.GetBoolValue(); } }, { "isScopedToUser", n => { IsScopedToUser = n.GetBoolValue(); } }, @@ -215,6 +222,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteStringValue("autoTooltip", AutoTooltip); writer.WriteStringValue("description", Description); writer.WriteStringValue("displayName", DisplayName); + writer.WriteBoolValue("hasProtection", HasProtection); writer.WriteBoolValue("isDefault", IsDefault); writer.WriteBoolValue("isEndpointProtectionEnabled", IsEndpointProtectionEnabled); writer.WriteBoolValue("isScopedToUser", IsScopedToUser); diff --git a/src/Microsoft.Graph/Generated/Models/SubjectSet.cs b/src/Microsoft.Graph/Generated/Models/SubjectSet.cs index ba7f799e977..2adf5428323 100644 --- a/src/Microsoft.Graph/Generated/Models/SubjectSet.cs +++ b/src/Microsoft.Graph/Generated/Models/SubjectSet.cs @@ -67,6 +67,7 @@ public SubjectSet() "#microsoft.graph.requestorManager" => new global::Microsoft.Graph.Models.RequestorManager(), "#microsoft.graph.singleServicePrincipal" => new global::Microsoft.Graph.Models.SingleServicePrincipal(), "#microsoft.graph.singleUser" => new global::Microsoft.Graph.Models.SingleUser(), + "#microsoft.graph.targetAgentIdentitySponsorsOrOwners" => new global::Microsoft.Graph.Models.TargetAgentIdentitySponsorsOrOwners(), "#microsoft.graph.targetApplicationOwners" => new global::Microsoft.Graph.Models.TargetApplicationOwners(), "#microsoft.graph.targetManager" => new global::Microsoft.Graph.Models.TargetManager(), "#microsoft.graph.targetUserSponsors" => new global::Microsoft.Graph.Models.TargetUserSponsors(), diff --git a/src/Microsoft.Graph/Generated/Models/TargetAgentIdentitySponsorsOrOwners.cs b/src/Microsoft.Graph/Generated/Models/TargetAgentIdentitySponsorsOrOwners.cs new file mode 100644 index 00000000000..0754b6dce29 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/TargetAgentIdentitySponsorsOrOwners.cs @@ -0,0 +1,53 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class TargetAgentIdentitySponsorsOrOwners : global::Microsoft.Graph.Models.SubjectSet, IParsable + #pragma warning restore CS1591 + { + /// + /// Instantiates a new and sets the default values. + /// + public TargetAgentIdentitySponsorsOrOwners() : base() + { + OdataType = "#microsoft.graph.targetAgentIdentitySponsorsOrOwners"; + } + /// + /// 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.TargetAgentIdentitySponsorsOrOwners CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.TargetAgentIdentitySponsorsOrOwners(); + } + /// + /// 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/TeamsAdministration/AccountType.cs b/src/Microsoft.Graph/Generated/Models/TeamsAdministration/AccountType.cs new file mode 100644 index 00000000000..cd58928306d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/TeamsAdministration/AccountType.cs @@ -0,0 +1,40 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models.TeamsAdministration +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum AccountType + #pragma warning restore CS1591 + { + [EnumMember(Value = "user")] + #pragma warning disable CS1591 + User, + #pragma warning restore CS1591 + [EnumMember(Value = "resourceAccount")] + #pragma warning disable CS1591 + ResourceAccount, + #pragma warning restore CS1591 + [EnumMember(Value = "guest")] + #pragma warning disable CS1591 + Guest, + #pragma warning restore CS1591 + [EnumMember(Value = "sfbOnPremUser")] + #pragma warning disable CS1591 + SfbOnPremUser, + #pragma warning restore CS1591 + [EnumMember(Value = "unknown")] + #pragma warning disable CS1591 + Unknown, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + [EnumMember(Value = "ineligibleUser")] + #pragma warning disable CS1591 + IneligibleUser, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/TeamsAdministration/AssignedTelephoneNumber.cs b/src/Microsoft.Graph/Generated/Models/TeamsAdministration/AssignedTelephoneNumber.cs new file mode 100644 index 00000000000..e1d8448ad8c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/TeamsAdministration/AssignedTelephoneNumber.cs @@ -0,0 +1,107 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models.TeamsAdministration +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AssignedTelephoneNumber : 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 assignmentCategory property + public global::Microsoft.Graph.Models.TeamsAdministration.AssignmentCategory? AssignmentCategory + { + get { return BackingStore?.Get("assignmentCategory"); } + set { BackingStore?.Set("assignmentCategory", 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 assigned phone number. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? TelephoneNumber + { + get { return BackingStore?.Get("telephoneNumber"); } + set { BackingStore?.Set("telephoneNumber", value); } + } +#nullable restore +#else + public string TelephoneNumber + { + get { return BackingStore?.Get("telephoneNumber"); } + set { BackingStore?.Set("telephoneNumber", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public AssignedTelephoneNumber() + { + 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.TeamsAdministration.AssignedTelephoneNumber CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.TeamsAdministration.AssignedTelephoneNumber(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "assignmentCategory", n => { AssignmentCategory = n.GetEnumValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "telephoneNumber", n => { TelephoneNumber = 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.WriteEnumValue("assignmentCategory", AssignmentCategory); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteStringValue("telephoneNumber", TelephoneNumber); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/TeamsAdministration/AssignmentCategory.cs b/src/Microsoft.Graph/Generated/Models/TeamsAdministration/AssignmentCategory.cs new file mode 100644 index 00000000000..83045e8d95f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/TeamsAdministration/AssignmentCategory.cs @@ -0,0 +1,28 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models.TeamsAdministration +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum AssignmentCategory + #pragma warning restore CS1591 + { + [EnumMember(Value = "primary")] + #pragma warning disable CS1591 + Primary, + #pragma warning restore CS1591 + [EnumMember(Value = "private")] + #pragma warning disable CS1591 + Private, + #pragma warning restore CS1591 + [EnumMember(Value = "alternate")] + #pragma warning disable CS1591 + Alternate, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/TeamsAdministration/AssignmentType.cs b/src/Microsoft.Graph/Generated/Models/TeamsAdministration/AssignmentType.cs new file mode 100644 index 00000000000..97e779751da --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/TeamsAdministration/AssignmentType.cs @@ -0,0 +1,24 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models.TeamsAdministration +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum AssignmentType + #pragma warning restore CS1591 + { + [EnumMember(Value = "direct")] + #pragma warning disable CS1591 + Direct, + #pragma warning restore CS1591 + [EnumMember(Value = "group")] + #pragma warning disable CS1591 + Group, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/TeamsAdministration/EffectivePolicyAssignment.cs b/src/Microsoft.Graph/Generated/Models/TeamsAdministration/EffectivePolicyAssignment.cs new file mode 100644 index 00000000000..7215a01049a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/TeamsAdministration/EffectivePolicyAssignment.cs @@ -0,0 +1,117 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models.TeamsAdministration +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class EffectivePolicyAssignment : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The policyAssignment property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.TeamsAdministration.PolicyAssignment? PolicyAssignment + { + get { return BackingStore?.Get("policyAssignment"); } + set { BackingStore?.Set("policyAssignment", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.TeamsAdministration.PolicyAssignment PolicyAssignment + { + get { return BackingStore?.Get("policyAssignment"); } + set { BackingStore?.Set("policyAssignment", value); } + } +#endif + /// The type of the assigned policy; for example, TeamsMeetingPolicy and TeamsCallingPolicy. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? PolicyType + { + get { return BackingStore?.Get("policyType"); } + set { BackingStore?.Set("policyType", value); } + } +#nullable restore +#else + public string PolicyType + { + get { return BackingStore?.Get("policyType"); } + set { BackingStore?.Set("policyType", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public EffectivePolicyAssignment() + { + 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.TeamsAdministration.EffectivePolicyAssignment CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.TeamsAdministration.EffectivePolicyAssignment(); + } + /// + /// 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(); } }, + { "policyAssignment", n => { PolicyAssignment = n.GetObjectValue(global::Microsoft.Graph.Models.TeamsAdministration.PolicyAssignment.CreateFromDiscriminatorValue); } }, + { "policyType", n => { PolicyType = 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.WriteObjectValue("policyAssignment", PolicyAssignment); + writer.WriteStringValue("policyType", PolicyType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/TeamsAdministration/PolicyAssignment.cs b/src/Microsoft.Graph/Generated/Models/TeamsAdministration/PolicyAssignment.cs new file mode 100644 index 00000000000..d4d2a93c437 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/TeamsAdministration/PolicyAssignment.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.TeamsAdministration +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class PolicyAssignment : 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 assignmentType property + public global::Microsoft.Graph.Models.TeamsAdministration.AssignmentType? AssignmentType + { + get { return BackingStore?.Get("assignmentType"); } + set { BackingStore?.Set("assignmentType", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// Represents the name of the policy. +#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 + /// Represents the group identifier. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? GroupId + { + get { return BackingStore?.Get("groupId"); } + set { BackingStore?.Set("groupId", value); } + } +#nullable restore +#else + public string GroupId + { + get { return BackingStore?.Get("groupId"); } + set { BackingStore?.Set("groupId", 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 + /// Represents the unique identifier for the policy. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? PolicyId + { + get { return BackingStore?.Get("policyId"); } + set { BackingStore?.Set("policyId", value); } + } +#nullable restore +#else + public string PolicyId + { + get { return BackingStore?.Get("policyId"); } + set { BackingStore?.Set("policyId", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public PolicyAssignment() + { + 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.TeamsAdministration.PolicyAssignment CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.TeamsAdministration.PolicyAssignment(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "assignmentType", n => { AssignmentType = n.GetEnumValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "groupId", n => { GroupId = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "policyId", n => { PolicyId = 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.WriteEnumValue("assignmentType", AssignmentType); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteStringValue("groupId", GroupId); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteStringValue("policyId", PolicyId); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/TeamsAdministration/TeamsAdminRoot.cs b/src/Microsoft.Graph/Generated/Models/TeamsAdministration/TeamsAdminRoot.cs new file mode 100644 index 00000000000..70a891ca89c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/TeamsAdministration/TeamsAdminRoot.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.TeamsAdministration +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class TeamsAdminRoot : global::Microsoft.Graph.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// Represents the configuration information of users who have accounts hosted on Microsoft Teams. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? UserConfigurations + { + get { return BackingStore?.Get?>("userConfigurations"); } + set { BackingStore?.Set("userConfigurations", value); } + } +#nullable restore +#else + public List UserConfigurations + { + get { return BackingStore?.Get>("userConfigurations"); } + set { BackingStore?.Set("userConfigurations", 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.TeamsAdministration.TeamsAdminRoot CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.TeamsAdministration.TeamsAdminRoot(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "userConfigurations", n => { UserConfigurations = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.TeamsAdministration.TeamsUserConfiguration.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("userConfigurations", UserConfigurations); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/TeamsAdministration/TeamsUserConfiguration.cs b/src/Microsoft.Graph/Generated/Models/TeamsAdministration/TeamsUserConfiguration.cs new file mode 100644 index 00000000000..8be049f7843 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/TeamsAdministration/TeamsUserConfiguration.cs @@ -0,0 +1,186 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models.TeamsAdministration +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class TeamsUserConfiguration : global::Microsoft.Graph.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The accountType property + public global::Microsoft.Graph.Models.TeamsAdministration.AccountType? AccountType + { + get { return BackingStore?.Get("accountType"); } + set { BackingStore?.Set("accountType", value); } + } + /// The date and time when the user was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + public DateTimeOffset? CreatedDateTime + { + get { return BackingStore?.Get("createdDateTime"); } + set { BackingStore?.Set("createdDateTime", value); } + } + /// Contains the user's effective policy assignments, with each assignment including policyType and policyAssignment details. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? EffectivePolicyAssignments + { + get { return BackingStore?.Get?>("effectivePolicyAssignments"); } + set { BackingStore?.Set("effectivePolicyAssignments", value); } + } +#nullable restore +#else + public List EffectivePolicyAssignments + { + get { return BackingStore?.Get>("effectivePolicyAssignments"); } + set { BackingStore?.Set("effectivePolicyAssignments", value); } + } +#endif + /// The Teams features enabled for a given user based on licensing or service plan. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? FeatureTypes + { + get { return BackingStore?.Get?>("featureTypes"); } + set { BackingStore?.Set("featureTypes", value); } + } +#nullable restore +#else + public List FeatureTypes + { + get { return BackingStore?.Get>("featureTypes"); } + set { BackingStore?.Set("featureTypes", value); } + } +#endif + /// Indicates whether voice capability is enabled. + public bool? IsEnterpriseVoiceEnabled + { + get { return BackingStore?.Get("isEnterpriseVoiceEnabled"); } + set { BackingStore?.Set("isEnterpriseVoiceEnabled", value); } + } + /// The date and time when the user's details were last modified. The system updates this value each time the user's details are changed. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + public DateTimeOffset? ModifiedDateTime + { + get { return BackingStore?.Get("modifiedDateTime"); } + set { BackingStore?.Set("modifiedDateTime", value); } + } + /// Includes both the phone number and its corresponding assignment category. The assignment category can include values such as primary, private, and alternate. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? TelephoneNumbers + { + get { return BackingStore?.Get?>("telephoneNumbers"); } + set { BackingStore?.Set("telephoneNumbers", value); } + } +#nullable restore +#else + public List TelephoneNumbers + { + get { return BackingStore?.Get>("telephoneNumbers"); } + set { BackingStore?.Set("telephoneNumbers", value); } + } +#endif + /// The unique identifier of the tenant in Entra to which this user is assigned. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? TenantId + { + get { return BackingStore?.Get("tenantId"); } + set { BackingStore?.Set("tenantId", value); } + } +#nullable restore +#else + public string TenantId + { + get { return BackingStore?.Get("tenantId"); } + set { BackingStore?.Set("tenantId", value); } + } +#endif + /// Represents an Entra user account. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.User? User + { + get { return BackingStore?.Get("user"); } + set { BackingStore?.Set("user", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.User User + { + get { return BackingStore?.Get("user"); } + set { BackingStore?.Set("user", value); } + } +#endif + /// The sign-in address of the user. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? UserPrincipalName + { + get { return BackingStore?.Get("userPrincipalName"); } + set { BackingStore?.Set("userPrincipalName", value); } + } +#nullable restore +#else + public string UserPrincipalName + { + get { return BackingStore?.Get("userPrincipalName"); } + set { BackingStore?.Set("userPrincipalName", value); } + } +#endif + /// + /// 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.TeamsAdministration.TeamsUserConfiguration CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.TeamsAdministration.TeamsUserConfiguration(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "accountType", n => { AccountType = n.GetEnumValue(); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "effectivePolicyAssignments", n => { EffectivePolicyAssignments = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.TeamsAdministration.EffectivePolicyAssignment.CreateFromDiscriminatorValue)?.AsList(); } }, + { "featureTypes", n => { FeatureTypes = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "isEnterpriseVoiceEnabled", n => { IsEnterpriseVoiceEnabled = n.GetBoolValue(); } }, + { "modifiedDateTime", n => { ModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + { "telephoneNumbers", n => { TelephoneNumbers = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.TeamsAdministration.AssignedTelephoneNumber.CreateFromDiscriminatorValue)?.AsList(); } }, + { "tenantId", n => { TenantId = n.GetStringValue(); } }, + { "user", n => { User = n.GetObjectValue(global::Microsoft.Graph.Models.User.CreateFromDiscriminatorValue); } }, + { "userPrincipalName", n => { UserPrincipalName = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteEnumValue("accountType", AccountType); + writer.WriteDateTimeOffsetValue("createdDateTime", CreatedDateTime); + writer.WriteCollectionOfObjectValues("effectivePolicyAssignments", EffectivePolicyAssignments); + writer.WriteCollectionOfPrimitiveValues("featureTypes", FeatureTypes); + writer.WriteBoolValue("isEnterpriseVoiceEnabled", IsEnterpriseVoiceEnabled); + writer.WriteDateTimeOffsetValue("modifiedDateTime", ModifiedDateTime); + writer.WriteCollectionOfObjectValues("telephoneNumbers", TelephoneNumbers); + writer.WriteStringValue("tenantId", TenantId); + writer.WriteObjectValue("user", User); + writer.WriteStringValue("userPrincipalName", UserPrincipalName); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/TeamsAdministration/TeamsUserConfigurationCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/TeamsAdministration/TeamsUserConfigurationCollectionResponse.cs new file mode 100644 index 00000000000..ed8aef7cb21 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/TeamsAdministration/TeamsUserConfigurationCollectionResponse.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.TeamsAdministration +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class TeamsUserConfigurationCollectionResponse : 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.TeamsAdministration.TeamsUserConfigurationCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.TeamsAdministration.TeamsUserConfigurationCollectionResponse(); + } + /// + /// 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.TeamsAdministration.TeamsUserConfiguration.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/TimeOffDetails.cs b/src/Microsoft.Graph/Generated/Models/TimeOffDetails.cs new file mode 100644 index 00000000000..68af77aa166 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/TimeOffDetails.cs @@ -0,0 +1,107 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class TimeOffDetails : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// Indicates whether the time-off entry spans the entire day. + public bool? IsAllDay + { + get { return BackingStore?.Get("isAllDay"); } + set { BackingStore?.Set("isAllDay", 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 subject or reason for the time-off entry. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Subject + { + get { return BackingStore?.Get("subject"); } + set { BackingStore?.Set("subject", value); } + } +#nullable restore +#else + public string Subject + { + get { return BackingStore?.Get("subject"); } + set { BackingStore?.Set("subject", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public TimeOffDetails() + { + 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.TimeOffDetails CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.TimeOffDetails(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "isAllDay", n => { IsAllDay = n.GetBoolValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "subject", n => { Subject = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteBoolValue("isAllDay", IsAllDay); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteStringValue("subject", Subject); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/UnavailablePlaceMode.cs b/src/Microsoft.Graph/Generated/Models/UnavailablePlaceMode.cs new file mode 100644 index 00000000000..30e230ca4f8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/UnavailablePlaceMode.cs @@ -0,0 +1,71 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class UnavailablePlaceMode : global::Microsoft.Graph.Models.PlaceMode, IParsable + #pragma warning restore CS1591 + { + /// The reason a place is marked unavailable. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Reason + { + get { return BackingStore?.Get("reason"); } + set { BackingStore?.Set("reason", value); } + } +#nullable restore +#else + public string Reason + { + get { return BackingStore?.Get("reason"); } + set { BackingStore?.Set("reason", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public UnavailablePlaceMode() : base() + { + OdataType = "#microsoft.graph.unavailablePlaceMode"; + } + /// + /// 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.UnavailablePlaceMode CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.UnavailablePlaceMode(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "reason", n => { Reason = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteStringValue("reason", Reason); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/User.cs b/src/Microsoft.Graph/Generated/Models/User.cs index d1a4b807921..112036b9276 100644 --- a/src/Microsoft.Graph/Generated/Models/User.cs +++ b/src/Microsoft.Graph/Generated/Models/User.cs @@ -50,6 +50,22 @@ public bool? AccountEnabled get { return BackingStore?.Get>("activities"); } set { BackingStore?.Set("activities", value); } } +#endif + /// Ad hoc calls associated with the user. Read-only. Nullable. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? AdhocCalls + { + get { return BackingStore?.Get?>("adhocCalls"); } + set { BackingStore?.Set("adhocCalls", value); } + } +#nullable restore +#else + public List AdhocCalls + { + get { return BackingStore?.Get>("adhocCalls"); } + set { BackingStore?.Set("adhocCalls", value); } + } #endif /// Sets the age group of the user. Allowed values: null, Minor, NotAdult, and Adult. For more information, see legal age group property definitions. Returned only on $select. Supports $filter (eq, ne, not, and in). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -1284,6 +1300,22 @@ public string OnPremisesSecurityIdentifier get { return BackingStore?.Get("onPremisesSecurityIdentifier"); } set { BackingStore?.Set("onPremisesSecurityIdentifier", value); } } +#endif + /// The onPremisesSyncBehavior property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.OnPremisesSyncBehavior? OnPremisesSyncBehavior + { + get { return BackingStore?.Get("onPremisesSyncBehavior"); } + set { BackingStore?.Set("onPremisesSyncBehavior", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.OnPremisesSyncBehavior OnPremisesSyncBehavior + { + get { return BackingStore?.Get("onPremisesSyncBehavior"); } + set { BackingStore?.Set("onPremisesSyncBehavior", value); } + } #endif /// true if this user object is currently being synced from an on-premises Active Directory (AD); otherwise the user isn't being synced and can be managed in Microsoft Entra ID. Read-only. Returned only on $select. Supports $filter (eq, ne, not, in, and eq on null values). public bool? OnPremisesSyncEnabled @@ -1987,6 +2019,7 @@ public override IDictionary> GetFieldDeserializers() { "aboutMe", n => { AboutMe = n.GetStringValue(); } }, { "accountEnabled", n => { AccountEnabled = n.GetBoolValue(); } }, { "activities", n => { Activities = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.UserActivity.CreateFromDiscriminatorValue)?.AsList(); } }, + { "adhocCalls", n => { AdhocCalls = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.AdhocCall.CreateFromDiscriminatorValue)?.AsList(); } }, { "ageGroup", n => { AgeGroup = n.GetStringValue(); } }, { "agreementAcceptances", n => { AgreementAcceptances = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.AgreementAcceptance.CreateFromDiscriminatorValue)?.AsList(); } }, { "appRoleAssignments", n => { AppRoleAssignments = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.AppRoleAssignment.CreateFromDiscriminatorValue)?.AsList(); } }, @@ -2069,6 +2102,7 @@ public override IDictionary> GetFieldDeserializers() { "onPremisesProvisioningErrors", n => { OnPremisesProvisioningErrors = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.OnPremisesProvisioningError.CreateFromDiscriminatorValue)?.AsList(); } }, { "onPremisesSamAccountName", n => { OnPremisesSamAccountName = n.GetStringValue(); } }, { "onPremisesSecurityIdentifier", n => { OnPremisesSecurityIdentifier = n.GetStringValue(); } }, + { "onPremisesSyncBehavior", n => { OnPremisesSyncBehavior = n.GetObjectValue(global::Microsoft.Graph.Models.OnPremisesSyncBehavior.CreateFromDiscriminatorValue); } }, { "onPremisesSyncEnabled", n => { OnPremisesSyncEnabled = n.GetBoolValue(); } }, { "onPremisesUserPrincipalName", n => { OnPremisesUserPrincipalName = n.GetStringValue(); } }, { "onenote", n => { Onenote = n.GetObjectValue(global::Microsoft.Graph.Models.Onenote.CreateFromDiscriminatorValue); } }, @@ -2128,6 +2162,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteStringValue("aboutMe", AboutMe); writer.WriteBoolValue("accountEnabled", AccountEnabled); writer.WriteCollectionOfObjectValues("activities", Activities); + writer.WriteCollectionOfObjectValues("adhocCalls", AdhocCalls); writer.WriteStringValue("ageGroup", AgeGroup); writer.WriteCollectionOfObjectValues("agreementAcceptances", AgreementAcceptances); writer.WriteCollectionOfObjectValues("appRoleAssignments", AppRoleAssignments); @@ -2212,6 +2247,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteCollectionOfObjectValues("onPremisesProvisioningErrors", OnPremisesProvisioningErrors); writer.WriteStringValue("onPremisesSamAccountName", OnPremisesSamAccountName); writer.WriteStringValue("onPremisesSecurityIdentifier", OnPremisesSecurityIdentifier); + writer.WriteObjectValue("onPremisesSyncBehavior", OnPremisesSyncBehavior); writer.WriteBoolValue("onPremisesSyncEnabled", OnPremisesSyncEnabled); writer.WriteStringValue("onPremisesUserPrincipalName", OnPremisesUserPrincipalName); writer.WriteCollectionOfPrimitiveValues("otherMails", OtherMails); diff --git a/src/Microsoft.Graph/Generated/Models/UserSettings.cs b/src/Microsoft.Graph/Generated/Models/UserSettings.cs index 7c20beeda56..b4b13ce3f56 100644 --- a/src/Microsoft.Graph/Generated/Models/UserSettings.cs +++ b/src/Microsoft.Graph/Generated/Models/UserSettings.cs @@ -72,7 +72,7 @@ public bool? ContributionToContentDiscoveryDisabled set { BackingStore?.Set("storage", value); } } #endif - /// The windows property + /// The Windows settings of the user stored in the cloud. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Windows @@ -87,6 +87,22 @@ public bool? ContributionToContentDiscoveryDisabled get { return BackingStore?.Get>("windows"); } set { BackingStore?.Set("windows", value); } } +#endif + /// The user's settings for work hours and location preferences for scheduling and availability management. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.WorkHoursAndLocationsSetting? WorkHoursAndLocations + { + get { return BackingStore?.Get("workHoursAndLocations"); } + set { BackingStore?.Set("workHoursAndLocations", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.WorkHoursAndLocationsSetting WorkHoursAndLocations + { + get { return BackingStore?.Get("workHoursAndLocations"); } + set { BackingStore?.Set("workHoursAndLocations", value); } + } #endif /// /// Creates a new instance of the appropriate class based on discriminator value @@ -112,6 +128,7 @@ public override IDictionary> GetFieldDeserializers() { "shiftPreferences", n => { ShiftPreferences = n.GetObjectValue(global::Microsoft.Graph.Models.ShiftPreferences.CreateFromDiscriminatorValue); } }, { "storage", n => { Storage = n.GetObjectValue(global::Microsoft.Graph.Models.UserStorage.CreateFromDiscriminatorValue); } }, { "windows", n => { Windows = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.WindowsSetting.CreateFromDiscriminatorValue)?.AsList(); } }, + { "workHoursAndLocations", n => { WorkHoursAndLocations = n.GetObjectValue(global::Microsoft.Graph.Models.WorkHoursAndLocationsSetting.CreateFromDiscriminatorValue); } }, }; } /// @@ -128,6 +145,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteObjectValue("shiftPreferences", ShiftPreferences); writer.WriteObjectValue("storage", Storage); writer.WriteCollectionOfObjectValues("windows", Windows); + writer.WriteObjectValue("workHoursAndLocations", WorkHoursAndLocations); } } } diff --git a/src/Microsoft.Graph/Generated/Models/UserWorkLocation.cs b/src/Microsoft.Graph/Generated/Models/UserWorkLocation.cs new file mode 100644 index 00000000000..e4ed76e7bd6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/UserWorkLocation.cs @@ -0,0 +1,115 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class UserWorkLocation : 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 + /// Identifier of the place, if applicable. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? PlaceId + { + get { return BackingStore?.Get("placeId"); } + set { BackingStore?.Set("placeId", value); } + } +#nullable restore +#else + public string PlaceId + { + get { return BackingStore?.Get("placeId"); } + set { BackingStore?.Set("placeId", value); } + } +#endif + /// The source property + public global::Microsoft.Graph.Models.WorkLocationSource? Source + { + get { return BackingStore?.Get("source"); } + set { BackingStore?.Set("source", value); } + } + /// The workLocationType property + public global::Microsoft.Graph.Models.WorkLocationType? WorkLocationType + { + get { return BackingStore?.Get("workLocationType"); } + set { BackingStore?.Set("workLocationType", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public UserWorkLocation() + { + 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.UserWorkLocation CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.UserWorkLocation(); + } + /// + /// 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(); } }, + { "placeId", n => { PlaceId = n.GetStringValue(); } }, + { "source", n => { Source = n.GetEnumValue(); } }, + { "workLocationType", n => { WorkLocationType = n.GetEnumValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteStringValue("placeId", PlaceId); + writer.WriteEnumValue("source", Source); + writer.WriteEnumValue("workLocationType", WorkLocationType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/VirtualEndpoint.cs b/src/Microsoft.Graph/Generated/Models/VirtualEndpoint.cs index 99f93bf629c..87ed22f506a 100644 --- a/src/Microsoft.Graph/Generated/Models/VirtualEndpoint.cs +++ b/src/Microsoft.Graph/Generated/Models/VirtualEndpoint.cs @@ -107,6 +107,22 @@ public partial class VirtualEndpoint : global::Microsoft.Graph.Models.Entity, IP get { return BackingStore?.Get>("provisioningPolicies"); } set { BackingStore?.Set("provisioningPolicies", value); } } +#endif + /// Cloud PC-related reports. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.CloudPcReport? Report + { + get { return BackingStore?.Get("report"); } + set { BackingStore?.Set("report", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.CloudPcReport Report + { + get { return BackingStore?.Get("report"); } + set { BackingStore?.Set("report", value); } + } #endif /// A collection of Cloud PC user settings. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -148,6 +164,7 @@ public override IDictionary> GetFieldDeserializers() { "galleryImages", n => { GalleryImages = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.CloudPcGalleryImage.CreateFromDiscriminatorValue)?.AsList(); } }, { "onPremisesConnections", n => { OnPremisesConnections = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.CloudPcOnPremisesConnection.CreateFromDiscriminatorValue)?.AsList(); } }, { "provisioningPolicies", n => { ProvisioningPolicies = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.CloudPcProvisioningPolicy.CreateFromDiscriminatorValue)?.AsList(); } }, + { "report", n => { Report = n.GetObjectValue(global::Microsoft.Graph.Models.CloudPcReport.CreateFromDiscriminatorValue); } }, { "userSettings", n => { UserSettings = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.CloudPcUserSetting.CreateFromDiscriminatorValue)?.AsList(); } }, }; } @@ -165,6 +182,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteCollectionOfObjectValues("galleryImages", GalleryImages); writer.WriteCollectionOfObjectValues("onPremisesConnections", OnPremisesConnections); writer.WriteCollectionOfObjectValues("provisioningPolicies", ProvisioningPolicies); + writer.WriteObjectValue("report", Report); writer.WriteCollectionOfObjectValues("userSettings", UserSettings); } } diff --git a/src/Microsoft.Graph/Generated/Models/Windows365SwitchCompatibilityFailureReasonType.cs b/src/Microsoft.Graph/Generated/Models/Windows365SwitchCompatibilityFailureReasonType.cs new file mode 100644 index 00000000000..9f30793ba06 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Windows365SwitchCompatibilityFailureReasonType.cs @@ -0,0 +1,24 @@ +// +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 Windows365SwitchCompatibilityFailureReasonType + #pragma warning restore CS1591 + { + [EnumMember(Value = "osVersionNotSupported")] + #pragma warning disable CS1591 + OsVersionNotSupported, + #pragma warning restore CS1591 + [EnumMember(Value = "hardwareNotSupported")] + #pragma warning disable CS1591 + HardwareNotSupported, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/WorkHoursAndLocationsSetting.cs b/src/Microsoft.Graph/Generated/Models/WorkHoursAndLocationsSetting.cs new file mode 100644 index 00000000000..80215cbbe9e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WorkHoursAndLocationsSetting.cs @@ -0,0 +1,90 @@ +// +#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 WorkHoursAndLocationsSetting : global::Microsoft.Graph.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The maxSharedWorkLocationDetails property + public global::Microsoft.Graph.Models.MaxWorkLocationDetails? MaxSharedWorkLocationDetails + { + get { return BackingStore?.Get("maxSharedWorkLocationDetails"); } + set { BackingStore?.Set("maxSharedWorkLocationDetails", value); } + } + /// Collection of work plan occurrences. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Occurrences + { + get { return BackingStore?.Get?>("occurrences"); } + set { BackingStore?.Set("occurrences", value); } + } +#nullable restore +#else + public List Occurrences + { + get { return BackingStore?.Get>("occurrences"); } + set { BackingStore?.Set("occurrences", value); } + } +#endif + /// Collection of recurring work plans defined by the user. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Recurrences + { + get { return BackingStore?.Get?>("recurrences"); } + set { BackingStore?.Set("recurrences", value); } + } +#nullable restore +#else + public List Recurrences + { + get { return BackingStore?.Get>("recurrences"); } + set { BackingStore?.Set("recurrences", 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.WorkHoursAndLocationsSetting CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.WorkHoursAndLocationsSetting(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "maxSharedWorkLocationDetails", n => { MaxSharedWorkLocationDetails = n.GetEnumValue(); } }, + { "occurrences", n => { Occurrences = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.WorkPlanOccurrence.CreateFromDiscriminatorValue)?.AsList(); } }, + { "recurrences", n => { Recurrences = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.WorkPlanRecurrence.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteEnumValue("maxSharedWorkLocationDetails", MaxSharedWorkLocationDetails); + writer.WriteCollectionOfObjectValues("occurrences", Occurrences); + writer.WriteCollectionOfObjectValues("recurrences", Recurrences); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/WorkLocationSource.cs b/src/Microsoft.Graph/Generated/Models/WorkLocationSource.cs new file mode 100644 index 00000000000..2ce5331e21c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WorkLocationSource.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 WorkLocationSource + #pragma warning restore CS1591 + { + [EnumMember(Value = "none")] + #pragma warning disable CS1591 + None, + #pragma warning restore CS1591 + [EnumMember(Value = "manual")] + #pragma warning disable CS1591 + Manual, + #pragma warning restore CS1591 + [EnumMember(Value = "scheduled")] + #pragma warning disable CS1591 + Scheduled, + #pragma warning restore CS1591 + [EnumMember(Value = "automatic")] + #pragma warning disable CS1591 + Automatic, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/WorkLocationType.cs b/src/Microsoft.Graph/Generated/Models/WorkLocationType.cs new file mode 100644 index 00000000000..1dcc76f687c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WorkLocationType.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 WorkLocationType + #pragma warning restore CS1591 + { + [EnumMember(Value = "unspecified")] + #pragma warning disable CS1591 + Unspecified, + #pragma warning restore CS1591 + [EnumMember(Value = "office")] + #pragma warning disable CS1591 + Office, + #pragma warning restore CS1591 + [EnumMember(Value = "remote")] + #pragma warning disable CS1591 + Remote, + #pragma warning restore CS1591 + [EnumMember(Value = "timeOff")] + #pragma warning disable CS1591 + TimeOff, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/WorkLocationUpdateScope.cs b/src/Microsoft.Graph/Generated/Models/WorkLocationUpdateScope.cs new file mode 100644 index 00000000000..e06526e9072 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WorkLocationUpdateScope.cs @@ -0,0 +1,24 @@ +// +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 WorkLocationUpdateScope + #pragma warning restore CS1591 + { + [EnumMember(Value = "currentSegment")] + #pragma warning disable CS1591 + CurrentSegment, + #pragma warning restore CS1591 + [EnumMember(Value = "currentDay")] + #pragma warning disable CS1591 + CurrentDay, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/WorkPlanOccurrence.cs b/src/Microsoft.Graph/Generated/Models/WorkPlanOccurrence.cs new file mode 100644 index 00000000000..f659dbfcfb1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WorkPlanOccurrence.cs @@ -0,0 +1,144 @@ +// +#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 WorkPlanOccurrence : global::Microsoft.Graph.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The end property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.DateTimeTimeZone? End + { + get { return BackingStore?.Get("end"); } + set { BackingStore?.Set("end", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.DateTimeTimeZone End + { + get { return BackingStore?.Get("end"); } + set { BackingStore?.Set("end", value); } + } +#endif + /// Identifier of a place from the Microsoft Graph Places Directory API. Only applicable when workLocationType is set to office. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? PlaceId + { + get { return BackingStore?.Get("placeId"); } + set { BackingStore?.Set("placeId", value); } + } +#nullable restore +#else + public string PlaceId + { + get { return BackingStore?.Get("placeId"); } + set { BackingStore?.Set("placeId", value); } + } +#endif + /// The identifier of the parent recurrence pattern that generated this occurrence. The value is null for time-off occurrences because they don't have a parent recurrence. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? RecurrenceId + { + get { return BackingStore?.Get("recurrenceId"); } + set { BackingStore?.Set("recurrenceId", value); } + } +#nullable restore +#else + public string RecurrenceId + { + get { return BackingStore?.Get("recurrenceId"); } + set { BackingStore?.Set("recurrenceId", value); } + } +#endif + /// The start property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.DateTimeTimeZone? Start + { + get { return BackingStore?.Get("start"); } + set { BackingStore?.Set("start", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.DateTimeTimeZone Start + { + get { return BackingStore?.Get("start"); } + set { BackingStore?.Set("start", value); } + } +#endif + /// The details about the time off. Only applicable when workLocationType is set to timeOff. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.TimeOffDetails? TimeOffDetails + { + get { return BackingStore?.Get("timeOffDetails"); } + set { BackingStore?.Set("timeOffDetails", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.TimeOffDetails TimeOffDetails + { + get { return BackingStore?.Get("timeOffDetails"); } + set { BackingStore?.Set("timeOffDetails", value); } + } +#endif + /// The workLocationType property + public global::Microsoft.Graph.Models.WorkLocationType? WorkLocationType + { + get { return BackingStore?.Get("workLocationType"); } + set { BackingStore?.Set("workLocationType", 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.WorkPlanOccurrence CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.WorkPlanOccurrence(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "end", n => { End = n.GetObjectValue(global::Microsoft.Graph.Models.DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + { "placeId", n => { PlaceId = n.GetStringValue(); } }, + { "recurrenceId", n => { RecurrenceId = n.GetStringValue(); } }, + { "start", n => { Start = n.GetObjectValue(global::Microsoft.Graph.Models.DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + { "timeOffDetails", n => { TimeOffDetails = n.GetObjectValue(global::Microsoft.Graph.Models.TimeOffDetails.CreateFromDiscriminatorValue); } }, + { "workLocationType", n => { WorkLocationType = 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("end", End); + writer.WriteStringValue("placeId", PlaceId); + writer.WriteStringValue("recurrenceId", RecurrenceId); + writer.WriteObjectValue("start", Start); + writer.WriteObjectValue("timeOffDetails", TimeOffDetails); + writer.WriteEnumValue("workLocationType", WorkLocationType); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/WorkPlanOccurrenceCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/WorkPlanOccurrenceCollectionResponse.cs new file mode 100644 index 00000000000..d85fa1beee6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WorkPlanOccurrenceCollectionResponse.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 WorkPlanOccurrenceCollectionResponse : 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.WorkPlanOccurrenceCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.WorkPlanOccurrenceCollectionResponse(); + } + /// + /// 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.WorkPlanOccurrence.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/WorkPlanRecurrence.cs b/src/Microsoft.Graph/Generated/Models/WorkPlanRecurrence.cs new file mode 100644 index 00000000000..2a6648c64a8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WorkPlanRecurrence.cs @@ -0,0 +1,126 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class WorkPlanRecurrence : global::Microsoft.Graph.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The end property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.DateTimeTimeZone? End + { + get { return BackingStore?.Get("end"); } + set { BackingStore?.Set("end", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.DateTimeTimeZone End + { + get { return BackingStore?.Get("end"); } + set { BackingStore?.Set("end", value); } + } +#endif + /// Identifier of a place from the Microsoft Graph Places Directory API. Only applicable when workLocationType is set to office. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? PlaceId + { + get { return BackingStore?.Get("placeId"); } + set { BackingStore?.Set("placeId", value); } + } +#nullable restore +#else + public string PlaceId + { + get { return BackingStore?.Get("placeId"); } + set { BackingStore?.Set("placeId", value); } + } +#endif + /// The recurrence property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.PatternedRecurrence? Recurrence + { + get { return BackingStore?.Get("recurrence"); } + set { BackingStore?.Set("recurrence", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.PatternedRecurrence Recurrence + { + get { return BackingStore?.Get("recurrence"); } + set { BackingStore?.Set("recurrence", value); } + } +#endif + /// The start property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.DateTimeTimeZone? Start + { + get { return BackingStore?.Get("start"); } + set { BackingStore?.Set("start", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.DateTimeTimeZone Start + { + get { return BackingStore?.Get("start"); } + set { BackingStore?.Set("start", value); } + } +#endif + /// The workLocationType property + public global::Microsoft.Graph.Models.WorkLocationType? WorkLocationType + { + get { return BackingStore?.Get("workLocationType"); } + set { BackingStore?.Set("workLocationType", 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.WorkPlanRecurrence CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.WorkPlanRecurrence(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "end", n => { End = n.GetObjectValue(global::Microsoft.Graph.Models.DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + { "placeId", n => { PlaceId = n.GetStringValue(); } }, + { "recurrence", n => { Recurrence = n.GetObjectValue(global::Microsoft.Graph.Models.PatternedRecurrence.CreateFromDiscriminatorValue); } }, + { "start", n => { Start = n.GetObjectValue(global::Microsoft.Graph.Models.DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + { "workLocationType", n => { WorkLocationType = 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("end", End); + writer.WriteStringValue("placeId", PlaceId); + writer.WriteObjectValue("recurrence", Recurrence); + writer.WriteObjectValue("start", Start); + writer.WriteEnumValue("workLocationType", WorkLocationType); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/WorkPlanRecurrenceCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/WorkPlanRecurrenceCollectionResponse.cs new file mode 100644 index 00000000000..8a281fd82f6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WorkPlanRecurrenceCollectionResponse.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 WorkPlanRecurrenceCollectionResponse : 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.WorkPlanRecurrenceCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.WorkPlanRecurrenceCollectionResponse(); + } + /// + /// 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.WorkPlanRecurrence.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/Workspace.cs b/src/Microsoft.Graph/Generated/Models/Workspace.cs index 5467e25c590..74bbffe0870 100644 --- a/src/Microsoft.Graph/Generated/Models/Workspace.cs +++ b/src/Microsoft.Graph/Generated/Models/Workspace.cs @@ -50,7 +50,7 @@ public string EmailAddress set { BackingStore?.Set("emailAddress", value); } } #endif - /// The mode for a workspace. The supported modes are:reservablePlaceMode - Workspaces that can be booked in advance using desk pool reservation tools.dropInPlaceMode - First come, first served desks. When you plug into a peripheral on one of these desks in the workspace, the desk is booked for you, assuming that the peripheral has been associated with the desk in the Microsoft Teams Rooms Pro management portal. + /// The mode for a workspace. The supported modes are:reservablePlaceMode - Workspaces that can be booked in advance using desk pool reservation tools.dropInPlaceMode - First come, first served desks. When you plug into a peripheral on one of these desks in the workspace, the desk is booked for you, assuming that the peripheral has been associated with the desk in the Microsoft Teams Rooms pro management portal.unavailablePlaceMode - Workspaces that are taken down for maintenance or marked as not reservable. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Models.PlaceMode? Mode @@ -81,6 +81,22 @@ public string Nickname get { return BackingStore?.Get("nickname"); } set { BackingStore?.Set("nickname", value); } } +#endif + /// An alternative immutable unique identifier of the workspace. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? PlaceId + { + get { return BackingStore?.Get("placeId"); } + set { BackingStore?.Set("placeId", value); } + } +#nullable restore +#else + public string PlaceId + { + get { return BackingStore?.Get("placeId"); } + set { BackingStore?.Set("placeId", value); } + } #endif /// /// Instantiates a new and sets the default values. @@ -112,6 +128,7 @@ public override IDictionary> GetFieldDeserializers() { "emailAddress", n => { EmailAddress = n.GetStringValue(); } }, { "mode", n => { Mode = n.GetObjectValue(global::Microsoft.Graph.Models.PlaceMode.CreateFromDiscriminatorValue); } }, { "nickname", n => { Nickname = n.GetStringValue(); } }, + { "placeId", n => { PlaceId = n.GetStringValue(); } }, }; } /// @@ -127,6 +144,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteStringValue("emailAddress", EmailAddress); writer.WriteObjectValue("mode", Mode); writer.WriteStringValue("nickname", Nickname); + writer.WriteStringValue("placeId", PlaceId); } } } diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/CaseMembers/CaseMembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/CaseMembers/CaseMembersRequestBuilder.cs new file mode 100644 index 00000000000..7adebf72180 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/CaseMembers/CaseMembersRequestBuilder.cs @@ -0,0 +1,240 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models.Security; +using Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.CaseMembers.Count; +using Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.CaseMembers.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.Security.Cases.EdiscoveryCases.Item.CaseMembers +{ + /// + /// Provides operations to manage the caseMembers property of the microsoft.graph.security.ediscoveryCase entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CaseMembersRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.CaseMembers.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.CaseMembers.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the caseMembers property of the microsoft.graph.security.ediscoveryCase entity. + /// The unique identifier of ediscoveryCaseMember + /// A + public global::Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.CaseMembers.Item.EdiscoveryCaseMemberItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("ediscoveryCaseMember%2Did", position); + return new global::Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.CaseMembers.Item.EdiscoveryCaseMemberItemRequestBuilder(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 CaseMembersRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/cases/ediscoveryCases/{ediscoveryCase%2Did}/caseMembers{?%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 CaseMembersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/cases/ediscoveryCases/{ediscoveryCase%2Did}/caseMembers{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get a list of ediscoveryCaseMember objects for an ediscoveryCase. + /// 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.Security.EdiscoveryCaseMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Add an ediscoveryCaseMember to an ediscoveryCase. The ediscoveryCaseMember can be one of two types: a user or a role group. + /// 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.Security.EdiscoveryCaseMember body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.Security.EdiscoveryCaseMember 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.Security.EdiscoveryCaseMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get a list of ediscoveryCaseMember objects for an ediscoveryCase. + /// + /// A + /// Configuration 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; + } + /// + /// Add an ediscoveryCaseMember to an ediscoveryCase. The ediscoveryCaseMember can be one of two types: a user or a role group. + /// + /// 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.Security.EdiscoveryCaseMember body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.Security.EdiscoveryCaseMember 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.Security.Cases.EdiscoveryCases.Item.CaseMembers.CaseMembersRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.CaseMembers.CaseMembersRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get a list of ediscoveryCaseMember objects for an ediscoveryCase. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CaseMembersRequestBuilderGetQueryParameters + { + /// 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 CaseMembersRequestBuilderGetRequestConfiguration : 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 CaseMembersRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/CaseMembers/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/CaseMembers/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..903d88f210a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/CaseMembers/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.Security.Cases.EdiscoveryCases.Item.CaseMembers.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/cases/ediscoveryCases/{ediscoveryCase%2Did}/caseMembers/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/cases/ediscoveryCases/{ediscoveryCase%2Did}/caseMembers/$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.Security.Cases.EdiscoveryCases.Item.CaseMembers.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.CaseMembers.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/CaseMembers/Item/EdiscoveryCaseMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/CaseMembers/Item/EdiscoveryCaseMemberItemRequestBuilder.cs new file mode 100644 index 00000000000..6fe1eeb5644 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/CaseMembers/Item/EdiscoveryCaseMemberItemRequestBuilder.cs @@ -0,0 +1,230 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models.Security; +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.Security.Cases.EdiscoveryCases.Item.CaseMembers.Item +{ + /// + /// Provides operations to manage the caseMembers property of the microsoft.graph.security.ediscoveryCase entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EdiscoveryCaseMemberItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public EdiscoveryCaseMemberItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/cases/ediscoveryCases/{ediscoveryCase%2Did}/caseMembers/{ediscoveryCaseMember%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 EdiscoveryCaseMemberItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/cases/ediscoveryCases/{ediscoveryCase%2Did}/caseMembers/{ediscoveryCaseMember%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Remove an ediscoveryCaseMember from an ediscoveryCase. + /// Find more info here + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Represents members of an eDiscovery case. + /// + /// 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.Security.EdiscoveryCaseMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property caseMembers in security + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.Security.EdiscoveryCaseMember body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.Security.EdiscoveryCaseMember 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.Security.EdiscoveryCaseMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove an ediscoveryCaseMember from an ediscoveryCase. + /// + /// A + /// Configuration 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; + } + /// + /// Represents members of an eDiscovery case. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property caseMembers in security + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.Security.EdiscoveryCaseMember body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.Security.EdiscoveryCaseMember 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.Security.Cases.EdiscoveryCases.Item.CaseMembers.Item.EdiscoveryCaseMemberItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.CaseMembers.Item.EdiscoveryCaseMemberItemRequestBuilder(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 EdiscoveryCaseMemberItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Represents members of an eDiscovery case. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EdiscoveryCaseMemberItemRequestBuilderGetQueryParameters + { + /// 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 EdiscoveryCaseMemberItemRequestBuilderGetRequestConfiguration : 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 EdiscoveryCaseMemberItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/EdiscoveryCaseItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/EdiscoveryCaseItemRequestBuilder.cs index 671de843e2d..e57632c1bd5 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/EdiscoveryCaseItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/EdiscoveryCaseItemRequestBuilder.cs @@ -2,6 +2,7 @@ #pragma warning disable CS0618 using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models.Security; +using Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.CaseMembers; using Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.Custodians; using Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.MicrosoftGraphSecurityClose; using Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.MicrosoftGraphSecurityReopen; @@ -27,6 +28,11 @@ namespace Microsoft.Graph.Security.Cases.EdiscoveryCases.Item [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class EdiscoveryCaseItemRequestBuilder : BaseRequestBuilder { + /// Provides operations to manage the caseMembers property of the microsoft.graph.security.ediscoveryCase entity. + public global::Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.CaseMembers.CaseMembersRequestBuilder CaseMembers + { + get => new global::Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.CaseMembers.CaseMembersRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the custodians property of the microsoft.graph.security.ediscoveryCase entity. public global::Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.Custodians.CustodiansRequestBuilder Custodians { diff --git a/src/Microsoft.Graph/Generated/Security/SecureScoreControlProfiles/Item/SecureScoreControlProfileItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/SecureScoreControlProfiles/Item/SecureScoreControlProfileItemRequestBuilder.cs index 6996099e250..dbec0ced251 100644 --- a/src/Microsoft.Graph/Generated/Security/SecureScoreControlProfiles/Item/SecureScoreControlProfileItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/SecureScoreControlProfiles/Item/SecureScoreControlProfileItemRequestBuilder.cs @@ -81,7 +81,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.SecureScoreControlProfile.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update an editable secureScoreControlProfile object within any integrated solution to change various properties, such as assignedTo or tenantNote. + /// Update an editable secureScoreControlProfile object within any integrated solution to change various properties, such as tenantNote. /// Find more info here /// /// A @@ -145,7 +145,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update an editable secureScoreControlProfile object within any integrated solution to change various properties, such as assignedTo or tenantNote. + /// Update an editable secureScoreControlProfile object within any integrated solution to change various properties, such as tenantNote. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/ServiceApps/Item/ServiceAppItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/ServiceApps/Item/ServiceAppItemRequestBuilder.cs index ab85bfecda4..4d8c4b997be 100644 --- a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/ServiceApps/Item/ServiceAppItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/ServiceApps/Item/ServiceAppItemRequestBuilder.cs @@ -47,7 +47,7 @@ public ServiceAppItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapte { } /// - /// Delete a serviceApp. + /// Delete a serviceApp. When this API is called via Microsoft Graph PowerShell, it returns a 403 Forbidden response code. /// Find more info here /// /// Cancellation token to use when cancelling requests @@ -119,7 +119,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.ServiceApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete a serviceApp. + /// Delete a serviceApp. When this API is called via Microsoft Graph PowerShell, it returns a 403 Forbidden response code. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/ContainerTypeRegistrations/ContainerTypeRegistrationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/ContainerTypeRegistrations/ContainerTypeRegistrationsRequestBuilder.cs new file mode 100644 index 00000000000..40d4221b6aa --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/ContainerTypeRegistrations/ContainerTypeRegistrationsRequestBuilder.cs @@ -0,0 +1,239 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Count; +using Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.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.Storage.FileStorage.ContainerTypeRegistrations +{ + /// + /// Provides operations to manage the containerTypeRegistrations property of the microsoft.graph.fileStorage entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContainerTypeRegistrationsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the containerTypeRegistrations property of the microsoft.graph.fileStorage entity. + /// The unique identifier of fileStorageContainerTypeRegistration + /// A + public global::Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.FileStorageContainerTypeRegistrationItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("fileStorageContainerTypeRegistration%2Did", position); + return new global::Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.FileStorageContainerTypeRegistrationItemRequestBuilder(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 ContainerTypeRegistrationsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containerTypeRegistrations{?%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 ContainerTypeRegistrationsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containerTypeRegistrations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get a list of the fileStorageContainerTypeRegistration objects and their properties. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.FileStorageContainerTypeRegistrationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to containerTypeRegistrations for storage + /// + /// 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.FileStorageContainerTypeRegistration body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.FileStorageContainerTypeRegistration 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.FileStorageContainerTypeRegistration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get a list of the fileStorageContainerTypeRegistration objects and their properties. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to containerTypeRegistrations for storage + /// + /// 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.FileStorageContainerTypeRegistration body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.FileStorageContainerTypeRegistration 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.Storage.FileStorage.ContainerTypeRegistrations.ContainerTypeRegistrationsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.ContainerTypeRegistrationsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get a list of the fileStorageContainerTypeRegistration objects and their properties. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContainerTypeRegistrationsRequestBuilderGetQueryParameters + { + /// 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 ContainerTypeRegistrationsRequestBuilderGetRequestConfiguration : 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 ContainerTypeRegistrationsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/ContainerTypeRegistrations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/ContainerTypeRegistrations/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..f9147beecd5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/ContainerTypeRegistrations/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.Storage.FileStorage.ContainerTypeRegistrations.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}/storage/fileStorage/containerTypeRegistrations/$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}/storage/fileStorage/containerTypeRegistrations/$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.Storage.FileStorage.ContainerTypeRegistrations.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.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/Storage/FileStorage/ContainerTypeRegistrations/Item/ApplicationPermissionGrants/ApplicationPermissionGrantsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/ContainerTypeRegistrations/Item/ApplicationPermissionGrants/ApplicationPermissionGrantsRequestBuilder.cs new file mode 100644 index 00000000000..a83f1097789 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/ContainerTypeRegistrations/Item/ApplicationPermissionGrants/ApplicationPermissionGrantsRequestBuilder.cs @@ -0,0 +1,239 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.ApplicationPermissionGrants.Count; +using Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.ApplicationPermissionGrants.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.Storage.FileStorage.ContainerTypeRegistrations.Item.ApplicationPermissionGrants +{ + /// + /// Provides operations to manage the applicationPermissionGrants property of the microsoft.graph.fileStorageContainerTypeRegistration entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ApplicationPermissionGrantsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.ApplicationPermissionGrants.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.ApplicationPermissionGrants.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the applicationPermissionGrants property of the microsoft.graph.fileStorageContainerTypeRegistration entity. + /// The unique identifier of fileStorageContainerTypeAppPermissionGrant + /// A + public global::Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.ApplicationPermissionGrants.Item.FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("fileStorageContainerTypeAppPermissionGrant%2DappId", position); + return new global::Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.ApplicationPermissionGrants.Item.FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder(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 ApplicationPermissionGrantsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containerTypeRegistrations/{fileStorageContainerTypeRegistration%2Did}/applicationPermissionGrants{?%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 ApplicationPermissionGrantsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containerTypeRegistrations/{fileStorageContainerTypeRegistration%2Did}/applicationPermissionGrants{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// List all app permission grants in a fileStorageContainerTypeRegistration. + /// 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.FileStorageContainerTypeAppPermissionGrantCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to applicationPermissionGrants for storage + /// + /// 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.FileStorageContainerTypeAppPermissionGrant body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.FileStorageContainerTypeAppPermissionGrant 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.FileStorageContainerTypeAppPermissionGrant.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// List all app permission grants in a fileStorageContainerTypeRegistration. + /// + /// A + /// Configuration 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 applicationPermissionGrants for storage + /// + /// 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.FileStorageContainerTypeAppPermissionGrant body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.FileStorageContainerTypeAppPermissionGrant 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.Storage.FileStorage.ContainerTypeRegistrations.Item.ApplicationPermissionGrants.ApplicationPermissionGrantsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.ApplicationPermissionGrants.ApplicationPermissionGrantsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// List all app permission grants in a fileStorageContainerTypeRegistration. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ApplicationPermissionGrantsRequestBuilderGetQueryParameters + { + /// 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 ApplicationPermissionGrantsRequestBuilderGetRequestConfiguration : 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 ApplicationPermissionGrantsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/ContainerTypeRegistrations/Item/ApplicationPermissionGrants/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/ContainerTypeRegistrations/Item/ApplicationPermissionGrants/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..6d0157f6e0c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/ContainerTypeRegistrations/Item/ApplicationPermissionGrants/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.Storage.FileStorage.ContainerTypeRegistrations.Item.ApplicationPermissionGrants.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}/storage/fileStorage/containerTypeRegistrations/{fileStorageContainerTypeRegistration%2Did}/applicationPermissionGrants/$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}/storage/fileStorage/containerTypeRegistrations/{fileStorageContainerTypeRegistration%2Did}/applicationPermissionGrants/$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.Storage.FileStorage.ContainerTypeRegistrations.Item.ApplicationPermissionGrants.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.ApplicationPermissionGrants.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/Storage/FileStorage/ContainerTypeRegistrations/Item/ApplicationPermissionGrants/Item/FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/ContainerTypeRegistrations/Item/ApplicationPermissionGrants/Item/FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder.cs new file mode 100644 index 00000000000..740b125b2a1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/ContainerTypeRegistrations/Item/ApplicationPermissionGrants/Item/FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder.cs @@ -0,0 +1,232 @@ +// +#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.Storage.FileStorage.ContainerTypeRegistrations.Item.ApplicationPermissionGrants.Item +{ + /// + /// Provides operations to manage the applicationPermissionGrants property of the microsoft.graph.fileStorageContainerTypeRegistration entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containerTypeRegistrations/{fileStorageContainerTypeRegistration%2Did}/applicationPermissionGrants/{fileStorageContainerTypeAppPermissionGrant%2DappId}{?%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 FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containerTypeRegistrations/{fileStorageContainerTypeRegistration%2Did}/applicationPermissionGrants/{fileStorageContainerTypeAppPermissionGrant%2DappId}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete a fileStorageContainerTypeAppPermissionGrant object in a fileStorageContainerTypeRegistration. + /// Find more info here + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read a specific app permission grant in a fileStorageContainerTypeRegistration. + /// 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.FileStorageContainerTypeAppPermissionGrant.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the properties of a fileStorageContainerTypeAppPermissionGrant object. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.FileStorageContainerTypeAppPermissionGrant body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.FileStorageContainerTypeAppPermissionGrant 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.FileStorageContainerTypeAppPermissionGrant.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete a fileStorageContainerTypeAppPermissionGrant object in a fileStorageContainerTypeRegistration. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Read a specific app permission grant in a fileStorageContainerTypeRegistration. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the properties of a fileStorageContainerTypeAppPermissionGrant object. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.FileStorageContainerTypeAppPermissionGrant body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.FileStorageContainerTypeAppPermissionGrant 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.Storage.FileStorage.ContainerTypeRegistrations.Item.ApplicationPermissionGrants.Item.FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.ApplicationPermissionGrants.Item.FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder(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 FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Read a specific app permission grant in a fileStorageContainerTypeRegistration. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderGetQueryParameters + { + /// 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 FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderGetRequestConfiguration : 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 FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/ContainerTypeRegistrations/Item/FileStorageContainerTypeRegistrationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/ContainerTypeRegistrations/Item/FileStorageContainerTypeRegistrationItemRequestBuilder.cs new file mode 100644 index 00000000000..c06929fcff5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/ContainerTypeRegistrations/Item/FileStorageContainerTypeRegistrationItemRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.ApplicationPermissionGrants; +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.Storage.FileStorage.ContainerTypeRegistrations.Item +{ + /// + /// Provides operations to manage the containerTypeRegistrations property of the microsoft.graph.fileStorage entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class FileStorageContainerTypeRegistrationItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the applicationPermissionGrants property of the microsoft.graph.fileStorageContainerTypeRegistration entity. + public global::Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.ApplicationPermissionGrants.ApplicationPermissionGrantsRequestBuilder ApplicationPermissionGrants + { + get => new global::Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.ApplicationPermissionGrants.ApplicationPermissionGrantsRequestBuilder(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 FileStorageContainerTypeRegistrationItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containerTypeRegistrations/{fileStorageContainerTypeRegistration%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 FileStorageContainerTypeRegistrationItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containerTypeRegistrations/{fileStorageContainerTypeRegistration%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete a fileStorageContainerTypeRegistration object. A registration can only be deleted if it has neither containers nor deleted containers + /// Find more info here + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read the properties and relationships of a fileStorageContainerTypeRegistration object. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.FileStorageContainerTypeRegistration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create or replace a fileStorageContainerTypeRegistration object. This method registers a fileStorageContainerType in the tenant. For standard containers, billing must be valid for the registration to complete successfully. Settings can't be modified during registration. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.FileStorageContainerTypeRegistration body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.FileStorageContainerTypeRegistration 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.FileStorageContainerTypeRegistration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete a fileStorageContainerTypeRegistration object. A registration can only be deleted if it has neither containers nor deleted containers + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Read the properties and relationships of a fileStorageContainerTypeRegistration object. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create or replace a fileStorageContainerTypeRegistration object. This method registers a fileStorageContainerType in the tenant. For standard containers, billing must be valid for the registration to complete successfully. Settings can't be modified during registration. + /// + /// 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.FileStorageContainerTypeRegistration body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.FileStorageContainerTypeRegistration 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.Storage.FileStorage.ContainerTypeRegistrations.Item.FileStorageContainerTypeRegistrationItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.FileStorageContainerTypeRegistrationItemRequestBuilder(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 FileStorageContainerTypeRegistrationItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Read the properties and relationships of a fileStorageContainerTypeRegistration object. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class FileStorageContainerTypeRegistrationItemRequestBuilderGetQueryParameters + { + /// 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 FileStorageContainerTypeRegistrationItemRequestBuilderGetRequestConfiguration : 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 FileStorageContainerTypeRegistrationItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/ContainerTypes/ContainerTypesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/ContainerTypes/ContainerTypesRequestBuilder.cs new file mode 100644 index 00000000000..a43c2d2e2f3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/ContainerTypes/ContainerTypesRequestBuilder.cs @@ -0,0 +1,240 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Storage.FileStorage.ContainerTypes.Count; +using Microsoft.Graph.Storage.FileStorage.ContainerTypes.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.Storage.FileStorage.ContainerTypes +{ + /// + /// Provides operations to manage the containerTypes property of the microsoft.graph.fileStorage entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContainerTypesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Storage.FileStorage.ContainerTypes.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Storage.FileStorage.ContainerTypes.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the containerTypes property of the microsoft.graph.fileStorage entity. + /// The unique identifier of fileStorageContainerType + /// A + public global::Microsoft.Graph.Storage.FileStorage.ContainerTypes.Item.FileStorageContainerTypeItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("fileStorageContainerType%2Did", position); + return new global::Microsoft.Graph.Storage.FileStorage.ContainerTypes.Item.FileStorageContainerTypeItemRequestBuilder(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 ContainerTypesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containerTypes{?%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 ContainerTypesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containerTypes{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get a list of the fileStorageContainerType objects and their properties for the current tenant. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.FileStorageContainerTypeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create a new fileStorageContainerType in the owning tenant. The number of container types in a tenant is limited. + /// 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.FileStorageContainerType body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.FileStorageContainerType 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.FileStorageContainerType.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get a list of the fileStorageContainerType objects and their properties for the current tenant. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create a new fileStorageContainerType in the owning tenant. The number of container types in a tenant is limited. + /// + /// 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.FileStorageContainerType body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.FileStorageContainerType 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.Storage.FileStorage.ContainerTypes.ContainerTypesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.ContainerTypes.ContainerTypesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get a list of the fileStorageContainerType objects and their properties for the current tenant. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContainerTypesRequestBuilderGetQueryParameters + { + /// 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 ContainerTypesRequestBuilderGetRequestConfiguration : 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 ContainerTypesRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/ContainerTypes/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/ContainerTypes/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..bc468e424f5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/ContainerTypes/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.Storage.FileStorage.ContainerTypes.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}/storage/fileStorage/containerTypes/$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}/storage/fileStorage/containerTypes/$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.Storage.FileStorage.ContainerTypes.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.ContainerTypes.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/Storage/FileStorage/ContainerTypes/Item/FileStorageContainerTypeItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/ContainerTypes/Item/FileStorageContainerTypeItemRequestBuilder.cs new file mode 100644 index 00000000000..8789e9005d3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/ContainerTypes/Item/FileStorageContainerTypeItemRequestBuilder.cs @@ -0,0 +1,232 @@ +// +#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.Storage.FileStorage.ContainerTypes.Item +{ + /// + /// Provides operations to manage the containerTypes property of the microsoft.graph.fileStorage entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class FileStorageContainerTypeItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public FileStorageContainerTypeItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containerTypes/{fileStorageContainerType%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 FileStorageContainerTypeItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containerTypes/{fileStorageContainerType%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete a fileStorageContainerType object from the tenant. A fileStorageContainerType can only be deleted if no registrations are associated with it in any tenant. + /// Find more info here + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get a fileStorageContainerType using its ID. + /// 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.FileStorageContainerType.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the properties of a fileStorageContainerType object. The properties updated are reflected in each registered fileStorageContainerTypeRegistration in a maximum of 24 hours. Settings overridden in a tenant aren't updated. ETag is used for optimistic concurrency control. It must match the value from Create, Get or the previous Update. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.FileStorageContainerType body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.FileStorageContainerType 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.FileStorageContainerType.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete a fileStorageContainerType object from the tenant. A fileStorageContainerType can only be deleted if no registrations are associated with it in any tenant. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Get a fileStorageContainerType using its ID. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the properties of a fileStorageContainerType object. The properties updated are reflected in each registered fileStorageContainerTypeRegistration in a maximum of 24 hours. Settings overridden in a tenant aren't updated. ETag is used for optimistic concurrency control. It must match the value from Create, Get or the previous Update. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.FileStorageContainerType body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.FileStorageContainerType 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.Storage.FileStorage.ContainerTypes.Item.FileStorageContainerTypeItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.ContainerTypes.Item.FileStorageContainerTypeItemRequestBuilder(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 FileStorageContainerTypeItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get a fileStorageContainerType using its ID. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class FileStorageContainerTypeItemRequestBuilderGetQueryParameters + { + /// 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 FileStorageContainerTypeItemRequestBuilderGetRequestConfiguration : 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 FileStorageContainerTypeItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/FileStorageContainerItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/FileStorageContainerItemRequestBuilder.cs index b04522d8f79..6c31d806dac 100644 --- a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/FileStorageContainerItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/FileStorageContainerItemRequestBuilder.cs @@ -123,7 +123,7 @@ public async Task DeleteAsync(Action - /// Get containers from storage + /// The collection of active fileStorageContainer resources. /// /// A /// Cancellation token to use when cancelling requests @@ -190,7 +190,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get containers from storage + /// The collection of active fileStorageContainer resources. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -248,7 +248,7 @@ public partial class FileStorageContainerItemRequestBuilderDeleteRequestConfigur { } /// - /// Get containers from storage + /// The collection of active fileStorageContainer resources. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class FileStorageContainerItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/DeletedContainersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/DeletedContainersRequestBuilder.cs index f15a1905812..11e9c40cb4c 100644 --- a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/DeletedContainersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/DeletedContainersRequestBuilder.cs @@ -54,7 +54,7 @@ public DeletedContainersRequestBuilder(string rawUrl, IRequestAdapter requestAda { } /// - /// Get deletedContainers from storage + /// The collection of deleted fileStorageContainer resources. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public DeletedContainersRequestBuilder(string rawUrl, IRequestAdapter requestAda return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.FileStorageContainer.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get deletedContainers from storage + /// The collection of deleted fileStorageContainer resources. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.DeletedContainersRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get deletedContainers from storage + /// The collection of deleted fileStorageContainer resources. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DeletedContainersRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/FileStorageContainerItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/FileStorageContainerItemRequestBuilder.cs index 74d2250e92f..47366bfad91 100644 --- a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/FileStorageContainerItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/FileStorageContainerItemRequestBuilder.cs @@ -123,7 +123,7 @@ public async Task DeleteAsync(Action - /// Get deletedContainers from storage + /// The collection of deleted fileStorageContainer resources. /// /// A /// Cancellation token to use when cancelling requests @@ -190,7 +190,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get deletedContainers from storage + /// The collection of deleted fileStorageContainer resources. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -248,7 +248,7 @@ public partial class FileStorageContainerItemRequestBuilderDeleteRequestConfigur { } /// - /// Get deletedContainers from storage + /// The collection of deleted fileStorageContainer resources. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class FileStorageContainerItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/FileStorageRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/FileStorageRequestBuilder.cs index 4b7c35f1d67..4e1ea01dcd6 100644 --- a/src/Microsoft.Graph/Generated/Storage/FileStorage/FileStorageRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/FileStorageRequestBuilder.cs @@ -2,6 +2,8 @@ #pragma warning disable CS0618 using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; +using Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations; +using Microsoft.Graph.Storage.FileStorage.ContainerTypes; using Microsoft.Graph.Storage.FileStorage.Containers; using Microsoft.Graph.Storage.FileStorage.DeletedContainers; using Microsoft.Kiota.Abstractions.Extensions; @@ -25,6 +27,16 @@ public partial class FileStorageRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Storage.FileStorage.Containers.ContainersRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the containerTypeRegistrations property of the microsoft.graph.fileStorage entity. + public global::Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.ContainerTypeRegistrationsRequestBuilder ContainerTypeRegistrations + { + get => new global::Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.ContainerTypeRegistrationsRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the containerTypes property of the microsoft.graph.fileStorage entity. + public global::Microsoft.Graph.Storage.FileStorage.ContainerTypes.ContainerTypesRequestBuilder ContainerTypes + { + get => new global::Microsoft.Graph.Storage.FileStorage.ContainerTypes.ContainerTypesRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the deletedContainers property of the microsoft.graph.fileStorage entity. public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.DeletedContainersRequestBuilder DeletedContainers { diff --git a/src/Microsoft.Graph/Generated/Users/Item/AdhocCalls/AdhocCallsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/AdhocCalls/AdhocCallsRequestBuilder.cs new file mode 100644 index 00000000000..d3e6fb73baa --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/AdhocCalls/AdhocCallsRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Users.Item.AdhocCalls.Count; +using Microsoft.Graph.Users.Item.AdhocCalls.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.AdhocCalls +{ + /// + /// Provides operations to manage the adhocCalls property of the microsoft.graph.user entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AdhocCallsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Users.Item.AdhocCalls.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Users.Item.AdhocCalls.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the adhocCalls property of the microsoft.graph.user entity. + /// The unique identifier of adhocCall + /// A + public global::Microsoft.Graph.Users.Item.AdhocCalls.Item.AdhocCallItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("adhocCall%2Did", position); + return new global::Microsoft.Graph.Users.Item.AdhocCalls.Item.AdhocCallItemRequestBuilder(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 AdhocCallsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/adhocCalls{?%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 AdhocCallsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/adhocCalls{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Ad hoc calls associated with the user. 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.AdhocCallCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to adhocCalls 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.AdhocCall body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.AdhocCall 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.AdhocCall.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Ad hoc calls associated with the user. 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 adhocCalls 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.AdhocCall body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.AdhocCall 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.AdhocCalls.AdhocCallsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.AdhocCalls.AdhocCallsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Ad hoc calls associated with the user. Read-only. Nullable. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AdhocCallsRequestBuilderGetQueryParameters + { + /// 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 AdhocCallsRequestBuilderGetRequestConfiguration : 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 AdhocCallsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/AdhocCalls/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/AdhocCalls/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..7cb07bce862 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/AdhocCalls/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.AdhocCalls.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}/adhocCalls/$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}/adhocCalls/$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.AdhocCalls.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.AdhocCalls.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/AdhocCalls/Item/AdhocCallItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/AdhocCalls/Item/AdhocCallItemRequestBuilder.cs new file mode 100644 index 00000000000..0cd07a2bd48 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/AdhocCalls/Item/AdhocCallItemRequestBuilder.cs @@ -0,0 +1,241 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings; +using Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts; +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.AdhocCalls.Item +{ + /// + /// Provides operations to manage the adhocCalls property of the microsoft.graph.user entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AdhocCallItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the recordings property of the microsoft.graph.adhocCall entity. + public global::Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.RecordingsRequestBuilder Recordings + { + get => new global::Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.RecordingsRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the transcripts property of the microsoft.graph.adhocCall entity. + public global::Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.TranscriptsRequestBuilder Transcripts + { + get => new global::Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.TranscriptsRequestBuilder(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 AdhocCallItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/adhocCalls/{adhocCall%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 AdhocCallItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/adhocCalls/{adhocCall%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property adhocCalls 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); + } + /// + /// Ad hoc calls associated with the user. 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.AdhocCall.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property adhocCalls 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.AdhocCall body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.AdhocCall 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.AdhocCall.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property adhocCalls 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; + } + /// + /// Ad hoc calls associated with the user. 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 adhocCalls 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.AdhocCall body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.AdhocCall 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.AdhocCalls.Item.AdhocCallItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.AdhocCalls.Item.AdhocCallItemRequestBuilder(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 AdhocCallItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Ad hoc calls associated with the user. Read-only. Nullable. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AdhocCallItemRequestBuilderGetQueryParameters + { + /// 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 AdhocCallItemRequestBuilderGetRequestConfiguration : 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 AdhocCallItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/AdhocCalls/Item/Recordings/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/AdhocCalls/Item/Recordings/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..4aff37da4ed --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/AdhocCalls/Item/Recordings/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.AdhocCalls.Item.Recordings.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}/adhocCalls/{adhocCall%2Did}/recordings/$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}/adhocCalls/{adhocCall%2Did}/recordings/$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.AdhocCalls.Item.Recordings.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.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/AdhocCalls/Item/Recordings/Delta/DeltaGetResponse.cs b/src/Microsoft.Graph/Generated/Users/Item/AdhocCalls/Item/Recordings/Delta/DeltaGetResponse.cs new file mode 100644 index 00000000000..7553682edb5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/AdhocCalls/Item/Recordings/Delta/DeltaGetResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Delta +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DeltaGetResponse : global::Microsoft.Graph.Models.BaseDeltaFunctionResponse, 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.Users.Item.AdhocCalls.Item.Recordings.Delta.DeltaGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Delta.DeltaGetResponse(); + } + /// + /// 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.CallRecording.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/Users/Item/AdhocCalls/Item/Recordings/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/AdhocCalls/Item/Recordings/Delta/DeltaRequestBuilder.cs new file mode 100644 index 00000000000..714a9615f0d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/AdhocCalls/Item/Recordings/Delta/DeltaRequestBuilder.cs @@ -0,0 +1,187 @@ +// +#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.AdhocCalls.Item.Recordings.Delta +{ + /// + /// Provides operations to call the delta method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeltaRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public DeltaRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/adhocCalls/{adhocCall%2Did}/recordings/delta(){?%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 DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/adhocCalls/{adhocCall%2Did}/recordings/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Invoke function delta + /// + /// 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 GetAsDeltaGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsDeltaGetResponseAsync(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.Users.Item.AdhocCalls.Item.Recordings.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function delta + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("This method is obsolete. Use GetAsDeltaGetResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function delta + /// + /// A + /// Configuration 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.AdhocCalls.Item.Recordings.Delta.DeltaRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Delta.DeltaRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Invoke function delta + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeltaRequestBuilderGetQueryParameters + { + /// 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 DeltaRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/AdhocCalls/Item/Recordings/Delta/DeltaResponse.cs b/src/Microsoft.Graph/Generated/Users/Item/AdhocCalls/Item/Recordings/Delta/DeltaResponse.cs new file mode 100644 index 00000000000..187614edffd --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/AdhocCalls/Item/Recordings/Delta/DeltaResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Delta +{ + [Obsolete("This class is obsolete. Use DeltaGetResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DeltaResponse : global::Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Delta.DeltaGetResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Delta.DeltaResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Delta.DeltaResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/AdhocCalls/Item/Recordings/Item/CallRecordingItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/AdhocCalls/Item/Recordings/Item/CallRecordingItemRequestBuilder.cs new file mode 100644 index 00000000000..4611eb624f7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/AdhocCalls/Item/Recordings/Item/CallRecordingItemRequestBuilder.cs @@ -0,0 +1,236 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Item.Content; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Item +{ + /// + /// Provides operations to manage the recordings property of the microsoft.graph.adhocCall entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CallRecordingItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the media for the user entity. + public global::Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Item.Content.ContentRequestBuilder Content + { + get => new global::Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Item.Content.ContentRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CallRecordingItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/adhocCalls/{adhocCall%2Did}/recordings/{callRecording%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 CallRecordingItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/adhocCalls/{adhocCall%2Did}/recordings/{callRecording%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property recordings 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); + } + /// + /// Get a callRecording object associated with a scheduled online meeting and an ad hoc call. This API supports the retrieval of call recordings from all meeting types except live events. For a recording, this API returns the metadata of the single recording associated with the online meeting or an ad hoc call. For the content of a recording, this API returns the stream of bytes associated with the recording. + /// 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.CallRecording.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property recordings 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.CallRecording body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.CallRecording 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.CallRecording.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property recordings 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; + } + /// + /// Get a callRecording object associated with a scheduled online meeting and an ad hoc call. This API supports the retrieval of call recordings from all meeting types except live events. For a recording, this API returns the metadata of the single recording associated with the online meeting or an ad hoc call. For the content of a recording, this API returns the stream of bytes associated with the recording. + /// + /// A + /// Configuration 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 recordings 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.CallRecording body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.CallRecording 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.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder(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 CallRecordingItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get a callRecording object associated with a scheduled online meeting and an ad hoc call. This API supports the retrieval of call recordings from all meeting types except live events. For a recording, this API returns the metadata of the single recording associated with the online meeting or an ad hoc call. For the content of a recording, this API returns the stream of bytes associated with the recording. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CallRecordingItemRequestBuilderGetQueryParameters + { + /// 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 CallRecordingItemRequestBuilderGetRequestConfiguration : 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 CallRecordingItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/AdhocCalls/Item/Recordings/Item/Content/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/AdhocCalls/Item/Recordings/Item/Content/ContentRequestBuilder.cs new file mode 100644 index 00000000000..104f09824d7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/AdhocCalls/Item/Recordings/Item/Content/ContentRequestBuilder.cs @@ -0,0 +1,203 @@ +// +#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.AdhocCalls.Item.Recordings.Item.Content +{ + /// + /// Provides operations to manage the media for the user entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContentRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ContentRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/adhocCalls/{adhocCall%2Did}/recordings/{callRecording%2Did}/content", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ContentRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/adhocCalls/{adhocCall%2Did}/recordings/{callRecording%2Did}/content", rawUrl) + { + } + /// + /// The content of the recording. Read-only. + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and 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); + } + /// + /// Get a callRecording object associated with a scheduled online meeting and an ad hoc call. This API supports the retrieval of call recordings from all meeting types except live events. For a recording, this API returns the metadata of the single recording associated with the online meeting or an ad hoc call. For the content of a recording, this API returns the stream of bytes associated with the recording. + /// 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.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The content of the recording. Read-only. + /// + /// A + /// Binary request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PutAsync(Stream body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PutAsync(Stream body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPutRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.CallRecording.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The content of the recording. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Get a callRecording object associated with a scheduled online meeting and an ad hoc call. This API supports the retrieval of call recordings from all meeting types except live events. For a recording, this API returns the metadata of the single recording associated with the online meeting or an ad hoc call. For the content of a recording, this API returns the stream of bytes associated with the recording. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json"); + return requestInfo; + } + /// + /// The content of the recording. Read-only. + /// + /// A + /// Binary request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPutRequestInformation(Stream body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPutRequestInformation(Stream body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PUT, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetStreamContent(body, "application/octet-stream"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Item.Content.ContentRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Item.Content.ContentRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContentRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContentRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContentRequestBuilderPutRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/AdhocCalls/Item/Recordings/RecordingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/AdhocCalls/Item/Recordings/RecordingsRequestBuilder.cs new file mode 100644 index 00000000000..d6ee3bf6331 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/AdhocCalls/Item/Recordings/RecordingsRequestBuilder.cs @@ -0,0 +1,244 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Count; +using Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Delta; +using Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.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.AdhocCalls.Item.Recordings +{ + /// + /// Provides operations to manage the recordings property of the microsoft.graph.adhocCall entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RecordingsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the delta method. + public global::Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Delta.DeltaRequestBuilder Delta + { + get => new global::Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Delta.DeltaRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the recordings property of the microsoft.graph.adhocCall entity. + /// The unique identifier of callRecording + /// A + public global::Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("callRecording%2Did", position); + return new global::Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder(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 RecordingsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/adhocCalls/{adhocCall%2Did}/recordings{?%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 RecordingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/adhocCalls/{adhocCall%2Did}/recordings{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get a callRecording object associated with a scheduled online meeting and an ad hoc call. This API supports the retrieval of call recordings from all meeting types except live events. For a recording, this API returns the metadata of the single recording associated with the online meeting or an ad hoc call. For the content of a recording, this API returns the stream of bytes associated with the recording. + /// + /// 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.CallRecordingCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to recordings 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.CallRecording body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.CallRecording 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.CallRecording.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get a callRecording object associated with a scheduled online meeting and an ad hoc call. This API supports the retrieval of call recordings from all meeting types except live events. For a recording, this API returns the metadata of the single recording associated with the online meeting or an ad hoc call. For the content of a recording, this API returns the stream of bytes associated with the recording. + /// + /// A + /// Configuration 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 recordings 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.CallRecording body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.CallRecording 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.AdhocCalls.Item.Recordings.RecordingsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.RecordingsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get a callRecording object associated with a scheduled online meeting and an ad hoc call. This API supports the retrieval of call recordings from all meeting types except live events. For a recording, this API returns the metadata of the single recording associated with the online meeting or an ad hoc call. For the content of a recording, this API returns the stream of bytes associated with the recording. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RecordingsRequestBuilderGetQueryParameters + { + /// 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 RecordingsRequestBuilderGetRequestConfiguration : 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 RecordingsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/AdhocCalls/Item/Transcripts/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/AdhocCalls/Item/Transcripts/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..68207250c85 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/AdhocCalls/Item/Transcripts/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.AdhocCalls.Item.Transcripts.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}/adhocCalls/{adhocCall%2Did}/transcripts/$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}/adhocCalls/{adhocCall%2Did}/transcripts/$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.AdhocCalls.Item.Transcripts.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.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/AdhocCalls/Item/Transcripts/Delta/DeltaGetResponse.cs b/src/Microsoft.Graph/Generated/Users/Item/AdhocCalls/Item/Transcripts/Delta/DeltaGetResponse.cs new file mode 100644 index 00000000000..24aab6c5dc6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/AdhocCalls/Item/Transcripts/Delta/DeltaGetResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Delta +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DeltaGetResponse : global::Microsoft.Graph.Models.BaseDeltaFunctionResponse, 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.Users.Item.AdhocCalls.Item.Transcripts.Delta.DeltaGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Delta.DeltaGetResponse(); + } + /// + /// 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.CallTranscript.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/Users/Item/AdhocCalls/Item/Transcripts/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/AdhocCalls/Item/Transcripts/Delta/DeltaRequestBuilder.cs new file mode 100644 index 00000000000..8b75f62581d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/AdhocCalls/Item/Transcripts/Delta/DeltaRequestBuilder.cs @@ -0,0 +1,187 @@ +// +#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.AdhocCalls.Item.Transcripts.Delta +{ + /// + /// Provides operations to call the delta method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeltaRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public DeltaRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/adhocCalls/{adhocCall%2Did}/transcripts/delta(){?%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 DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/adhocCalls/{adhocCall%2Did}/transcripts/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Invoke function delta + /// + /// 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 GetAsDeltaGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsDeltaGetResponseAsync(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.Users.Item.AdhocCalls.Item.Transcripts.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function delta + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("This method is obsolete. Use GetAsDeltaGetResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function delta + /// + /// A + /// Configuration 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.AdhocCalls.Item.Transcripts.Delta.DeltaRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Delta.DeltaRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Invoke function delta + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeltaRequestBuilderGetQueryParameters + { + /// 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 DeltaRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/AdhocCalls/Item/Transcripts/Delta/DeltaResponse.cs b/src/Microsoft.Graph/Generated/Users/Item/AdhocCalls/Item/Transcripts/Delta/DeltaResponse.cs new file mode 100644 index 00000000000..16763534b0e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/AdhocCalls/Item/Transcripts/Delta/DeltaResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Delta +{ + [Obsolete("This class is obsolete. Use DeltaGetResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DeltaResponse : global::Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Delta.DeltaGetResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Delta.DeltaResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Delta.DeltaResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/AdhocCalls/Item/Transcripts/Item/CallTranscriptItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/AdhocCalls/Item/Transcripts/Item/CallTranscriptItemRequestBuilder.cs new file mode 100644 index 00000000000..7b878cb2c75 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/AdhocCalls/Item/Transcripts/Item/CallTranscriptItemRequestBuilder.cs @@ -0,0 +1,242 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Item.Content; +using Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Item.MetadataContent; +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.AdhocCalls.Item.Transcripts.Item +{ + /// + /// Provides operations to manage the transcripts property of the microsoft.graph.adhocCall entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CallTranscriptItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the media for the user entity. + public global::Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Item.Content.ContentRequestBuilder Content + { + get => new global::Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Item.Content.ContentRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the media for the user entity. + public global::Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Item.MetadataContent.MetadataContentRequestBuilder MetadataContent + { + get => new global::Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Item.MetadataContent.MetadataContentRequestBuilder(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 CallTranscriptItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/adhocCalls/{adhocCall%2Did}/transcripts/{callTranscript%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 CallTranscriptItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/adhocCalls/{adhocCall%2Did}/transcripts/{callTranscript%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property transcripts 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); + } + /// + /// Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from all meeting types except live events. Retrieving the transcript returns the metadata of the single transcript associated with an online meeting or an ad hoc call. Retrieving the content of the transcript returns the stream of text associated with the transcript. + /// 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.CallTranscript.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property transcripts 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.CallTranscript body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.CallTranscript 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.CallTranscript.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property transcripts 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; + } + /// + /// Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from all meeting types except live events. Retrieving the transcript returns the metadata of the single transcript associated with an online meeting or an ad hoc call. Retrieving the content of the transcript returns the stream of text associated with the transcript. + /// + /// A + /// Configuration 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 transcripts 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.CallTranscript body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.CallTranscript 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.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder(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 CallTranscriptItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from all meeting types except live events. Retrieving the transcript returns the metadata of the single transcript associated with an online meeting or an ad hoc call. Retrieving the content of the transcript returns the stream of text associated with the transcript. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CallTranscriptItemRequestBuilderGetQueryParameters + { + /// 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 CallTranscriptItemRequestBuilderGetRequestConfiguration : 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 CallTranscriptItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/AdhocCalls/Item/Transcripts/Item/Content/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/AdhocCalls/Item/Transcripts/Item/Content/ContentRequestBuilder.cs new file mode 100644 index 00000000000..332b0b4ccf5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/AdhocCalls/Item/Transcripts/Item/Content/ContentRequestBuilder.cs @@ -0,0 +1,203 @@ +// +#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.AdhocCalls.Item.Transcripts.Item.Content +{ + /// + /// Provides operations to manage the media for the user entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContentRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ContentRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/adhocCalls/{adhocCall%2Did}/transcripts/{callTranscript%2Did}/content", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ContentRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/adhocCalls/{adhocCall%2Did}/transcripts/{callTranscript%2Did}/content", rawUrl) + { + } + /// + /// The content of the transcript. Read-only. + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and 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); + } + /// + /// Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from all meeting types except live events. Retrieving the transcript returns the metadata of the single transcript associated with an online meeting or an ad hoc call. Retrieving the content of the transcript returns the stream of text associated with the transcript. + /// 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.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The content of the transcript. Read-only. + /// + /// A + /// Binary request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PutAsync(Stream body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PutAsync(Stream body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPutRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.CallTranscript.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The content of the transcript. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation 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; + } + /// + /// Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from all meeting types except live events. Retrieving the transcript returns the metadata of the single transcript associated with an online meeting or an ad hoc call. Retrieving the content of the transcript returns the stream of text associated with the transcript. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json"); + return requestInfo; + } + /// + /// The content of the transcript. Read-only. + /// + /// A + /// Binary request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPutRequestInformation(Stream body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPutRequestInformation(Stream body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PUT, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetStreamContent(body, "application/octet-stream"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Item.Content.ContentRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Item.Content.ContentRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContentRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContentRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContentRequestBuilderPutRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/AdhocCalls/Item/Transcripts/Item/MetadataContent/MetadataContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/AdhocCalls/Item/Transcripts/Item/MetadataContent/MetadataContentRequestBuilder.cs new file mode 100644 index 00000000000..ea8a2a9af9e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/AdhocCalls/Item/Transcripts/Item/MetadataContent/MetadataContentRequestBuilder.cs @@ -0,0 +1,201 @@ +// +#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.AdhocCalls.Item.Transcripts.Item.MetadataContent +{ + /// + /// Provides operations to manage the media for the user entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MetadataContentRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MetadataContentRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/adhocCalls/{adhocCall%2Did}/transcripts/{callTranscript%2Did}/metadataContent", 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 MetadataContentRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/adhocCalls/{adhocCall%2Did}/transcripts/{callTranscript%2Did}/metadataContent", rawUrl) + { + } + /// + /// The time-aligned metadata of the utterances in the transcript. Read-only. + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and 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 time-aligned metadata of the utterances in the transcript. 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.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The time-aligned metadata of the utterances in the transcript. Read-only. + /// + /// A + /// Binary request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PutAsync(Stream body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PutAsync(Stream body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPutRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The time-aligned metadata of the utterances in the transcript. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The time-aligned metadata of the utterances in the transcript. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json"); + return requestInfo; + } + /// + /// The time-aligned metadata of the utterances in the transcript. Read-only. + /// + /// A + /// Binary request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPutRequestInformation(Stream body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPutRequestInformation(Stream body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PUT, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetStreamContent(body, "application/octet-stream"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Item.MetadataContent.MetadataContentRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Item.MetadataContent.MetadataContentRequestBuilder(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 MetadataContentRequestBuilderDeleteRequestConfiguration : 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 MetadataContentRequestBuilderGetRequestConfiguration : 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 MetadataContentRequestBuilderPutRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/AdhocCalls/Item/Transcripts/TranscriptsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/AdhocCalls/Item/Transcripts/TranscriptsRequestBuilder.cs new file mode 100644 index 00000000000..05e721f932d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/AdhocCalls/Item/Transcripts/TranscriptsRequestBuilder.cs @@ -0,0 +1,244 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Count; +using Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Delta; +using Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.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.AdhocCalls.Item.Transcripts +{ + /// + /// Provides operations to manage the transcripts property of the microsoft.graph.adhocCall entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TranscriptsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the delta method. + public global::Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Delta.DeltaRequestBuilder Delta + { + get => new global::Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Delta.DeltaRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the transcripts property of the microsoft.graph.adhocCall entity. + /// The unique identifier of callTranscript + /// A + public global::Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("callTranscript%2Did", position); + return new global::Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder(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 TranscriptsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/adhocCalls/{adhocCall%2Did}/transcripts{?%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 TranscriptsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/adhocCalls/{adhocCall%2Did}/transcripts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from all meeting types except live events. Retrieving the transcript returns the metadata of the single transcript associated with an online meeting or an ad hoc call. Retrieving the content of the transcript returns the stream of text associated with the transcript. + /// + /// 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.CallTranscriptCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to transcripts 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.CallTranscript body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.CallTranscript 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.CallTranscript.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from all meeting types except live events. Retrieving the transcript returns the metadata of the single transcript associated with an online meeting or an ad hoc call. Retrieving the content of the transcript returns the stream of text associated with the transcript. + /// + /// A + /// Configuration 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 transcripts 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.CallTranscript body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.CallTranscript 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.AdhocCalls.Item.Transcripts.TranscriptsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.TranscriptsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from all meeting types except live events. Retrieving the transcript returns the metadata of the single transcript associated with an online meeting or an ad hoc call. Retrieving the content of the transcript returns the stream of text associated with the transcript. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TranscriptsRequestBuilderGetQueryParameters + { + /// 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 TranscriptsRequestBuilderGetRequestConfiguration : 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 TranscriptsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/CloudPCs/Item/CloudPCItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CloudPCs/Item/CloudPCItemRequestBuilder.cs index b594c734961..0f49c73b475 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CloudPCs/Item/CloudPCItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CloudPCs/Item/CloudPCItemRequestBuilder.cs @@ -5,8 +5,10 @@ using Microsoft.Graph.Users.Item.CloudPCs.Item.EndGracePeriod; using Microsoft.Graph.Users.Item.CloudPCs.Item.Reboot; using Microsoft.Graph.Users.Item.CloudPCs.Item.Rename; +using Microsoft.Graph.Users.Item.CloudPCs.Item.Reprovision; using Microsoft.Graph.Users.Item.CloudPCs.Item.Resize; using Microsoft.Graph.Users.Item.CloudPCs.Item.Restore; +using Microsoft.Graph.Users.Item.CloudPCs.Item.RetrieveCloudPcLaunchDetail; using Microsoft.Graph.Users.Item.CloudPCs.Item.Troubleshoot; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; @@ -39,6 +41,11 @@ public partial class CloudPCItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Users.Item.CloudPCs.Item.Rename.RenameRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the reprovision method. + public global::Microsoft.Graph.Users.Item.CloudPCs.Item.Reprovision.ReprovisionRequestBuilder Reprovision + { + get => new global::Microsoft.Graph.Users.Item.CloudPCs.Item.Reprovision.ReprovisionRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the resize method. public global::Microsoft.Graph.Users.Item.CloudPCs.Item.Resize.ResizeRequestBuilder Resize { @@ -49,6 +56,11 @@ public partial class CloudPCItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Users.Item.CloudPCs.Item.Restore.RestoreRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the retrieveCloudPcLaunchDetail method. + public global::Microsoft.Graph.Users.Item.CloudPCs.Item.RetrieveCloudPcLaunchDetail.RetrieveCloudPcLaunchDetailRequestBuilder RetrieveCloudPcLaunchDetail + { + get => new global::Microsoft.Graph.Users.Item.CloudPCs.Item.RetrieveCloudPcLaunchDetail.RetrieveCloudPcLaunchDetailRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the troubleshoot method. public global::Microsoft.Graph.Users.Item.CloudPCs.Item.Troubleshoot.TroubleshootRequestBuilder Troubleshoot { diff --git a/src/Microsoft.Graph/Generated/Users/Item/CloudPCs/Item/Reprovision/ReprovisionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/CloudPCs/Item/Reprovision/ReprovisionPostRequestBody.cs new file mode 100644 index 00000000000..fe889487e0e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/CloudPCs/Item/Reprovision/ReprovisionPostRequestBody.cs @@ -0,0 +1,80 @@ +// +#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.CloudPCs.Item.Reprovision +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ReprovisionPostRequestBody : 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 osVersion property + public global::Microsoft.Graph.Models.CloudPcOperatingSystem? OsVersion + { + get { return BackingStore?.Get("osVersion"); } + set { BackingStore?.Set("osVersion", value); } + } + /// The userAccountType property + public global::Microsoft.Graph.Models.CloudPcUserAccountType? UserAccountType + { + get { return BackingStore?.Get("userAccountType"); } + set { BackingStore?.Set("userAccountType", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public ReprovisionPostRequestBody() + { + 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.CloudPCs.Item.Reprovision.ReprovisionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Users.Item.CloudPCs.Item.Reprovision.ReprovisionPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "osVersion", n => { OsVersion = n.GetEnumValue(); } }, + { "userAccountType", n => { UserAccountType = 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.WriteEnumValue("osVersion", OsVersion); + writer.WriteEnumValue("userAccountType", UserAccountType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/CloudPCs/Item/Reprovision/ReprovisionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CloudPCs/Item/Reprovision/ReprovisionRequestBuilder.cs new file mode 100644 index 00000000000..e398c9722a1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/CloudPCs/Item/Reprovision/ReprovisionRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#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.CloudPCs.Item.Reprovision +{ + /// + /// Provides operations to call the reprovision method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReprovisionRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ReprovisionRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/cloudPCs/{cloudPC%2Did}/reprovision", 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 ReprovisionRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/cloudPCs/{cloudPC%2Did}/reprovision", rawUrl) + { + } + /// + /// Reprovision a specific Cloud PC. + /// Find more info here + /// + /// 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.CloudPCs.Item.Reprovision.ReprovisionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Users.Item.CloudPCs.Item.Reprovision.ReprovisionPostRequestBody 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 }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Reprovision a specific Cloud PC. + /// + /// 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.CloudPCs.Item.Reprovision.ReprovisionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Users.Item.CloudPCs.Item.Reprovision.ReprovisionPostRequestBody 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.CloudPCs.Item.Reprovision.ReprovisionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.CloudPCs.Item.Reprovision.ReprovisionRequestBuilder(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 ReprovisionRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/CloudPCs/Item/RetrieveCloudPcLaunchDetail/RetrieveCloudPcLaunchDetailRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CloudPCs/Item/RetrieveCloudPcLaunchDetail/RetrieveCloudPcLaunchDetailRequestBuilder.cs new file mode 100644 index 00000000000..d5f0790ff65 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/CloudPCs/Item/RetrieveCloudPcLaunchDetail/RetrieveCloudPcLaunchDetailRequestBuilder.cs @@ -0,0 +1,99 @@ +// +#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.CloudPCs.Item.RetrieveCloudPcLaunchDetail +{ + /// + /// Provides operations to call the retrieveCloudPcLaunchDetail method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RetrieveCloudPcLaunchDetailRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RetrieveCloudPcLaunchDetailRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/cloudPCs/{cloudPC%2Did}/retrieveCloudPcLaunchDetail()", 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 RetrieveCloudPcLaunchDetailRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/cloudPCs/{cloudPC%2Did}/retrieveCloudPcLaunchDetail()", rawUrl) + { + } + /// + /// Get the cloudPcLaunchDetail for a specific cloudPC that belongs to the current signed-in user. + /// 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.CloudPcLaunchDetail.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the cloudPcLaunchDetail for a specific cloudPC that belongs to the current signed-in user. + /// + /// A + /// Configuration 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.CloudPCs.Item.RetrieveCloudPcLaunchDetail.RetrieveCloudPcLaunchDetailRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.CloudPCs.Item.RetrieveCloudPcLaunchDetail.RetrieveCloudPcLaunchDetailRequestBuilder(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 RetrieveCloudPcLaunchDetailRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Delta/DeltaRequestBuilder.cs index b7eb9fba265..9a762cbdedb 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Delta/DeltaRequestBuilder.cs @@ -34,7 +34,7 @@ public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base { } /// - /// Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. + /// Get a set of messages added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). It allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. /// Find more info here /// /// A @@ -58,7 +58,7 @@ public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.Messages.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. + /// Get a set of messages added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). It allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. /// Find more info here /// /// A @@ -83,7 +83,7 @@ public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.Messages.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. + /// Get a set of messages added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). It allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -111,7 +111,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. + /// Get a set of messages added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). It allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DeltaRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Delta/DeltaRequestBuilder.cs index 091a848691d..0bff5398d47 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Delta/DeltaRequestBuilder.cs @@ -34,7 +34,7 @@ public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base { } /// - /// Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. + /// Get a set of messages added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). It allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. /// Find more info here /// /// A @@ -58,7 +58,7 @@ public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Users.Item.MailFolders.Item.Messages.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. + /// Get a set of messages added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). It allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. /// Find more info here /// /// A @@ -83,7 +83,7 @@ public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Users.Item.MailFolders.Item.Messages.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. + /// Get a set of messages added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). It allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -111,7 +111,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. + /// Get a set of messages added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). It allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DeltaRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Users/Item/Messages/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Messages/Delta/DeltaRequestBuilder.cs index 2380ae409c0..ffa5f0aebdf 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Messages/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Messages/Delta/DeltaRequestBuilder.cs @@ -34,7 +34,7 @@ public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base { } /// - /// Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. + /// Get a set of messages added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). It allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. /// Find more info here /// /// A @@ -58,7 +58,7 @@ public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Users.Item.Messages.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. + /// Get a set of messages added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). It allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. /// Find more info here /// /// A @@ -83,7 +83,7 @@ public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Users.Item.Messages.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. + /// Get a set of messages added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). It allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -111,7 +111,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. + /// Get a set of messages added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). It allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DeltaRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Users/Item/OnPremisesSyncBehavior/OnPremisesSyncBehaviorRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/OnPremisesSyncBehavior/OnPremisesSyncBehaviorRequestBuilder.cs new file mode 100644 index 00000000000..b12282e9654 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/OnPremisesSyncBehavior/OnPremisesSyncBehaviorRequestBuilder.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.Users.Item.OnPremisesSyncBehavior +{ + /// + /// Provides operations to manage the onPremisesSyncBehavior property of the microsoft.graph.user entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class OnPremisesSyncBehaviorRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public OnPremisesSyncBehaviorRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/onPremisesSyncBehavior{?%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 OnPremisesSyncBehaviorRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/onPremisesSyncBehavior{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property onPremisesSyncBehavior 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); + } + /// + /// Get onPremisesSyncBehavior from users + /// + /// 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.OnPremisesSyncBehavior.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property onPremisesSyncBehavior 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.OnPremisesSyncBehavior body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.OnPremisesSyncBehavior 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.OnPremisesSyncBehavior.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property onPremisesSyncBehavior 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; + } + /// + /// Get onPremisesSyncBehavior from 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 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 onPremisesSyncBehavior 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.OnPremisesSyncBehavior body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.OnPremisesSyncBehavior 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.OnPremisesSyncBehavior.OnPremisesSyncBehaviorRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.OnPremisesSyncBehavior.OnPremisesSyncBehaviorRequestBuilder(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 OnPremisesSyncBehaviorRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get onPremisesSyncBehavior from users + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class OnPremisesSyncBehaviorRequestBuilderGetQueryParameters + { + /// 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 OnPremisesSyncBehaviorRequestBuilderGetRequestConfiguration : 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 OnPremisesSyncBehaviorRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Presence/ClearAutomaticLocation/ClearAutomaticLocationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Presence/ClearAutomaticLocation/ClearAutomaticLocationRequestBuilder.cs new file mode 100644 index 00000000000..37673983fbd --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Presence/ClearAutomaticLocation/ClearAutomaticLocationRequestBuilder.cs @@ -0,0 +1,97 @@ +// +#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.Presence.ClearAutomaticLocation +{ + /// + /// Provides operations to call the clearAutomaticLocation method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ClearAutomaticLocationRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ClearAutomaticLocationRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/presence/clearAutomaticLocation", 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 ClearAutomaticLocationRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/presence/clearAutomaticLocation", rawUrl) + { + } + /// + /// Clear the automatic work location signal for a user. After clearing, the user’s final aggregated work location is recomputed according to the precedence rules: Use this operation when you need to remove the current autodetected signal without affecting manual or scheduled layers. + /// Find more info here + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Clear the automatic work location signal for a user. After clearing, the user’s final aggregated work location is recomputed according to the precedence rules: Use this operation when you need to remove the current autodetected signal without affecting manual or scheduled layers. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.Presence.ClearAutomaticLocation.ClearAutomaticLocationRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.Presence.ClearAutomaticLocation.ClearAutomaticLocationRequestBuilder(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 ClearAutomaticLocationRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Presence/ClearLocation/ClearLocationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Presence/ClearLocation/ClearLocationRequestBuilder.cs new file mode 100644 index 00000000000..9b310f97af9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Presence/ClearLocation/ClearLocationRequestBuilder.cs @@ -0,0 +1,97 @@ +// +#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.Presence.ClearLocation +{ + /// + /// Provides operations to call the clearLocation method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ClearLocationRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ClearLocationRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/presence/clearLocation", 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 ClearLocationRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/presence/clearLocation", rawUrl) + { + } + /// + /// Clear the work location signals for a user, including both the manual and automatic layers for the current date. + /// Find more info here + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Clear the work location signals for a user, including both the manual and automatic layers for the current date. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.Presence.ClearLocation.ClearLocationRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.Presence.ClearLocation.ClearLocationRequestBuilder(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 ClearLocationRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Presence/PresenceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Presence/PresenceRequestBuilder.cs index 5a5d87e84dc..08821cfbce4 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Presence/PresenceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Presence/PresenceRequestBuilder.cs @@ -2,8 +2,12 @@ #pragma warning disable CS0618 using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; +using Microsoft.Graph.Users.Item.Presence.ClearAutomaticLocation; +using Microsoft.Graph.Users.Item.Presence.ClearLocation; using Microsoft.Graph.Users.Item.Presence.ClearPresence; using Microsoft.Graph.Users.Item.Presence.ClearUserPreferredPresence; +using Microsoft.Graph.Users.Item.Presence.SetAutomaticLocation; +using Microsoft.Graph.Users.Item.Presence.SetManualLocation; using Microsoft.Graph.Users.Item.Presence.SetPresence; using Microsoft.Graph.Users.Item.Presence.SetStatusMessage; using Microsoft.Graph.Users.Item.Presence.SetUserPreferredPresence; @@ -23,6 +27,16 @@ namespace Microsoft.Graph.Users.Item.Presence [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class PresenceRequestBuilder : BaseRequestBuilder { + /// Provides operations to call the clearAutomaticLocation method. + public global::Microsoft.Graph.Users.Item.Presence.ClearAutomaticLocation.ClearAutomaticLocationRequestBuilder ClearAutomaticLocation + { + get => new global::Microsoft.Graph.Users.Item.Presence.ClearAutomaticLocation.ClearAutomaticLocationRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the clearLocation method. + public global::Microsoft.Graph.Users.Item.Presence.ClearLocation.ClearLocationRequestBuilder ClearLocation + { + get => new global::Microsoft.Graph.Users.Item.Presence.ClearLocation.ClearLocationRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the clearPresence method. public global::Microsoft.Graph.Users.Item.Presence.ClearPresence.ClearPresenceRequestBuilder ClearPresence { @@ -33,6 +47,16 @@ public partial class PresenceRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Users.Item.Presence.ClearUserPreferredPresence.ClearUserPreferredPresenceRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the setAutomaticLocation method. + public global::Microsoft.Graph.Users.Item.Presence.SetAutomaticLocation.SetAutomaticLocationRequestBuilder SetAutomaticLocation + { + get => new global::Microsoft.Graph.Users.Item.Presence.SetAutomaticLocation.SetAutomaticLocationRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the setManualLocation method. + public global::Microsoft.Graph.Users.Item.Presence.SetManualLocation.SetManualLocationRequestBuilder SetManualLocation + { + get => new global::Microsoft.Graph.Users.Item.Presence.SetManualLocation.SetManualLocationRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the setPresence method. public global::Microsoft.Graph.Users.Item.Presence.SetPresence.SetPresenceRequestBuilder SetPresence { diff --git a/src/Microsoft.Graph/Generated/Users/Item/Presence/SetAutomaticLocation/SetAutomaticLocationPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Presence/SetAutomaticLocation/SetAutomaticLocationPostRequestBody.cs new file mode 100644 index 00000000000..48894d05c02 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Presence/SetAutomaticLocation/SetAutomaticLocationPostRequestBody.cs @@ -0,0 +1,90 @@ +// +#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.Presence.SetAutomaticLocation +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class SetAutomaticLocationPostRequestBody : 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 placeId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? PlaceId + { + get { return BackingStore?.Get("placeId"); } + set { BackingStore?.Set("placeId", value); } + } +#nullable restore +#else + public string PlaceId + { + get { return BackingStore?.Get("placeId"); } + set { BackingStore?.Set("placeId", value); } + } +#endif + /// The workLocationType property + public global::Microsoft.Graph.Models.WorkLocationType? WorkLocationType + { + get { return BackingStore?.Get("workLocationType"); } + set { BackingStore?.Set("workLocationType", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public SetAutomaticLocationPostRequestBody() + { + 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.Presence.SetAutomaticLocation.SetAutomaticLocationPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Users.Item.Presence.SetAutomaticLocation.SetAutomaticLocationPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "placeId", n => { PlaceId = n.GetStringValue(); } }, + { "workLocationType", n => { WorkLocationType = 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("placeId", PlaceId); + writer.WriteEnumValue("workLocationType", WorkLocationType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Presence/SetAutomaticLocation/SetAutomaticLocationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Presence/SetAutomaticLocation/SetAutomaticLocationRequestBuilder.cs new file mode 100644 index 00000000000..822d58a998b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Presence/SetAutomaticLocation/SetAutomaticLocationRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#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.Presence.SetAutomaticLocation +{ + /// + /// Provides operations to call the setAutomaticLocation method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SetAutomaticLocationRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public SetAutomaticLocationRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/presence/setAutomaticLocation", 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 SetAutomaticLocationRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/presence/setAutomaticLocation", rawUrl) + { + } + /// + /// Update the automatic work location for a user. The automatic layer participates in the standard precedence model: Use this operation from clients or services that automatically detect location (for example, Teams, network and location agents, or OEM docking apps). It doesn't clear manual or scheduled signals. + /// Find more info here + /// + /// 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.Presence.SetAutomaticLocation.SetAutomaticLocationPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Users.Item.Presence.SetAutomaticLocation.SetAutomaticLocationPostRequestBody 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 }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the automatic work location for a user. The automatic layer participates in the standard precedence model: Use this operation from clients or services that automatically detect location (for example, Teams, network and location agents, or OEM docking apps). It doesn't clear manual or scheduled signals. + /// + /// 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.Presence.SetAutomaticLocation.SetAutomaticLocationPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Users.Item.Presence.SetAutomaticLocation.SetAutomaticLocationPostRequestBody 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.Presence.SetAutomaticLocation.SetAutomaticLocationRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.Presence.SetAutomaticLocation.SetAutomaticLocationRequestBuilder(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 SetAutomaticLocationRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Presence/SetManualLocation/SetManualLocationPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Presence/SetManualLocation/SetManualLocationPostRequestBody.cs new file mode 100644 index 00000000000..795cdda7182 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Presence/SetManualLocation/SetManualLocationPostRequestBody.cs @@ -0,0 +1,90 @@ +// +#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.Presence.SetManualLocation +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class SetManualLocationPostRequestBody : 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 placeId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? PlaceId + { + get { return BackingStore?.Get("placeId"); } + set { BackingStore?.Set("placeId", value); } + } +#nullable restore +#else + public string PlaceId + { + get { return BackingStore?.Get("placeId"); } + set { BackingStore?.Set("placeId", value); } + } +#endif + /// The workLocationType property + public global::Microsoft.Graph.Models.WorkLocationType? WorkLocationType + { + get { return BackingStore?.Get("workLocationType"); } + set { BackingStore?.Set("workLocationType", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public SetManualLocationPostRequestBody() + { + 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.Presence.SetManualLocation.SetManualLocationPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Users.Item.Presence.SetManualLocation.SetManualLocationPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "placeId", n => { PlaceId = n.GetStringValue(); } }, + { "workLocationType", n => { WorkLocationType = 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("placeId", PlaceId); + writer.WriteEnumValue("workLocationType", WorkLocationType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Presence/SetManualLocation/SetManualLocationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Presence/SetManualLocation/SetManualLocationRequestBuilder.cs new file mode 100644 index 00000000000..cc42ef1a8ec --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Presence/SetManualLocation/SetManualLocationRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#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.Presence.SetManualLocation +{ + /// + /// Provides operations to call the setManualLocation method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SetManualLocationRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public SetManualLocationRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/presence/setManualLocation", 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 SetManualLocationRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/presence/setManualLocation", rawUrl) + { + } + /// + /// Set the manual work location signal for a user. The explicit value chosen by a user or an authorized client overrides any automatically detected or scheduled working hours and location. + /// Find more info here + /// + /// 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.Presence.SetManualLocation.SetManualLocationPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Users.Item.Presence.SetManualLocation.SetManualLocationPostRequestBody 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 }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Set the manual work location signal for a user. The explicit value chosen by a user or an authorized client overrides any automatically detected or scheduled working hours and location. + /// + /// 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.Presence.SetManualLocation.SetManualLocationPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Users.Item.Presence.SetManualLocation.SetManualLocationPostRequestBody 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.Presence.SetManualLocation.SetManualLocationRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.Presence.SetManualLocation.SetManualLocationRequestBuilder(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 SetManualLocationRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Settings/SettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Settings/SettingsRequestBuilder.cs index d0f3d1c3ce0..1493b54268d 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Settings/SettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Settings/SettingsRequestBuilder.cs @@ -6,6 +6,7 @@ using Microsoft.Graph.Users.Item.Settings.ShiftPreferences; using Microsoft.Graph.Users.Item.Settings.Storage; using Microsoft.Graph.Users.Item.Settings.Windows; +using Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -42,6 +43,11 @@ public partial class SettingsRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Users.Item.Settings.Windows.WindowsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the workHoursAndLocations property of the microsoft.graph.userSettings entity. + public global::Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.WorkHoursAndLocationsRequestBuilder WorkHoursAndLocations + { + get => new global::Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.WorkHoursAndLocationsRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/Users/Item/Settings/Windows/Item/WindowsSettingItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Settings/Windows/Item/WindowsSettingItemRequestBuilder.cs index ecaca73c580..6555a9c4192 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Settings/Windows/Item/WindowsSettingItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Settings/Windows/Item/WindowsSettingItemRequestBuilder.cs @@ -63,7 +63,7 @@ public async Task DeleteAsync(Action - /// Get windows from users + /// The Windows settings of the user stored in the cloud. /// /// A /// Cancellation token to use when cancelling requests @@ -130,7 +130,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get windows from users + /// The Windows settings of the user stored in the cloud. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -188,7 +188,7 @@ public partial class WindowsSettingItemRequestBuilderDeleteRequestConfiguration { } /// - /// Get windows from users + /// The Windows settings of the user stored in the cloud. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class WindowsSettingItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Users/Item/Settings/Windows/WindowsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Settings/Windows/WindowsRequestBuilder.cs index bfee0434f05..112e2009c53 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Settings/Windows/WindowsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Settings/Windows/WindowsRequestBuilder.cs @@ -54,7 +54,7 @@ public WindowsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Get windows from users + /// The Windows settings of the user stored in the cloud. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public WindowsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.WindowsSetting.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get windows from users + /// The Windows settings of the user stored in the cloud. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.Users.Item.Settings.Windows.WindowsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get windows from users + /// The Windows settings of the user stored in the cloud. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class WindowsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..6f3ad2f1aec --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/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.Settings.WorkHoursAndLocations.Occurrences.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}/settings/workHoursAndLocations/occurrences/$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}/settings/workHoursAndLocations/occurrences/$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.Settings.WorkHoursAndLocations.Occurrences.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.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/Settings/WorkHoursAndLocations/Occurrences/Item/WorkPlanOccurrenceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/Item/WorkPlanOccurrenceItemRequestBuilder.cs new file mode 100644 index 00000000000..25a568a33a9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/Item/WorkPlanOccurrenceItemRequestBuilder.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.Users.Item.Settings.WorkHoursAndLocations.Occurrences.Item +{ + /// + /// Provides operations to manage the occurrences property of the microsoft.graph.workHoursAndLocationsSetting entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class WorkPlanOccurrenceItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public WorkPlanOccurrenceItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/settings/workHoursAndLocations/occurrences/{workPlanOccurrence%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 WorkPlanOccurrenceItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/settings/workHoursAndLocations/occurrences/{workPlanOccurrence%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property occurrences 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); + } + /// + /// Collection of work plan occurrences. + /// + /// 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.WorkPlanOccurrence.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property occurrences 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 PutAsync(global::Microsoft.Graph.Models.WorkPlanOccurrence body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PutAsync(global::Microsoft.Graph.Models.WorkPlanOccurrence body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPutRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.WorkPlanOccurrence.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property occurrences 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; + } + /// + /// Collection of work plan occurrences. + /// + /// A + /// Configuration 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 occurrences 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 ToPutRequestInformation(global::Microsoft.Graph.Models.WorkPlanOccurrence body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPutRequestInformation(global::Microsoft.Graph.Models.WorkPlanOccurrence body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PUT, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.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.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder(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 WorkPlanOccurrenceItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Collection of work plan occurrences. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class WorkPlanOccurrenceItemRequestBuilderGetQueryParameters + { + /// 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 WorkPlanOccurrenceItemRequestBuilderGetRequestConfiguration : 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 WorkPlanOccurrenceItemRequestBuilderPutRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/OccurrencesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/OccurrencesRequestBuilder.cs new file mode 100644 index 00000000000..1df6b44705f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/OccurrencesRequestBuilder.cs @@ -0,0 +1,244 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.Count; +using Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.Item; +using Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation; +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.Settings.WorkHoursAndLocations.Occurrences +{ + /// + /// Provides operations to manage the occurrences property of the microsoft.graph.workHoursAndLocationsSetting entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class OccurrencesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the setCurrentLocation method. + public global::Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.SetCurrentLocationRequestBuilder SetCurrentLocation + { + get => new global::Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.SetCurrentLocationRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the occurrences property of the microsoft.graph.workHoursAndLocationsSetting entity. + /// The unique identifier of workPlanOccurrence + /// A + public global::Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("workPlanOccurrence%2Did", position); + return new global::Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder(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 OccurrencesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/settings/workHoursAndLocations/occurrences{?%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 OccurrencesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/settings/workHoursAndLocations/occurrences{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Collection of work plan occurrences. + /// + /// 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.WorkPlanOccurrenceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to occurrences 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.WorkPlanOccurrence body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.WorkPlanOccurrence 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.WorkPlanOccurrence.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Collection of work plan occurrences. + /// + /// A + /// Configuration 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 occurrences 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.WorkPlanOccurrence body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.WorkPlanOccurrence 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.Settings.WorkHoursAndLocations.Occurrences.OccurrencesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.OccurrencesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Collection of work plan occurrences. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class OccurrencesRequestBuilderGetQueryParameters + { + /// 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 OccurrencesRequestBuilderGetRequestConfiguration : 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 OccurrencesRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/SetCurrentLocation/SetCurrentLocationPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/SetCurrentLocation/SetCurrentLocationPostRequestBody.cs new file mode 100644 index 00000000000..3cbf16bb9af --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/SetCurrentLocation/SetCurrentLocationPostRequestBody.cs @@ -0,0 +1,98 @@ +// +#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.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class SetCurrentLocationPostRequestBody : 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 placeId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? PlaceId + { + get { return BackingStore?.Get("placeId"); } + set { BackingStore?.Set("placeId", value); } + } +#nullable restore +#else + public string PlaceId + { + get { return BackingStore?.Get("placeId"); } + set { BackingStore?.Set("placeId", value); } + } +#endif + /// The updateScope property + public global::Microsoft.Graph.Models.WorkLocationUpdateScope? UpdateScope + { + get { return BackingStore?.Get("updateScope"); } + set { BackingStore?.Set("updateScope", value); } + } + /// The workLocationType property + public global::Microsoft.Graph.Models.WorkLocationType? WorkLocationType + { + get { return BackingStore?.Get("workLocationType"); } + set { BackingStore?.Set("workLocationType", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public SetCurrentLocationPostRequestBody() + { + 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.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.SetCurrentLocationPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.SetCurrentLocationPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "placeId", n => { PlaceId = n.GetStringValue(); } }, + { "updateScope", n => { UpdateScope = n.GetEnumValue(); } }, + { "workLocationType", n => { WorkLocationType = 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("placeId", PlaceId); + writer.WriteEnumValue("updateScope", UpdateScope); + writer.WriteEnumValue("workLocationType", WorkLocationType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/SetCurrentLocation/SetCurrentLocationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/SetCurrentLocation/SetCurrentLocationRequestBuilder.cs new file mode 100644 index 00000000000..54234e9ef2a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/SetCurrentLocation/SetCurrentLocationRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#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.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation +{ + /// + /// Provides operations to call the setCurrentLocation method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SetCurrentLocationRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public SetCurrentLocationRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/settings/workHoursAndLocations/occurrences/setCurrentLocation", 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 SetCurrentLocationRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/settings/workHoursAndLocations/occurrences/setCurrentLocation", rawUrl) + { + } + /// + /// Update your work location for the current day or current active segment. This action allows you to quickly update your work location without modifying individual occurrences. + /// Find more info here + /// + /// 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.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.SetCurrentLocationPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.SetCurrentLocationPostRequestBody 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 }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update your work location for the current day or current active segment. This action allows you to quickly update your work location without modifying individual occurrences. + /// + /// 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.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.SetCurrentLocationPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.SetCurrentLocationPostRequestBody 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.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.SetCurrentLocationRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.SetCurrentLocationRequestBuilder(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 SetCurrentLocationRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Settings/WorkHoursAndLocations/OccurrencesViewWithStartDateTimeWithEndDateTime/OccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse.cs b/src/Microsoft.Graph/Generated/Users/Item/Settings/WorkHoursAndLocations/OccurrencesViewWithStartDateTimeWithEndDateTime/OccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse.cs new file mode 100644 index 00000000000..5dcc43ffb24 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Settings/WorkHoursAndLocations/OccurrencesViewWithStartDateTimeWithEndDateTime/OccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class OccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse : 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.Users.Item.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.OccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.OccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse(); + } + /// + /// 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.WorkPlanOccurrence.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/Users/Item/Settings/WorkHoursAndLocations/OccurrencesViewWithStartDateTimeWithEndDateTime/OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Settings/WorkHoursAndLocations/OccurrencesViewWithStartDateTimeWithEndDateTime/OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.cs new file mode 100644 index 00000000000..e1f92cba07f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Settings/WorkHoursAndLocations/OccurrencesViewWithStartDateTimeWithEndDateTime/OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.cs @@ -0,0 +1,193 @@ +// +#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.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime +{ + /// + /// Provides operations to call the occurrencesView method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Usage: endDateTime='{endDateTime}' + /// Path parameters for the request + /// The request adapter to use to execute the requests. + /// Usage: startDateTime='{startDateTime}' + public OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter, string endDateTime = "", string startDateTime = "") : base(requestAdapter, "{+baseurl}/users/{user%2Did}/settings/workHoursAndLocations/occurrencesView(startDateTime='{startDateTime}',endDateTime='{endDateTime}'){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + if (!string.IsNullOrWhiteSpace(endDateTime)) PathParameters.Add("endDateTime", endDateTime); + if (!string.IsNullOrWhiteSpace(startDateTime)) PathParameters.Add("startDateTime", startDateTime); + } + /// + /// 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 OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/settings/workHoursAndLocations/occurrencesView(startDateTime='{startDateTime}',endDateTime='{endDateTime}'){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get work plan occurrences from your own work plan within a specified date range. This function requires the startDateTime and endDateTime parameters. + /// 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 GetAsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponseAsync(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.Users.Item.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.OccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get work plan occurrences from your own work plan within a specified date range. This function requires the startDateTime and endDateTime parameters. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("This method is obsolete. Use GetAsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.OccurrencesViewWithStartDateTimeWithEndDateTimeResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get work plan occurrences from your own work plan within a specified date range. This function requires the startDateTime and endDateTime parameters. + /// + /// A + /// Configuration 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.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get work plan occurrences from your own work plan within a specified date range. This function requires the startDateTime and endDateTime parameters. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters + { + /// 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 OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Settings/WorkHoursAndLocations/OccurrencesViewWithStartDateTimeWithEndDateTime/OccurrencesViewWithStartDateTimeWithEndDateTimeResponse.cs b/src/Microsoft.Graph/Generated/Users/Item/Settings/WorkHoursAndLocations/OccurrencesViewWithStartDateTimeWithEndDateTime/OccurrencesViewWithStartDateTimeWithEndDateTimeResponse.cs new file mode 100644 index 00000000000..5a7c461ee03 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Settings/WorkHoursAndLocations/OccurrencesViewWithStartDateTimeWithEndDateTime/OccurrencesViewWithStartDateTimeWithEndDateTimeResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime +{ + [Obsolete("This class is obsolete. Use OccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class OccurrencesViewWithStartDateTimeWithEndDateTimeResponse : global::Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.OccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.OccurrencesViewWithStartDateTimeWithEndDateTimeResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.OccurrencesViewWithStartDateTimeWithEndDateTimeResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..b7c995deaaf --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/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.Settings.WorkHoursAndLocations.Recurrences.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}/settings/workHoursAndLocations/recurrences/$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}/settings/workHoursAndLocations/recurrences/$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.Settings.WorkHoursAndLocations.Recurrences.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Recurrences.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/Settings/WorkHoursAndLocations/Recurrences/Item/WorkPlanRecurrenceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/Item/WorkPlanRecurrenceItemRequestBuilder.cs new file mode 100644 index 00000000000..f2ece5772c7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/Item/WorkPlanRecurrenceItemRequestBuilder.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.Users.Item.Settings.WorkHoursAndLocations.Recurrences.Item +{ + /// + /// Provides operations to manage the recurrences property of the microsoft.graph.workHoursAndLocationsSetting entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class WorkPlanRecurrenceItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public WorkPlanRecurrenceItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/settings/workHoursAndLocations/recurrences/{workPlanRecurrence%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 WorkPlanRecurrenceItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/settings/workHoursAndLocations/recurrences/{workPlanRecurrence%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property recurrences 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); + } + /// + /// Collection of recurring work plans defined by the user. + /// + /// 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.WorkPlanRecurrence.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property recurrences 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 PutAsync(global::Microsoft.Graph.Models.WorkPlanRecurrence body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PutAsync(global::Microsoft.Graph.Models.WorkPlanRecurrence body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPutRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.WorkPlanRecurrence.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property recurrences 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; + } + /// + /// Collection of recurring work plans defined by the user. + /// + /// A + /// Configuration 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 recurrences 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 ToPutRequestInformation(global::Microsoft.Graph.Models.WorkPlanRecurrence body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPutRequestInformation(global::Microsoft.Graph.Models.WorkPlanRecurrence body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PUT, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.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.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder(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 WorkPlanRecurrenceItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Collection of recurring work plans defined by the user. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class WorkPlanRecurrenceItemRequestBuilderGetQueryParameters + { + /// 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 WorkPlanRecurrenceItemRequestBuilderGetRequestConfiguration : 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 WorkPlanRecurrenceItemRequestBuilderPutRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/RecurrencesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/RecurrencesRequestBuilder.cs new file mode 100644 index 00000000000..2674be97d14 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/RecurrencesRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Recurrences.Count; +using Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Recurrences.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.Settings.WorkHoursAndLocations.Recurrences +{ + /// + /// Provides operations to manage the recurrences property of the microsoft.graph.workHoursAndLocationsSetting entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RecurrencesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Recurrences.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Recurrences.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the recurrences property of the microsoft.graph.workHoursAndLocationsSetting entity. + /// The unique identifier of workPlanRecurrence + /// A + public global::Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("workPlanRecurrence%2Did", position); + return new global::Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder(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 RecurrencesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/settings/workHoursAndLocations/recurrences{?%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 RecurrencesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/settings/workHoursAndLocations/recurrences{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Collection of recurring work plans defined by the user. + /// + /// 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.WorkPlanRecurrenceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to recurrences 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.WorkPlanRecurrence body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.WorkPlanRecurrence 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.WorkPlanRecurrence.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Collection of recurring work plans defined by the user. + /// + /// A + /// Configuration 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 recurrences 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.WorkPlanRecurrence body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.WorkPlanRecurrence 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.Settings.WorkHoursAndLocations.Recurrences.RecurrencesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Recurrences.RecurrencesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Collection of recurring work plans defined by the user. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RecurrencesRequestBuilderGetQueryParameters + { + /// 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 RecurrencesRequestBuilderGetRequestConfiguration : 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 RecurrencesRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Settings/WorkHoursAndLocations/WorkHoursAndLocationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Settings/WorkHoursAndLocations/WorkHoursAndLocationsRequestBuilder.cs new file mode 100644 index 00000000000..37df4697c79 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Settings/WorkHoursAndLocations/WorkHoursAndLocationsRequestBuilder.cs @@ -0,0 +1,205 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences; +using Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime; +using Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Recurrences; +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.Settings.WorkHoursAndLocations +{ + /// + /// Provides operations to manage the workHoursAndLocations property of the microsoft.graph.userSettings entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class WorkHoursAndLocationsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the occurrences property of the microsoft.graph.workHoursAndLocationsSetting entity. + public global::Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.OccurrencesRequestBuilder Occurrences + { + get => new global::Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.OccurrencesRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the recurrences property of the microsoft.graph.workHoursAndLocationsSetting entity. + public global::Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Recurrences.RecurrencesRequestBuilder Recurrences + { + get => new global::Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Recurrences.RecurrencesRequestBuilder(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 WorkHoursAndLocationsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/settings/workHoursAndLocations{?%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 WorkHoursAndLocationsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/settings/workHoursAndLocations{?%24expand,%24select}", rawUrl) + { + } + /// + /// The user's settings for work hours and location preferences for scheduling and availability management. + /// + /// 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.WorkHoursAndLocationsSetting.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Provides operations to call the occurrencesView method. + /// + /// A + /// Usage: endDateTime='{endDateTime}' + /// Usage: startDateTime='{startDateTime}' + public global::Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder OccurrencesViewWithStartDateTimeWithEndDateTime(string endDateTime, string startDateTime) + { + if(string.IsNullOrEmpty(endDateTime)) throw new ArgumentNullException(nameof(endDateTime)); + if(string.IsNullOrEmpty(startDateTime)) throw new ArgumentNullException(nameof(startDateTime)); + return new global::Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder(PathParameters, RequestAdapter, endDateTime, startDateTime); + } + /// + /// Update the navigation property workHoursAndLocations 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.WorkHoursAndLocationsSetting body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.WorkHoursAndLocationsSetting 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.WorkHoursAndLocationsSetting.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The user's settings for work hours and location preferences for scheduling and availability management. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation 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 workHoursAndLocations 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.WorkHoursAndLocationsSetting body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.WorkHoursAndLocationsSetting 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.Settings.WorkHoursAndLocations.WorkHoursAndLocationsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.WorkHoursAndLocationsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The user's settings for work hours and location preferences for scheduling and availability management. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class WorkHoursAndLocationsRequestBuilderGetQueryParameters + { + /// 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 WorkHoursAndLocationsRequestBuilderGetRequestConfiguration : 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 WorkHoursAndLocationsRequestBuilderPatchRequestConfiguration : 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 7cdb0fd3950..01a3f361ff5 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/UserItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/UserItemRequestBuilder.cs @@ -3,6 +3,7 @@ using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; using Microsoft.Graph.Users.Item.Activities; +using Microsoft.Graph.Users.Item.AdhocCalls; using Microsoft.Graph.Users.Item.AgreementAcceptances; using Microsoft.Graph.Users.Item.AppRoleAssignments; using Microsoft.Graph.Users.Item.AssignLicense; @@ -51,6 +52,7 @@ using Microsoft.Graph.Users.Item.MemberOf; using Microsoft.Graph.Users.Item.Messages; using Microsoft.Graph.Users.Item.Oauth2PermissionGrants; +using Microsoft.Graph.Users.Item.OnPremisesSyncBehavior; using Microsoft.Graph.Users.Item.Onenote; using Microsoft.Graph.Users.Item.OnlineMeetings; using Microsoft.Graph.Users.Item.Outlook; @@ -101,6 +103,11 @@ public partial class UserItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Users.Item.Activities.ActivitiesRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the adhocCalls property of the microsoft.graph.user entity. + public global::Microsoft.Graph.Users.Item.AdhocCalls.AdhocCallsRequestBuilder AdhocCalls + { + get => new global::Microsoft.Graph.Users.Item.AdhocCalls.AdhocCallsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the agreementAcceptances property of the microsoft.graph.user entity. public global::Microsoft.Graph.Users.Item.AgreementAcceptances.AgreementAcceptancesRequestBuilder AgreementAcceptances { @@ -346,6 +353,11 @@ public partial class UserItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Users.Item.OnlineMeetings.OnlineMeetingsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the onPremisesSyncBehavior property of the microsoft.graph.user entity. + public global::Microsoft.Graph.Users.Item.OnPremisesSyncBehavior.OnPremisesSyncBehaviorRequestBuilder OnPremisesSyncBehavior + { + get => new global::Microsoft.Graph.Users.Item.OnPremisesSyncBehavior.OnPremisesSyncBehaviorRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the outlook property of the microsoft.graph.user entity. public global::Microsoft.Graph.Users.Item.Outlook.OutlookRequestBuilder Outlook { diff --git a/src/Microsoft.Graph/Generated/kiota-dom-export.txt b/src/Microsoft.Graph/Generated/kiota-dom-export.txt index c074a117d87..2adc0b161da 100644 --- a/src/Microsoft.Graph/Generated/kiota-dom-export.txt +++ b/src/Microsoft.Graph/Generated/kiota-dom-export.txt @@ -13,6 +13,7 @@ Microsoft.Graph.Admin.adminRequestBuilder::|public|people:global.Microsoft.Graph Microsoft.Graph.Admin.adminRequestBuilder::|public|reportSettings:global.Microsoft.Graph.Admin.ReportSettings.ReportSettingsRequestBuilder Microsoft.Graph.Admin.adminRequestBuilder::|public|serviceAnnouncement:global.Microsoft.Graph.Admin.ServiceAnnouncement.ServiceAnnouncementRequestBuilder Microsoft.Graph.Admin.adminRequestBuilder::|public|sharepoint:global.Microsoft.Graph.Admin.Sharepoint.SharepointRequestBuilder +Microsoft.Graph.Admin.adminRequestBuilder::|public|teams:global.Microsoft.Graph.Admin.Teams.TeamsRequestBuilder Microsoft.Graph.Admin.adminRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Admin.adminRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.Admin; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Admin.adminRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Admin.AdminRequestBuilder @@ -806,6 +807,115 @@ Microsoft.Graph.Admin.Sharepoint.sharepointRequestBuilder::|public|ToDeleteReque Microsoft.Graph.Admin.Sharepoint.sharepointRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Admin.Sharepoint.sharepointRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.Sharepoint; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Admin.Sharepoint.sharepointRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Admin.Sharepoint.SharepointRequestBuilder +Microsoft.Graph.Admin.Teams.teamsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Admin.Teams.teamsRequestBuilder.teamsRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.Teams.teamsRequestBuilder.teamsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Admin.Teams.teamsRequestBuilder.teamsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Admin.Teams.teamsRequestBuilder.teamsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.Teams.teamsRequestBuilder.teamsRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.Teams.teamsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.Teams.teamsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.Teams.teamsRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Admin.Teams.teamsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamsAdministration.TeamsAdminRoot +Microsoft.Graph.Admin.Teams.teamsRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.TeamsAdministration.TeamsAdminRoot; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamsAdministration.TeamsAdminRoot +Microsoft.Graph.Admin.Teams.teamsRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.Teams.teamsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.Teams.teamsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.TeamsAdministration.TeamsAdminRoot; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.Teams.teamsRequestBuilder::|public|userConfigurations:global.Microsoft.Graph.Admin.Teams.UserConfigurations.UserConfigurationsRequestBuilder +Microsoft.Graph.Admin.Teams.teamsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Admin.Teams.TeamsRequestBuilder +Microsoft.Graph.Admin.Teams.UserConfigurations.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Admin.Teams.UserConfigurations.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Admin.Teams.UserConfigurations.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Admin.Teams.UserConfigurations.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.Teams.UserConfigurations.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.Teams.UserConfigurations.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.Teams.UserConfigurations.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Admin.Teams.UserConfigurations.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.Teams.UserConfigurations.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Admin.Teams.UserConfigurations.Count.CountRequestBuilder +Microsoft.Graph.Admin.Teams.UserConfigurations.Item.TeamsUserConfigurationItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Admin.Teams.UserConfigurations.Item.TeamsUserConfigurationItemRequestBuilder.TeamsUserConfigurationItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.Teams.UserConfigurations.Item.TeamsUserConfigurationItemRequestBuilder.TeamsUserConfigurationItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Admin.Teams.UserConfigurations.Item.TeamsUserConfigurationItemRequestBuilder.TeamsUserConfigurationItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Admin.Teams.UserConfigurations.Item.TeamsUserConfigurationItemRequestBuilder.TeamsUserConfigurationItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.Teams.UserConfigurations.Item.TeamsUserConfigurationItemRequestBuilder.TeamsUserConfigurationItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.Teams.UserConfigurations.Item.TeamsUserConfigurationItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.Teams.UserConfigurations.Item.TeamsUserConfigurationItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.Teams.UserConfigurations.Item.TeamsUserConfigurationItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Admin.Teams.UserConfigurations.Item.TeamsUserConfigurationItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamsAdministration.TeamsUserConfiguration +Microsoft.Graph.Admin.Teams.UserConfigurations.Item.TeamsUserConfigurationItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.TeamsAdministration.TeamsUserConfiguration; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamsAdministration.TeamsUserConfiguration +Microsoft.Graph.Admin.Teams.UserConfigurations.Item.TeamsUserConfigurationItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.Teams.UserConfigurations.Item.TeamsUserConfigurationItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.Teams.UserConfigurations.Item.TeamsUserConfigurationItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.TeamsAdministration.TeamsUserConfiguration; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.Teams.UserConfigurations.Item.TeamsUserConfigurationItemRequestBuilder::|public|user:global.Microsoft.Graph.Admin.Teams.UserConfigurations.Item.User.UserRequestBuilder +Microsoft.Graph.Admin.Teams.UserConfigurations.Item.TeamsUserConfigurationItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Admin.Teams.UserConfigurations.Item.TeamsUserConfigurationItemRequestBuilder +Microsoft.Graph.Admin.Teams.UserConfigurations.Item.User.MailboxSettings.mailboxSettingsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Admin.Teams.UserConfigurations.Item.User.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Admin.Teams.UserConfigurations.Item.User.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Admin.Teams.UserConfigurations.Item.User.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.Teams.UserConfigurations.Item.User.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.Teams.UserConfigurations.Item.User.MailboxSettings.mailboxSettingsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.Teams.UserConfigurations.Item.User.MailboxSettings.mailboxSettingsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.Teams.UserConfigurations.Item.User.MailboxSettings.mailboxSettingsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MailboxSettings +Microsoft.Graph.Admin.Teams.UserConfigurations.Item.User.MailboxSettings.mailboxSettingsRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.MailboxSettings; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MailboxSettings +Microsoft.Graph.Admin.Teams.UserConfigurations.Item.User.MailboxSettings.mailboxSettingsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.Teams.UserConfigurations.Item.User.MailboxSettings.mailboxSettingsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.MailboxSettings; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.Teams.UserConfigurations.Item.User.MailboxSettings.mailboxSettingsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Admin.Teams.UserConfigurations.Item.User.MailboxSettings.MailboxSettingsRequestBuilder +Microsoft.Graph.Admin.Teams.UserConfigurations.Item.User.ServiceProvisioningErrors.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Admin.Teams.UserConfigurations.Item.User.ServiceProvisioningErrors.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Admin.Teams.UserConfigurations.Item.User.ServiceProvisioningErrors.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Admin.Teams.UserConfigurations.Item.User.ServiceProvisioningErrors.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.Teams.UserConfigurations.Item.User.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.Teams.UserConfigurations.Item.User.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.Teams.UserConfigurations.Item.User.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Admin.Teams.UserConfigurations.Item.User.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.Teams.UserConfigurations.Item.User.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Admin.Teams.UserConfigurations.Item.User.ServiceProvisioningErrors.Count.CountRequestBuilder +Microsoft.Graph.Admin.Teams.UserConfigurations.Item.User.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Admin.Teams.UserConfigurations.Item.User.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Admin.Teams.UserConfigurations.Item.User.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Admin.Teams.UserConfigurations.Item.User.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Admin.Teams.UserConfigurations.Item.User.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Admin.Teams.UserConfigurations.Item.User.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Admin.Teams.UserConfigurations.Item.User.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Admin.Teams.UserConfigurations.Item.User.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Admin.Teams.UserConfigurations.Item.User.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Admin.Teams.UserConfigurations.Item.User.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.Teams.UserConfigurations.Item.User.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.Teams.UserConfigurations.Item.User.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.Teams.UserConfigurations.Item.User.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|Count:global.Microsoft.Graph.Admin.Teams.UserConfigurations.Item.User.ServiceProvisioningErrors.Count.CountRequestBuilder +Microsoft.Graph.Admin.Teams.UserConfigurations.Item.User.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ServiceProvisioningErrorCollectionResponse +Microsoft.Graph.Admin.Teams.UserConfigurations.Item.User.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.Teams.UserConfigurations.Item.User.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Admin.Teams.UserConfigurations.Item.User.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder +Microsoft.Graph.Admin.Teams.UserConfigurations.Item.User.userRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Admin.Teams.UserConfigurations.Item.User.userRequestBuilder.userRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Admin.Teams.UserConfigurations.Item.User.userRequestBuilder.userRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Admin.Teams.UserConfigurations.Item.User.userRequestBuilder.userRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.Teams.UserConfigurations.Item.User.userRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.Teams.UserConfigurations.Item.User.userRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.Teams.UserConfigurations.Item.User.userRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.User +Microsoft.Graph.Admin.Teams.UserConfigurations.Item.User.userRequestBuilder::|public|mailboxSettings:global.Microsoft.Graph.Admin.Teams.UserConfigurations.Item.User.MailboxSettings.MailboxSettingsRequestBuilder +Microsoft.Graph.Admin.Teams.UserConfigurations.Item.User.userRequestBuilder::|public|serviceProvisioningErrors:global.Microsoft.Graph.Admin.Teams.UserConfigurations.Item.User.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder +Microsoft.Graph.Admin.Teams.UserConfigurations.Item.User.userRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.Teams.UserConfigurations.Item.User.userRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Admin.Teams.UserConfigurations.Item.User.UserRequestBuilder +Microsoft.Graph.Admin.Teams.UserConfigurations.userConfigurationsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Admin.Teams.UserConfigurations.userConfigurationsRequestBuilder.userConfigurationsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Admin.Teams.UserConfigurations.userConfigurationsRequestBuilder.userConfigurationsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Admin.Teams.UserConfigurations.userConfigurationsRequestBuilder.userConfigurationsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Admin.Teams.UserConfigurations.userConfigurationsRequestBuilder.userConfigurationsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Admin.Teams.UserConfigurations.userConfigurationsRequestBuilder.userConfigurationsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Admin.Teams.UserConfigurations.userConfigurationsRequestBuilder.userConfigurationsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Admin.Teams.UserConfigurations.userConfigurationsRequestBuilder.userConfigurationsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Admin.Teams.UserConfigurations.userConfigurationsRequestBuilder.userConfigurationsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Admin.Teams.UserConfigurations.userConfigurationsRequestBuilder.userConfigurationsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.Teams.UserConfigurations.userConfigurationsRequestBuilder.userConfigurationsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.Teams.UserConfigurations.userConfigurationsRequestBuilder::[TeamsUserConfigurationId:string]:global.Microsoft.Graph.Admin.Teams.UserConfigurations.Item.TeamsUserConfigurationItemRequestBuilder +Microsoft.Graph.Admin.Teams.UserConfigurations.userConfigurationsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.Teams.UserConfigurations.userConfigurationsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.Teams.UserConfigurations.userConfigurationsRequestBuilder::|public|Count:global.Microsoft.Graph.Admin.Teams.UserConfigurations.Count.CountRequestBuilder +Microsoft.Graph.Admin.Teams.UserConfigurations.userConfigurationsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamsAdministration.TeamsUserConfigurationCollectionResponse +Microsoft.Graph.Admin.Teams.UserConfigurations.userConfigurationsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.TeamsAdministration.TeamsUserConfiguration; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamsAdministration.TeamsUserConfiguration +Microsoft.Graph.Admin.Teams.UserConfigurations.userConfigurationsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.Teams.UserConfigurations.userConfigurationsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.TeamsAdministration.TeamsUserConfiguration; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.Teams.UserConfigurations.userConfigurationsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Admin.Teams.UserConfigurations.UserConfigurationsRequestBuilder Microsoft.Graph.AgreementAcceptances.agreementAcceptancesRequestBuilder-->BaseRequestBuilder Microsoft.Graph.AgreementAcceptances.agreementAcceptancesRequestBuilder.agreementAcceptancesRequestBuilderGetQueryParameters::|public|Count:bool? Microsoft.Graph.AgreementAcceptances.agreementAcceptancesRequestBuilder.agreementAcceptancesRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -4047,6 +4157,230 @@ Microsoft.Graph.Chats.Item.UnhideForUser.unhideForUserRequestBuilder::|public|co Microsoft.Graph.Chats.Item.UnhideForUser.unhideForUserRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Chats.Item.UnhideForUser.UnhideForUserPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Chats.Item.UnhideForUser.unhideForUserRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Chats.Item.UnhideForUser.UnhideForUserPostRequestBody; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Chats.Item.UnhideForUser.unhideForUserRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Chats.Item.UnhideForUser.UnhideForUserRequestBuilder +Microsoft.Graph.Communications.AdhocCalls.adhocCallsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Communications.AdhocCalls.adhocCallsRequestBuilder.adhocCallsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Communications.AdhocCalls.adhocCallsRequestBuilder.adhocCallsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Communications.AdhocCalls.adhocCallsRequestBuilder.adhocCallsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Communications.AdhocCalls.adhocCallsRequestBuilder.adhocCallsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Communications.AdhocCalls.adhocCallsRequestBuilder.adhocCallsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Communications.AdhocCalls.adhocCallsRequestBuilder.adhocCallsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Communications.AdhocCalls.adhocCallsRequestBuilder.adhocCallsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Communications.AdhocCalls.adhocCallsRequestBuilder.adhocCallsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Communications.AdhocCalls.adhocCallsRequestBuilder.adhocCallsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Communications.AdhocCalls.adhocCallsRequestBuilder.adhocCallsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Communications.AdhocCalls.adhocCallsRequestBuilder::[AdhocCallId:string]:global.Microsoft.Graph.Communications.AdhocCalls.Item.AdhocCallItemRequestBuilder +Microsoft.Graph.Communications.AdhocCalls.adhocCallsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Communications.AdhocCalls.adhocCallsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Communications.AdhocCalls.adhocCallsRequestBuilder::|public|Count:global.Microsoft.Graph.Communications.AdhocCalls.Count.CountRequestBuilder +Microsoft.Graph.Communications.AdhocCalls.adhocCallsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AdhocCallCollectionResponse +Microsoft.Graph.Communications.AdhocCalls.adhocCallsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.AdhocCall; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AdhocCall +Microsoft.Graph.Communications.AdhocCalls.adhocCallsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Communications.AdhocCalls.adhocCallsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.AdhocCall; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Communications.AdhocCalls.adhocCallsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Communications.AdhocCalls.AdhocCallsRequestBuilder +Microsoft.Graph.Communications.AdhocCalls.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Communications.AdhocCalls.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Communications.AdhocCalls.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Communications.AdhocCalls.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Communications.AdhocCalls.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Communications.AdhocCalls.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Communications.AdhocCalls.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Communications.AdhocCalls.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Communications.AdhocCalls.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Communications.AdhocCalls.Count.CountRequestBuilder +Microsoft.Graph.Communications.AdhocCalls.Item.AdhocCallItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Communications.AdhocCalls.Item.AdhocCallItemRequestBuilder.AdhocCallItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Communications.AdhocCalls.Item.AdhocCallItemRequestBuilder.AdhocCallItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Communications.AdhocCalls.Item.AdhocCallItemRequestBuilder.AdhocCallItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Communications.AdhocCalls.Item.AdhocCallItemRequestBuilder.AdhocCallItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Communications.AdhocCalls.Item.AdhocCallItemRequestBuilder.AdhocCallItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Communications.AdhocCalls.Item.AdhocCallItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Communications.AdhocCalls.Item.AdhocCallItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Communications.AdhocCalls.Item.AdhocCallItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Communications.AdhocCalls.Item.AdhocCallItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AdhocCall +Microsoft.Graph.Communications.AdhocCalls.Item.AdhocCallItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.AdhocCall; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AdhocCall +Microsoft.Graph.Communications.AdhocCalls.Item.AdhocCallItemRequestBuilder::|public|recordings:global.Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.RecordingsRequestBuilder +Microsoft.Graph.Communications.AdhocCalls.Item.AdhocCallItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Communications.AdhocCalls.Item.AdhocCallItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Communications.AdhocCalls.Item.AdhocCallItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.AdhocCall; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Communications.AdhocCalls.Item.AdhocCallItemRequestBuilder::|public|transcripts:global.Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.TranscriptsRequestBuilder +Microsoft.Graph.Communications.AdhocCalls.Item.AdhocCallItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Communications.AdhocCalls.Item.AdhocCallItemRequestBuilder +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Count.CountRequestBuilder +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Delta.deltaGetResponse-->global.Microsoft.Graph.Models.BaseDeltaFunctionResponse +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Delta.deltaGetResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Delta.deltaGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Delta.deltaGetResponse::|public|Value:List +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Delta.deltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Delta.DeltaGetResponse +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Delta.deltaRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Delta.deltaRequestBuilder.deltaRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Delta.deltaRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Delta.deltaRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Delta.deltaRequestBuilder::|public|GetAsDeltaGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Delta.DeltaGetResponse +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Delta.deltaRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Delta.DeltaResponse +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Delta.deltaRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Delta.deltaRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Delta.DeltaRequestBuilder +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Delta.deltaResponse-->global.Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Delta.DeltaGetResponse +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Delta.deltaResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Delta.DeltaResponse +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder.CallRecordingItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder.CallRecordingItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder.CallRecordingItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder.CallRecordingItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder.CallRecordingItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder::|public|content:global.Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Item.Content.ContentRequestBuilder +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CallRecording +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.CallRecording; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CallRecording +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.CallRecording; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Item.Content.contentRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Item.Content.contentRequestBuilder.contentRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Item.Content.contentRequestBuilder.contentRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Item.Content.contentRequestBuilder.contentRequestBuilderPutRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Item.Content.contentRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Item.Content.contentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Item.Content.contentRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Item.Content.contentRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Item.Content.contentRequestBuilder::|public|PutAsync(body:Stream; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CallRecording +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Item.Content.contentRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Item.Content.contentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Item.Content.contentRequestBuilder::|public|ToPutRequestInformation(body:Stream; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Item.Content.contentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Item.Content.ContentRequestBuilder +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.recordingsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.recordingsRequestBuilder.recordingsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.recordingsRequestBuilder.recordingsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.recordingsRequestBuilder.recordingsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.recordingsRequestBuilder.recordingsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.recordingsRequestBuilder.recordingsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.recordingsRequestBuilder.recordingsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.recordingsRequestBuilder.recordingsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.recordingsRequestBuilder.recordingsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.recordingsRequestBuilder.recordingsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.recordingsRequestBuilder.recordingsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.recordingsRequestBuilder::[CallRecordingId:string]:global.Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.recordingsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.recordingsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.recordingsRequestBuilder::|public|Count:global.Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Count.CountRequestBuilder +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.recordingsRequestBuilder::|public|delta:global.Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.Delta.DeltaRequestBuilder +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.recordingsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CallRecordingCollectionResponse +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.recordingsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.CallRecording; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CallRecording +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.recordingsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.recordingsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.CallRecording; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.recordingsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Communications.AdhocCalls.Item.Recordings.RecordingsRequestBuilder +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Count.CountRequestBuilder +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Delta.deltaGetResponse-->global.Microsoft.Graph.Models.BaseDeltaFunctionResponse +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Delta.deltaGetResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Delta.deltaGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Delta.deltaGetResponse::|public|Value:List +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Delta.deltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Delta.DeltaGetResponse +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Delta.deltaRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Delta.deltaRequestBuilder.deltaRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Delta.deltaRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Delta.deltaRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Delta.deltaRequestBuilder::|public|GetAsDeltaGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Delta.DeltaGetResponse +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Delta.deltaRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Delta.DeltaResponse +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Delta.deltaRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Delta.deltaRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Delta.DeltaRequestBuilder +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Delta.deltaResponse-->global.Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Delta.DeltaGetResponse +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Delta.deltaResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Delta.DeltaResponse +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder.CallTranscriptItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder.CallTranscriptItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder.CallTranscriptItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder.CallTranscriptItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder.CallTranscriptItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder::|public|content:global.Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Item.Content.ContentRequestBuilder +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CallTranscript +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder::|public|metadataContent:global.Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Item.MetadataContent.MetadataContentRequestBuilder +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.CallTranscript; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CallTranscript +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.CallTranscript; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Item.Content.contentRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Item.Content.contentRequestBuilder.contentRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Item.Content.contentRequestBuilder.contentRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Item.Content.contentRequestBuilder.contentRequestBuilderPutRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Item.Content.contentRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Item.Content.contentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Item.Content.contentRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Item.Content.contentRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Item.Content.contentRequestBuilder::|public|PutAsync(body:Stream; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CallTranscript +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Item.Content.contentRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Item.Content.contentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Item.Content.contentRequestBuilder::|public|ToPutRequestInformation(body:Stream; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Item.Content.contentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Item.Content.ContentRequestBuilder +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Item.MetadataContent.metadataContentRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Item.MetadataContent.metadataContentRequestBuilder.metadataContentRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Item.MetadataContent.metadataContentRequestBuilder.metadataContentRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Item.MetadataContent.metadataContentRequestBuilder.metadataContentRequestBuilderPutRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Item.MetadataContent.metadataContentRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Item.MetadataContent.metadataContentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Item.MetadataContent.metadataContentRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Item.MetadataContent.metadataContentRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Item.MetadataContent.metadataContentRequestBuilder::|public|PutAsync(body:Stream; requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Item.MetadataContent.metadataContentRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Item.MetadataContent.metadataContentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Item.MetadataContent.metadataContentRequestBuilder::|public|ToPutRequestInformation(body:Stream; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Item.MetadataContent.metadataContentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Item.MetadataContent.MetadataContentRequestBuilder +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder.transcriptsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder.transcriptsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder.transcriptsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder.transcriptsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder.transcriptsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder.transcriptsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder.transcriptsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder.transcriptsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder.transcriptsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder.transcriptsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder::[CallTranscriptId:string]:global.Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder::|public|Count:global.Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Count.CountRequestBuilder +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder::|public|delta:global.Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.Delta.DeltaRequestBuilder +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CallTranscriptCollectionResponse +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.CallTranscript; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CallTranscript +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.CallTranscript; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Communications.AdhocCalls.Item.Transcripts.TranscriptsRequestBuilder Microsoft.Graph.Communications.CallRecords.callRecordsRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Communications.CallRecords.callRecordsRequestBuilder.callRecordsRequestBuilderGetQueryParameters::|public|Count:bool? Microsoft.Graph.Communications.CallRecords.callRecordsRequestBuilder.callRecordsRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -4846,6 +5180,7 @@ Microsoft.Graph.Communications.communicationsRequestBuilder.communicationsReques Microsoft.Graph.Communications.communicationsRequestBuilder.communicationsRequestBuilderGetQueryParameters::|public|Select:string[] Microsoft.Graph.Communications.communicationsRequestBuilder.communicationsRequestBuilderGetRequestConfiguration-->RequestConfiguration Microsoft.Graph.Communications.communicationsRequestBuilder.communicationsRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Communications.communicationsRequestBuilder::|public|adhocCalls:global.Microsoft.Graph.Communications.AdhocCalls.AdhocCallsRequestBuilder Microsoft.Graph.Communications.communicationsRequestBuilder::|public|callRecords:global.Microsoft.Graph.Communications.CallRecords.CallRecordsRequestBuilder Microsoft.Graph.Communications.communicationsRequestBuilder::|public|calls:global.Microsoft.Graph.Communications.Calls.CallsRequestBuilder Microsoft.Graph.Communications.communicationsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -5850,6 +6185,20 @@ Microsoft.Graph.Communications.Presences.Count.CountRequestBuilder::|public|cons Microsoft.Graph.Communications.Presences.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? Microsoft.Graph.Communications.Presences.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Communications.Presences.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Communications.Presences.Count.CountRequestBuilder +Microsoft.Graph.Communications.Presences.Item.ClearAutomaticLocation.clearAutomaticLocationRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Communications.Presences.Item.ClearAutomaticLocation.clearAutomaticLocationRequestBuilder.clearAutomaticLocationRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Communications.Presences.Item.ClearAutomaticLocation.clearAutomaticLocationRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Communications.Presences.Item.ClearAutomaticLocation.clearAutomaticLocationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Communications.Presences.Item.ClearAutomaticLocation.clearAutomaticLocationRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Communications.Presences.Item.ClearAutomaticLocation.clearAutomaticLocationRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Communications.Presences.Item.ClearAutomaticLocation.clearAutomaticLocationRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Communications.Presences.Item.ClearAutomaticLocation.ClearAutomaticLocationRequestBuilder +Microsoft.Graph.Communications.Presences.Item.ClearLocation.clearLocationRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Communications.Presences.Item.ClearLocation.clearLocationRequestBuilder.clearLocationRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Communications.Presences.Item.ClearLocation.clearLocationRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Communications.Presences.Item.ClearLocation.clearLocationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Communications.Presences.Item.ClearLocation.clearLocationRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Communications.Presences.Item.ClearLocation.clearLocationRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Communications.Presences.Item.ClearLocation.clearLocationRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Communications.Presences.Item.ClearLocation.ClearLocationRequestBuilder Microsoft.Graph.Communications.Presences.Item.ClearPresence.clearPresencePostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Communications.Presences.Item.ClearPresence.clearPresencePostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Communications.Presences.Item.ClearPresence.clearPresencePostRequestBody::|public|constructor():void @@ -5878,6 +6227,8 @@ Microsoft.Graph.Communications.Presences.Item.PresenceItemRequestBuilder.Presenc Microsoft.Graph.Communications.Presences.Item.PresenceItemRequestBuilder.PresenceItemRequestBuilderGetQueryParameters::|public|Select:string[] Microsoft.Graph.Communications.Presences.Item.PresenceItemRequestBuilder.PresenceItemRequestBuilderGetRequestConfiguration-->RequestConfiguration Microsoft.Graph.Communications.Presences.Item.PresenceItemRequestBuilder.PresenceItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Communications.Presences.Item.PresenceItemRequestBuilder::|public|clearAutomaticLocation:global.Microsoft.Graph.Communications.Presences.Item.ClearAutomaticLocation.ClearAutomaticLocationRequestBuilder +Microsoft.Graph.Communications.Presences.Item.PresenceItemRequestBuilder::|public|clearLocation:global.Microsoft.Graph.Communications.Presences.Item.ClearLocation.ClearLocationRequestBuilder Microsoft.Graph.Communications.Presences.Item.PresenceItemRequestBuilder::|public|clearPresence:global.Microsoft.Graph.Communications.Presences.Item.ClearPresence.ClearPresenceRequestBuilder Microsoft.Graph.Communications.Presences.Item.PresenceItemRequestBuilder::|public|clearUserPreferredPresence:global.Microsoft.Graph.Communications.Presences.Item.ClearUserPreferredPresence.ClearUserPreferredPresenceRequestBuilder Microsoft.Graph.Communications.Presences.Item.PresenceItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -5885,6 +6236,8 @@ Microsoft.Graph.Communications.Presences.Item.PresenceItemRequestBuilder::|publi Microsoft.Graph.Communications.Presences.Item.PresenceItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Communications.Presences.Item.PresenceItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Presence Microsoft.Graph.Communications.Presences.Item.PresenceItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.Presence; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Presence +Microsoft.Graph.Communications.Presences.Item.PresenceItemRequestBuilder::|public|setAutomaticLocation:global.Microsoft.Graph.Communications.Presences.Item.SetAutomaticLocation.SetAutomaticLocationRequestBuilder +Microsoft.Graph.Communications.Presences.Item.PresenceItemRequestBuilder::|public|setManualLocation:global.Microsoft.Graph.Communications.Presences.Item.SetManualLocation.SetManualLocationRequestBuilder Microsoft.Graph.Communications.Presences.Item.PresenceItemRequestBuilder::|public|setPresence:global.Microsoft.Graph.Communications.Presences.Item.SetPresence.SetPresenceRequestBuilder Microsoft.Graph.Communications.Presences.Item.PresenceItemRequestBuilder::|public|setStatusMessage:global.Microsoft.Graph.Communications.Presences.Item.SetStatusMessage.SetStatusMessageRequestBuilder Microsoft.Graph.Communications.Presences.Item.PresenceItemRequestBuilder::|public|setUserPreferredPresence:global.Microsoft.Graph.Communications.Presences.Item.SetUserPreferredPresence.SetUserPreferredPresenceRequestBuilder @@ -5892,6 +6245,38 @@ Microsoft.Graph.Communications.Presences.Item.PresenceItemRequestBuilder::|publi Microsoft.Graph.Communications.Presences.Item.PresenceItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Communications.Presences.Item.PresenceItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.Presence; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Communications.Presences.Item.PresenceItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Communications.Presences.Item.PresenceItemRequestBuilder +Microsoft.Graph.Communications.Presences.Item.SetAutomaticLocation.setAutomaticLocationPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Communications.Presences.Item.SetAutomaticLocation.setAutomaticLocationPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Communications.Presences.Item.SetAutomaticLocation.setAutomaticLocationPostRequestBody::|public|constructor():void +Microsoft.Graph.Communications.Presences.Item.SetAutomaticLocation.setAutomaticLocationPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Communications.Presences.Item.SetAutomaticLocation.setAutomaticLocationPostRequestBody::|public|PlaceId:string +Microsoft.Graph.Communications.Presences.Item.SetAutomaticLocation.setAutomaticLocationPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Communications.Presences.Item.SetAutomaticLocation.setAutomaticLocationPostRequestBody::|public|WorkLocationType:global.Microsoft.Graph.Models.WorkLocationType? +Microsoft.Graph.Communications.Presences.Item.SetAutomaticLocation.setAutomaticLocationPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Communications.Presences.Item.SetAutomaticLocation.SetAutomaticLocationPostRequestBody +Microsoft.Graph.Communications.Presences.Item.SetAutomaticLocation.setAutomaticLocationPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Communications.Presences.Item.SetAutomaticLocation.setAutomaticLocationRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Communications.Presences.Item.SetAutomaticLocation.setAutomaticLocationRequestBuilder.setAutomaticLocationRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Communications.Presences.Item.SetAutomaticLocation.setAutomaticLocationRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Communications.Presences.Item.SetAutomaticLocation.setAutomaticLocationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Communications.Presences.Item.SetAutomaticLocation.setAutomaticLocationRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Communications.Presences.Item.SetAutomaticLocation.SetAutomaticLocationPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Communications.Presences.Item.SetAutomaticLocation.setAutomaticLocationRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Communications.Presences.Item.SetAutomaticLocation.SetAutomaticLocationPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Communications.Presences.Item.SetAutomaticLocation.setAutomaticLocationRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Communications.Presences.Item.SetAutomaticLocation.SetAutomaticLocationRequestBuilder +Microsoft.Graph.Communications.Presences.Item.SetManualLocation.setManualLocationPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Communications.Presences.Item.SetManualLocation.setManualLocationPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Communications.Presences.Item.SetManualLocation.setManualLocationPostRequestBody::|public|constructor():void +Microsoft.Graph.Communications.Presences.Item.SetManualLocation.setManualLocationPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Communications.Presences.Item.SetManualLocation.setManualLocationPostRequestBody::|public|PlaceId:string +Microsoft.Graph.Communications.Presences.Item.SetManualLocation.setManualLocationPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Communications.Presences.Item.SetManualLocation.setManualLocationPostRequestBody::|public|WorkLocationType:global.Microsoft.Graph.Models.WorkLocationType? +Microsoft.Graph.Communications.Presences.Item.SetManualLocation.setManualLocationPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Communications.Presences.Item.SetManualLocation.SetManualLocationPostRequestBody +Microsoft.Graph.Communications.Presences.Item.SetManualLocation.setManualLocationPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Communications.Presences.Item.SetManualLocation.setManualLocationRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Communications.Presences.Item.SetManualLocation.setManualLocationRequestBuilder.setManualLocationRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Communications.Presences.Item.SetManualLocation.setManualLocationRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Communications.Presences.Item.SetManualLocation.setManualLocationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Communications.Presences.Item.SetManualLocation.setManualLocationRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Communications.Presences.Item.SetManualLocation.SetManualLocationPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Communications.Presences.Item.SetManualLocation.setManualLocationRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Communications.Presences.Item.SetManualLocation.SetManualLocationPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Communications.Presences.Item.SetManualLocation.setManualLocationRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Communications.Presences.Item.SetManualLocation.SetManualLocationRequestBuilder Microsoft.Graph.Communications.Presences.Item.SetPresence.setPresencePostRequestBody::|public|Activity:string Microsoft.Graph.Communications.Presences.Item.SetPresence.setPresencePostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Communications.Presences.Item.SetPresence.setPresencePostRequestBody::|public|Availability:string @@ -17479,8 +17864,10 @@ Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.CloudPCItemReques Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.CloudPCItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.CloudPC; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CloudPC Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.CloudPCItemRequestBuilder::|public|reboot:global.Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Reboot.RebootRequestBuilder Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.CloudPCItemRequestBuilder::|public|rename:global.Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Rename.RenameRequestBuilder +Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.CloudPCItemRequestBuilder::|public|reprovision:global.Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Reprovision.ReprovisionRequestBuilder Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.CloudPCItemRequestBuilder::|public|resize:global.Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Resize.ResizeRequestBuilder Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.CloudPCItemRequestBuilder::|public|restore:global.Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Restore.RestoreRequestBuilder +Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.CloudPCItemRequestBuilder::|public|retrieveCloudPcLaunchDetail:global.Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.RetrieveCloudPcLaunchDetail.RetrieveCloudPcLaunchDetailRequestBuilder Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.CloudPCItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.CloudPCItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.CloudPCItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.CloudPC; requestConfiguration?:Action>):RequestInformation @@ -17515,6 +17902,22 @@ Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Rename.renameRequ Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Rename.renameRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Rename.RenamePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Rename.renameRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Rename.RenamePostRequestBody; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Rename.renameRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Rename.RenameRequestBuilder +Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Reprovision.reprovisionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Reprovision.reprovisionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Reprovision.reprovisionPostRequestBody::|public|constructor():void +Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Reprovision.reprovisionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Reprovision.reprovisionPostRequestBody::|public|OsVersion:global.Microsoft.Graph.Models.CloudPcOperatingSystem? +Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Reprovision.reprovisionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Reprovision.reprovisionPostRequestBody::|public|UserAccountType:global.Microsoft.Graph.Models.CloudPcUserAccountType? +Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Reprovision.reprovisionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Reprovision.ReprovisionPostRequestBody +Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Reprovision.reprovisionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Reprovision.reprovisionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Reprovision.reprovisionRequestBuilder.reprovisionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Reprovision.reprovisionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Reprovision.reprovisionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Reprovision.reprovisionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Reprovision.ReprovisionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Reprovision.reprovisionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Reprovision.ReprovisionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Reprovision.reprovisionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Reprovision.ReprovisionRequestBuilder Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Resize.resizePostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Resize.resizePostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Resize.resizePostRequestBody::|public|constructor():void @@ -17545,6 +17948,13 @@ Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Restore.restoreRe Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Restore.restoreRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Restore.RestorePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Restore.restoreRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Restore.RestorePostRequestBody; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Restore.restoreRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Restore.RestoreRequestBuilder +Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.RetrieveCloudPcLaunchDetail.retrieveCloudPcLaunchDetailRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.RetrieveCloudPcLaunchDetail.retrieveCloudPcLaunchDetailRequestBuilder.retrieveCloudPcLaunchDetailRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.RetrieveCloudPcLaunchDetail.retrieveCloudPcLaunchDetailRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.RetrieveCloudPcLaunchDetail.retrieveCloudPcLaunchDetailRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.RetrieveCloudPcLaunchDetail.retrieveCloudPcLaunchDetailRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CloudPcLaunchDetail +Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.RetrieveCloudPcLaunchDetail.retrieveCloudPcLaunchDetailRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.RetrieveCloudPcLaunchDetail.retrieveCloudPcLaunchDetailRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.RetrieveCloudPcLaunchDetail.RetrieveCloudPcLaunchDetailRequestBuilder Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Troubleshoot.troubleshootRequestBuilder-->BaseRequestBuilder Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Troubleshoot.troubleshootRequestBuilder.troubleshootRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Troubleshoot.troubleshootRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -17903,6 +18313,44 @@ Microsoft.Graph.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.provisioni Microsoft.Graph.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.provisioningPoliciesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.provisioningPoliciesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.CloudPcProvisioningPolicy; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.provisioningPoliciesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.ProvisioningPoliciesRequestBuilder +Microsoft.Graph.DeviceManagement.VirtualEndpoint.Report.reportRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.DeviceManagement.VirtualEndpoint.Report.reportRequestBuilder.reportRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.DeviceManagement.VirtualEndpoint.Report.reportRequestBuilder.reportRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.DeviceManagement.VirtualEndpoint.Report.reportRequestBuilder.reportRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.DeviceManagement.VirtualEndpoint.Report.reportRequestBuilder.reportRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.DeviceManagement.VirtualEndpoint.Report.reportRequestBuilder.reportRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.DeviceManagement.VirtualEndpoint.Report.reportRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.DeviceManagement.VirtualEndpoint.Report.reportRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.DeviceManagement.VirtualEndpoint.Report.reportRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.DeviceManagement.VirtualEndpoint.Report.reportRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CloudPcReport +Microsoft.Graph.DeviceManagement.VirtualEndpoint.Report.reportRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.CloudPcReport; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CloudPcReport +Microsoft.Graph.DeviceManagement.VirtualEndpoint.Report.reportRequestBuilder::|public|retrieveCloudPcRecommendationReports:global.Microsoft.Graph.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcRecommendationReports.RetrieveCloudPcRecommendationReportsRequestBuilder +Microsoft.Graph.DeviceManagement.VirtualEndpoint.Report.reportRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.DeviceManagement.VirtualEndpoint.Report.reportRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.DeviceManagement.VirtualEndpoint.Report.reportRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.CloudPcReport; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.DeviceManagement.VirtualEndpoint.Report.reportRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.DeviceManagement.VirtualEndpoint.Report.ReportRequestBuilder +Microsoft.Graph.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|public|constructor():void +Microsoft.Graph.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|public|Filter:string +Microsoft.Graph.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|public|GroupBy:List +Microsoft.Graph.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|public|OrderBy:List +Microsoft.Graph.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|public|ReportType:global.Microsoft.Graph.Models.CloudPcRecommendationReportType? +Microsoft.Graph.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|public|Search:string +Microsoft.Graph.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|public|Select:List +Microsoft.Graph.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|public|Skip:int? +Microsoft.Graph.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|public|Top:int? +Microsoft.Graph.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcRecommendationReports.RetrieveCloudPcRecommendationReportsPostRequestBody +Microsoft.Graph.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsRequestBuilder.retrieveCloudPcRecommendationReportsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcRecommendationReports.RetrieveCloudPcRecommendationReportsPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream +Microsoft.Graph.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcRecommendationReports.RetrieveCloudPcRecommendationReportsPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcRecommendationReports.RetrieveCloudPcRecommendationReportsRequestBuilder Microsoft.Graph.DeviceManagement.VirtualEndpoint.UserSettings.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.DeviceManagement.VirtualEndpoint.UserSettings.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.DeviceManagement.VirtualEndpoint.UserSettings.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -18025,6 +18473,7 @@ Microsoft.Graph.DeviceManagement.VirtualEndpoint.virtualEndpointRequestBuilder:: Microsoft.Graph.DeviceManagement.VirtualEndpoint.virtualEndpointRequestBuilder::|public|onPremisesConnections:global.Microsoft.Graph.DeviceManagement.VirtualEndpoint.OnPremisesConnections.OnPremisesConnectionsRequestBuilder Microsoft.Graph.DeviceManagement.VirtualEndpoint.virtualEndpointRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.VirtualEndpoint; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.VirtualEndpoint Microsoft.Graph.DeviceManagement.VirtualEndpoint.virtualEndpointRequestBuilder::|public|provisioningPolicies:global.Microsoft.Graph.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.ProvisioningPoliciesRequestBuilder +Microsoft.Graph.DeviceManagement.VirtualEndpoint.virtualEndpointRequestBuilder::|public|report:global.Microsoft.Graph.DeviceManagement.VirtualEndpoint.Report.ReportRequestBuilder Microsoft.Graph.DeviceManagement.VirtualEndpoint.virtualEndpointRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.DeviceManagement.VirtualEndpoint.virtualEndpointRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.DeviceManagement.VirtualEndpoint.virtualEndpointRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.VirtualEndpoint; requestConfiguration?:Action>):RequestInformation @@ -77830,6 +78279,230 @@ Microsoft.Graph.Me.Activities.Recent.recentRequestBuilder::|public|ToGetRequestI Microsoft.Graph.Me.Activities.Recent.recentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Activities.Recent.RecentRequestBuilder Microsoft.Graph.Me.Activities.Recent.recentResponse-->global.Microsoft.Graph.Me.Activities.Recent.RecentGetResponse Microsoft.Graph.Me.Activities.Recent.recentResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Activities.Recent.RecentResponse +Microsoft.Graph.Me.AdhocCalls.adhocCallsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.AdhocCalls.adhocCallsRequestBuilder.adhocCallsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Me.AdhocCalls.adhocCallsRequestBuilder.adhocCallsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Me.AdhocCalls.adhocCallsRequestBuilder.adhocCallsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Me.AdhocCalls.adhocCallsRequestBuilder.adhocCallsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Me.AdhocCalls.adhocCallsRequestBuilder.adhocCallsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Me.AdhocCalls.adhocCallsRequestBuilder.adhocCallsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Me.AdhocCalls.adhocCallsRequestBuilder.adhocCallsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Me.AdhocCalls.adhocCallsRequestBuilder.adhocCallsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Me.AdhocCalls.adhocCallsRequestBuilder.adhocCallsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.AdhocCalls.adhocCallsRequestBuilder.adhocCallsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.AdhocCalls.adhocCallsRequestBuilder::[AdhocCallId:string]:global.Microsoft.Graph.Me.AdhocCalls.Item.AdhocCallItemRequestBuilder +Microsoft.Graph.Me.AdhocCalls.adhocCallsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.AdhocCalls.adhocCallsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.AdhocCalls.adhocCallsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.AdhocCalls.Count.CountRequestBuilder +Microsoft.Graph.Me.AdhocCalls.adhocCallsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AdhocCallCollectionResponse +Microsoft.Graph.Me.AdhocCalls.adhocCallsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.AdhocCall; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AdhocCall +Microsoft.Graph.Me.AdhocCalls.adhocCallsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.AdhocCalls.adhocCallsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.AdhocCall; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.AdhocCalls.adhocCallsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.AdhocCalls.AdhocCallsRequestBuilder +Microsoft.Graph.Me.AdhocCalls.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.AdhocCalls.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Me.AdhocCalls.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Me.AdhocCalls.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.AdhocCalls.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.AdhocCalls.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.AdhocCalls.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Me.AdhocCalls.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.AdhocCalls.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.AdhocCalls.Count.CountRequestBuilder +Microsoft.Graph.Me.AdhocCalls.Item.AdhocCallItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.AdhocCalls.Item.AdhocCallItemRequestBuilder.AdhocCallItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.AdhocCalls.Item.AdhocCallItemRequestBuilder.AdhocCallItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Me.AdhocCalls.Item.AdhocCallItemRequestBuilder.AdhocCallItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Me.AdhocCalls.Item.AdhocCallItemRequestBuilder.AdhocCallItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.AdhocCalls.Item.AdhocCallItemRequestBuilder.AdhocCallItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.AdhocCalls.Item.AdhocCallItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.AdhocCalls.Item.AdhocCallItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.AdhocCalls.Item.AdhocCallItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Me.AdhocCalls.Item.AdhocCallItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AdhocCall +Microsoft.Graph.Me.AdhocCalls.Item.AdhocCallItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.AdhocCall; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AdhocCall +Microsoft.Graph.Me.AdhocCalls.Item.AdhocCallItemRequestBuilder::|public|recordings:global.Microsoft.Graph.Me.AdhocCalls.Item.Recordings.RecordingsRequestBuilder +Microsoft.Graph.Me.AdhocCalls.Item.AdhocCallItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.AdhocCalls.Item.AdhocCallItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.AdhocCalls.Item.AdhocCallItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.AdhocCall; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.AdhocCalls.Item.AdhocCallItemRequestBuilder::|public|transcripts:global.Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.TranscriptsRequestBuilder +Microsoft.Graph.Me.AdhocCalls.Item.AdhocCallItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.AdhocCalls.Item.AdhocCallItemRequestBuilder +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Count.CountRequestBuilder +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Delta.deltaGetResponse-->global.Microsoft.Graph.Models.BaseDeltaFunctionResponse +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Delta.deltaGetResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Delta.deltaGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Delta.deltaGetResponse::|public|Value:List +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Delta.deltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Delta.DeltaGetResponse +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Delta.deltaRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Delta.deltaRequestBuilder.deltaRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Delta.deltaRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Delta.deltaRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Delta.deltaRequestBuilder::|public|GetAsDeltaGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Delta.DeltaGetResponse +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Delta.deltaRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Delta.DeltaResponse +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Delta.deltaRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Delta.deltaRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Delta.DeltaRequestBuilder +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Delta.deltaResponse-->global.Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Delta.DeltaGetResponse +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Delta.deltaResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Delta.DeltaResponse +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder.CallRecordingItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder.CallRecordingItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder.CallRecordingItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder.CallRecordingItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder.CallRecordingItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder::|public|content:global.Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.Content.ContentRequestBuilder +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CallRecording +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.CallRecording; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CallRecording +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.CallRecording; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.Content.contentRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.Content.contentRequestBuilder.contentRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.Content.contentRequestBuilder.contentRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.Content.contentRequestBuilder.contentRequestBuilderPutRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.Content.contentRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.Content.contentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.Content.contentRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.Content.contentRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.Content.contentRequestBuilder::|public|PutAsync(body:Stream; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CallRecording +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.Content.contentRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.Content.contentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.Content.contentRequestBuilder::|public|ToPutRequestInformation(body:Stream; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.Content.contentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.Content.ContentRequestBuilder +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.recordingsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.recordingsRequestBuilder.recordingsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.recordingsRequestBuilder.recordingsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.recordingsRequestBuilder.recordingsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.recordingsRequestBuilder.recordingsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.recordingsRequestBuilder.recordingsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.recordingsRequestBuilder.recordingsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.recordingsRequestBuilder.recordingsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.recordingsRequestBuilder.recordingsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.recordingsRequestBuilder.recordingsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.recordingsRequestBuilder.recordingsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.recordingsRequestBuilder::[CallRecordingId:string]:global.Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.recordingsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.recordingsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.recordingsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Count.CountRequestBuilder +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.recordingsRequestBuilder::|public|delta:global.Microsoft.Graph.Me.AdhocCalls.Item.Recordings.Delta.DeltaRequestBuilder +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.recordingsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CallRecordingCollectionResponse +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.recordingsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.CallRecording; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CallRecording +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.recordingsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.recordingsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.CallRecording; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.AdhocCalls.Item.Recordings.recordingsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.AdhocCalls.Item.Recordings.RecordingsRequestBuilder +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Count.CountRequestBuilder +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Delta.deltaGetResponse-->global.Microsoft.Graph.Models.BaseDeltaFunctionResponse +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Delta.deltaGetResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Delta.deltaGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Delta.deltaGetResponse::|public|Value:List +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Delta.deltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Delta.DeltaGetResponse +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Delta.deltaRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Delta.deltaRequestBuilder.deltaRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Delta.deltaRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Delta.deltaRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Delta.deltaRequestBuilder::|public|GetAsDeltaGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Delta.DeltaGetResponse +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Delta.deltaRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Delta.DeltaResponse +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Delta.deltaRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Delta.deltaRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Delta.DeltaRequestBuilder +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Delta.deltaResponse-->global.Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Delta.DeltaGetResponse +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Delta.deltaResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Delta.DeltaResponse +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder.CallTranscriptItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder.CallTranscriptItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder.CallTranscriptItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder.CallTranscriptItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder.CallTranscriptItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder::|public|content:global.Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.Content.ContentRequestBuilder +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CallTranscript +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder::|public|metadataContent:global.Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.MetadataContent.MetadataContentRequestBuilder +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.CallTranscript; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CallTranscript +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.CallTranscript; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.Content.contentRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.Content.contentRequestBuilder.contentRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.Content.contentRequestBuilder.contentRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.Content.contentRequestBuilder.contentRequestBuilderPutRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.Content.contentRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.Content.contentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.Content.contentRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.Content.contentRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.Content.contentRequestBuilder::|public|PutAsync(body:Stream; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CallTranscript +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.Content.contentRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.Content.contentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.Content.contentRequestBuilder::|public|ToPutRequestInformation(body:Stream; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.Content.contentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.Content.ContentRequestBuilder +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.MetadataContent.metadataContentRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.MetadataContent.metadataContentRequestBuilder.metadataContentRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.MetadataContent.metadataContentRequestBuilder.metadataContentRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.MetadataContent.metadataContentRequestBuilder.metadataContentRequestBuilderPutRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.MetadataContent.metadataContentRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.MetadataContent.metadataContentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.MetadataContent.metadataContentRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.MetadataContent.metadataContentRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.MetadataContent.metadataContentRequestBuilder::|public|PutAsync(body:Stream; requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.MetadataContent.metadataContentRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.MetadataContent.metadataContentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.MetadataContent.metadataContentRequestBuilder::|public|ToPutRequestInformation(body:Stream; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.MetadataContent.metadataContentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.MetadataContent.MetadataContentRequestBuilder +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder.transcriptsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder.transcriptsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder.transcriptsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder.transcriptsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder.transcriptsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder.transcriptsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder.transcriptsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder.transcriptsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder.transcriptsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder.transcriptsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder::[CallTranscriptId:string]:global.Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Count.CountRequestBuilder +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder::|public|delta:global.Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.Delta.DeltaRequestBuilder +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CallTranscriptCollectionResponse +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.CallTranscript; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CallTranscript +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.CallTranscript; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.AdhocCalls.Item.Transcripts.TranscriptsRequestBuilder Microsoft.Graph.Me.AgreementAcceptances.agreementAcceptancesRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Me.AgreementAcceptances.agreementAcceptancesRequestBuilder.agreementAcceptancesRequestBuilderGetQueryParameters::|public|Count:bool? Microsoft.Graph.Me.AgreementAcceptances.agreementAcceptancesRequestBuilder.agreementAcceptancesRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -81175,8 +81848,10 @@ Microsoft.Graph.Me.CloudPCs.Item.CloudPCItemRequestBuilder::|public|GetAsync(req Microsoft.Graph.Me.CloudPCs.Item.CloudPCItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.CloudPC; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CloudPC Microsoft.Graph.Me.CloudPCs.Item.CloudPCItemRequestBuilder::|public|reboot:global.Microsoft.Graph.Me.CloudPCs.Item.Reboot.RebootRequestBuilder Microsoft.Graph.Me.CloudPCs.Item.CloudPCItemRequestBuilder::|public|rename:global.Microsoft.Graph.Me.CloudPCs.Item.Rename.RenameRequestBuilder +Microsoft.Graph.Me.CloudPCs.Item.CloudPCItemRequestBuilder::|public|reprovision:global.Microsoft.Graph.Me.CloudPCs.Item.Reprovision.ReprovisionRequestBuilder Microsoft.Graph.Me.CloudPCs.Item.CloudPCItemRequestBuilder::|public|resize:global.Microsoft.Graph.Me.CloudPCs.Item.Resize.ResizeRequestBuilder Microsoft.Graph.Me.CloudPCs.Item.CloudPCItemRequestBuilder::|public|restore:global.Microsoft.Graph.Me.CloudPCs.Item.Restore.RestoreRequestBuilder +Microsoft.Graph.Me.CloudPCs.Item.CloudPCItemRequestBuilder::|public|retrieveCloudPcLaunchDetail:global.Microsoft.Graph.Me.CloudPCs.Item.RetrieveCloudPcLaunchDetail.RetrieveCloudPcLaunchDetailRequestBuilder Microsoft.Graph.Me.CloudPCs.Item.CloudPCItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Me.CloudPCs.Item.CloudPCItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Me.CloudPCs.Item.CloudPCItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.CloudPC; requestConfiguration?:Action>):RequestInformation @@ -81211,6 +81886,22 @@ Microsoft.Graph.Me.CloudPCs.Item.Rename.renameRequestBuilder::|public|constructo Microsoft.Graph.Me.CloudPCs.Item.Rename.renameRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.CloudPCs.Item.Rename.RenamePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Me.CloudPCs.Item.Rename.renameRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.CloudPCs.Item.Rename.RenamePostRequestBody; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Me.CloudPCs.Item.Rename.renameRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.CloudPCs.Item.Rename.RenameRequestBuilder +Microsoft.Graph.Me.CloudPCs.Item.Reprovision.reprovisionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Me.CloudPCs.Item.Reprovision.reprovisionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Me.CloudPCs.Item.Reprovision.reprovisionPostRequestBody::|public|constructor():void +Microsoft.Graph.Me.CloudPCs.Item.Reprovision.reprovisionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Me.CloudPCs.Item.Reprovision.reprovisionPostRequestBody::|public|OsVersion:global.Microsoft.Graph.Models.CloudPcOperatingSystem? +Microsoft.Graph.Me.CloudPCs.Item.Reprovision.reprovisionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Me.CloudPCs.Item.Reprovision.reprovisionPostRequestBody::|public|UserAccountType:global.Microsoft.Graph.Models.CloudPcUserAccountType? +Microsoft.Graph.Me.CloudPCs.Item.Reprovision.reprovisionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.CloudPCs.Item.Reprovision.ReprovisionPostRequestBody +Microsoft.Graph.Me.CloudPCs.Item.Reprovision.reprovisionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Me.CloudPCs.Item.Reprovision.reprovisionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.CloudPCs.Item.Reprovision.reprovisionRequestBuilder.reprovisionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.CloudPCs.Item.Reprovision.reprovisionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.CloudPCs.Item.Reprovision.reprovisionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.CloudPCs.Item.Reprovision.reprovisionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.CloudPCs.Item.Reprovision.ReprovisionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Me.CloudPCs.Item.Reprovision.reprovisionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.CloudPCs.Item.Reprovision.ReprovisionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.CloudPCs.Item.Reprovision.reprovisionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.CloudPCs.Item.Reprovision.ReprovisionRequestBuilder Microsoft.Graph.Me.CloudPCs.Item.Resize.resizePostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Me.CloudPCs.Item.Resize.resizePostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Me.CloudPCs.Item.Resize.resizePostRequestBody::|public|constructor():void @@ -81241,6 +81932,13 @@ Microsoft.Graph.Me.CloudPCs.Item.Restore.restoreRequestBuilder::|public|construc Microsoft.Graph.Me.CloudPCs.Item.Restore.restoreRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.CloudPCs.Item.Restore.RestorePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Me.CloudPCs.Item.Restore.restoreRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.CloudPCs.Item.Restore.RestorePostRequestBody; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Me.CloudPCs.Item.Restore.restoreRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.CloudPCs.Item.Restore.RestoreRequestBuilder +Microsoft.Graph.Me.CloudPCs.Item.RetrieveCloudPcLaunchDetail.retrieveCloudPcLaunchDetailRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.CloudPCs.Item.RetrieveCloudPcLaunchDetail.retrieveCloudPcLaunchDetailRequestBuilder.retrieveCloudPcLaunchDetailRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.CloudPCs.Item.RetrieveCloudPcLaunchDetail.retrieveCloudPcLaunchDetailRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.CloudPCs.Item.RetrieveCloudPcLaunchDetail.retrieveCloudPcLaunchDetailRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.CloudPCs.Item.RetrieveCloudPcLaunchDetail.retrieveCloudPcLaunchDetailRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CloudPcLaunchDetail +Microsoft.Graph.Me.CloudPCs.Item.RetrieveCloudPcLaunchDetail.retrieveCloudPcLaunchDetailRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.CloudPCs.Item.RetrieveCloudPcLaunchDetail.retrieveCloudPcLaunchDetailRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.CloudPCs.Item.RetrieveCloudPcLaunchDetail.RetrieveCloudPcLaunchDetailRequestBuilder Microsoft.Graph.Me.CloudPCs.Item.Troubleshoot.troubleshootRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Me.CloudPCs.Item.Troubleshoot.troubleshootRequestBuilder.troubleshootRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Me.CloudPCs.Item.Troubleshoot.troubleshootRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -88187,6 +88885,7 @@ Microsoft.Graph.Me.meRequestBuilder.meRequestBuilderGetQueryParameters::|public| Microsoft.Graph.Me.meRequestBuilder.meRequestBuilderGetRequestConfiguration-->RequestConfiguration Microsoft.Graph.Me.meRequestBuilder.meRequestBuilderPatchRequestConfiguration-->RequestConfiguration Microsoft.Graph.Me.meRequestBuilder::|public|activities:global.Microsoft.Graph.Me.Activities.ActivitiesRequestBuilder +Microsoft.Graph.Me.meRequestBuilder::|public|adhocCalls:global.Microsoft.Graph.Me.AdhocCalls.AdhocCallsRequestBuilder Microsoft.Graph.Me.meRequestBuilder::|public|agreementAcceptances:global.Microsoft.Graph.Me.AgreementAcceptances.AgreementAcceptancesRequestBuilder Microsoft.Graph.Me.meRequestBuilder::|public|appRoleAssignments:global.Microsoft.Graph.Me.AppRoleAssignments.AppRoleAssignmentsRequestBuilder Microsoft.Graph.Me.meRequestBuilder::|public|assignLicense:global.Microsoft.Graph.Me.AssignLicense.AssignLicenseRequestBuilder @@ -88240,6 +88939,7 @@ Microsoft.Graph.Me.meRequestBuilder::|public|messages:global.Microsoft.Graph.Me. Microsoft.Graph.Me.meRequestBuilder::|public|oauth2PermissionGrants:global.Microsoft.Graph.Me.Oauth2PermissionGrants.Oauth2PermissionGrantsRequestBuilder Microsoft.Graph.Me.meRequestBuilder::|public|onenote:global.Microsoft.Graph.Me.Onenote.OnenoteRequestBuilder Microsoft.Graph.Me.meRequestBuilder::|public|onlineMeetings:global.Microsoft.Graph.Me.OnlineMeetings.OnlineMeetingsRequestBuilder +Microsoft.Graph.Me.meRequestBuilder::|public|onPremisesSyncBehavior:global.Microsoft.Graph.Me.OnPremisesSyncBehavior.OnPremisesSyncBehaviorRequestBuilder Microsoft.Graph.Me.meRequestBuilder::|public|outlook:global.Microsoft.Graph.Me.Outlook.OutlookRequestBuilder Microsoft.Graph.Me.meRequestBuilder::|public|ownedDevices:global.Microsoft.Graph.Me.OwnedDevices.OwnedDevicesRequestBuilder Microsoft.Graph.Me.meRequestBuilder::|public|ownedObjects:global.Microsoft.Graph.Me.OwnedObjects.OwnedObjectsRequestBuilder @@ -90556,6 +91256,21 @@ Microsoft.Graph.Me.OnlineMeetings.onlineMeetingsRequestBuilder::|public|PostAsyn Microsoft.Graph.Me.OnlineMeetings.onlineMeetingsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Me.OnlineMeetings.onlineMeetingsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.OnlineMeeting; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Me.OnlineMeetings.onlineMeetingsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.OnlineMeetings.OnlineMeetingsRequestBuilder +Microsoft.Graph.Me.OnPremisesSyncBehavior.onPremisesSyncBehaviorRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.OnPremisesSyncBehavior.onPremisesSyncBehaviorRequestBuilder.onPremisesSyncBehaviorRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.OnPremisesSyncBehavior.onPremisesSyncBehaviorRequestBuilder.onPremisesSyncBehaviorRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Me.OnPremisesSyncBehavior.onPremisesSyncBehaviorRequestBuilder.onPremisesSyncBehaviorRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Me.OnPremisesSyncBehavior.onPremisesSyncBehaviorRequestBuilder.onPremisesSyncBehaviorRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.OnPremisesSyncBehavior.onPremisesSyncBehaviorRequestBuilder.onPremisesSyncBehaviorRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.OnPremisesSyncBehavior.onPremisesSyncBehaviorRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.OnPremisesSyncBehavior.onPremisesSyncBehaviorRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.OnPremisesSyncBehavior.onPremisesSyncBehaviorRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Me.OnPremisesSyncBehavior.onPremisesSyncBehaviorRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnPremisesSyncBehavior +Microsoft.Graph.Me.OnPremisesSyncBehavior.onPremisesSyncBehaviorRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.OnPremisesSyncBehavior; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnPremisesSyncBehavior +Microsoft.Graph.Me.OnPremisesSyncBehavior.onPremisesSyncBehaviorRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.OnPremisesSyncBehavior.onPremisesSyncBehaviorRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.OnPremisesSyncBehavior.onPremisesSyncBehaviorRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.OnPremisesSyncBehavior; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.OnPremisesSyncBehavior.onPremisesSyncBehaviorRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.OnPremisesSyncBehavior.OnPremisesSyncBehaviorRequestBuilder Microsoft.Graph.Me.Outlook.MasterCategories.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Me.Outlook.MasterCategories.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Me.Outlook.MasterCategories.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -91554,6 +92269,20 @@ Microsoft.Graph.Me.Planner.Tasks.tasksRequestBuilder::|public|PostAsync(body:glo Microsoft.Graph.Me.Planner.Tasks.tasksRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Me.Planner.Tasks.tasksRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.PlannerTask; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Me.Planner.Tasks.tasksRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Planner.Tasks.TasksRequestBuilder +Microsoft.Graph.Me.Presence.ClearAutomaticLocation.clearAutomaticLocationRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.Presence.ClearAutomaticLocation.clearAutomaticLocationRequestBuilder.clearAutomaticLocationRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Presence.ClearAutomaticLocation.clearAutomaticLocationRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Presence.ClearAutomaticLocation.clearAutomaticLocationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Presence.ClearAutomaticLocation.clearAutomaticLocationRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Me.Presence.ClearAutomaticLocation.clearAutomaticLocationRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Presence.ClearAutomaticLocation.clearAutomaticLocationRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Presence.ClearAutomaticLocation.ClearAutomaticLocationRequestBuilder +Microsoft.Graph.Me.Presence.ClearLocation.clearLocationRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.Presence.ClearLocation.clearLocationRequestBuilder.clearLocationRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Presence.ClearLocation.clearLocationRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Presence.ClearLocation.clearLocationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Presence.ClearLocation.clearLocationRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Me.Presence.ClearLocation.clearLocationRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Presence.ClearLocation.clearLocationRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Presence.ClearLocation.ClearLocationRequestBuilder Microsoft.Graph.Me.Presence.ClearPresence.clearPresencePostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Me.Presence.ClearPresence.clearPresencePostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Me.Presence.ClearPresence.clearPresencePostRequestBody::|public|constructor():void @@ -91582,6 +92311,8 @@ Microsoft.Graph.Me.Presence.presenceRequestBuilder.presenceRequestBuilderGetQuer Microsoft.Graph.Me.Presence.presenceRequestBuilder.presenceRequestBuilderGetQueryParameters::|public|Select:string[] Microsoft.Graph.Me.Presence.presenceRequestBuilder.presenceRequestBuilderGetRequestConfiguration-->RequestConfiguration Microsoft.Graph.Me.Presence.presenceRequestBuilder.presenceRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Presence.presenceRequestBuilder::|public|clearAutomaticLocation:global.Microsoft.Graph.Me.Presence.ClearAutomaticLocation.ClearAutomaticLocationRequestBuilder +Microsoft.Graph.Me.Presence.presenceRequestBuilder::|public|clearLocation:global.Microsoft.Graph.Me.Presence.ClearLocation.ClearLocationRequestBuilder Microsoft.Graph.Me.Presence.presenceRequestBuilder::|public|clearPresence:global.Microsoft.Graph.Me.Presence.ClearPresence.ClearPresenceRequestBuilder Microsoft.Graph.Me.Presence.presenceRequestBuilder::|public|clearUserPreferredPresence:global.Microsoft.Graph.Me.Presence.ClearUserPreferredPresence.ClearUserPreferredPresenceRequestBuilder Microsoft.Graph.Me.Presence.presenceRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -91589,6 +92320,8 @@ Microsoft.Graph.Me.Presence.presenceRequestBuilder::|public|constructor(rawUrl:s Microsoft.Graph.Me.Presence.presenceRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Me.Presence.presenceRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Presence Microsoft.Graph.Me.Presence.presenceRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.Presence; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Presence +Microsoft.Graph.Me.Presence.presenceRequestBuilder::|public|setAutomaticLocation:global.Microsoft.Graph.Me.Presence.SetAutomaticLocation.SetAutomaticLocationRequestBuilder +Microsoft.Graph.Me.Presence.presenceRequestBuilder::|public|setManualLocation:global.Microsoft.Graph.Me.Presence.SetManualLocation.SetManualLocationRequestBuilder Microsoft.Graph.Me.Presence.presenceRequestBuilder::|public|setPresence:global.Microsoft.Graph.Me.Presence.SetPresence.SetPresenceRequestBuilder Microsoft.Graph.Me.Presence.presenceRequestBuilder::|public|setStatusMessage:global.Microsoft.Graph.Me.Presence.SetStatusMessage.SetStatusMessageRequestBuilder Microsoft.Graph.Me.Presence.presenceRequestBuilder::|public|setUserPreferredPresence:global.Microsoft.Graph.Me.Presence.SetUserPreferredPresence.SetUserPreferredPresenceRequestBuilder @@ -91596,6 +92329,38 @@ Microsoft.Graph.Me.Presence.presenceRequestBuilder::|public|ToDeleteRequestInfor Microsoft.Graph.Me.Presence.presenceRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Me.Presence.presenceRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.Presence; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Me.Presence.presenceRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Presence.PresenceRequestBuilder +Microsoft.Graph.Me.Presence.SetAutomaticLocation.setAutomaticLocationPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Me.Presence.SetAutomaticLocation.setAutomaticLocationPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Me.Presence.SetAutomaticLocation.setAutomaticLocationPostRequestBody::|public|constructor():void +Microsoft.Graph.Me.Presence.SetAutomaticLocation.setAutomaticLocationPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Me.Presence.SetAutomaticLocation.setAutomaticLocationPostRequestBody::|public|PlaceId:string +Microsoft.Graph.Me.Presence.SetAutomaticLocation.setAutomaticLocationPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Me.Presence.SetAutomaticLocation.setAutomaticLocationPostRequestBody::|public|WorkLocationType:global.Microsoft.Graph.Models.WorkLocationType? +Microsoft.Graph.Me.Presence.SetAutomaticLocation.setAutomaticLocationPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Presence.SetAutomaticLocation.SetAutomaticLocationPostRequestBody +Microsoft.Graph.Me.Presence.SetAutomaticLocation.setAutomaticLocationPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Me.Presence.SetAutomaticLocation.setAutomaticLocationRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.Presence.SetAutomaticLocation.setAutomaticLocationRequestBuilder.setAutomaticLocationRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Presence.SetAutomaticLocation.setAutomaticLocationRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Presence.SetAutomaticLocation.setAutomaticLocationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Presence.SetAutomaticLocation.setAutomaticLocationRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Presence.SetAutomaticLocation.SetAutomaticLocationPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Me.Presence.SetAutomaticLocation.setAutomaticLocationRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Presence.SetAutomaticLocation.SetAutomaticLocationPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Presence.SetAutomaticLocation.setAutomaticLocationRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Presence.SetAutomaticLocation.SetAutomaticLocationRequestBuilder +Microsoft.Graph.Me.Presence.SetManualLocation.setManualLocationPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Me.Presence.SetManualLocation.setManualLocationPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Me.Presence.SetManualLocation.setManualLocationPostRequestBody::|public|constructor():void +Microsoft.Graph.Me.Presence.SetManualLocation.setManualLocationPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Me.Presence.SetManualLocation.setManualLocationPostRequestBody::|public|PlaceId:string +Microsoft.Graph.Me.Presence.SetManualLocation.setManualLocationPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Me.Presence.SetManualLocation.setManualLocationPostRequestBody::|public|WorkLocationType:global.Microsoft.Graph.Models.WorkLocationType? +Microsoft.Graph.Me.Presence.SetManualLocation.setManualLocationPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Presence.SetManualLocation.SetManualLocationPostRequestBody +Microsoft.Graph.Me.Presence.SetManualLocation.setManualLocationPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Me.Presence.SetManualLocation.setManualLocationRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.Presence.SetManualLocation.setManualLocationRequestBuilder.setManualLocationRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Presence.SetManualLocation.setManualLocationRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Presence.SetManualLocation.setManualLocationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Presence.SetManualLocation.setManualLocationRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Presence.SetManualLocation.SetManualLocationPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Me.Presence.SetManualLocation.setManualLocationRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Presence.SetManualLocation.SetManualLocationPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Presence.SetManualLocation.setManualLocationRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Presence.SetManualLocation.SetManualLocationRequestBuilder Microsoft.Graph.Me.Presence.SetPresence.setPresencePostRequestBody::|public|Activity:string Microsoft.Graph.Me.Presence.SetPresence.setPresencePostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Me.Presence.SetPresence.setPresencePostRequestBody::|public|Availability:string @@ -91974,6 +92739,7 @@ Microsoft.Graph.Me.Settings.settingsRequestBuilder::|public|ToGetRequestInformat Microsoft.Graph.Me.Settings.settingsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.UserSettings; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Me.Settings.settingsRequestBuilder::|public|windows:global.Microsoft.Graph.Me.Settings.Windows.WindowsRequestBuilder Microsoft.Graph.Me.Settings.settingsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Settings.SettingsRequestBuilder +Microsoft.Graph.Me.Settings.settingsRequestBuilder::|public|workHoursAndLocations:global.Microsoft.Graph.Me.Settings.WorkHoursAndLocations.WorkHoursAndLocationsRequestBuilder Microsoft.Graph.Me.Settings.ShiftPreferences.shiftPreferencesRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Me.Settings.ShiftPreferences.shiftPreferencesRequestBuilder.shiftPreferencesRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Me.Settings.ShiftPreferences.shiftPreferencesRequestBuilder.shiftPreferencesRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -92154,6 +92920,150 @@ Microsoft.Graph.Me.Settings.Windows.windowsRequestBuilder::|public|PostAsync(bod Microsoft.Graph.Me.Settings.Windows.windowsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Me.Settings.Windows.windowsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.WindowsSetting; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Me.Settings.Windows.windowsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Settings.Windows.WindowsRequestBuilder +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.Count.CountRequestBuilder +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder.WorkPlanOccurrenceItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder.WorkPlanOccurrenceItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder.WorkPlanOccurrenceItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder.WorkPlanOccurrenceItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder.WorkPlanOccurrenceItemRequestBuilderPutRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.WorkPlanOccurrence +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder::|public|PutAsync(body:global.Microsoft.Graph.Models.WorkPlanOccurrence; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.WorkPlanOccurrence +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder::|public|ToPutRequestInformation(body:global.Microsoft.Graph.Models.WorkPlanOccurrence; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder.occurrencesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder.occurrencesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder.occurrencesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder.occurrencesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder.occurrencesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder.occurrencesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder.occurrencesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder.occurrencesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder.occurrencesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder.occurrencesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder::[WorkPlanOccurrenceId:string]:global.Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.Count.CountRequestBuilder +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.WorkPlanOccurrenceCollectionResponse +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.WorkPlanOccurrence; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.WorkPlanOccurrence +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder::|public|setCurrentLocation:global.Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.SetCurrentLocationRequestBuilder +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.WorkPlanOccurrence; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.OccurrencesRequestBuilder +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationPostRequestBody::|public|constructor():void +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationPostRequestBody::|public|PlaceId:string +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationPostRequestBody::|public|UpdateScope:global.Microsoft.Graph.Models.WorkLocationUpdateScope? +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationPostRequestBody::|public|WorkLocationType:global.Microsoft.Graph.Models.WorkLocationType? +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.SetCurrentLocationPostRequestBody +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationRequestBuilder.setCurrentLocationRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.SetCurrentLocationPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.SetCurrentLocationPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.SetCurrentLocationRequestBuilder +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeGetResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeGetResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeGetResponse::|public|Value:List +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.OccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter; endDateTime?:string; startDateTime?:string):void +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder::|public|GetAsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.OccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.OccurrencesViewWithStartDateTimeWithEndDateTimeResponse +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeResponse-->global.Microsoft.Graph.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.OccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.OccurrencesViewWithStartDateTimeWithEndDateTimeResponse +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.Count.CountRequestBuilder +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder.WorkPlanRecurrenceItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder.WorkPlanRecurrenceItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder.WorkPlanRecurrenceItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder.WorkPlanRecurrenceItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder.WorkPlanRecurrenceItemRequestBuilderPutRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.WorkPlanRecurrence +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder::|public|PutAsync(body:global.Microsoft.Graph.Models.WorkPlanRecurrence; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.WorkPlanRecurrence +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder::|public|ToPutRequestInformation(body:global.Microsoft.Graph.Models.WorkPlanRecurrence; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder.recurrencesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder.recurrencesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder.recurrencesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder.recurrencesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder.recurrencesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder.recurrencesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder.recurrencesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder.recurrencesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder.recurrencesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder.recurrencesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder::[WorkPlanRecurrenceId:string]:global.Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.Count.CountRequestBuilder +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.WorkPlanRecurrenceCollectionResponse +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.WorkPlanRecurrence; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.WorkPlanRecurrence +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.WorkPlanRecurrence; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.RecurrencesRequestBuilder +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.workHoursAndLocationsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.workHoursAndLocationsRequestBuilder.workHoursAndLocationsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.workHoursAndLocationsRequestBuilder.workHoursAndLocationsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.workHoursAndLocationsRequestBuilder.workHoursAndLocationsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.workHoursAndLocationsRequestBuilder.workHoursAndLocationsRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.workHoursAndLocationsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.workHoursAndLocationsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.workHoursAndLocationsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.WorkHoursAndLocationsSetting +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.workHoursAndLocationsRequestBuilder::|public|occurrences:global.Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Occurrences.OccurrencesRequestBuilder +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.workHoursAndLocationsRequestBuilder::|public|occurrencesViewWithStartDateTimeWithEndDateTime(endDateTime:string; startDateTime:string):global.Microsoft.Graph.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.workHoursAndLocationsRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.WorkHoursAndLocationsSetting; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.WorkHoursAndLocationsSetting +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.workHoursAndLocationsRequestBuilder::|public|recurrences:global.Microsoft.Graph.Me.Settings.WorkHoursAndLocations.Recurrences.RecurrencesRequestBuilder +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.workHoursAndLocationsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.workHoursAndLocationsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.WorkHoursAndLocationsSetting; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Settings.WorkHoursAndLocations.workHoursAndLocationsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Settings.WorkHoursAndLocations.WorkHoursAndLocationsRequestBuilder Microsoft.Graph.Me.Solutions.solutionsRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Me.Solutions.solutionsRequestBuilder.solutionsRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Me.Solutions.solutionsRequestBuilder.solutionsRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -93927,6 +94837,17 @@ Microsoft.Graph.Models.accountTargetContentType::0001-includeAll Microsoft.Graph.Models.accountTargetContentType::0002-addressBook Microsoft.Graph.Models.accountTargetContentType::0003-unknownFutureValue Microsoft.Graph.Models.accountTargetContent~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.actionItem::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.actionItem::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.actionItem::|public|constructor():void +Microsoft.Graph.Models.actionItem::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.actionItem::|public|OdataType:string +Microsoft.Graph.Models.actionItem::|public|OwnerDisplayName:string +Microsoft.Graph.Models.actionItem::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.actionItem::|public|Text:string +Microsoft.Graph.Models.actionItem::|public|Title:string +Microsoft.Graph.Models.actionItem::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ActionItem +Microsoft.Graph.Models.actionItem~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.actionResultPart::|public|AdditionalData:IDictionary Microsoft.Graph.Models.actionResultPart::|public|BackingStore:IBackingStore Microsoft.Graph.Models.actionResultPart::|public|constructor():void @@ -94019,6 +94940,18 @@ Microsoft.Graph.Models.addressBookAccountTargetContent::|public|GetFieldDeserial Microsoft.Graph.Models.addressBookAccountTargetContent::|public|OdataType:string Microsoft.Graph.Models.addressBookAccountTargetContent::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.addressBookAccountTargetContent::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.AddressBookAccountTargetContent +Microsoft.Graph.Models.adhocCall-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.adhocCall::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.adhocCall::|public|OdataType:string +Microsoft.Graph.Models.adhocCall::|public|Recordings:List +Microsoft.Graph.Models.adhocCall::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.adhocCall::|public|Transcripts:List +Microsoft.Graph.Models.adhocCall::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.AdhocCall +Microsoft.Graph.Models.adhocCallCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Models.adhocCallCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.adhocCallCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.adhocCallCollectionResponse::|public|Value:List +Microsoft.Graph.Models.adhocCallCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.AdhocCallCollectionResponse Microsoft.Graph.Models.admin::|public|AdditionalData:IDictionary Microsoft.Graph.Models.admin::|public|BackingStore:IBackingStore Microsoft.Graph.Models.admin::|public|constructor():void @@ -94031,6 +94964,7 @@ Microsoft.Graph.Models.admin::|public|ReportSettings:global.Microsoft.Graph.Mode Microsoft.Graph.Models.admin::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.admin::|public|ServiceAnnouncement:global.Microsoft.Graph.Models.ServiceAnnouncement Microsoft.Graph.Models.admin::|public|Sharepoint:global.Microsoft.Graph.Models.Sharepoint +Microsoft.Graph.Models.admin::|public|Teams:global.Microsoft.Graph.Models.TeamsAdministration.TeamsAdminRoot Microsoft.Graph.Models.admin::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.Admin Microsoft.Graph.Models.adminConsentRequestPolicy-->global.Microsoft.Graph.Models.Entity Microsoft.Graph.Models.adminConsentRequestPolicy::|public|GetFieldDeserializers():IDictionary> @@ -94276,6 +95210,12 @@ Microsoft.Graph.Models.aiInteractionPlugin~~>IAdditionalDataHolder; IBackedModel Microsoft.Graph.Models.aiInteractionType::0000-userPrompt Microsoft.Graph.Models.aiInteractionType::0001-aiResponse Microsoft.Graph.Models.aiInteractionType::0002-unknownFutureValue +Microsoft.Graph.Models.aiOnlineMeeting-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.aiOnlineMeeting::|public|AiInsights:List +Microsoft.Graph.Models.aiOnlineMeeting::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.aiOnlineMeeting::|public|OdataType:string +Microsoft.Graph.Models.aiOnlineMeeting::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.aiOnlineMeeting::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.AiOnlineMeeting Microsoft.Graph.Models.airPrintSettings::|public|AdditionalData:IDictionary Microsoft.Graph.Models.airPrintSettings::|public|BackingStore:IBackingStore Microsoft.Graph.Models.airPrintSettings::|public|constructor():void @@ -94289,6 +95229,7 @@ Microsoft.Graph.Models.aiUser-->global.Microsoft.Graph.Models.Entity Microsoft.Graph.Models.aiUser::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Models.aiUser::|public|InteractionHistory:global.Microsoft.Graph.Models.AiInteractionHistory Microsoft.Graph.Models.aiUser::|public|OdataType:string +Microsoft.Graph.Models.aiUser::|public|OnlineMeetings:List Microsoft.Graph.Models.aiUser::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.aiUser::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.AiUser Microsoft.Graph.Models.akamaiAttackGroupActionModel::|public|Action:string @@ -94483,7 +95424,8 @@ Microsoft.Graph.Models.allowedTargetScope::0005-allDirectoryUsers Microsoft.Graph.Models.allowedTargetScope::0006-allDirectoryServicePrincipals Microsoft.Graph.Models.allowedTargetScope::0007-allConfiguredConnectedOrganizationUsers Microsoft.Graph.Models.allowedTargetScope::0008-allExternalUsers -Microsoft.Graph.Models.allowedTargetScope::0009-unknownFutureValue +Microsoft.Graph.Models.allowedTargetScope::0009-allDirectoryAgentIdentities +Microsoft.Graph.Models.allowedTargetScope::0010-unknownFutureValue Microsoft.Graph.Models.allowedValue-->global.Microsoft.Graph.Models.Entity Microsoft.Graph.Models.allowedValue::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Models.allowedValue::|public|IsActive:bool? @@ -97160,6 +98102,7 @@ Microsoft.Graph.Models.building::|public|Map:global.Microsoft.Graph.Models.Build Microsoft.Graph.Models.building::|public|OdataType:string Microsoft.Graph.Models.building::|public|ResourceLinks:List Microsoft.Graph.Models.building::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.building::|public|WifiState:global.Microsoft.Graph.Models.PlaceFeatureEnablement? Microsoft.Graph.Models.building::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.Building Microsoft.Graph.Models.buildingCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse Microsoft.Graph.Models.buildingCollectionResponse::|public|GetFieldDeserializers():IDictionary> @@ -97341,6 +98284,27 @@ Microsoft.Graph.Models.call::|public|TenantId:string Microsoft.Graph.Models.call::|public|ToneInfo:global.Microsoft.Graph.Models.ToneInfo Microsoft.Graph.Models.call::|public|Transcription:global.Microsoft.Graph.Models.CallTranscriptionInfo Microsoft.Graph.Models.call::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.Call +Microsoft.Graph.Models.callAiInsight-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.callAiInsight::|public|ActionItems:List +Microsoft.Graph.Models.callAiInsight::|public|CallId:string +Microsoft.Graph.Models.callAiInsight::|public|ContentCorrelationId:string +Microsoft.Graph.Models.callAiInsight::|public|CreatedDateTime:DateTimeOffset? +Microsoft.Graph.Models.callAiInsight::|public|EndDateTime:DateTimeOffset? +Microsoft.Graph.Models.callAiInsight::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.callAiInsight::|public|MeetingNotes:List +Microsoft.Graph.Models.callAiInsight::|public|OdataType:string +Microsoft.Graph.Models.callAiInsight::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.callAiInsight::|public|Viewpoint:global.Microsoft.Graph.Models.CallAiInsightViewPoint +Microsoft.Graph.Models.callAiInsight::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.CallAiInsight +Microsoft.Graph.Models.callAiInsightViewPoint::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.callAiInsightViewPoint::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.callAiInsightViewPoint::|public|constructor():void +Microsoft.Graph.Models.callAiInsightViewPoint::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.callAiInsightViewPoint::|public|MentionEvents:List +Microsoft.Graph.Models.callAiInsightViewPoint::|public|OdataType:string +Microsoft.Graph.Models.callAiInsightViewPoint::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.callAiInsightViewPoint::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.CallAiInsightViewPoint +Microsoft.Graph.Models.callAiInsightViewPoint~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.callCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse Microsoft.Graph.Models.callCollectionResponse::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Models.callCollectionResponse::|public|Serialize(writer:ISerializationWriter):void @@ -98661,6 +99625,7 @@ Microsoft.Graph.Models.cloudClipboardRoot::|public|OdataType:string Microsoft.Graph.Models.cloudClipboardRoot::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.cloudClipboardRoot::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.CloudClipboardRoot Microsoft.Graph.Models.cloudCommunications::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.cloudCommunications::|public|AdhocCalls:List Microsoft.Graph.Models.cloudCommunications::|public|BackingStore:IBackingStore Microsoft.Graph.Models.cloudCommunications::|public|CallRecords:List Microsoft.Graph.Models.cloudCommunications::|public|Calls:List @@ -98884,6 +99849,18 @@ Microsoft.Graph.Models.cloudPcGalleryImageStatus::0000-supported Microsoft.Graph.Models.cloudPcGalleryImageStatus::0001-supportedWithWarning Microsoft.Graph.Models.cloudPcGalleryImageStatus::0002-notSupported Microsoft.Graph.Models.cloudPcGalleryImageStatus::0003-unknownFutureValue +Microsoft.Graph.Models.cloudPcLaunchDetail::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.cloudPcLaunchDetail::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.cloudPcLaunchDetail::|public|CloudPcId:string +Microsoft.Graph.Models.cloudPcLaunchDetail::|public|CloudPcLaunchUrl:string +Microsoft.Graph.Models.cloudPcLaunchDetail::|public|constructor():void +Microsoft.Graph.Models.cloudPcLaunchDetail::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.cloudPcLaunchDetail::|public|OdataType:string +Microsoft.Graph.Models.cloudPcLaunchDetail::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.cloudPcLaunchDetail::|public|Windows365SwitchCompatibilityFailureReasonType:global.Microsoft.Graph.Models.Windows365SwitchCompatibilityFailureReasonType? +Microsoft.Graph.Models.cloudPcLaunchDetail::|public|Windows365SwitchCompatible:bool? +Microsoft.Graph.Models.cloudPcLaunchDetail::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.CloudPcLaunchDetail +Microsoft.Graph.Models.cloudPcLaunchDetail~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.cloudPcManagementAssignmentTarget::|public|AdditionalData:IDictionary Microsoft.Graph.Models.cloudPcManagementAssignmentTarget::|public|BackingStore:IBackingStore Microsoft.Graph.Models.cloudPcManagementAssignmentTarget::|public|constructor():void @@ -99031,6 +100008,9 @@ Microsoft.Graph.Models.cloudPcOnPremisesConnectionStatusDetail~~>IAdditionalData Microsoft.Graph.Models.cloudPcOnPremisesConnectionType::0000-hybridAzureADJoin Microsoft.Graph.Models.cloudPcOnPremisesConnectionType::0001-azureADJoin Microsoft.Graph.Models.cloudPcOnPremisesConnectionType::0002-unknownFutureValue +Microsoft.Graph.Models.cloudPcOperatingSystem::0000-windows10 +Microsoft.Graph.Models.cloudPcOperatingSystem::0001-windows11 +Microsoft.Graph.Models.cloudPcOperatingSystem::0002-unknownFutureValue Microsoft.Graph.Models.cloudPcProvisioningPolicy-->global.Microsoft.Graph.Models.Entity Microsoft.Graph.Models.cloudPcProvisioningPolicy::|public|AlternateResourceUrl:string Microsoft.Graph.Models.cloudPcProvisioningPolicy::|public|Assignments:List @@ -99085,6 +100065,8 @@ Microsoft.Graph.Models.cloudPcProvisioningPolicyImageType::0002-unknownFutureVal Microsoft.Graph.Models.cloudPcProvisioningType::0000-dedicated Microsoft.Graph.Models.cloudPcProvisioningType::0001-shared Microsoft.Graph.Models.cloudPcProvisioningType::0002-unknownFutureValue +Microsoft.Graph.Models.cloudPcRecommendationReportType::0000-cloudPcUsageCategoryReport +Microsoft.Graph.Models.cloudPcRecommendationReportType::0001-unknownFutureValue Microsoft.Graph.Models.cloudPcRegionGroup::0000-default Microsoft.Graph.Models.cloudPcRegionGroup::0001-australia Microsoft.Graph.Models.cloudPcRegionGroup::0002-canada @@ -99106,6 +100088,11 @@ Microsoft.Graph.Models.cloudPcRegionGroup::0017-norway Microsoft.Graph.Models.cloudPcRegionGroup::0018-switzerland Microsoft.Graph.Models.cloudPcRegionGroup::0019-southKorea Microsoft.Graph.Models.cloudPcRegionGroup::0020-unknownFutureValue +Microsoft.Graph.Models.cloudPcReport-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.cloudPcReport::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.cloudPcReport::|public|OdataType:string +Microsoft.Graph.Models.cloudPcReport::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.cloudPcReport::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.CloudPcReport Microsoft.Graph.Models.cloudPcRestorePointFrequencyType::0000-default Microsoft.Graph.Models.cloudPcRestorePointFrequencyType::0001-fourHours Microsoft.Graph.Models.cloudPcRestorePointFrequencyType::0002-sixHours @@ -99135,6 +100122,9 @@ Microsoft.Graph.Models.cloudPcSourceDeviceImage::|public|SubscriptionDisplayName Microsoft.Graph.Models.cloudPcSourceDeviceImage::|public|SubscriptionId:string Microsoft.Graph.Models.cloudPcSourceDeviceImage::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.CloudPcSourceDeviceImage Microsoft.Graph.Models.cloudPcSourceDeviceImage~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.cloudPcUserAccountType::0000-standardUser +Microsoft.Graph.Models.cloudPcUserAccountType::0001-administrator +Microsoft.Graph.Models.cloudPcUserAccountType::0002-unknownFutureValue Microsoft.Graph.Models.cloudPcUserRoleScopeTagInfo::|public|AdditionalData:IDictionary Microsoft.Graph.Models.cloudPcUserRoleScopeTagInfo::|public|BackingStore:IBackingStore Microsoft.Graph.Models.cloudPcUserRoleScopeTagInfo::|public|constructor():void @@ -100894,6 +101884,7 @@ Microsoft.Graph.Models.desk-->global.Microsoft.Graph.Models.Place Microsoft.Graph.Models.desk::|public|constructor():void Microsoft.Graph.Models.desk::|public|DisplayDeviceName:string Microsoft.Graph.Models.desk::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.desk::|public|HeightAdjustableState:global.Microsoft.Graph.Models.PlaceFeatureEnablement? Microsoft.Graph.Models.desk::|public|MailboxDetails:global.Microsoft.Graph.Models.MailboxDetails Microsoft.Graph.Models.desk::|public|Mode:global.Microsoft.Graph.Models.PlaceMode Microsoft.Graph.Models.desk::|public|OdataType:string @@ -104592,12 +105583,15 @@ Microsoft.Graph.Models.fileSecurityState::|static|public|CreateFromDiscriminator Microsoft.Graph.Models.fileSecurityState~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.fileStorage-->global.Microsoft.Graph.Models.Entity Microsoft.Graph.Models.fileStorage::|public|Containers:List +Microsoft.Graph.Models.fileStorage::|public|ContainerTypeRegistrations:List +Microsoft.Graph.Models.fileStorage::|public|ContainerTypes:List Microsoft.Graph.Models.fileStorage::|public|DeletedContainers:List Microsoft.Graph.Models.fileStorage::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Models.fileStorage::|public|OdataType:string Microsoft.Graph.Models.fileStorage::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.fileStorage::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.FileStorage Microsoft.Graph.Models.fileStorageContainer-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.fileStorageContainer::|public|AssignedSensitivityLabel:global.Microsoft.Graph.Models.AssignedLabel Microsoft.Graph.Models.fileStorageContainer::|public|Columns:List Microsoft.Graph.Models.fileStorageContainer::|public|ContainerTypeId:Guid? Microsoft.Graph.Models.fileStorageContainer::|public|CreatedDateTime:DateTimeOffset? @@ -104616,6 +105610,13 @@ Microsoft.Graph.Models.fileStorageContainer::|public|Settings:global.Microsoft.G Microsoft.Graph.Models.fileStorageContainer::|public|Status:global.Microsoft.Graph.Models.FileStorageContainerStatus? Microsoft.Graph.Models.fileStorageContainer::|public|Viewpoint:global.Microsoft.Graph.Models.FileStorageContainerViewpoint Microsoft.Graph.Models.fileStorageContainer::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.FileStorageContainer +Microsoft.Graph.Models.fileStorageContainerBillingClassification::0000-standard +Microsoft.Graph.Models.fileStorageContainerBillingClassification::0001-trial +Microsoft.Graph.Models.fileStorageContainerBillingClassification::0002-directToCustomer +Microsoft.Graph.Models.fileStorageContainerBillingClassification::0003-unknownFutureValue +Microsoft.Graph.Models.fileStorageContainerBillingStatus::0000-invalid +Microsoft.Graph.Models.fileStorageContainerBillingStatus::0001-valid +Microsoft.Graph.Models.fileStorageContainerBillingStatus::0002-unknownFutureValue Microsoft.Graph.Models.fileStorageContainerCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse Microsoft.Graph.Models.fileStorageContainerCollectionResponse::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Models.fileStorageContainerCollectionResponse::|public|Serialize(writer:ISerializationWriter):void @@ -104640,6 +105641,115 @@ Microsoft.Graph.Models.fileStorageContainerSettings~~>IAdditionalDataHolder; IBa Microsoft.Graph.Models.fileStorageContainerStatus::0000-inactive Microsoft.Graph.Models.fileStorageContainerStatus::0001-active Microsoft.Graph.Models.fileStorageContainerStatus::0002-unknownFutureValue +Microsoft.Graph.Models.fileStorageContainerType-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.fileStorageContainerType::|public|BillingClassification:global.Microsoft.Graph.Models.FileStorageContainerBillingClassification? +Microsoft.Graph.Models.fileStorageContainerType::|public|BillingStatus:global.Microsoft.Graph.Models.FileStorageContainerBillingStatus? +Microsoft.Graph.Models.fileStorageContainerType::|public|CreatedDateTime:DateTimeOffset? +Microsoft.Graph.Models.fileStorageContainerType::|public|Etag:string +Microsoft.Graph.Models.fileStorageContainerType::|public|ExpirationDateTime:DateTimeOffset? +Microsoft.Graph.Models.fileStorageContainerType::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.fileStorageContainerType::|public|Name:string +Microsoft.Graph.Models.fileStorageContainerType::|public|OdataType:string +Microsoft.Graph.Models.fileStorageContainerType::|public|OwningAppId:Guid? +Microsoft.Graph.Models.fileStorageContainerType::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.fileStorageContainerType::|public|Settings:global.Microsoft.Graph.Models.FileStorageContainerTypeSettings +Microsoft.Graph.Models.fileStorageContainerType::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.FileStorageContainerType +Microsoft.Graph.Models.fileStorageContainerTypeAppPermission::0000-none +Microsoft.Graph.Models.fileStorageContainerTypeAppPermission::0001-readContent +Microsoft.Graph.Models.fileStorageContainerTypeAppPermission::0002-writeContent +Microsoft.Graph.Models.fileStorageContainerTypeAppPermission::0003-manageContent +Microsoft.Graph.Models.fileStorageContainerTypeAppPermission::0004-create +Microsoft.Graph.Models.fileStorageContainerTypeAppPermission::0005-delete +Microsoft.Graph.Models.fileStorageContainerTypeAppPermission::0006-read +Microsoft.Graph.Models.fileStorageContainerTypeAppPermission::0007-write +Microsoft.Graph.Models.fileStorageContainerTypeAppPermission::0008-enumeratePermissions +Microsoft.Graph.Models.fileStorageContainerTypeAppPermission::0009-addPermissions +Microsoft.Graph.Models.fileStorageContainerTypeAppPermission::0010-updatePermissions +Microsoft.Graph.Models.fileStorageContainerTypeAppPermission::0011-deletePermissions +Microsoft.Graph.Models.fileStorageContainerTypeAppPermission::0012-deleteOwnPermission +Microsoft.Graph.Models.fileStorageContainerTypeAppPermission::0013-managePermissions +Microsoft.Graph.Models.fileStorageContainerTypeAppPermission::0014-full +Microsoft.Graph.Models.fileStorageContainerTypeAppPermission::0015-unknownFutureValue +Microsoft.Graph.Models.fileStorageContainerTypeAppPermissionGrant::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.fileStorageContainerTypeAppPermissionGrant::|public|AppId:string +Microsoft.Graph.Models.fileStorageContainerTypeAppPermissionGrant::|public|ApplicationPermissions:List +Microsoft.Graph.Models.fileStorageContainerTypeAppPermissionGrant::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.fileStorageContainerTypeAppPermissionGrant::|public|constructor():void +Microsoft.Graph.Models.fileStorageContainerTypeAppPermissionGrant::|public|DelegatedPermissions:List +Microsoft.Graph.Models.fileStorageContainerTypeAppPermissionGrant::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.fileStorageContainerTypeAppPermissionGrant::|public|OdataType:string +Microsoft.Graph.Models.fileStorageContainerTypeAppPermissionGrant::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.fileStorageContainerTypeAppPermissionGrant::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.FileStorageContainerTypeAppPermissionGrant +Microsoft.Graph.Models.fileStorageContainerTypeAppPermissionGrantCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Models.fileStorageContainerTypeAppPermissionGrantCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.fileStorageContainerTypeAppPermissionGrantCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.fileStorageContainerTypeAppPermissionGrantCollectionResponse::|public|Value:List +Microsoft.Graph.Models.fileStorageContainerTypeAppPermissionGrantCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.FileStorageContainerTypeAppPermissionGrantCollectionResponse +Microsoft.Graph.Models.fileStorageContainerTypeAppPermissionGrant~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.fileStorageContainerTypeCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Models.fileStorageContainerTypeCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.fileStorageContainerTypeCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.fileStorageContainerTypeCollectionResponse::|public|Value:List +Microsoft.Graph.Models.fileStorageContainerTypeCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.FileStorageContainerTypeCollectionResponse +Microsoft.Graph.Models.fileStorageContainerTypeRegistration-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.fileStorageContainerTypeRegistration::|public|ApplicationPermissionGrants:List +Microsoft.Graph.Models.fileStorageContainerTypeRegistration::|public|BillingClassification:global.Microsoft.Graph.Models.FileStorageContainerBillingClassification? +Microsoft.Graph.Models.fileStorageContainerTypeRegistration::|public|BillingStatus:global.Microsoft.Graph.Models.FileStorageContainerBillingStatus? +Microsoft.Graph.Models.fileStorageContainerTypeRegistration::|public|Etag:string +Microsoft.Graph.Models.fileStorageContainerTypeRegistration::|public|ExpirationDateTime:DateTimeOffset? +Microsoft.Graph.Models.fileStorageContainerTypeRegistration::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.fileStorageContainerTypeRegistration::|public|Name:string +Microsoft.Graph.Models.fileStorageContainerTypeRegistration::|public|OdataType:string +Microsoft.Graph.Models.fileStorageContainerTypeRegistration::|public|OwningAppId:Guid? +Microsoft.Graph.Models.fileStorageContainerTypeRegistration::|public|RegisteredDateTime:DateTimeOffset? +Microsoft.Graph.Models.fileStorageContainerTypeRegistration::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.fileStorageContainerTypeRegistration::|public|Settings:global.Microsoft.Graph.Models.FileStorageContainerTypeRegistrationSettings +Microsoft.Graph.Models.fileStorageContainerTypeRegistration::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.FileStorageContainerTypeRegistration +Microsoft.Graph.Models.fileStorageContainerTypeRegistrationCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Models.fileStorageContainerTypeRegistrationCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.fileStorageContainerTypeRegistrationCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.fileStorageContainerTypeRegistrationCollectionResponse::|public|Value:List +Microsoft.Graph.Models.fileStorageContainerTypeRegistrationCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.FileStorageContainerTypeRegistrationCollectionResponse +Microsoft.Graph.Models.fileStorageContainerTypeRegistrationSettings::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.fileStorageContainerTypeRegistrationSettings::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.fileStorageContainerTypeRegistrationSettings::|public|constructor():void +Microsoft.Graph.Models.fileStorageContainerTypeRegistrationSettings::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.fileStorageContainerTypeRegistrationSettings::|public|IsDiscoverabilityEnabled:bool? +Microsoft.Graph.Models.fileStorageContainerTypeRegistrationSettings::|public|IsItemVersioningEnabled:bool? +Microsoft.Graph.Models.fileStorageContainerTypeRegistrationSettings::|public|IsSearchEnabled:bool? +Microsoft.Graph.Models.fileStorageContainerTypeRegistrationSettings::|public|IsSharingRestricted:bool? +Microsoft.Graph.Models.fileStorageContainerTypeRegistrationSettings::|public|ItemMajorVersionLimit:long? +Microsoft.Graph.Models.fileStorageContainerTypeRegistrationSettings::|public|MaxStoragePerContainerInBytes:long? +Microsoft.Graph.Models.fileStorageContainerTypeRegistrationSettings::|public|OdataType:string +Microsoft.Graph.Models.fileStorageContainerTypeRegistrationSettings::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.fileStorageContainerTypeRegistrationSettings::|public|SharingCapability:global.Microsoft.Graph.Models.SharingCapabilities? +Microsoft.Graph.Models.fileStorageContainerTypeRegistrationSettings::|public|UrlTemplate:string +Microsoft.Graph.Models.fileStorageContainerTypeRegistrationSettings::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.FileStorageContainerTypeRegistrationSettings +Microsoft.Graph.Models.fileStorageContainerTypeRegistrationSettings~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.fileStorageContainerTypeSettings::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.fileStorageContainerTypeSettings::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.fileStorageContainerTypeSettings::|public|constructor():void +Microsoft.Graph.Models.fileStorageContainerTypeSettings::|public|ConsumingTenantOverridables:global.Microsoft.Graph.Models.FileStorageContainerTypeSettingsOverride? +Microsoft.Graph.Models.fileStorageContainerTypeSettings::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.fileStorageContainerTypeSettings::|public|IsDiscoverabilityEnabled:bool? +Microsoft.Graph.Models.fileStorageContainerTypeSettings::|public|IsItemVersioningEnabled:bool? +Microsoft.Graph.Models.fileStorageContainerTypeSettings::|public|IsSearchEnabled:bool? +Microsoft.Graph.Models.fileStorageContainerTypeSettings::|public|IsSharingRestricted:bool? +Microsoft.Graph.Models.fileStorageContainerTypeSettings::|public|ItemMajorVersionLimit:long? +Microsoft.Graph.Models.fileStorageContainerTypeSettings::|public|MaxStoragePerContainerInBytes:long? +Microsoft.Graph.Models.fileStorageContainerTypeSettings::|public|OdataType:string +Microsoft.Graph.Models.fileStorageContainerTypeSettings::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.fileStorageContainerTypeSettings::|public|SharingCapability:global.Microsoft.Graph.Models.SharingCapabilities? +Microsoft.Graph.Models.fileStorageContainerTypeSettings::|public|UrlTemplate:string +Microsoft.Graph.Models.fileStorageContainerTypeSettings::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.FileStorageContainerTypeSettings +Microsoft.Graph.Models.fileStorageContainerTypeSettingsOverride::0000-urlTemplate +Microsoft.Graph.Models.fileStorageContainerTypeSettingsOverride::0001-isDiscoverabilityEnabled +Microsoft.Graph.Models.fileStorageContainerTypeSettingsOverride::0002-isSearchEnabled +Microsoft.Graph.Models.fileStorageContainerTypeSettingsOverride::0003-isItemVersioningEnabled +Microsoft.Graph.Models.fileStorageContainerTypeSettingsOverride::0004-itemMajorVersionLimit +Microsoft.Graph.Models.fileStorageContainerTypeSettingsOverride::0005-maxStoragePerContainerInBytes +Microsoft.Graph.Models.fileStorageContainerTypeSettingsOverride::0006-unknownFutureValue +Microsoft.Graph.Models.fileStorageContainerTypeSettings~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.fileStorageContainerViewpoint::|public|AdditionalData:IDictionary Microsoft.Graph.Models.fileStorageContainerViewpoint::|public|BackingStore:IBackingStore Microsoft.Graph.Models.fileStorageContainerViewpoint::|public|constructor():void @@ -107229,6 +108339,7 @@ Microsoft.Graph.Models.listItem-->global.Microsoft.Graph.Models.BaseItem Microsoft.Graph.Models.listItem::|public|Analytics:global.Microsoft.Graph.Models.ItemAnalytics Microsoft.Graph.Models.listItem::|public|constructor():void Microsoft.Graph.Models.listItem::|public|ContentType:global.Microsoft.Graph.Models.ContentTypeInfo +Microsoft.Graph.Models.listItem::|public|Deleted:global.Microsoft.Graph.Models.Deleted Microsoft.Graph.Models.listItem::|public|DocumentSetVersions:List Microsoft.Graph.Models.listItem::|public|DriveItem:global.Microsoft.Graph.Models.DriveItem Microsoft.Graph.Models.listItem::|public|Fields:global.Microsoft.Graph.Models.FieldValueSet @@ -108345,6 +109456,11 @@ Microsoft.Graph.Models.managementState::0009-wipeCanceled Microsoft.Graph.Models.managementState::0010-retireCanceled Microsoft.Graph.Models.managementState::0011-discovered Microsoft.Graph.Models.managementState::0012-unknownFutureValue +Microsoft.Graph.Models.maxWorkLocationDetails::0000-unknown +Microsoft.Graph.Models.maxWorkLocationDetails::0001-none +Microsoft.Graph.Models.maxWorkLocationDetails::0002-approximate +Microsoft.Graph.Models.maxWorkLocationDetails::0003-specific +Microsoft.Graph.Models.maxWorkLocationDetails::0004-unknownFutureValue Microsoft.Graph.Models.mdmAppConfigKeyType::0000-stringType Microsoft.Graph.Models.mdmAppConfigKeyType::0001-integerType Microsoft.Graph.Models.mdmAppConfigKeyType::0002-realType @@ -108561,6 +109677,27 @@ Microsoft.Graph.Models.meetingMessageType::0002-meetingCancelled Microsoft.Graph.Models.meetingMessageType::0003-meetingAccepted Microsoft.Graph.Models.meetingMessageType::0004-meetingTenativelyAccepted Microsoft.Graph.Models.meetingMessageType::0005-meetingDeclined +Microsoft.Graph.Models.meetingNote::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.meetingNote::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.meetingNote::|public|constructor():void +Microsoft.Graph.Models.meetingNote::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.meetingNote::|public|OdataType:string +Microsoft.Graph.Models.meetingNote::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.meetingNote::|public|Subpoints:List +Microsoft.Graph.Models.meetingNote::|public|Text:string +Microsoft.Graph.Models.meetingNote::|public|Title:string +Microsoft.Graph.Models.meetingNote::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.MeetingNote +Microsoft.Graph.Models.meetingNoteSubpoint::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.meetingNoteSubpoint::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.meetingNoteSubpoint::|public|constructor():void +Microsoft.Graph.Models.meetingNoteSubpoint::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.meetingNoteSubpoint::|public|OdataType:string +Microsoft.Graph.Models.meetingNoteSubpoint::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.meetingNoteSubpoint::|public|Text:string +Microsoft.Graph.Models.meetingNoteSubpoint::|public|Title:string +Microsoft.Graph.Models.meetingNoteSubpoint::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.MeetingNoteSubpoint +Microsoft.Graph.Models.meetingNoteSubpoint~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.meetingNote~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.meetingParticipantInfo::|public|AdditionalData:IDictionary Microsoft.Graph.Models.meetingParticipantInfo::|public|BackingStore:IBackingStore Microsoft.Graph.Models.meetingParticipantInfo::|public|constructor():void @@ -108669,6 +109806,17 @@ Microsoft.Graph.Models.membersLeftEventMessageDetail::|public|Members:List +Microsoft.Graph.Models.mentionEvent::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.mentionEvent::|public|constructor():void +Microsoft.Graph.Models.mentionEvent::|public|EventDateTime:DateTimeOffset? +Microsoft.Graph.Models.mentionEvent::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.mentionEvent::|public|OdataType:string +Microsoft.Graph.Models.mentionEvent::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.mentionEvent::|public|Speaker:global.Microsoft.Graph.Models.IdentitySet +Microsoft.Graph.Models.mentionEvent::|public|TranscriptUtterance:string +Microsoft.Graph.Models.mentionEvent::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.MentionEvent +Microsoft.Graph.Models.mentionEvent~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.message-->global.Microsoft.Graph.Models.OutlookItem Microsoft.Graph.Models.message::|public|Attachments:List Microsoft.Graph.Models.message::|public|BccRecipients:List @@ -110078,6 +111226,7 @@ Microsoft.Graph.Models.onlineMeetingBase::|public|AttendanceReports:List> Microsoft.Graph.Models.onlineMeetingBase::|public|IsEndToEndEncryptionEnabled:bool? Microsoft.Graph.Models.onlineMeetingBase::|public|IsEntryExitAnnounced:bool? @@ -110085,8 +111234,11 @@ Microsoft.Graph.Models.onlineMeetingBase::|public|JoinInformation:global.Microso Microsoft.Graph.Models.onlineMeetingBase::|public|JoinMeetingIdSettings:global.Microsoft.Graph.Models.JoinMeetingIdSettings Microsoft.Graph.Models.onlineMeetingBase::|public|JoinWebUrl:string Microsoft.Graph.Models.onlineMeetingBase::|public|LobbyBypassSettings:global.Microsoft.Graph.Models.LobbyBypassSettings +Microsoft.Graph.Models.onlineMeetingBase::|public|MeetingOptionsWebUrl:string +Microsoft.Graph.Models.onlineMeetingBase::|public|MeetingSpokenLanguageTag:string Microsoft.Graph.Models.onlineMeetingBase::|public|OdataType:string Microsoft.Graph.Models.onlineMeetingBase::|public|RecordAutomatically:bool? +Microsoft.Graph.Models.onlineMeetingBase::|public|SensitivityLabelAssignment:global.Microsoft.Graph.Models.OnlineMeetingSensitivityLabelAssignment Microsoft.Graph.Models.onlineMeetingBase::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.onlineMeetingBase::|public|ShareMeetingChatHistoryDefault:global.Microsoft.Graph.Models.MeetingChatHistoryDefaultMode? Microsoft.Graph.Models.onlineMeetingBase::|public|Subject:string @@ -110154,6 +111306,15 @@ Microsoft.Graph.Models.onlineMeetingRole::0001-presenter Microsoft.Graph.Models.onlineMeetingRole::0002-unknownFutureValue Microsoft.Graph.Models.onlineMeetingRole::0003-producer Microsoft.Graph.Models.onlineMeetingRole::0004-coorganizer +Microsoft.Graph.Models.onlineMeetingSensitivityLabelAssignment::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.onlineMeetingSensitivityLabelAssignment::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.onlineMeetingSensitivityLabelAssignment::|public|constructor():void +Microsoft.Graph.Models.onlineMeetingSensitivityLabelAssignment::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.onlineMeetingSensitivityLabelAssignment::|public|OdataType:string +Microsoft.Graph.Models.onlineMeetingSensitivityLabelAssignment::|public|SensitivityLabelId:string +Microsoft.Graph.Models.onlineMeetingSensitivityLabelAssignment::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.onlineMeetingSensitivityLabelAssignment::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.OnlineMeetingSensitivityLabelAssignment +Microsoft.Graph.Models.onlineMeetingSensitivityLabelAssignment~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.onlineMeetingVideoDisabledReason::0000-watermarkProtection Microsoft.Graph.Models.onlineMeetingVideoDisabledReason::0001-unknownFutureValue Microsoft.Graph.Models.onOtpSendCustomExtension-->global.Microsoft.Graph.Models.CustomAuthenticationExtension @@ -111394,6 +112555,10 @@ Microsoft.Graph.Models.place::|public|Phone:string Microsoft.Graph.Models.place::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.place::|public|Tags:List Microsoft.Graph.Models.place::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.Place +Microsoft.Graph.Models.placeFeatureEnablement::0000-unknown +Microsoft.Graph.Models.placeFeatureEnablement::0001-enabled +Microsoft.Graph.Models.placeFeatureEnablement::0002-disabled +Microsoft.Graph.Models.placeFeatureEnablement::0003-unknownFutureValue Microsoft.Graph.Models.placeMode::|public|AdditionalData:IDictionary Microsoft.Graph.Models.placeMode::|public|BackingStore:IBackingStore Microsoft.Graph.Models.placeMode::|public|constructor():void @@ -111818,6 +112983,7 @@ Microsoft.Graph.Models.presence::|public|OutOfOfficeSettings:global.Microsoft.Gr Microsoft.Graph.Models.presence::|public|SequenceNumber:string Microsoft.Graph.Models.presence::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.presence::|public|StatusMessage:global.Microsoft.Graph.Models.PresenceStatusMessage +Microsoft.Graph.Models.presence::|public|WorkLocation:global.Microsoft.Graph.Models.UserWorkLocation Microsoft.Graph.Models.presence::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.Presence Microsoft.Graph.Models.presenceCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse Microsoft.Graph.Models.presenceCollectionResponse::|public|GetFieldDeserializers():IDictionary> @@ -115254,7 +116420,9 @@ Microsoft.Graph.Models.room::|public|FloorNumber:int? Microsoft.Graph.Models.room::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Models.room::|public|Nickname:string Microsoft.Graph.Models.room::|public|OdataType:string +Microsoft.Graph.Models.room::|public|PlaceId:string Microsoft.Graph.Models.room::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.room::|public|TeamsEnabledState:global.Microsoft.Graph.Models.PlaceFeatureEnablement? Microsoft.Graph.Models.room::|public|VideoDeviceName:string Microsoft.Graph.Models.room::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.Room Microsoft.Graph.Models.roomCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse @@ -115960,6 +117128,14 @@ Microsoft.Graph.Models.Security.actionObject::0003-revokeAllSessions Microsoft.Graph.Models.Security.actionObject::0004-requireUserToSignInAgain Microsoft.Graph.Models.Security.actionObject::0005-markUserAsCompromised Microsoft.Graph.Models.Security.actionObject::0006-unknownFutureValue +Microsoft.Graph.Models.Security.activeDirectoryDomainEvidence-->global.Microsoft.Graph.Models.Security.AlertEvidence +Microsoft.Graph.Models.Security.activeDirectoryDomainEvidence::|public|ActiveDirectoryDomainName:string +Microsoft.Graph.Models.Security.activeDirectoryDomainEvidence::|public|constructor():void +Microsoft.Graph.Models.Security.activeDirectoryDomainEvidence::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.Security.activeDirectoryDomainEvidence::|public|OdataType:string +Microsoft.Graph.Models.Security.activeDirectoryDomainEvidence::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.Security.activeDirectoryDomainEvidence::|public|TrustedDomains:List +Microsoft.Graph.Models.Security.activeDirectoryDomainEvidence::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.Security.ActiveDirectoryDomainEvidence Microsoft.Graph.Models.Security.additionalDataOptions::0000-allVersions Microsoft.Graph.Models.Security.additionalDataOptions::0001-linkedFiles Microsoft.Graph.Models.Security.additionalDataOptions::0002-unknownFutureValue @@ -116560,6 +117736,7 @@ Microsoft.Graph.Models.Security.deviceEvidence::|public|OsBuild:long? Microsoft.Graph.Models.Security.deviceEvidence::|public|OsPlatform:string Microsoft.Graph.Models.Security.deviceEvidence::|public|RbacGroupId:int? Microsoft.Graph.Models.Security.deviceEvidence::|public|RbacGroupName:string +Microsoft.Graph.Models.Security.deviceEvidence::|public|ResourceAccessEvents:List Microsoft.Graph.Models.Security.deviceEvidence::|public|RiskScore:global.Microsoft.Graph.Models.Security.DeviceRiskScore? Microsoft.Graph.Models.Security.deviceEvidence::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.Security.deviceEvidence::|public|Version:string @@ -116627,6 +117804,7 @@ Microsoft.Graph.Models.Security.ediscoveryAddToReviewSetOperation::|public|Searc Microsoft.Graph.Models.Security.ediscoveryAddToReviewSetOperation::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.Security.ediscoveryAddToReviewSetOperation::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.Security.EdiscoveryAddToReviewSetOperation Microsoft.Graph.Models.Security.ediscoveryCase-->global.Microsoft.Graph.Models.Security.Case +Microsoft.Graph.Models.Security.ediscoveryCase::|public|CaseMembers:List Microsoft.Graph.Models.Security.ediscoveryCase::|public|ClosedBy:global.Microsoft.Graph.Models.IdentitySet Microsoft.Graph.Models.Security.ediscoveryCase::|public|ClosedDateTime:DateTimeOffset? Microsoft.Graph.Models.Security.ediscoveryCase::|public|constructor():void @@ -116647,6 +117825,19 @@ Microsoft.Graph.Models.Security.ediscoveryCaseCollectionResponse::|public|GetFie Microsoft.Graph.Models.Security.ediscoveryCaseCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.Security.ediscoveryCaseCollectionResponse::|public|Value:List Microsoft.Graph.Models.Security.ediscoveryCaseCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.Security.EdiscoveryCaseCollectionResponse +Microsoft.Graph.Models.Security.ediscoveryCaseMember-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.Security.ediscoveryCaseMember::|public|DisplayName:string +Microsoft.Graph.Models.Security.ediscoveryCaseMember::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.Security.ediscoveryCaseMember::|public|OdataType:string +Microsoft.Graph.Models.Security.ediscoveryCaseMember::|public|RecipientType:global.Microsoft.Graph.Models.Security.RecipientType? +Microsoft.Graph.Models.Security.ediscoveryCaseMember::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.Security.ediscoveryCaseMember::|public|SmtpAddress:string +Microsoft.Graph.Models.Security.ediscoveryCaseMember::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.Security.EdiscoveryCaseMember +Microsoft.Graph.Models.Security.ediscoveryCaseMemberCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Models.Security.ediscoveryCaseMemberCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.Security.ediscoveryCaseMemberCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.Security.ediscoveryCaseMemberCollectionResponse::|public|Value:List +Microsoft.Graph.Models.Security.ediscoveryCaseMemberCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.Security.EdiscoveryCaseMemberCollectionResponse Microsoft.Graph.Models.Security.ediscoveryCaseSettings-->global.Microsoft.Graph.Models.Entity Microsoft.Graph.Models.Security.ediscoveryCaseSettings::|public|CaseType:global.Microsoft.Graph.Models.Security.CaseType? Microsoft.Graph.Models.Security.ediscoveryCaseSettings::|public|GetFieldDeserializers():IDictionary> @@ -117886,6 +119077,9 @@ Microsoft.Graph.Models.Security.purgeType::0002-permanentlyDelete Microsoft.Graph.Models.Security.queryType::0000-files Microsoft.Graph.Models.Security.queryType::0001-messages Microsoft.Graph.Models.Security.queryType::0002-unknownFutureValue +Microsoft.Graph.Models.Security.recipientType::0000-user +Microsoft.Graph.Models.Security.recipientType::0001-roleGroup +Microsoft.Graph.Models.Security.recipientType::0002-unknownFutureValue Microsoft.Graph.Models.Security.redundancyDetectionSettings::|public|AdditionalData:IDictionary Microsoft.Graph.Models.Security.redundancyDetectionSettings::|public|BackingStore:IBackingStore Microsoft.Graph.Models.Security.redundancyDetectionSettings::|public|constructor():void @@ -118728,6 +119922,7 @@ Microsoft.Graph.Models.sensitivityLabel::|public|AutoTooltip:string Microsoft.Graph.Models.sensitivityLabel::|public|Description:string Microsoft.Graph.Models.sensitivityLabel::|public|DisplayName:string Microsoft.Graph.Models.sensitivityLabel::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.sensitivityLabel::|public|HasProtection:bool? Microsoft.Graph.Models.sensitivityLabel::|public|IsDefault:bool? Microsoft.Graph.Models.sensitivityLabel::|public|IsEndpointProtectionEnabled:bool? Microsoft.Graph.Models.sensitivityLabel::|public|IsScopedToUser:bool? @@ -120895,6 +122090,12 @@ Microsoft.Graph.Models.tabUpdatedEventMessageDetail::|public|OdataType:string Microsoft.Graph.Models.tabUpdatedEventMessageDetail::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.tabUpdatedEventMessageDetail::|public|TabId:string Microsoft.Graph.Models.tabUpdatedEventMessageDetail::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.TabUpdatedEventMessageDetail +Microsoft.Graph.Models.targetAgentIdentitySponsorsOrOwners-->global.Microsoft.Graph.Models.SubjectSet +Microsoft.Graph.Models.targetAgentIdentitySponsorsOrOwners::|public|constructor():void +Microsoft.Graph.Models.targetAgentIdentitySponsorsOrOwners::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.targetAgentIdentitySponsorsOrOwners::|public|OdataType:string +Microsoft.Graph.Models.targetAgentIdentitySponsorsOrOwners::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.targetAgentIdentitySponsorsOrOwners::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.TargetAgentIdentitySponsorsOrOwners Microsoft.Graph.Models.targetApplicationOwners-->global.Microsoft.Graph.Models.SubjectSet Microsoft.Graph.Models.targetApplicationOwners::|public|constructor():void Microsoft.Graph.Models.targetApplicationOwners::|public|GetFieldDeserializers():IDictionary> @@ -121150,6 +122351,78 @@ Microsoft.Graph.Models.teamRenamedEventMessageDetail::|public|Serialize(writer:I Microsoft.Graph.Models.teamRenamedEventMessageDetail::|public|TeamDisplayName:string Microsoft.Graph.Models.teamRenamedEventMessageDetail::|public|TeamId:string Microsoft.Graph.Models.teamRenamedEventMessageDetail::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.TeamRenamedEventMessageDetail +Microsoft.Graph.Models.TeamsAdministration.accountType::0000-user +Microsoft.Graph.Models.TeamsAdministration.accountType::0001-resourceAccount +Microsoft.Graph.Models.TeamsAdministration.accountType::0002-guest +Microsoft.Graph.Models.TeamsAdministration.accountType::0003-sfbOnPremUser +Microsoft.Graph.Models.TeamsAdministration.accountType::0004-unknown +Microsoft.Graph.Models.TeamsAdministration.accountType::0005-unknownFutureValue +Microsoft.Graph.Models.TeamsAdministration.accountType::0006-ineligibleUser +Microsoft.Graph.Models.TeamsAdministration.assignedTelephoneNumber::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.TeamsAdministration.assignedTelephoneNumber::|public|AssignmentCategory:global.Microsoft.Graph.Models.TeamsAdministration.AssignmentCategory? +Microsoft.Graph.Models.TeamsAdministration.assignedTelephoneNumber::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.TeamsAdministration.assignedTelephoneNumber::|public|constructor():void +Microsoft.Graph.Models.TeamsAdministration.assignedTelephoneNumber::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.TeamsAdministration.assignedTelephoneNumber::|public|OdataType:string +Microsoft.Graph.Models.TeamsAdministration.assignedTelephoneNumber::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.TeamsAdministration.assignedTelephoneNumber::|public|TelephoneNumber:string +Microsoft.Graph.Models.TeamsAdministration.assignedTelephoneNumber::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.TeamsAdministration.AssignedTelephoneNumber +Microsoft.Graph.Models.TeamsAdministration.assignedTelephoneNumber~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.TeamsAdministration.assignmentCategory::0000-primary +Microsoft.Graph.Models.TeamsAdministration.assignmentCategory::0001-private +Microsoft.Graph.Models.TeamsAdministration.assignmentCategory::0002-alternate +Microsoft.Graph.Models.TeamsAdministration.assignmentCategory::0003-unknownFutureValue +Microsoft.Graph.Models.TeamsAdministration.assignmentType::0000-direct +Microsoft.Graph.Models.TeamsAdministration.assignmentType::0001-group +Microsoft.Graph.Models.TeamsAdministration.assignmentType::0002-unknownFutureValue +Microsoft.Graph.Models.TeamsAdministration.effectivePolicyAssignment::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.TeamsAdministration.effectivePolicyAssignment::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.TeamsAdministration.effectivePolicyAssignment::|public|constructor():void +Microsoft.Graph.Models.TeamsAdministration.effectivePolicyAssignment::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.TeamsAdministration.effectivePolicyAssignment::|public|OdataType:string +Microsoft.Graph.Models.TeamsAdministration.effectivePolicyAssignment::|public|PolicyAssignment:global.Microsoft.Graph.Models.TeamsAdministration.PolicyAssignment +Microsoft.Graph.Models.TeamsAdministration.effectivePolicyAssignment::|public|PolicyType:string +Microsoft.Graph.Models.TeamsAdministration.effectivePolicyAssignment::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.TeamsAdministration.effectivePolicyAssignment::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.TeamsAdministration.EffectivePolicyAssignment +Microsoft.Graph.Models.TeamsAdministration.effectivePolicyAssignment~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.TeamsAdministration.policyAssignment::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.TeamsAdministration.policyAssignment::|public|AssignmentType:global.Microsoft.Graph.Models.TeamsAdministration.AssignmentType? +Microsoft.Graph.Models.TeamsAdministration.policyAssignment::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.TeamsAdministration.policyAssignment::|public|constructor():void +Microsoft.Graph.Models.TeamsAdministration.policyAssignment::|public|DisplayName:string +Microsoft.Graph.Models.TeamsAdministration.policyAssignment::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.TeamsAdministration.policyAssignment::|public|GroupId:string +Microsoft.Graph.Models.TeamsAdministration.policyAssignment::|public|OdataType:string +Microsoft.Graph.Models.TeamsAdministration.policyAssignment::|public|PolicyId:string +Microsoft.Graph.Models.TeamsAdministration.policyAssignment::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.TeamsAdministration.policyAssignment::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.TeamsAdministration.PolicyAssignment +Microsoft.Graph.Models.TeamsAdministration.policyAssignment~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.TeamsAdministration.teamsAdminRoot-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.TeamsAdministration.teamsAdminRoot::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.TeamsAdministration.teamsAdminRoot::|public|OdataType:string +Microsoft.Graph.Models.TeamsAdministration.teamsAdminRoot::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.TeamsAdministration.teamsAdminRoot::|public|UserConfigurations:List +Microsoft.Graph.Models.TeamsAdministration.teamsAdminRoot::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.TeamsAdministration.TeamsAdminRoot +Microsoft.Graph.Models.TeamsAdministration.teamsUserConfiguration-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.TeamsAdministration.teamsUserConfiguration::|public|AccountType:global.Microsoft.Graph.Models.TeamsAdministration.AccountType? +Microsoft.Graph.Models.TeamsAdministration.teamsUserConfiguration::|public|CreatedDateTime:DateTimeOffset? +Microsoft.Graph.Models.TeamsAdministration.teamsUserConfiguration::|public|EffectivePolicyAssignments:List +Microsoft.Graph.Models.TeamsAdministration.teamsUserConfiguration::|public|FeatureTypes:List +Microsoft.Graph.Models.TeamsAdministration.teamsUserConfiguration::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.TeamsAdministration.teamsUserConfiguration::|public|IsEnterpriseVoiceEnabled:bool? +Microsoft.Graph.Models.TeamsAdministration.teamsUserConfiguration::|public|ModifiedDateTime:DateTimeOffset? +Microsoft.Graph.Models.TeamsAdministration.teamsUserConfiguration::|public|OdataType:string +Microsoft.Graph.Models.TeamsAdministration.teamsUserConfiguration::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.TeamsAdministration.teamsUserConfiguration::|public|TelephoneNumbers:List +Microsoft.Graph.Models.TeamsAdministration.teamsUserConfiguration::|public|TenantId:string +Microsoft.Graph.Models.TeamsAdministration.teamsUserConfiguration::|public|User:global.Microsoft.Graph.Models.User +Microsoft.Graph.Models.TeamsAdministration.teamsUserConfiguration::|public|UserPrincipalName:string +Microsoft.Graph.Models.TeamsAdministration.teamsUserConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.TeamsAdministration.TeamsUserConfiguration +Microsoft.Graph.Models.TeamsAdministration.teamsUserConfigurationCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Models.TeamsAdministration.teamsUserConfigurationCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.TeamsAdministration.teamsUserConfigurationCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.TeamsAdministration.teamsUserConfigurationCollectionResponse::|public|Value:List +Microsoft.Graph.Models.TeamsAdministration.teamsUserConfigurationCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.TeamsAdministration.TeamsUserConfigurationCollectionResponse Microsoft.Graph.Models.teamsApp-->global.Microsoft.Graph.Models.Entity Microsoft.Graph.Models.teamsApp::|public|AppDefinitions:List Microsoft.Graph.Models.teamsApp::|public|DisplayName:string @@ -122078,6 +123351,16 @@ Microsoft.Graph.Models.timeOffCollectionResponse::|public|GetFieldDeserializers( Microsoft.Graph.Models.timeOffCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.timeOffCollectionResponse::|public|Value:List Microsoft.Graph.Models.timeOffCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.TimeOffCollectionResponse +Microsoft.Graph.Models.timeOffDetails::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.timeOffDetails::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.timeOffDetails::|public|constructor():void +Microsoft.Graph.Models.timeOffDetails::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.timeOffDetails::|public|IsAllDay:bool? +Microsoft.Graph.Models.timeOffDetails::|public|OdataType:string +Microsoft.Graph.Models.timeOffDetails::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.timeOffDetails::|public|Subject:string +Microsoft.Graph.Models.timeOffDetails::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.TimeOffDetails +Microsoft.Graph.Models.timeOffDetails~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.timeOffItem-->global.Microsoft.Graph.Models.ScheduleEntity Microsoft.Graph.Models.timeOffItem::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Models.timeOffItem::|public|OdataType:string @@ -122448,6 +123731,13 @@ Microsoft.Graph.Models.trendingCollectionResponse::|public|GetFieldDeserializers Microsoft.Graph.Models.trendingCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.trendingCollectionResponse::|public|Value:List Microsoft.Graph.Models.trendingCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.TrendingCollectionResponse +Microsoft.Graph.Models.unavailablePlaceMode-->global.Microsoft.Graph.Models.PlaceMode +Microsoft.Graph.Models.unavailablePlaceMode::|public|constructor():void +Microsoft.Graph.Models.unavailablePlaceMode::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.unavailablePlaceMode::|public|OdataType:string +Microsoft.Graph.Models.unavailablePlaceMode::|public|Reason:string +Microsoft.Graph.Models.unavailablePlaceMode::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.unavailablePlaceMode::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.UnavailablePlaceMode Microsoft.Graph.Models.unifiedApprovalStage::|public|AdditionalData:IDictionary Microsoft.Graph.Models.unifiedApprovalStage::|public|ApprovalStageTimeOutInDays:int? Microsoft.Graph.Models.unifiedApprovalStage::|public|BackingStore:IBackingStore @@ -122954,6 +124244,7 @@ Microsoft.Graph.Models.user-->global.Microsoft.Graph.Models.DirectoryObject Microsoft.Graph.Models.user::|public|AboutMe:string Microsoft.Graph.Models.user::|public|AccountEnabled:bool? Microsoft.Graph.Models.user::|public|Activities:List +Microsoft.Graph.Models.user::|public|AdhocCalls:List Microsoft.Graph.Models.user::|public|AgeGroup:string Microsoft.Graph.Models.user::|public|AgreementAcceptances:List Microsoft.Graph.Models.user::|public|AppRoleAssignments:List @@ -123041,6 +124332,7 @@ Microsoft.Graph.Models.user::|public|OnPremisesLastSyncDateTime:DateTimeOffset? Microsoft.Graph.Models.user::|public|OnPremisesProvisioningErrors:List Microsoft.Graph.Models.user::|public|OnPremisesSamAccountName:string Microsoft.Graph.Models.user::|public|OnPremisesSecurityIdentifier:string +Microsoft.Graph.Models.user::|public|OnPremisesSyncBehavior:global.Microsoft.Graph.Models.OnPremisesSyncBehavior Microsoft.Graph.Models.user::|public|OnPremisesSyncEnabled:bool? Microsoft.Graph.Models.user::|public|OnPremisesUserPrincipalName:string Microsoft.Graph.Models.user::|public|OtherMails:List @@ -123942,6 +125234,7 @@ Microsoft.Graph.Models.userSettings::|public|Serialize(writer:ISerializationWrit Microsoft.Graph.Models.userSettings::|public|ShiftPreferences:global.Microsoft.Graph.Models.ShiftPreferences Microsoft.Graph.Models.userSettings::|public|Storage:global.Microsoft.Graph.Models.UserStorage Microsoft.Graph.Models.userSettings::|public|Windows:List +Microsoft.Graph.Models.userSettings::|public|WorkHoursAndLocations:global.Microsoft.Graph.Models.WorkHoursAndLocationsSetting Microsoft.Graph.Models.userSettings::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.UserSettings Microsoft.Graph.Models.userSignIn-->global.Microsoft.Graph.Models.SignInIdentity Microsoft.Graph.Models.userSignIn::|public|constructor():void @@ -124055,6 +125348,17 @@ Microsoft.Graph.Models.userTrainingStatusInfo~~>IAdditionalDataHolder; IBackedMo Microsoft.Graph.Models.userType::0000-member Microsoft.Graph.Models.userType::0001-guest Microsoft.Graph.Models.userType::0002-unknownFutureValue +Microsoft.Graph.Models.userWorkLocation::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.userWorkLocation::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.userWorkLocation::|public|constructor():void +Microsoft.Graph.Models.userWorkLocation::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.userWorkLocation::|public|OdataType:string +Microsoft.Graph.Models.userWorkLocation::|public|PlaceId:string +Microsoft.Graph.Models.userWorkLocation::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.userWorkLocation::|public|Source:global.Microsoft.Graph.Models.WorkLocationSource? +Microsoft.Graph.Models.userWorkLocation::|public|WorkLocationType:global.Microsoft.Graph.Models.WorkLocationType? +Microsoft.Graph.Models.userWorkLocation::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.UserWorkLocation +Microsoft.Graph.Models.userWorkLocation~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.verifiedDomain::|public|AdditionalData:IDictionary Microsoft.Graph.Models.verifiedDomain::|public|BackingStore:IBackingStore Microsoft.Graph.Models.verifiedDomain::|public|Capabilities:string @@ -124117,6 +125421,7 @@ Microsoft.Graph.Models.virtualEndpoint::|public|GetFieldDeserializers():IDiction Microsoft.Graph.Models.virtualEndpoint::|public|OdataType:string Microsoft.Graph.Models.virtualEndpoint::|public|OnPremisesConnections:List Microsoft.Graph.Models.virtualEndpoint::|public|ProvisioningPolicies:List +Microsoft.Graph.Models.virtualEndpoint::|public|Report:global.Microsoft.Graph.Models.CloudPcReport Microsoft.Graph.Models.virtualEndpoint::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.virtualEndpoint::|public|UserSettings:List Microsoft.Graph.Models.virtualEndpoint::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.VirtualEndpoint @@ -125218,6 +126523,9 @@ Microsoft.Graph.Models.windows10TeamGeneralConfiguration::|public|WelcomeScreenB Microsoft.Graph.Models.windows10TeamGeneralConfiguration::|public|WelcomeScreenBlockAutomaticWakeUp:bool? Microsoft.Graph.Models.windows10TeamGeneralConfiguration::|public|WelcomeScreenMeetingInformation:global.Microsoft.Graph.Models.WelcomeScreenMeetingInformation? Microsoft.Graph.Models.windows10TeamGeneralConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.Windows10TeamGeneralConfiguration +Microsoft.Graph.Models.windows365SwitchCompatibilityFailureReasonType::0000-osVersionNotSupported +Microsoft.Graph.Models.windows365SwitchCompatibilityFailureReasonType::0001-hardwareNotSupported +Microsoft.Graph.Models.windows365SwitchCompatibilityFailureReasonType::0002-unknownFutureValue Microsoft.Graph.Models.windows81CompliancePolicy-->global.Microsoft.Graph.Models.DeviceCompliancePolicy Microsoft.Graph.Models.windows81CompliancePolicy::|public|constructor():void Microsoft.Graph.Models.windows81CompliancePolicy::|public|GetFieldDeserializers():IDictionary> @@ -126749,6 +128057,14 @@ Microsoft.Graph.Models.workforceIntegrationSupportedEntities::0008-timeCard Microsoft.Graph.Models.workforceIntegrationSupportedEntities::0009-timeOffReason Microsoft.Graph.Models.workforceIntegrationSupportedEntities::0010-timeOff Microsoft.Graph.Models.workforceIntegrationSupportedEntities::0011-timeOffRequest +Microsoft.Graph.Models.workHoursAndLocationsSetting-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.workHoursAndLocationsSetting::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.workHoursAndLocationsSetting::|public|MaxSharedWorkLocationDetails:global.Microsoft.Graph.Models.MaxWorkLocationDetails? +Microsoft.Graph.Models.workHoursAndLocationsSetting::|public|Occurrences:List +Microsoft.Graph.Models.workHoursAndLocationsSetting::|public|OdataType:string +Microsoft.Graph.Models.workHoursAndLocationsSetting::|public|Recurrences:List +Microsoft.Graph.Models.workHoursAndLocationsSetting::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.workHoursAndLocationsSetting::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.WorkHoursAndLocationsSetting Microsoft.Graph.Models.workingHours::|public|AdditionalData:IDictionary Microsoft.Graph.Models.workingHours::|public|BackingStore:IBackingStore Microsoft.Graph.Models.workingHours::|public|constructor():void @@ -126766,6 +128082,50 @@ Microsoft.Graph.Models.workingTimeSchedule::|public|GetFieldDeserializers():IDic Microsoft.Graph.Models.workingTimeSchedule::|public|OdataType:string Microsoft.Graph.Models.workingTimeSchedule::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.workingTimeSchedule::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.WorkingTimeSchedule +Microsoft.Graph.Models.workLocationSource::0000-none +Microsoft.Graph.Models.workLocationSource::0001-manual +Microsoft.Graph.Models.workLocationSource::0002-scheduled +Microsoft.Graph.Models.workLocationSource::0003-automatic +Microsoft.Graph.Models.workLocationSource::0004-unknownFutureValue +Microsoft.Graph.Models.workLocationType::0000-unspecified +Microsoft.Graph.Models.workLocationType::0001-office +Microsoft.Graph.Models.workLocationType::0002-remote +Microsoft.Graph.Models.workLocationType::0003-timeOff +Microsoft.Graph.Models.workLocationType::0004-unknownFutureValue +Microsoft.Graph.Models.workLocationUpdateScope::0000-currentSegment +Microsoft.Graph.Models.workLocationUpdateScope::0001-currentDay +Microsoft.Graph.Models.workLocationUpdateScope::0002-unknownFutureValue +Microsoft.Graph.Models.workPlanOccurrence-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.workPlanOccurrence::|public|End:global.Microsoft.Graph.Models.DateTimeTimeZone +Microsoft.Graph.Models.workPlanOccurrence::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.workPlanOccurrence::|public|OdataType:string +Microsoft.Graph.Models.workPlanOccurrence::|public|PlaceId:string +Microsoft.Graph.Models.workPlanOccurrence::|public|RecurrenceId:string +Microsoft.Graph.Models.workPlanOccurrence::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.workPlanOccurrence::|public|Start:global.Microsoft.Graph.Models.DateTimeTimeZone +Microsoft.Graph.Models.workPlanOccurrence::|public|TimeOffDetails:global.Microsoft.Graph.Models.TimeOffDetails +Microsoft.Graph.Models.workPlanOccurrence::|public|WorkLocationType:global.Microsoft.Graph.Models.WorkLocationType? +Microsoft.Graph.Models.workPlanOccurrence::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.WorkPlanOccurrence +Microsoft.Graph.Models.workPlanOccurrenceCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Models.workPlanOccurrenceCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.workPlanOccurrenceCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.workPlanOccurrenceCollectionResponse::|public|Value:List +Microsoft.Graph.Models.workPlanOccurrenceCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.WorkPlanOccurrenceCollectionResponse +Microsoft.Graph.Models.workPlanRecurrence-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.workPlanRecurrence::|public|End:global.Microsoft.Graph.Models.DateTimeTimeZone +Microsoft.Graph.Models.workPlanRecurrence::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.workPlanRecurrence::|public|OdataType:string +Microsoft.Graph.Models.workPlanRecurrence::|public|PlaceId:string +Microsoft.Graph.Models.workPlanRecurrence::|public|Recurrence:global.Microsoft.Graph.Models.PatternedRecurrence +Microsoft.Graph.Models.workPlanRecurrence::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.workPlanRecurrence::|public|Start:global.Microsoft.Graph.Models.DateTimeTimeZone +Microsoft.Graph.Models.workPlanRecurrence::|public|WorkLocationType:global.Microsoft.Graph.Models.WorkLocationType? +Microsoft.Graph.Models.workPlanRecurrence::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.WorkPlanRecurrence +Microsoft.Graph.Models.workPlanRecurrenceCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Models.workPlanRecurrenceCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.workPlanRecurrenceCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.workPlanRecurrenceCollectionResponse::|public|Value:List +Microsoft.Graph.Models.workPlanRecurrenceCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.WorkPlanRecurrenceCollectionResponse Microsoft.Graph.Models.workspace-->global.Microsoft.Graph.Models.Place Microsoft.Graph.Models.workspace::|public|Capacity:int? Microsoft.Graph.Models.workspace::|public|constructor():void @@ -126775,6 +128135,7 @@ Microsoft.Graph.Models.workspace::|public|GetFieldDeserializers():IDictionaryglobal.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse @@ -136883,6 +138244,50 @@ Microsoft.Graph.Security.Cases.EdiscoveryCases.ediscoveryCasesRequestBuilder::|p Microsoft.Graph.Security.Cases.EdiscoveryCases.ediscoveryCasesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Security.Cases.EdiscoveryCases.ediscoveryCasesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.Security.EdiscoveryCase; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Security.Cases.EdiscoveryCases.ediscoveryCasesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Security.Cases.EdiscoveryCases.EdiscoveryCasesRequestBuilder +Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.CaseMembers.caseMembersRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.CaseMembers.caseMembersRequestBuilder.caseMembersRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.CaseMembers.caseMembersRequestBuilder.caseMembersRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.CaseMembers.caseMembersRequestBuilder.caseMembersRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.CaseMembers.caseMembersRequestBuilder.caseMembersRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.CaseMembers.caseMembersRequestBuilder.caseMembersRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.CaseMembers.caseMembersRequestBuilder.caseMembersRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.CaseMembers.caseMembersRequestBuilder.caseMembersRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.CaseMembers.caseMembersRequestBuilder.caseMembersRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.CaseMembers.caseMembersRequestBuilder.caseMembersRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.CaseMembers.caseMembersRequestBuilder.caseMembersRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.CaseMembers.caseMembersRequestBuilder::[EdiscoveryCaseMemberId:string]:global.Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.CaseMembers.Item.EdiscoveryCaseMemberItemRequestBuilder +Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.CaseMembers.caseMembersRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.CaseMembers.caseMembersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.CaseMembers.caseMembersRequestBuilder::|public|Count:global.Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.CaseMembers.Count.CountRequestBuilder +Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.CaseMembers.caseMembersRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Security.EdiscoveryCaseMemberCollectionResponse +Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.CaseMembers.caseMembersRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.Security.EdiscoveryCaseMember; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Security.EdiscoveryCaseMember +Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.CaseMembers.caseMembersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.CaseMembers.caseMembersRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.Security.EdiscoveryCaseMember; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.CaseMembers.caseMembersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.CaseMembers.CaseMembersRequestBuilder +Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.CaseMembers.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.CaseMembers.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.CaseMembers.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.CaseMembers.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.CaseMembers.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.CaseMembers.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.CaseMembers.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.CaseMembers.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.CaseMembers.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.CaseMembers.Count.CountRequestBuilder +Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.CaseMembers.Item.EdiscoveryCaseMemberItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.CaseMembers.Item.EdiscoveryCaseMemberItemRequestBuilder.EdiscoveryCaseMemberItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.CaseMembers.Item.EdiscoveryCaseMemberItemRequestBuilder.EdiscoveryCaseMemberItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.CaseMembers.Item.EdiscoveryCaseMemberItemRequestBuilder.EdiscoveryCaseMemberItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.CaseMembers.Item.EdiscoveryCaseMemberItemRequestBuilder.EdiscoveryCaseMemberItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.CaseMembers.Item.EdiscoveryCaseMemberItemRequestBuilder.EdiscoveryCaseMemberItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.CaseMembers.Item.EdiscoveryCaseMemberItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.CaseMembers.Item.EdiscoveryCaseMemberItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.CaseMembers.Item.EdiscoveryCaseMemberItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.CaseMembers.Item.EdiscoveryCaseMemberItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Security.EdiscoveryCaseMember +Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.CaseMembers.Item.EdiscoveryCaseMemberItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.Security.EdiscoveryCaseMember; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Security.EdiscoveryCaseMember +Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.CaseMembers.Item.EdiscoveryCaseMemberItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.CaseMembers.Item.EdiscoveryCaseMemberItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.CaseMembers.Item.EdiscoveryCaseMemberItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.Security.EdiscoveryCaseMember; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.CaseMembers.Item.EdiscoveryCaseMemberItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.CaseMembers.Item.EdiscoveryCaseMemberItemRequestBuilder Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.Custodians.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.Custodians.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.Custodians.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -137196,6 +138601,7 @@ Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.EdiscoveryCaseItemRequestBui Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.EdiscoveryCaseItemRequestBuilder.EdiscoveryCaseItemRequestBuilderGetQueryParameters::|public|Select:string[] Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.EdiscoveryCaseItemRequestBuilder.EdiscoveryCaseItemRequestBuilderGetRequestConfiguration-->RequestConfiguration Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.EdiscoveryCaseItemRequestBuilder.EdiscoveryCaseItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.EdiscoveryCaseItemRequestBuilder::|public|caseMembers:global.Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.CaseMembers.CaseMembersRequestBuilder Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.EdiscoveryCaseItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.EdiscoveryCaseItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.EdiscoveryCaseItemRequestBuilder::|public|custodians:global.Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.Custodians.CustodiansRequestBuilder @@ -157323,6 +158729,139 @@ Microsoft.Graph.Storage.FileStorage.Containers.Item.Unlock.unlockRequestBuilder: Microsoft.Graph.Storage.FileStorage.Containers.Item.Unlock.unlockRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Storage.FileStorage.Containers.Item.Unlock.unlockRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Storage.FileStorage.Containers.Item.Unlock.unlockRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.Containers.Item.Unlock.UnlockRequestBuilder +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.containerTypeRegistrationsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.containerTypeRegistrationsRequestBuilder.containerTypeRegistrationsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.containerTypeRegistrationsRequestBuilder.containerTypeRegistrationsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.containerTypeRegistrationsRequestBuilder.containerTypeRegistrationsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.containerTypeRegistrationsRequestBuilder.containerTypeRegistrationsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.containerTypeRegistrationsRequestBuilder.containerTypeRegistrationsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.containerTypeRegistrationsRequestBuilder.containerTypeRegistrationsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.containerTypeRegistrationsRequestBuilder.containerTypeRegistrationsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.containerTypeRegistrationsRequestBuilder.containerTypeRegistrationsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.containerTypeRegistrationsRequestBuilder.containerTypeRegistrationsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.containerTypeRegistrationsRequestBuilder.containerTypeRegistrationsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.containerTypeRegistrationsRequestBuilder::[FileStorageContainerTypeRegistrationId:string]:global.Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.FileStorageContainerTypeRegistrationItemRequestBuilder +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.containerTypeRegistrationsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.containerTypeRegistrationsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.containerTypeRegistrationsRequestBuilder::|public|Count:global.Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Count.CountRequestBuilder +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.containerTypeRegistrationsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.FileStorageContainerTypeRegistrationCollectionResponse +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.containerTypeRegistrationsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.FileStorageContainerTypeRegistration; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.FileStorageContainerTypeRegistration +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.containerTypeRegistrationsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.containerTypeRegistrationsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.FileStorageContainerTypeRegistration; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.containerTypeRegistrationsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.ContainerTypeRegistrationsRequestBuilder +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Count.CountRequestBuilder +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.ApplicationPermissionGrants.applicationPermissionGrantsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.ApplicationPermissionGrants.applicationPermissionGrantsRequestBuilder.applicationPermissionGrantsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.ApplicationPermissionGrants.applicationPermissionGrantsRequestBuilder.applicationPermissionGrantsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.ApplicationPermissionGrants.applicationPermissionGrantsRequestBuilder.applicationPermissionGrantsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.ApplicationPermissionGrants.applicationPermissionGrantsRequestBuilder.applicationPermissionGrantsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.ApplicationPermissionGrants.applicationPermissionGrantsRequestBuilder.applicationPermissionGrantsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.ApplicationPermissionGrants.applicationPermissionGrantsRequestBuilder.applicationPermissionGrantsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.ApplicationPermissionGrants.applicationPermissionGrantsRequestBuilder.applicationPermissionGrantsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.ApplicationPermissionGrants.applicationPermissionGrantsRequestBuilder.applicationPermissionGrantsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.ApplicationPermissionGrants.applicationPermissionGrantsRequestBuilder.applicationPermissionGrantsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.ApplicationPermissionGrants.applicationPermissionGrantsRequestBuilder.applicationPermissionGrantsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.ApplicationPermissionGrants.applicationPermissionGrantsRequestBuilder::[FileStorageContainerTypeAppPermissionGrantAppId:string]:global.Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.ApplicationPermissionGrants.Item.FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.ApplicationPermissionGrants.applicationPermissionGrantsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.ApplicationPermissionGrants.applicationPermissionGrantsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.ApplicationPermissionGrants.applicationPermissionGrantsRequestBuilder::|public|Count:global.Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.ApplicationPermissionGrants.Count.CountRequestBuilder +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.ApplicationPermissionGrants.applicationPermissionGrantsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.FileStorageContainerTypeAppPermissionGrantCollectionResponse +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.ApplicationPermissionGrants.applicationPermissionGrantsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.FileStorageContainerTypeAppPermissionGrant; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.FileStorageContainerTypeAppPermissionGrant +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.ApplicationPermissionGrants.applicationPermissionGrantsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.ApplicationPermissionGrants.applicationPermissionGrantsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.FileStorageContainerTypeAppPermissionGrant; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.ApplicationPermissionGrants.applicationPermissionGrantsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.ApplicationPermissionGrants.ApplicationPermissionGrantsRequestBuilder +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.ApplicationPermissionGrants.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.ApplicationPermissionGrants.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.ApplicationPermissionGrants.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.ApplicationPermissionGrants.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.ApplicationPermissionGrants.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.ApplicationPermissionGrants.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.ApplicationPermissionGrants.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.ApplicationPermissionGrants.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.ApplicationPermissionGrants.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.ApplicationPermissionGrants.Count.CountRequestBuilder +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.ApplicationPermissionGrants.Item.FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.ApplicationPermissionGrants.Item.FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder.FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.ApplicationPermissionGrants.Item.FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder.FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.ApplicationPermissionGrants.Item.FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder.FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.ApplicationPermissionGrants.Item.FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder.FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.ApplicationPermissionGrants.Item.FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder.FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.ApplicationPermissionGrants.Item.FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.ApplicationPermissionGrants.Item.FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.ApplicationPermissionGrants.Item.FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.ApplicationPermissionGrants.Item.FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.FileStorageContainerTypeAppPermissionGrant +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.ApplicationPermissionGrants.Item.FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.FileStorageContainerTypeAppPermissionGrant; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.FileStorageContainerTypeAppPermissionGrant +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.ApplicationPermissionGrants.Item.FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.ApplicationPermissionGrants.Item.FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.ApplicationPermissionGrants.Item.FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.FileStorageContainerTypeAppPermissionGrant; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.ApplicationPermissionGrants.Item.FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.ApplicationPermissionGrants.Item.FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.FileStorageContainerTypeRegistrationItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.FileStorageContainerTypeRegistrationItemRequestBuilder.FileStorageContainerTypeRegistrationItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.FileStorageContainerTypeRegistrationItemRequestBuilder.FileStorageContainerTypeRegistrationItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.FileStorageContainerTypeRegistrationItemRequestBuilder.FileStorageContainerTypeRegistrationItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.FileStorageContainerTypeRegistrationItemRequestBuilder.FileStorageContainerTypeRegistrationItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.FileStorageContainerTypeRegistrationItemRequestBuilder.FileStorageContainerTypeRegistrationItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.FileStorageContainerTypeRegistrationItemRequestBuilder::|public|applicationPermissionGrants:global.Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.ApplicationPermissionGrants.ApplicationPermissionGrantsRequestBuilder +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.FileStorageContainerTypeRegistrationItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.FileStorageContainerTypeRegistrationItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.FileStorageContainerTypeRegistrationItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.FileStorageContainerTypeRegistrationItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.FileStorageContainerTypeRegistration +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.FileStorageContainerTypeRegistrationItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.FileStorageContainerTypeRegistration; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.FileStorageContainerTypeRegistration +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.FileStorageContainerTypeRegistrationItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.FileStorageContainerTypeRegistrationItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.FileStorageContainerTypeRegistrationItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.FileStorageContainerTypeRegistration; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.FileStorageContainerTypeRegistrationItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.Item.FileStorageContainerTypeRegistrationItemRequestBuilder +Microsoft.Graph.Storage.FileStorage.ContainerTypes.containerTypesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.ContainerTypes.containerTypesRequestBuilder.containerTypesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Storage.FileStorage.ContainerTypes.containerTypesRequestBuilder.containerTypesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Storage.FileStorage.ContainerTypes.containerTypesRequestBuilder.containerTypesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Storage.FileStorage.ContainerTypes.containerTypesRequestBuilder.containerTypesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Storage.FileStorage.ContainerTypes.containerTypesRequestBuilder.containerTypesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Storage.FileStorage.ContainerTypes.containerTypesRequestBuilder.containerTypesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Storage.FileStorage.ContainerTypes.containerTypesRequestBuilder.containerTypesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Storage.FileStorage.ContainerTypes.containerTypesRequestBuilder.containerTypesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Storage.FileStorage.ContainerTypes.containerTypesRequestBuilder.containerTypesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.ContainerTypes.containerTypesRequestBuilder.containerTypesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.ContainerTypes.containerTypesRequestBuilder::[FileStorageContainerTypeId:string]:global.Microsoft.Graph.Storage.FileStorage.ContainerTypes.Item.FileStorageContainerTypeItemRequestBuilder +Microsoft.Graph.Storage.FileStorage.ContainerTypes.containerTypesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.ContainerTypes.containerTypesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.ContainerTypes.containerTypesRequestBuilder::|public|Count:global.Microsoft.Graph.Storage.FileStorage.ContainerTypes.Count.CountRequestBuilder +Microsoft.Graph.Storage.FileStorage.ContainerTypes.containerTypesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.FileStorageContainerTypeCollectionResponse +Microsoft.Graph.Storage.FileStorage.ContainerTypes.containerTypesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.FileStorageContainerType; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.FileStorageContainerType +Microsoft.Graph.Storage.FileStorage.ContainerTypes.containerTypesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.ContainerTypes.containerTypesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.FileStorageContainerType; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.ContainerTypes.containerTypesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.ContainerTypes.ContainerTypesRequestBuilder +Microsoft.Graph.Storage.FileStorage.ContainerTypes.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.ContainerTypes.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Storage.FileStorage.ContainerTypes.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Storage.FileStorage.ContainerTypes.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.ContainerTypes.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.ContainerTypes.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.ContainerTypes.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Storage.FileStorage.ContainerTypes.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.ContainerTypes.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.ContainerTypes.Count.CountRequestBuilder +Microsoft.Graph.Storage.FileStorage.ContainerTypes.Item.FileStorageContainerTypeItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.ContainerTypes.Item.FileStorageContainerTypeItemRequestBuilder.FileStorageContainerTypeItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.ContainerTypes.Item.FileStorageContainerTypeItemRequestBuilder.FileStorageContainerTypeItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Storage.FileStorage.ContainerTypes.Item.FileStorageContainerTypeItemRequestBuilder.FileStorageContainerTypeItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Storage.FileStorage.ContainerTypes.Item.FileStorageContainerTypeItemRequestBuilder.FileStorageContainerTypeItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.ContainerTypes.Item.FileStorageContainerTypeItemRequestBuilder.FileStorageContainerTypeItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.ContainerTypes.Item.FileStorageContainerTypeItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.ContainerTypes.Item.FileStorageContainerTypeItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.ContainerTypes.Item.FileStorageContainerTypeItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Storage.FileStorage.ContainerTypes.Item.FileStorageContainerTypeItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.FileStorageContainerType +Microsoft.Graph.Storage.FileStorage.ContainerTypes.Item.FileStorageContainerTypeItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.FileStorageContainerType; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.FileStorageContainerType +Microsoft.Graph.Storage.FileStorage.ContainerTypes.Item.FileStorageContainerTypeItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.ContainerTypes.Item.FileStorageContainerTypeItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.ContainerTypes.Item.FileStorageContainerTypeItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.FileStorageContainerType; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.ContainerTypes.Item.FileStorageContainerTypeItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.ContainerTypes.Item.FileStorageContainerTypeItemRequestBuilder Microsoft.Graph.Storage.FileStorage.DeletedContainers.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Storage.FileStorage.DeletedContainers.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Storage.FileStorage.DeletedContainers.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -157914,6 +159453,8 @@ Microsoft.Graph.Storage.FileStorage.fileStorageRequestBuilder.fileStorageRequest Microsoft.Graph.Storage.FileStorage.fileStorageRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Storage.FileStorage.fileStorageRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Storage.FileStorage.fileStorageRequestBuilder::|public|containers:global.Microsoft.Graph.Storage.FileStorage.Containers.ContainersRequestBuilder +Microsoft.Graph.Storage.FileStorage.fileStorageRequestBuilder::|public|containerTypeRegistrations:global.Microsoft.Graph.Storage.FileStorage.ContainerTypeRegistrations.ContainerTypeRegistrationsRequestBuilder +Microsoft.Graph.Storage.FileStorage.fileStorageRequestBuilder::|public|containerTypes:global.Microsoft.Graph.Storage.FileStorage.ContainerTypes.ContainerTypesRequestBuilder Microsoft.Graph.Storage.FileStorage.fileStorageRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Storage.FileStorage.fileStorageRequestBuilder::|public|deletedContainers:global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.DeletedContainersRequestBuilder Microsoft.Graph.Storage.FileStorage.fileStorageRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.FileStorage @@ -162711,6 +164252,230 @@ Microsoft.Graph.Users.Item.Activities.Recent.recentRequestBuilder::|public|ToGet Microsoft.Graph.Users.Item.Activities.Recent.recentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Activities.Recent.RecentRequestBuilder Microsoft.Graph.Users.Item.Activities.Recent.recentResponse-->global.Microsoft.Graph.Users.Item.Activities.Recent.RecentGetResponse Microsoft.Graph.Users.Item.Activities.Recent.recentResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.Activities.Recent.RecentResponse +Microsoft.Graph.Users.Item.AdhocCalls.adhocCallsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.AdhocCalls.adhocCallsRequestBuilder.adhocCallsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Users.Item.AdhocCalls.adhocCallsRequestBuilder.adhocCallsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Users.Item.AdhocCalls.adhocCallsRequestBuilder.adhocCallsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Users.Item.AdhocCalls.adhocCallsRequestBuilder.adhocCallsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Users.Item.AdhocCalls.adhocCallsRequestBuilder.adhocCallsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Users.Item.AdhocCalls.adhocCallsRequestBuilder.adhocCallsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Users.Item.AdhocCalls.adhocCallsRequestBuilder.adhocCallsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Users.Item.AdhocCalls.adhocCallsRequestBuilder.adhocCallsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Users.Item.AdhocCalls.adhocCallsRequestBuilder.adhocCallsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.AdhocCalls.adhocCallsRequestBuilder.adhocCallsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.AdhocCalls.adhocCallsRequestBuilder::[AdhocCallId:string]:global.Microsoft.Graph.Users.Item.AdhocCalls.Item.AdhocCallItemRequestBuilder +Microsoft.Graph.Users.Item.AdhocCalls.adhocCallsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.AdhocCalls.adhocCallsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.AdhocCalls.adhocCallsRequestBuilder::|public|Count:global.Microsoft.Graph.Users.Item.AdhocCalls.Count.CountRequestBuilder +Microsoft.Graph.Users.Item.AdhocCalls.adhocCallsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AdhocCallCollectionResponse +Microsoft.Graph.Users.Item.AdhocCalls.adhocCallsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.AdhocCall; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AdhocCall +Microsoft.Graph.Users.Item.AdhocCalls.adhocCallsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.AdhocCalls.adhocCallsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.AdhocCall; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.AdhocCalls.adhocCallsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.AdhocCalls.AdhocCallsRequestBuilder +Microsoft.Graph.Users.Item.AdhocCalls.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.AdhocCalls.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Users.Item.AdhocCalls.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Users.Item.AdhocCalls.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.AdhocCalls.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.AdhocCalls.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.AdhocCalls.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Users.Item.AdhocCalls.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.AdhocCalls.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.AdhocCalls.Count.CountRequestBuilder +Microsoft.Graph.Users.Item.AdhocCalls.Item.AdhocCallItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.AdhocCalls.Item.AdhocCallItemRequestBuilder.AdhocCallItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.AdhocCalls.Item.AdhocCallItemRequestBuilder.AdhocCallItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Users.Item.AdhocCalls.Item.AdhocCallItemRequestBuilder.AdhocCallItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Users.Item.AdhocCalls.Item.AdhocCallItemRequestBuilder.AdhocCallItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.AdhocCalls.Item.AdhocCallItemRequestBuilder.AdhocCallItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.AdhocCalls.Item.AdhocCallItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.AdhocCalls.Item.AdhocCallItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.AdhocCalls.Item.AdhocCallItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Users.Item.AdhocCalls.Item.AdhocCallItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AdhocCall +Microsoft.Graph.Users.Item.AdhocCalls.Item.AdhocCallItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.AdhocCall; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AdhocCall +Microsoft.Graph.Users.Item.AdhocCalls.Item.AdhocCallItemRequestBuilder::|public|recordings:global.Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.RecordingsRequestBuilder +Microsoft.Graph.Users.Item.AdhocCalls.Item.AdhocCallItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.AdhocCalls.Item.AdhocCallItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.AdhocCalls.Item.AdhocCallItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.AdhocCall; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.AdhocCalls.Item.AdhocCallItemRequestBuilder::|public|transcripts:global.Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.TranscriptsRequestBuilder +Microsoft.Graph.Users.Item.AdhocCalls.Item.AdhocCallItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.AdhocCalls.Item.AdhocCallItemRequestBuilder +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Count.CountRequestBuilder +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Delta.deltaGetResponse-->global.Microsoft.Graph.Models.BaseDeltaFunctionResponse +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Delta.deltaGetResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Delta.deltaGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Delta.deltaGetResponse::|public|Value:List +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Delta.deltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Delta.DeltaGetResponse +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Delta.deltaRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Delta.deltaRequestBuilder.deltaRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Delta.deltaRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Delta.deltaRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Delta.deltaRequestBuilder::|public|GetAsDeltaGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Delta.DeltaGetResponse +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Delta.deltaRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Delta.DeltaResponse +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Delta.deltaRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Delta.deltaRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Delta.DeltaRequestBuilder +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Delta.deltaResponse-->global.Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Delta.DeltaGetResponse +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Delta.deltaResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Delta.DeltaResponse +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder.CallRecordingItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder.CallRecordingItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder.CallRecordingItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder.CallRecordingItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder.CallRecordingItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder::|public|content:global.Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Item.Content.ContentRequestBuilder +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CallRecording +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.CallRecording; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CallRecording +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.CallRecording; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Item.Content.contentRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Item.Content.contentRequestBuilder.contentRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Item.Content.contentRequestBuilder.contentRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Item.Content.contentRequestBuilder.contentRequestBuilderPutRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Item.Content.contentRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Item.Content.contentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Item.Content.contentRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Item.Content.contentRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Item.Content.contentRequestBuilder::|public|PutAsync(body:Stream; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CallRecording +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Item.Content.contentRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Item.Content.contentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Item.Content.contentRequestBuilder::|public|ToPutRequestInformation(body:Stream; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Item.Content.contentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Item.Content.ContentRequestBuilder +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.recordingsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.recordingsRequestBuilder.recordingsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.recordingsRequestBuilder.recordingsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.recordingsRequestBuilder.recordingsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.recordingsRequestBuilder.recordingsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.recordingsRequestBuilder.recordingsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.recordingsRequestBuilder.recordingsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.recordingsRequestBuilder.recordingsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.recordingsRequestBuilder.recordingsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.recordingsRequestBuilder.recordingsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.recordingsRequestBuilder.recordingsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.recordingsRequestBuilder::[CallRecordingId:string]:global.Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Item.CallRecordingItemRequestBuilder +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.recordingsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.recordingsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.recordingsRequestBuilder::|public|Count:global.Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Count.CountRequestBuilder +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.recordingsRequestBuilder::|public|delta:global.Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.Delta.DeltaRequestBuilder +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.recordingsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CallRecordingCollectionResponse +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.recordingsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.CallRecording; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CallRecording +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.recordingsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.recordingsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.CallRecording; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.recordingsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.AdhocCalls.Item.Recordings.RecordingsRequestBuilder +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Count.CountRequestBuilder +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Delta.deltaGetResponse-->global.Microsoft.Graph.Models.BaseDeltaFunctionResponse +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Delta.deltaGetResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Delta.deltaGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Delta.deltaGetResponse::|public|Value:List +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Delta.deltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Delta.DeltaGetResponse +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Delta.deltaRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Delta.deltaRequestBuilder.deltaRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Delta.deltaRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Delta.deltaRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Delta.deltaRequestBuilder::|public|GetAsDeltaGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Delta.DeltaGetResponse +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Delta.deltaRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Delta.DeltaResponse +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Delta.deltaRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Delta.deltaRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Delta.DeltaRequestBuilder +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Delta.deltaResponse-->global.Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Delta.DeltaGetResponse +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Delta.deltaResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Delta.DeltaResponse +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder.CallTranscriptItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder.CallTranscriptItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder.CallTranscriptItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder.CallTranscriptItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder.CallTranscriptItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder::|public|content:global.Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Item.Content.ContentRequestBuilder +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CallTranscript +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder::|public|metadataContent:global.Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Item.MetadataContent.MetadataContentRequestBuilder +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.CallTranscript; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CallTranscript +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.CallTranscript; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Item.Content.contentRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Item.Content.contentRequestBuilder.contentRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Item.Content.contentRequestBuilder.contentRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Item.Content.contentRequestBuilder.contentRequestBuilderPutRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Item.Content.contentRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Item.Content.contentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Item.Content.contentRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Item.Content.contentRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Item.Content.contentRequestBuilder::|public|PutAsync(body:Stream; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CallTranscript +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Item.Content.contentRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Item.Content.contentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Item.Content.contentRequestBuilder::|public|ToPutRequestInformation(body:Stream; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Item.Content.contentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Item.Content.ContentRequestBuilder +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Item.MetadataContent.metadataContentRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Item.MetadataContent.metadataContentRequestBuilder.metadataContentRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Item.MetadataContent.metadataContentRequestBuilder.metadataContentRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Item.MetadataContent.metadataContentRequestBuilder.metadataContentRequestBuilderPutRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Item.MetadataContent.metadataContentRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Item.MetadataContent.metadataContentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Item.MetadataContent.metadataContentRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Item.MetadataContent.metadataContentRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Item.MetadataContent.metadataContentRequestBuilder::|public|PutAsync(body:Stream; requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Item.MetadataContent.metadataContentRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Item.MetadataContent.metadataContentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Item.MetadataContent.metadataContentRequestBuilder::|public|ToPutRequestInformation(body:Stream; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Item.MetadataContent.metadataContentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Item.MetadataContent.MetadataContentRequestBuilder +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder.transcriptsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder.transcriptsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder.transcriptsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder.transcriptsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder.transcriptsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder.transcriptsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder.transcriptsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder.transcriptsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder.transcriptsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder.transcriptsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder::[CallTranscriptId:string]:global.Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Item.CallTranscriptItemRequestBuilder +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder::|public|Count:global.Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Count.CountRequestBuilder +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder::|public|delta:global.Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.Delta.DeltaRequestBuilder +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CallTranscriptCollectionResponse +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.CallTranscript; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CallTranscript +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.CallTranscript; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.transcriptsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.AdhocCalls.Item.Transcripts.TranscriptsRequestBuilder Microsoft.Graph.Users.Item.AgreementAcceptances.agreementAcceptancesRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Users.Item.AgreementAcceptances.agreementAcceptancesRequestBuilder.agreementAcceptancesRequestBuilderGetQueryParameters::|public|Count:bool? Microsoft.Graph.Users.Item.AgreementAcceptances.agreementAcceptancesRequestBuilder.agreementAcceptancesRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -166056,8 +167821,10 @@ Microsoft.Graph.Users.Item.CloudPCs.Item.CloudPCItemRequestBuilder::|public|GetA Microsoft.Graph.Users.Item.CloudPCs.Item.CloudPCItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.CloudPC; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CloudPC Microsoft.Graph.Users.Item.CloudPCs.Item.CloudPCItemRequestBuilder::|public|reboot:global.Microsoft.Graph.Users.Item.CloudPCs.Item.Reboot.RebootRequestBuilder Microsoft.Graph.Users.Item.CloudPCs.Item.CloudPCItemRequestBuilder::|public|rename:global.Microsoft.Graph.Users.Item.CloudPCs.Item.Rename.RenameRequestBuilder +Microsoft.Graph.Users.Item.CloudPCs.Item.CloudPCItemRequestBuilder::|public|reprovision:global.Microsoft.Graph.Users.Item.CloudPCs.Item.Reprovision.ReprovisionRequestBuilder Microsoft.Graph.Users.Item.CloudPCs.Item.CloudPCItemRequestBuilder::|public|resize:global.Microsoft.Graph.Users.Item.CloudPCs.Item.Resize.ResizeRequestBuilder Microsoft.Graph.Users.Item.CloudPCs.Item.CloudPCItemRequestBuilder::|public|restore:global.Microsoft.Graph.Users.Item.CloudPCs.Item.Restore.RestoreRequestBuilder +Microsoft.Graph.Users.Item.CloudPCs.Item.CloudPCItemRequestBuilder::|public|retrieveCloudPcLaunchDetail:global.Microsoft.Graph.Users.Item.CloudPCs.Item.RetrieveCloudPcLaunchDetail.RetrieveCloudPcLaunchDetailRequestBuilder Microsoft.Graph.Users.Item.CloudPCs.Item.CloudPCItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Users.Item.CloudPCs.Item.CloudPCItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Users.Item.CloudPCs.Item.CloudPCItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.CloudPC; requestConfiguration?:Action>):RequestInformation @@ -166092,6 +167859,22 @@ Microsoft.Graph.Users.Item.CloudPCs.Item.Rename.renameRequestBuilder::|public|co Microsoft.Graph.Users.Item.CloudPCs.Item.Rename.renameRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Users.Item.CloudPCs.Item.Rename.RenamePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Users.Item.CloudPCs.Item.Rename.renameRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Users.Item.CloudPCs.Item.Rename.RenamePostRequestBody; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Users.Item.CloudPCs.Item.Rename.renameRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.CloudPCs.Item.Rename.RenameRequestBuilder +Microsoft.Graph.Users.Item.CloudPCs.Item.Reprovision.reprovisionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Users.Item.CloudPCs.Item.Reprovision.reprovisionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Users.Item.CloudPCs.Item.Reprovision.reprovisionPostRequestBody::|public|constructor():void +Microsoft.Graph.Users.Item.CloudPCs.Item.Reprovision.reprovisionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Users.Item.CloudPCs.Item.Reprovision.reprovisionPostRequestBody::|public|OsVersion:global.Microsoft.Graph.Models.CloudPcOperatingSystem? +Microsoft.Graph.Users.Item.CloudPCs.Item.Reprovision.reprovisionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Users.Item.CloudPCs.Item.Reprovision.reprovisionPostRequestBody::|public|UserAccountType:global.Microsoft.Graph.Models.CloudPcUserAccountType? +Microsoft.Graph.Users.Item.CloudPCs.Item.Reprovision.reprovisionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.CloudPCs.Item.Reprovision.ReprovisionPostRequestBody +Microsoft.Graph.Users.Item.CloudPCs.Item.Reprovision.reprovisionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Users.Item.CloudPCs.Item.Reprovision.reprovisionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.CloudPCs.Item.Reprovision.reprovisionRequestBuilder.reprovisionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.CloudPCs.Item.Reprovision.reprovisionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.CloudPCs.Item.Reprovision.reprovisionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.CloudPCs.Item.Reprovision.reprovisionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Users.Item.CloudPCs.Item.Reprovision.ReprovisionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Users.Item.CloudPCs.Item.Reprovision.reprovisionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Users.Item.CloudPCs.Item.Reprovision.ReprovisionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.CloudPCs.Item.Reprovision.reprovisionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.CloudPCs.Item.Reprovision.ReprovisionRequestBuilder Microsoft.Graph.Users.Item.CloudPCs.Item.Resize.resizePostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Users.Item.CloudPCs.Item.Resize.resizePostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Users.Item.CloudPCs.Item.Resize.resizePostRequestBody::|public|constructor():void @@ -166122,6 +167905,13 @@ Microsoft.Graph.Users.Item.CloudPCs.Item.Restore.restoreRequestBuilder::|public| Microsoft.Graph.Users.Item.CloudPCs.Item.Restore.restoreRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Users.Item.CloudPCs.Item.Restore.RestorePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Users.Item.CloudPCs.Item.Restore.restoreRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Users.Item.CloudPCs.Item.Restore.RestorePostRequestBody; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Users.Item.CloudPCs.Item.Restore.restoreRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.CloudPCs.Item.Restore.RestoreRequestBuilder +Microsoft.Graph.Users.Item.CloudPCs.Item.RetrieveCloudPcLaunchDetail.retrieveCloudPcLaunchDetailRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.CloudPCs.Item.RetrieveCloudPcLaunchDetail.retrieveCloudPcLaunchDetailRequestBuilder.retrieveCloudPcLaunchDetailRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.CloudPCs.Item.RetrieveCloudPcLaunchDetail.retrieveCloudPcLaunchDetailRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.CloudPCs.Item.RetrieveCloudPcLaunchDetail.retrieveCloudPcLaunchDetailRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.CloudPCs.Item.RetrieveCloudPcLaunchDetail.retrieveCloudPcLaunchDetailRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CloudPcLaunchDetail +Microsoft.Graph.Users.Item.CloudPCs.Item.RetrieveCloudPcLaunchDetail.retrieveCloudPcLaunchDetailRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.CloudPCs.Item.RetrieveCloudPcLaunchDetail.retrieveCloudPcLaunchDetailRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.CloudPCs.Item.RetrieveCloudPcLaunchDetail.RetrieveCloudPcLaunchDetailRequestBuilder Microsoft.Graph.Users.Item.CloudPCs.Item.Troubleshoot.troubleshootRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Users.Item.CloudPCs.Item.Troubleshoot.troubleshootRequestBuilder.troubleshootRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Users.Item.CloudPCs.Item.Troubleshoot.troubleshootRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -175345,6 +177135,21 @@ Microsoft.Graph.Users.Item.OnlineMeetings.onlineMeetingsRequestBuilder::|public| Microsoft.Graph.Users.Item.OnlineMeetings.onlineMeetingsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Users.Item.OnlineMeetings.onlineMeetingsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.OnlineMeeting; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Users.Item.OnlineMeetings.onlineMeetingsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.OnlineMeetings.OnlineMeetingsRequestBuilder +Microsoft.Graph.Users.Item.OnPremisesSyncBehavior.onPremisesSyncBehaviorRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.OnPremisesSyncBehavior.onPremisesSyncBehaviorRequestBuilder.onPremisesSyncBehaviorRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.OnPremisesSyncBehavior.onPremisesSyncBehaviorRequestBuilder.onPremisesSyncBehaviorRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Users.Item.OnPremisesSyncBehavior.onPremisesSyncBehaviorRequestBuilder.onPremisesSyncBehaviorRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Users.Item.OnPremisesSyncBehavior.onPremisesSyncBehaviorRequestBuilder.onPremisesSyncBehaviorRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.OnPremisesSyncBehavior.onPremisesSyncBehaviorRequestBuilder.onPremisesSyncBehaviorRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.OnPremisesSyncBehavior.onPremisesSyncBehaviorRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.OnPremisesSyncBehavior.onPremisesSyncBehaviorRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.OnPremisesSyncBehavior.onPremisesSyncBehaviorRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Users.Item.OnPremisesSyncBehavior.onPremisesSyncBehaviorRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnPremisesSyncBehavior +Microsoft.Graph.Users.Item.OnPremisesSyncBehavior.onPremisesSyncBehaviorRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.OnPremisesSyncBehavior; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OnPremisesSyncBehavior +Microsoft.Graph.Users.Item.OnPremisesSyncBehavior.onPremisesSyncBehaviorRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.OnPremisesSyncBehavior.onPremisesSyncBehaviorRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.OnPremisesSyncBehavior.onPremisesSyncBehaviorRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.OnPremisesSyncBehavior; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.OnPremisesSyncBehavior.onPremisesSyncBehaviorRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.OnPremisesSyncBehavior.OnPremisesSyncBehaviorRequestBuilder Microsoft.Graph.Users.Item.Outlook.MasterCategories.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Users.Item.Outlook.MasterCategories.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Users.Item.Outlook.MasterCategories.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -176343,6 +178148,20 @@ Microsoft.Graph.Users.Item.Planner.Tasks.tasksRequestBuilder::|public|PostAsync( Microsoft.Graph.Users.Item.Planner.Tasks.tasksRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Users.Item.Planner.Tasks.tasksRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.PlannerTask; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Users.Item.Planner.Tasks.tasksRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Planner.Tasks.TasksRequestBuilder +Microsoft.Graph.Users.Item.Presence.ClearAutomaticLocation.clearAutomaticLocationRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.Presence.ClearAutomaticLocation.clearAutomaticLocationRequestBuilder.clearAutomaticLocationRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Presence.ClearAutomaticLocation.clearAutomaticLocationRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Presence.ClearAutomaticLocation.clearAutomaticLocationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Presence.ClearAutomaticLocation.clearAutomaticLocationRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Users.Item.Presence.ClearAutomaticLocation.clearAutomaticLocationRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Presence.ClearAutomaticLocation.clearAutomaticLocationRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Presence.ClearAutomaticLocation.ClearAutomaticLocationRequestBuilder +Microsoft.Graph.Users.Item.Presence.ClearLocation.clearLocationRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.Presence.ClearLocation.clearLocationRequestBuilder.clearLocationRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Presence.ClearLocation.clearLocationRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Presence.ClearLocation.clearLocationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Presence.ClearLocation.clearLocationRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Users.Item.Presence.ClearLocation.clearLocationRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Presence.ClearLocation.clearLocationRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Presence.ClearLocation.ClearLocationRequestBuilder Microsoft.Graph.Users.Item.Presence.ClearPresence.clearPresencePostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Users.Item.Presence.ClearPresence.clearPresencePostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Users.Item.Presence.ClearPresence.clearPresencePostRequestBody::|public|constructor():void @@ -176371,6 +178190,8 @@ Microsoft.Graph.Users.Item.Presence.presenceRequestBuilder.presenceRequestBuilde Microsoft.Graph.Users.Item.Presence.presenceRequestBuilder.presenceRequestBuilderGetQueryParameters::|public|Select:string[] Microsoft.Graph.Users.Item.Presence.presenceRequestBuilder.presenceRequestBuilderGetRequestConfiguration-->RequestConfiguration Microsoft.Graph.Users.Item.Presence.presenceRequestBuilder.presenceRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Presence.presenceRequestBuilder::|public|clearAutomaticLocation:global.Microsoft.Graph.Users.Item.Presence.ClearAutomaticLocation.ClearAutomaticLocationRequestBuilder +Microsoft.Graph.Users.Item.Presence.presenceRequestBuilder::|public|clearLocation:global.Microsoft.Graph.Users.Item.Presence.ClearLocation.ClearLocationRequestBuilder Microsoft.Graph.Users.Item.Presence.presenceRequestBuilder::|public|clearPresence:global.Microsoft.Graph.Users.Item.Presence.ClearPresence.ClearPresenceRequestBuilder Microsoft.Graph.Users.Item.Presence.presenceRequestBuilder::|public|clearUserPreferredPresence:global.Microsoft.Graph.Users.Item.Presence.ClearUserPreferredPresence.ClearUserPreferredPresenceRequestBuilder Microsoft.Graph.Users.Item.Presence.presenceRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -176378,6 +178199,8 @@ Microsoft.Graph.Users.Item.Presence.presenceRequestBuilder::|public|constructor( Microsoft.Graph.Users.Item.Presence.presenceRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Users.Item.Presence.presenceRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Presence Microsoft.Graph.Users.Item.Presence.presenceRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.Presence; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Presence +Microsoft.Graph.Users.Item.Presence.presenceRequestBuilder::|public|setAutomaticLocation:global.Microsoft.Graph.Users.Item.Presence.SetAutomaticLocation.SetAutomaticLocationRequestBuilder +Microsoft.Graph.Users.Item.Presence.presenceRequestBuilder::|public|setManualLocation:global.Microsoft.Graph.Users.Item.Presence.SetManualLocation.SetManualLocationRequestBuilder Microsoft.Graph.Users.Item.Presence.presenceRequestBuilder::|public|setPresence:global.Microsoft.Graph.Users.Item.Presence.SetPresence.SetPresenceRequestBuilder Microsoft.Graph.Users.Item.Presence.presenceRequestBuilder::|public|setStatusMessage:global.Microsoft.Graph.Users.Item.Presence.SetStatusMessage.SetStatusMessageRequestBuilder Microsoft.Graph.Users.Item.Presence.presenceRequestBuilder::|public|setUserPreferredPresence:global.Microsoft.Graph.Users.Item.Presence.SetUserPreferredPresence.SetUserPreferredPresenceRequestBuilder @@ -176385,6 +178208,38 @@ Microsoft.Graph.Users.Item.Presence.presenceRequestBuilder::|public|ToDeleteRequ Microsoft.Graph.Users.Item.Presence.presenceRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Users.Item.Presence.presenceRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.Presence; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Users.Item.Presence.presenceRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Presence.PresenceRequestBuilder +Microsoft.Graph.Users.Item.Presence.SetAutomaticLocation.setAutomaticLocationPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Users.Item.Presence.SetAutomaticLocation.setAutomaticLocationPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Users.Item.Presence.SetAutomaticLocation.setAutomaticLocationPostRequestBody::|public|constructor():void +Microsoft.Graph.Users.Item.Presence.SetAutomaticLocation.setAutomaticLocationPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Users.Item.Presence.SetAutomaticLocation.setAutomaticLocationPostRequestBody::|public|PlaceId:string +Microsoft.Graph.Users.Item.Presence.SetAutomaticLocation.setAutomaticLocationPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Users.Item.Presence.SetAutomaticLocation.setAutomaticLocationPostRequestBody::|public|WorkLocationType:global.Microsoft.Graph.Models.WorkLocationType? +Microsoft.Graph.Users.Item.Presence.SetAutomaticLocation.setAutomaticLocationPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.Presence.SetAutomaticLocation.SetAutomaticLocationPostRequestBody +Microsoft.Graph.Users.Item.Presence.SetAutomaticLocation.setAutomaticLocationPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Users.Item.Presence.SetAutomaticLocation.setAutomaticLocationRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.Presence.SetAutomaticLocation.setAutomaticLocationRequestBuilder.setAutomaticLocationRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Presence.SetAutomaticLocation.setAutomaticLocationRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Presence.SetAutomaticLocation.setAutomaticLocationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Presence.SetAutomaticLocation.setAutomaticLocationRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Users.Item.Presence.SetAutomaticLocation.SetAutomaticLocationPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Users.Item.Presence.SetAutomaticLocation.setAutomaticLocationRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Users.Item.Presence.SetAutomaticLocation.SetAutomaticLocationPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Presence.SetAutomaticLocation.setAutomaticLocationRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Presence.SetAutomaticLocation.SetAutomaticLocationRequestBuilder +Microsoft.Graph.Users.Item.Presence.SetManualLocation.setManualLocationPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Users.Item.Presence.SetManualLocation.setManualLocationPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Users.Item.Presence.SetManualLocation.setManualLocationPostRequestBody::|public|constructor():void +Microsoft.Graph.Users.Item.Presence.SetManualLocation.setManualLocationPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Users.Item.Presence.SetManualLocation.setManualLocationPostRequestBody::|public|PlaceId:string +Microsoft.Graph.Users.Item.Presence.SetManualLocation.setManualLocationPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Users.Item.Presence.SetManualLocation.setManualLocationPostRequestBody::|public|WorkLocationType:global.Microsoft.Graph.Models.WorkLocationType? +Microsoft.Graph.Users.Item.Presence.SetManualLocation.setManualLocationPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.Presence.SetManualLocation.SetManualLocationPostRequestBody +Microsoft.Graph.Users.Item.Presence.SetManualLocation.setManualLocationPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Users.Item.Presence.SetManualLocation.setManualLocationRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.Presence.SetManualLocation.setManualLocationRequestBuilder.setManualLocationRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Presence.SetManualLocation.setManualLocationRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Presence.SetManualLocation.setManualLocationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Presence.SetManualLocation.setManualLocationRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Users.Item.Presence.SetManualLocation.SetManualLocationPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Users.Item.Presence.SetManualLocation.setManualLocationRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Users.Item.Presence.SetManualLocation.SetManualLocationPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Presence.SetManualLocation.setManualLocationRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Presence.SetManualLocation.SetManualLocationRequestBuilder Microsoft.Graph.Users.Item.Presence.SetPresence.setPresencePostRequestBody::|public|Activity:string Microsoft.Graph.Users.Item.Presence.SetPresence.setPresencePostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Users.Item.Presence.SetPresence.setPresencePostRequestBody::|public|Availability:string @@ -176763,6 +178618,7 @@ Microsoft.Graph.Users.Item.Settings.settingsRequestBuilder::|public|ToGetRequest Microsoft.Graph.Users.Item.Settings.settingsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.UserSettings; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Users.Item.Settings.settingsRequestBuilder::|public|windows:global.Microsoft.Graph.Users.Item.Settings.Windows.WindowsRequestBuilder Microsoft.Graph.Users.Item.Settings.settingsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Settings.SettingsRequestBuilder +Microsoft.Graph.Users.Item.Settings.settingsRequestBuilder::|public|workHoursAndLocations:global.Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.WorkHoursAndLocationsRequestBuilder Microsoft.Graph.Users.Item.Settings.ShiftPreferences.shiftPreferencesRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Users.Item.Settings.ShiftPreferences.shiftPreferencesRequestBuilder.shiftPreferencesRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Users.Item.Settings.ShiftPreferences.shiftPreferencesRequestBuilder.shiftPreferencesRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -176943,6 +178799,150 @@ Microsoft.Graph.Users.Item.Settings.Windows.windowsRequestBuilder::|public|PostA Microsoft.Graph.Users.Item.Settings.Windows.windowsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Users.Item.Settings.Windows.windowsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.WindowsSetting; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Users.Item.Settings.Windows.windowsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Settings.Windows.WindowsRequestBuilder +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.Count.CountRequestBuilder +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder.WorkPlanOccurrenceItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder.WorkPlanOccurrenceItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder.WorkPlanOccurrenceItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder.WorkPlanOccurrenceItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder.WorkPlanOccurrenceItemRequestBuilderPutRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.WorkPlanOccurrence +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder::|public|PutAsync(body:global.Microsoft.Graph.Models.WorkPlanOccurrence; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.WorkPlanOccurrence +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder::|public|ToPutRequestInformation(body:global.Microsoft.Graph.Models.WorkPlanOccurrence; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder.occurrencesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder.occurrencesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder.occurrencesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder.occurrencesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder.occurrencesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder.occurrencesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder.occurrencesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder.occurrencesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder.occurrencesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder.occurrencesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder::[WorkPlanOccurrenceId:string]:global.Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder::|public|Count:global.Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.Count.CountRequestBuilder +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.WorkPlanOccurrenceCollectionResponse +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.WorkPlanOccurrence; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.WorkPlanOccurrence +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder::|public|setCurrentLocation:global.Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.SetCurrentLocationRequestBuilder +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.WorkPlanOccurrence; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.OccurrencesRequestBuilder +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationPostRequestBody::|public|constructor():void +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationPostRequestBody::|public|PlaceId:string +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationPostRequestBody::|public|UpdateScope:global.Microsoft.Graph.Models.WorkLocationUpdateScope? +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationPostRequestBody::|public|WorkLocationType:global.Microsoft.Graph.Models.WorkLocationType? +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.SetCurrentLocationPostRequestBody +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationRequestBuilder.setCurrentLocationRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.SetCurrentLocationPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.SetCurrentLocationPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.SetCurrentLocationRequestBuilder +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeGetResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeGetResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeGetResponse::|public|Value:List +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.OccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter; endDateTime?:string; startDateTime?:string):void +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder::|public|GetAsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.OccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.OccurrencesViewWithStartDateTimeWithEndDateTimeResponse +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeResponse-->global.Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.OccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.OccurrencesViewWithStartDateTimeWithEndDateTimeResponse +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Recurrences.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Recurrences.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Recurrences.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Recurrences.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Recurrences.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Recurrences.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Recurrences.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Recurrences.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Recurrences.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Recurrences.Count.CountRequestBuilder +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder.WorkPlanRecurrenceItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder.WorkPlanRecurrenceItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder.WorkPlanRecurrenceItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder.WorkPlanRecurrenceItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder.WorkPlanRecurrenceItemRequestBuilderPutRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.WorkPlanRecurrence +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder::|public|PutAsync(body:global.Microsoft.Graph.Models.WorkPlanRecurrence; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.WorkPlanRecurrence +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder::|public|ToPutRequestInformation(body:global.Microsoft.Graph.Models.WorkPlanRecurrence; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder.recurrencesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder.recurrencesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder.recurrencesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder.recurrencesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder.recurrencesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder.recurrencesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder.recurrencesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder.recurrencesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder.recurrencesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder.recurrencesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder::[WorkPlanRecurrenceId:string]:global.Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder::|public|Count:global.Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Recurrences.Count.CountRequestBuilder +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.WorkPlanRecurrenceCollectionResponse +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.WorkPlanRecurrence; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.WorkPlanRecurrence +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.WorkPlanRecurrence; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Recurrences.RecurrencesRequestBuilder +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.workHoursAndLocationsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.workHoursAndLocationsRequestBuilder.workHoursAndLocationsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.workHoursAndLocationsRequestBuilder.workHoursAndLocationsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.workHoursAndLocationsRequestBuilder.workHoursAndLocationsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.workHoursAndLocationsRequestBuilder.workHoursAndLocationsRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.workHoursAndLocationsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.workHoursAndLocationsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.workHoursAndLocationsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.WorkHoursAndLocationsSetting +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.workHoursAndLocationsRequestBuilder::|public|occurrences:global.Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Occurrences.OccurrencesRequestBuilder +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.workHoursAndLocationsRequestBuilder::|public|occurrencesViewWithStartDateTimeWithEndDateTime(endDateTime:string; startDateTime:string):global.Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.workHoursAndLocationsRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.WorkHoursAndLocationsSetting; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.WorkHoursAndLocationsSetting +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.workHoursAndLocationsRequestBuilder::|public|recurrences:global.Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.Recurrences.RecurrencesRequestBuilder +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.workHoursAndLocationsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.workHoursAndLocationsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.WorkHoursAndLocationsSetting; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.workHoursAndLocationsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Settings.WorkHoursAndLocations.WorkHoursAndLocationsRequestBuilder Microsoft.Graph.Users.Item.Solutions.solutionsRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Users.Item.Solutions.solutionsRequestBuilder.solutionsRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Users.Item.Solutions.solutionsRequestBuilder.solutionsRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -177828,6 +179828,7 @@ Microsoft.Graph.Users.Item.UserItemRequestBuilder.UserItemRequestBuilderGetQuery Microsoft.Graph.Users.Item.UserItemRequestBuilder.UserItemRequestBuilderGetRequestConfiguration-->RequestConfiguration Microsoft.Graph.Users.Item.UserItemRequestBuilder.UserItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration Microsoft.Graph.Users.Item.UserItemRequestBuilder::|public|activities:global.Microsoft.Graph.Users.Item.Activities.ActivitiesRequestBuilder +Microsoft.Graph.Users.Item.UserItemRequestBuilder::|public|adhocCalls:global.Microsoft.Graph.Users.Item.AdhocCalls.AdhocCallsRequestBuilder Microsoft.Graph.Users.Item.UserItemRequestBuilder::|public|agreementAcceptances:global.Microsoft.Graph.Users.Item.AgreementAcceptances.AgreementAcceptancesRequestBuilder Microsoft.Graph.Users.Item.UserItemRequestBuilder::|public|appRoleAssignments:global.Microsoft.Graph.Users.Item.AppRoleAssignments.AppRoleAssignmentsRequestBuilder Microsoft.Graph.Users.Item.UserItemRequestBuilder::|public|assignLicense:global.Microsoft.Graph.Users.Item.AssignLicense.AssignLicenseRequestBuilder @@ -177882,6 +179883,7 @@ Microsoft.Graph.Users.Item.UserItemRequestBuilder::|public|messages:global.Micro Microsoft.Graph.Users.Item.UserItemRequestBuilder::|public|oauth2PermissionGrants:global.Microsoft.Graph.Users.Item.Oauth2PermissionGrants.Oauth2PermissionGrantsRequestBuilder Microsoft.Graph.Users.Item.UserItemRequestBuilder::|public|onenote:global.Microsoft.Graph.Users.Item.Onenote.OnenoteRequestBuilder Microsoft.Graph.Users.Item.UserItemRequestBuilder::|public|onlineMeetings:global.Microsoft.Graph.Users.Item.OnlineMeetings.OnlineMeetingsRequestBuilder +Microsoft.Graph.Users.Item.UserItemRequestBuilder::|public|onPremisesSyncBehavior:global.Microsoft.Graph.Users.Item.OnPremisesSyncBehavior.OnPremisesSyncBehaviorRequestBuilder Microsoft.Graph.Users.Item.UserItemRequestBuilder::|public|outlook:global.Microsoft.Graph.Users.Item.Outlook.OutlookRequestBuilder Microsoft.Graph.Users.Item.UserItemRequestBuilder::|public|ownedDevices:global.Microsoft.Graph.Users.Item.OwnedDevices.OwnedDevicesRequestBuilder Microsoft.Graph.Users.Item.UserItemRequestBuilder::|public|ownedObjects:global.Microsoft.Graph.Users.Item.OwnedObjects.OwnedObjectsRequestBuilder diff --git a/src/Microsoft.Graph/Generated/kiota-lock.json b/src/Microsoft.Graph/Generated/kiota-lock.json index 532794f9900..7377dd44ab4 100644 --- a/src/Microsoft.Graph/Generated/kiota-lock.json +++ b/src/Microsoft.Graph/Generated/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "BEB3C59C4A592A7161403AE12F7BEFBC599DB40F95137AF99D420EB0A58D274857D875726EB9067302D8B5C8F737A31FC02AC7F4CF0AE5313F577B30FD8502FE", + "descriptionHash": "E447522D07D5280D03AE980E261F704EC7DFFB38AA82C6ECCEB1E1961B84B9060C1F748B8D5CA3822EC190D29A29D7FB0B4EC9B7D063F7B5174A07BD4210B6B4", "descriptionLocation": "../../msgraph-metadata/clean_v10_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.30.0",