diff --git a/src/Microsoft.Graph/Generated/AccessReviews/Item/AccessReviewItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/AccessReviews/Item/AccessReviewItemRequestBuilder.cs index 7b0a7f630c0..9d7f342a2f7 100644 --- a/src/Microsoft.Graph/Generated/AccessReviews/Item/AccessReviewItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/AccessReviews/Item/AccessReviewItemRequestBuilder.cs @@ -130,7 +130,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.AccessReview.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// In the Microsoft Entra access reviews feature, update an existing accessReview object to change one or more of its properties. This API is not intended to change the reviewers or decisions of a review. To change the reviewers, use the addReviewer or removeReviewer APIs. To stop an already-started one-time review, or an already-started instance of a recurring review, early, use the stop API. To apply the decisions to the target group or app access rights, use the apply API. + /// In the Microsoft Entra access reviews feature, update an existing accessReview object to change one or more of its properties. This API is not intended to change the reviewers or decisions of a review. To change the reviewers, use the addReviewer or removeReviewer APIs. To stop an already-started one-time review, or an already-started instance of a recurring review, early, use the stop API. To apply the decisions to the target group or app access rights, use the apply API. /// Find more info here /// /// A @@ -194,7 +194,7 @@ public RequestInformation ToGetRequestInformation(Action - /// In the Microsoft Entra access reviews feature, update an existing accessReview object to change one or more of its properties. This API is not intended to change the reviewers or decisions of a review. To change the reviewers, use the addReviewer or removeReviewer APIs. To stop an already-started one-time review, or an already-started instance of a recurring review, early, use the stop API. To apply the decisions to the target group or app access rights, use the apply API. + /// In the Microsoft Entra access reviews feature, update an existing accessReview object to change one or more of its properties. This API is not intended to change the reviewers or decisions of a review. To change the reviewers, use the addReviewer or removeReviewer APIs. To stop an already-started one-time review, or an already-started instance of a recurring review, early, use the stop API. To apply the decisions to the target group or app access rights, use the apply API. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Admin/Exchange/ExchangeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Exchange/ExchangeRequestBuilder.cs index f8245657703..3b8271ec066 100644 --- a/src/Microsoft.Graph/Generated/Admin/Exchange/ExchangeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/Exchange/ExchangeRequestBuilder.cs @@ -2,6 +2,7 @@ #pragma warning disable CS0618 using Microsoft.Graph.Beta.Admin.Exchange.Mailboxes; using Microsoft.Graph.Beta.Admin.Exchange.MessageTraces; +using Microsoft.Graph.Beta.Admin.Exchange.Tracing; using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; using Microsoft.Kiota.Abstractions.Extensions; @@ -32,6 +33,12 @@ public partial class ExchangeRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Admin.Exchange.MessageTraces.MessageTracesRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the tracing property of the microsoft.graph.exchangeAdmin entity. + [Obsolete("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15")] + public global::Microsoft.Graph.Beta.Admin.Exchange.Tracing.TracingRequestBuilder Tracing + { + get => new global::Microsoft.Graph.Beta.Admin.Exchange.Tracing.TracingRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/Admin/Exchange/Tracing/MessageTraces/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Exchange/Tracing/MessageTraces/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..a2834630477 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Exchange/Tracing/MessageTraces/Count/CountRequestBuilder.cs @@ -0,0 +1,127 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.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/exchange/tracing/messageTraces/$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/exchange/tracing/messageTraces/$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 + [Obsolete("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation 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. + [Obsolete("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15")] + public global::Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.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/Exchange/Tracing/MessageTraces/Item/ExchangeMessageTraceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Exchange/Tracing/MessageTraces/Item/ExchangeMessageTraceItemRequestBuilder.cs new file mode 100644 index 00000000000..20b5960fb73 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Exchange/Tracing/MessageTraces/Item/ExchangeMessageTraceItemRequestBuilder.cs @@ -0,0 +1,248 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Item.GetDetailsByRecipientWithRecipientAddress; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Item +{ + /// + /// Provides operations to manage the messageTraces property of the microsoft.graph.messageTracingRoot entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ExchangeMessageTraceItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ExchangeMessageTraceItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/exchange/tracing/messageTraces/{exchangeMessageTrace%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 ExchangeMessageTraceItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/exchange/tracing/messageTraces/{exchangeMessageTrace%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property messageTraces for admin + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get messageTraces from admin + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ExchangeMessageTrace.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Provides operations to call the getDetailsByRecipient method. + /// + /// A + /// Usage: recipientAddress='{recipientAddress}' + [Obsolete("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15")] + public global::Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Item.GetDetailsByRecipientWithRecipientAddress.GetDetailsByRecipientWithRecipientAddressRequestBuilder GetDetailsByRecipientWithRecipientAddress(string recipientAddress) + { + if(string.IsNullOrEmpty(recipientAddress)) throw new ArgumentNullException(nameof(recipientAddress)); + return new global::Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Item.GetDetailsByRecipientWithRecipientAddress.GetDetailsByRecipientWithRecipientAddressRequestBuilder(PathParameters, RequestAdapter, recipientAddress); + } + /// + /// Update the navigation property messageTraces in admin + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.ExchangeMessageTrace body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.ExchangeMessageTrace body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ExchangeMessageTrace.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property messageTraces for admin + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Get messageTraces from admin + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation 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 messageTraces in admin + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.ExchangeMessageTrace body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.ExchangeMessageTrace 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. + [Obsolete("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15")] + public global::Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Item.ExchangeMessageTraceItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Item.ExchangeMessageTraceItemRequestBuilder(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 ExchangeMessageTraceItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get messageTraces from admin + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ExchangeMessageTraceItemRequestBuilderGetQueryParameters + { + /// 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 ExchangeMessageTraceItemRequestBuilderGetRequestConfiguration : 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 ExchangeMessageTraceItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Exchange/Tracing/MessageTraces/Item/GetDetailsByRecipientWithRecipientAddress/GetDetailsByRecipientWithRecipientAddressGetResponse.cs b/src/Microsoft.Graph/Generated/Admin/Exchange/Tracing/MessageTraces/Item/GetDetailsByRecipientWithRecipientAddress/GetDetailsByRecipientWithRecipientAddressGetResponse.cs new file mode 100644 index 00000000000..f270bd1c33e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Exchange/Tracing/MessageTraces/Item/GetDetailsByRecipientWithRecipientAddress/GetDetailsByRecipientWithRecipientAddressGetResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Item.GetDetailsByRecipientWithRecipientAddress +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class GetDetailsByRecipientWithRecipientAddressGetResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Item.GetDetailsByRecipientWithRecipientAddress.GetDetailsByRecipientWithRecipientAddressGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Item.GetDetailsByRecipientWithRecipientAddress.GetDetailsByRecipientWithRecipientAddressGetResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ExchangeMessageTraceDetail.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/Admin/Exchange/Tracing/MessageTraces/Item/GetDetailsByRecipientWithRecipientAddress/GetDetailsByRecipientWithRecipientAddressRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Exchange/Tracing/MessageTraces/Item/GetDetailsByRecipientWithRecipientAddress/GetDetailsByRecipientWithRecipientAddressRequestBuilder.cs new file mode 100644 index 00000000000..26c0bebf600 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Exchange/Tracing/MessageTraces/Item/GetDetailsByRecipientWithRecipientAddress/GetDetailsByRecipientWithRecipientAddressRequestBuilder.cs @@ -0,0 +1,192 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Item.GetDetailsByRecipientWithRecipientAddress +{ + /// + /// Provides operations to call the getDetailsByRecipient method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GetDetailsByRecipientWithRecipientAddressRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// Usage: recipientAddress='{recipientAddress}' + /// The request adapter to use to execute the requests. + public GetDetailsByRecipientWithRecipientAddressRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter, string recipientAddress = "") : base(requestAdapter, "{+baseurl}/admin/exchange/tracing/messageTraces/{exchangeMessageTrace%2Did}/getDetailsByRecipient(recipientAddress='{recipientAddress}'){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + if (!string.IsNullOrWhiteSpace(recipientAddress)) PathParameters.Add("recipientAddress", recipientAddress); + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public GetDetailsByRecipientWithRecipientAddressRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/exchange/tracing/messageTraces/{exchangeMessageTrace%2Did}/getDetailsByRecipient(recipientAddress='{recipientAddress}'){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Invoke function getDetailsByRecipient + /// + /// 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("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsGetDetailsByRecipientWithRecipientAddressGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsGetDetailsByRecipientWithRecipientAddressGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Item.GetDetailsByRecipientWithRecipientAddress.GetDetailsByRecipientWithRecipientAddressGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function getDetailsByRecipient + /// + /// 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 GetAsGetDetailsByRecipientWithRecipientAddressGetResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Item.GetDetailsByRecipientWithRecipientAddress.GetDetailsByRecipientWithRecipientAddressResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function getDetailsByRecipient + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation 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. + [Obsolete("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15")] + public global::Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Item.GetDetailsByRecipientWithRecipientAddress.GetDetailsByRecipientWithRecipientAddressRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Item.GetDetailsByRecipientWithRecipientAddress.GetDetailsByRecipientWithRecipientAddressRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Invoke function getDetailsByRecipient + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GetDetailsByRecipientWithRecipientAddressRequestBuilderGetQueryParameters + { + /// 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 GetDetailsByRecipientWithRecipientAddressRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Exchange/Tracing/MessageTraces/Item/GetDetailsByRecipientWithRecipientAddress/GetDetailsByRecipientWithRecipientAddressResponse.cs b/src/Microsoft.Graph/Generated/Admin/Exchange/Tracing/MessageTraces/Item/GetDetailsByRecipientWithRecipientAddress/GetDetailsByRecipientWithRecipientAddressResponse.cs new file mode 100644 index 00000000000..fa8693ed078 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Exchange/Tracing/MessageTraces/Item/GetDetailsByRecipientWithRecipientAddress/GetDetailsByRecipientWithRecipientAddressResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Item.GetDetailsByRecipientWithRecipientAddress +{ + [Obsolete("This class is obsolete. Use GetDetailsByRecipientWithRecipientAddressGetResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class GetDetailsByRecipientWithRecipientAddressResponse : global::Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Item.GetDetailsByRecipientWithRecipientAddress.GetDetailsByRecipientWithRecipientAddressGetResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Item.GetDetailsByRecipientWithRecipientAddress.GetDetailsByRecipientWithRecipientAddressResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Item.GetDetailsByRecipientWithRecipientAddress.GetDetailsByRecipientWithRecipientAddressResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Exchange/Tracing/MessageTraces/MessageTracesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Exchange/Tracing/MessageTraces/MessageTracesRequestBuilder.cs new file mode 100644 index 00000000000..746e16bf589 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Exchange/Tracing/MessageTraces/MessageTracesRequestBuilder.cs @@ -0,0 +1,245 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Count; +using Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Item; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces +{ + /// + /// Provides operations to manage the messageTraces property of the microsoft.graph.messageTracingRoot entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MessageTracesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + [Obsolete("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15")] + public global::Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the messageTraces property of the microsoft.graph.messageTracingRoot entity. + /// The unique identifier of exchangeMessageTrace + /// A + [Obsolete("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15")] + public global::Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Item.ExchangeMessageTraceItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("exchangeMessageTrace%2Did", position); + return new global::Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Item.ExchangeMessageTraceItemRequestBuilder(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 MessageTracesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/exchange/tracing/messageTraces{?%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 MessageTracesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/exchange/tracing/messageTraces{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get messageTraces from admin + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ExchangeMessageTraceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to messageTraces for admin + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.ExchangeMessageTrace body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.ExchangeMessageTrace body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ExchangeMessageTrace.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get messageTraces from admin + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation 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 messageTraces for admin + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.ExchangeMessageTrace body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.ExchangeMessageTrace 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. + [Obsolete("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15")] + public global::Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.MessageTracesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.MessageTracesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get messageTraces from admin + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MessageTracesRequestBuilderGetQueryParameters + { + /// 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 MessageTracesRequestBuilderGetRequestConfiguration : 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 MessageTracesRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Exchange/Tracing/TracingRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Exchange/Tracing/TracingRequestBuilder.cs new file mode 100644 index 00000000000..4f8215d1596 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Exchange/Tracing/TracingRequestBuilder.cs @@ -0,0 +1,243 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Admin.Exchange.Tracing +{ + /// + /// Provides operations to manage the tracing property of the microsoft.graph.exchangeAdmin entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TracingRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the messageTraces property of the microsoft.graph.messageTracingRoot entity. + [Obsolete("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15")] + public global::Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.MessageTracesRequestBuilder MessageTraces + { + get => new global::Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.MessageTracesRequestBuilder(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 TracingRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/exchange/tracing{?%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 TracingRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/exchange/tracing{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property tracing for admin + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get tracing from admin + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MessageTracingRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property tracing in admin + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.MessageTracingRoot body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.MessageTracingRoot body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MessageTracingRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property tracing for admin + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Get tracing from admin + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation 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 tracing in admin + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.MessageTracingRoot body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.MessageTracingRoot 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. + [Obsolete("Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15")] + public global::Microsoft.Graph.Beta.Admin.Exchange.Tracing.TracingRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.Exchange.Tracing.TracingRequestBuilder(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 TracingRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get tracing from admin + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TracingRequestBuilderGetQueryParameters + { + /// 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 TracingRequestBuilderGetRequestConfiguration : 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 TracingRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Applications/Delta/DeltaGetResponse.cs b/src/Microsoft.Graph/Generated/Applications/Delta/DeltaGetResponse.cs index 05e23b1e170..75f1582427c 100644 --- a/src/Microsoft.Graph/Generated/Applications/Delta/DeltaGetResponse.cs +++ b/src/Microsoft.Graph/Generated/Applications/Delta/DeltaGetResponse.cs @@ -16,16 +16,16 @@ public partial class DeltaGetResponse : global::Microsoft.Graph.Beta.Models.Base /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public List? Value + public List? Value { - get { return BackingStore?.Get?>("value"); } + get { return BackingStore?.Get?>("value"); } set { BackingStore?.Set("value", value); } } #nullable restore #else - public List Value + public List Value { - get { return BackingStore?.Get>("value"); } + get { return BackingStore?.Get>("value"); } set { BackingStore?.Set("value", value); } } #endif @@ -47,7 +47,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.DirectoryObject.CreateFromDiscriminatorValue)?.AsList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.Application.CreateFromDiscriminatorValue)?.AsList(); } }, }; } /// @@ -58,7 +58,7 @@ public override void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); + writer.WriteCollectionOfObjectValues("value", Value); } } } diff --git a/src/Microsoft.Graph/Generated/Applications/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Delta/DeltaRequestBuilder.cs index 9e1e82d46e3..83c96efa086 100644 --- a/src/Microsoft.Graph/Generated/Applications/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Delta/DeltaRequestBuilder.cs @@ -34,8 +34,8 @@ public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base { } /// - /// Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. - /// Find more info here + /// Get newly created, updated, or deleted applications and agent identity blueprints without having to perform a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -58,8 +58,8 @@ public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Applications.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. - /// Find more info here + /// Get newly created, updated, or deleted applications and agent identity blueprints without having to perform a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -83,7 +83,7 @@ public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Applications.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. + /// Get newly created, updated, or deleted applications and agent identity blueprints without having to perform a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -111,7 +111,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. + /// Get newly created, updated, or deleted applications and agent identity blueprints without having to perform a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DeltaRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Chats/Item/ChatItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/ChatItemRequestBuilder.cs index 85049357bc0..47825413d9c 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/ChatItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/ChatItemRequestBuilder.cs @@ -13,6 +13,7 @@ using Microsoft.Graph.Beta.Chats.Item.PinnedMessages; using Microsoft.Graph.Beta.Chats.Item.RemoveAllAccessForUser; using Microsoft.Graph.Beta.Chats.Item.SendActivityNotification; +using Microsoft.Graph.Beta.Chats.Item.StartMigration; using Microsoft.Graph.Beta.Chats.Item.Tabs; using Microsoft.Graph.Beta.Chats.Item.UnhideForUser; using Microsoft.Graph.Beta.Models.ODataErrors; @@ -98,6 +99,11 @@ public partial class ChatItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Chats.Item.SendActivityNotification.SendActivityNotificationRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the startMigration method. + public global::Microsoft.Graph.Beta.Chats.Item.StartMigration.StartMigrationRequestBuilder StartMigration + { + get => new global::Microsoft.Graph.Beta.Chats.Item.StartMigration.StartMigrationRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the tabs property of the microsoft.graph.chat entity. public global::Microsoft.Graph.Beta.Chats.Item.Tabs.TabsRequestBuilder Tabs { diff --git a/src/Microsoft.Graph/Generated/Chats/Item/StartMigration/StartMigrationPostRequestBody.cs b/src/Microsoft.Graph/Generated/Chats/Item/StartMigration/StartMigrationPostRequestBody.cs new file mode 100644 index 00000000000..b4f72d2853a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Chats/Item/StartMigration/StartMigrationPostRequestBody.cs @@ -0,0 +1,71 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Chats.Item.StartMigration +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class StartMigrationPostRequestBody : 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 conversationCreationDateTime property + public DateTimeOffset? ConversationCreationDateTime + { + get { return BackingStore?.Get("conversationCreationDateTime"); } + set { BackingStore?.Set("conversationCreationDateTime", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public StartMigrationPostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Chats.Item.StartMigration.StartMigrationPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Chats.Item.StartMigration.StartMigrationPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "conversationCreationDateTime", n => { ConversationCreationDateTime = n.GetDateTimeOffsetValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteDateTimeOffsetValue("conversationCreationDateTime", ConversationCreationDateTime); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Chats/Item/StartMigration/StartMigrationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/StartMigration/StartMigrationRequestBuilder.cs new file mode 100644 index 00000000000..f0843b1205d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Chats/Item/StartMigration/StartMigrationRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Chats.Item.StartMigration +{ + /// + /// Provides operations to call the startMigration method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class StartMigrationRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public StartMigrationRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/chats/{chat%2Did}/startMigration", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public StartMigrationRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/chats/{chat%2Did}/startMigration", rawUrl) + { + } + /// + /// Start the migration of external messages by enabling migration mode in an existing chat. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. You can define a minimum timestamp for content migration that enables the import of messages from the past. The specified timestamp must be earlier than the current createdDateTime of the chat. Imported content is always limited by the createdDateTime of the target thread. An optional createdDateTime property in the payload allows you to update this value, but with strict rules: This API supportes the following channel types. + /// 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.Beta.Chats.Item.StartMigration.StartMigrationPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Chats.Item.StartMigration.StartMigrationPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Start the migration of external messages by enabling migration mode in an existing chat. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. You can define a minimum timestamp for content migration that enables the import of messages from the past. The specified timestamp must be earlier than the current createdDateTime of the chat. Imported content is always limited by the createdDateTime of the target thread. An optional createdDateTime property in the payload allows you to update this value, but with strict rules: This API supportes the following channel types. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Chats.Item.StartMigration.StartMigrationPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Chats.Item.StartMigration.StartMigrationPostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Chats.Item.StartMigration.StartMigrationRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Chats.Item.StartMigration.StartMigrationRequestBuilder(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 StartMigrationRequestBuilderPostRequestConfiguration : 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 index d2264893aa1..42074c85fb9 100644 --- a/src/Microsoft.Graph/Generated/Communications/AdhocCalls/AdhocCallsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/AdhocCalls/AdhocCallsRequestBuilder.cs @@ -1,6 +1,8 @@ // #pragma warning disable CS0618 using Microsoft.Graph.Beta.Communications.AdhocCalls.Count; +using Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime; +using Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime; using Microsoft.Graph.Beta.Communications.AdhocCalls.Item; using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; @@ -25,6 +27,16 @@ public partial class AdhocCallsRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Communications.AdhocCalls.Count.CountRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the getAllRecordings method. + public global::Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime + { + get => new global::Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the getAllTranscripts method. + public global::Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime + { + get => new global::Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the adhocCalls property of the microsoft.graph.cloudCommunications entity. /// The unique identifier of adhocCall /// A diff --git a/src/Microsoft.Graph/Generated/Communications/AdhocCalls/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse.cs b/src/Microsoft.Graph/Generated/Communications/AdhocCalls/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse.cs new file mode 100644 index 00000000000..383be1bf58b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Communications/AdhocCalls/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.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/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/AdhocCalls/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.cs new file mode 100644 index 00000000000..9f552ce5517 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Communications/AdhocCalls/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.cs @@ -0,0 +1,203 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime +{ + /// + /// Provides operations to call the getAllRecordings method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/communications/adhocCalls/getAllRecordings(userId='@userId',startDateTime=@startDateTime,endDateTime=@endDateTime){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top,endDateTime*,startDateTime*,userId*}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/communications/adhocCalls/getAllRecordings(userId='@userId',startDateTime=@startDateTime,endDateTime=@endDateTime){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top,endDateTime*,startDateTime*,userId*}", rawUrl) + { + } + /// + /// Invoke function getAllRecordings + /// + /// 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 GetAsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function getAllRecordings + /// + /// 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 GetAsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function getAllRecordings + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Invoke function getAllRecordings + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Usage: endDateTime=@endDateTime + [QueryParameter("endDateTime")] + public DateTimeOffset? EndDateTime { 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; } + /// Usage: startDateTime=@startDateTime + [QueryParameter("startDateTime")] + public DateTimeOffset? StartDateTime { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + /// Usage: userId='@userId' +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("userId")] + public string? UserId { get; set; } +#nullable restore +#else + [QueryParameter("userId")] + public string UserId { 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 GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Communications/AdhocCalls/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse.cs b/src/Microsoft.Graph/Generated/Communications/AdhocCalls/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse.cs new file mode 100644 index 00000000000..937ba71e838 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Communications/AdhocCalls/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime +{ + [Obsolete("This class is obsolete. Use GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse : global::Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Communications/AdhocCalls/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse.cs b/src/Microsoft.Graph/Generated/Communications/AdhocCalls/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse.cs new file mode 100644 index 00000000000..c58898c9023 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Communications/AdhocCalls/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.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/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/AdhocCalls/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.cs new file mode 100644 index 00000000000..2e44f0d94be --- /dev/null +++ b/src/Microsoft.Graph/Generated/Communications/AdhocCalls/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.cs @@ -0,0 +1,203 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime +{ + /// + /// Provides operations to call the getAllTranscripts method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/communications/adhocCalls/getAllTranscripts(userId='@userId',startDateTime=@startDateTime,endDateTime=@endDateTime){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top,endDateTime*,startDateTime*,userId*}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/communications/adhocCalls/getAllTranscripts(userId='@userId',startDateTime=@startDateTime,endDateTime=@endDateTime){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top,endDateTime*,startDateTime*,userId*}", rawUrl) + { + } + /// + /// Invoke function getAllTranscripts + /// + /// 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 GetAsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function getAllTranscripts + /// + /// 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 GetAsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function getAllTranscripts + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Invoke function getAllTranscripts + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Usage: endDateTime=@endDateTime + [QueryParameter("endDateTime")] + public DateTimeOffset? EndDateTime { 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; } + /// Usage: startDateTime=@startDateTime + [QueryParameter("startDateTime")] + public DateTimeOffset? StartDateTime { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + /// Usage: userId='@userId' +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("userId")] + public string? UserId { get; set; } +#nullable restore +#else + [QueryParameter("userId")] + public string UserId { 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 GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Communications/AdhocCalls/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse.cs b/src/Microsoft.Graph/Generated/Communications/AdhocCalls/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse.cs new file mode 100644 index 00000000000..4e24d52d0c6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Communications/AdhocCalls/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime +{ + [Obsolete("This class is obsolete. Use GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse : global::Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse(); + } + } +} +#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 index cdc62686f75..bcf74837501 100644 --- a/src/Microsoft.Graph/Generated/Communications/Presences/Item/SetAutomaticLocation/SetAutomaticLocationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/Presences/Item/SetAutomaticLocation/SetAutomaticLocationRequestBuilder.cs @@ -34,7 +34,7 @@ public SetAutomaticLocationRequestBuilder(string rawUrl, IRequestAdapter request { } /// - /// 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/location agents, or OEM docking apps). It doesn't clear manual or scheduled signals. + /// 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 @@ -59,7 +59,7 @@ public async Task PostAsync(global::Microsoft.Graph.Beta.Communications.Presence 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/location agents, or OEM docking apps). It doesn't clear manual or scheduled signals. + /// 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 diff --git a/src/Microsoft.Graph/Generated/Communications/Presences/Item/SetManualLocation/SetManualLocationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/Presences/Item/SetManualLocation/SetManualLocationRequestBuilder.cs index 0b7ed3e978f..2f31a59d8c0 100644 --- a/src/Microsoft.Graph/Generated/Communications/Presences/Item/SetManualLocation/SetManualLocationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/Presences/Item/SetManualLocation/SetManualLocationRequestBuilder.cs @@ -34,7 +34,7 @@ public SetManualLocationRequestBuilder(string rawUrl, IRequestAdapter requestAda { } /// - /// 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. + /// 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 @@ -59,7 +59,7 @@ public async Task PostAsync(global::Microsoft.Graph.Beta.Communications.Presence 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. + /// 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 diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Retry/RetryRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Retry/RetryRequestBuilder.cs index 3dd3e5f8f31..041a2a688de 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Retry/RetryRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Retry/RetryRequestBuilder.cs @@ -34,7 +34,8 @@ public RetryRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base { } /// - /// Invoke action retry + /// Retry the provisioning operation for Cloud PCs that used the current frontline shared policy and failed to apply the provisioning policy. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -56,7 +57,7 @@ public async Task PostAsync(Action> await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Invoke action retry + /// Retry the provisioning operation for Cloud PCs that used the current frontline shared policy and failed to apply the provisioning policy. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/Report/ReportRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/Report/ReportRequestBuilder.cs index 15d94d639da..f6febaeed20 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/Report/ReportRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/Report/ReportRequestBuilder.cs @@ -1,5 +1,6 @@ // #pragma warning disable CS0618 +using Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcClientAppUsageReport; using Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcRecommendationReports; using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; @@ -19,6 +20,11 @@ namespace Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Report [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ReportRequestBuilder : BaseRequestBuilder { + /// Provides operations to call the retrieveCloudPcClientAppUsageReport method. + public global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcClientAppUsageReport.RetrieveCloudPcClientAppUsageReportRequestBuilder RetrieveCloudPcClientAppUsageReport + { + get => new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcClientAppUsageReport.RetrieveCloudPcClientAppUsageReportRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the retrieveCloudPcRecommendationReports method. public global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcRecommendationReports.RetrieveCloudPcRecommendationReportsRequestBuilder RetrieveCloudPcRecommendationReports { diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/Report/RetrieveCloudPcClientAppUsageReport/RetrieveCloudPcClientAppUsageReportPostRequestBody.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/Report/RetrieveCloudPcClientAppUsageReport/RetrieveCloudPcClientAppUsageReportPostRequestBody.cs new file mode 100644 index 00000000000..1f307c5545e --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/Report/RetrieveCloudPcClientAppUsageReport/RetrieveCloudPcClientAppUsageReportPostRequestBody.cs @@ -0,0 +1,178 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcClientAppUsageReport +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RetrieveCloudPcClientAppUsageReportPostRequestBody : 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.Beta.Models.CloudPcClientAppUsageReportType? 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 RetrieveCloudPcClientAppUsageReportPostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcClientAppUsageReport.RetrieveCloudPcClientAppUsageReportPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcClientAppUsageReport.RetrieveCloudPcClientAppUsageReportPostRequestBody(); + } + /// + /// 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/RetrieveCloudPcClientAppUsageReport/RetrieveCloudPcClientAppUsageReportRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/Report/RetrieveCloudPcClientAppUsageReport/RetrieveCloudPcClientAppUsageReportRequestBuilder.cs new file mode 100644 index 00000000000..2fe2db93f76 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/Report/RetrieveCloudPcClientAppUsageReport/RetrieveCloudPcClientAppUsageReportRequestBuilder.cs @@ -0,0 +1,103 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcClientAppUsageReport +{ + /// + /// Provides operations to call the retrieveCloudPcClientAppUsageReport method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RetrieveCloudPcClientAppUsageReportRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RetrieveCloudPcClientAppUsageReportRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/report/retrieveCloudPcClientAppUsageReport", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RetrieveCloudPcClientAppUsageReportRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/report/retrieveCloudPcClientAppUsageReport", rawUrl) + { + } + /// + /// Retrieve related reports on Cloud PC usage, including the client application used by users to sign in to the Cloud PC device. The Remote Desktop client standalone installer (MSI) for Windows will reach end of support on March 27, 2026. Before that date, IT administrators should migrate users to Windows App to ensure continued access to remote resources through Azure Virtual Desktop, Windows 365, and Microsoft Dev Box. Learn more about preparing for the Remote Desktop Client for Windows end of support. This API enables IT administrators to check the migration status by confirming whether users are still using the legacy Remote Desktop client and identifying their last sign-in dates, thereby helping monitor progress and ensure compliance with migration requirements. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcClientAppUsageReport.RetrieveCloudPcClientAppUsageReportPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcClientAppUsageReport.RetrieveCloudPcClientAppUsageReportPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Retrieve related reports on Cloud PC usage, including the client application used by users to sign in to the Cloud PC device. The Remote Desktop client standalone installer (MSI) for Windows will reach end of support on March 27, 2026. Before that date, IT administrators should migrate users to Windows App to ensure continued access to remote resources through Azure Virtual Desktop, Windows 365, and Microsoft Dev Box. Learn more about preparing for the Remote Desktop Client for Windows end of support. This API enables IT administrators to check the migration status by confirming whether users are still using the legacy Remote Desktop client and identifying their last sign-in dates, thereby helping monitor progress and ensure compliance with migration requirements. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcClientAppUsageReport.RetrieveCloudPcClientAppUsageReportPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcClientAppUsageReport.RetrieveCloudPcClientAppUsageReportPostRequestBody 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.Beta.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcClientAppUsageReport.RetrieveCloudPcClientAppUsageReportRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcClientAppUsageReport.RetrieveCloudPcClientAppUsageReportRequestBuilder(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 RetrieveCloudPcClientAppUsageReportRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Recent/RecentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Recent/RecentRequestBuilder.cs index fc557b064e7..909cc4db10d 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.Beta.Drives.Item.Recent.RecentRequestBuilder WithUrl(string rawUrl) { return new global::Microsoft.Graph.Beta.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 ab7908b4b6b..8f6fd9e820b 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.Beta.Drives.Item.SharedWithMe.SharedWithMeRequestBuilder WithUrl(string rawUrl) { return new global::Microsoft.Graph.Beta.Drives.Item.SharedWithMe.SharedWithMeRequestBuilder(rawUrl, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/ChannelItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/ChannelItemRequestBuilder.cs index 8dd55e396cb..1ce3ac079dc 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/ChannelItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/ChannelItemRequestBuilder.cs @@ -12,6 +12,7 @@ using Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.ProvisionEmail; using Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.RemoveEmail; using Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.SharedWithTeams; +using Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.StartMigration; using Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Tabs; using Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Unarchive; using Microsoft.Graph.Beta.Models.ODataErrors; @@ -92,6 +93,11 @@ public partial class ChannelItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.SharedWithTeams.SharedWithTeamsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the startMigration method. + public global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.StartMigration.StartMigrationRequestBuilder StartMigration + { + get => new global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.StartMigration.StartMigrationRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the tabs property of the microsoft.graph.channel entity. public global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Tabs.TabsRequestBuilder Tabs { diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/StartMigration/StartMigrationPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/StartMigration/StartMigrationPostRequestBody.cs new file mode 100644 index 00000000000..bfcf2c10cd1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/StartMigration/StartMigrationPostRequestBody.cs @@ -0,0 +1,71 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.StartMigration +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class StartMigrationPostRequestBody : 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 conversationCreationDateTime property + public DateTimeOffset? ConversationCreationDateTime + { + get { return BackingStore?.Get("conversationCreationDateTime"); } + set { BackingStore?.Set("conversationCreationDateTime", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public StartMigrationPostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.StartMigration.StartMigrationPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.StartMigration.StartMigrationPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "conversationCreationDateTime", n => { ConversationCreationDateTime = n.GetDateTimeOffsetValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteDateTimeOffsetValue("conversationCreationDateTime", ConversationCreationDateTime); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/StartMigration/StartMigrationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/StartMigration/StartMigrationRequestBuilder.cs new file mode 100644 index 00000000000..9baae177461 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/StartMigration/StartMigrationRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.StartMigration +{ + /// + /// Provides operations to call the startMigration method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class StartMigrationRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public StartMigrationRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/startMigration", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public StartMigrationRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/startMigration", rawUrl) + { + } + /// + /// Start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. + /// 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.Beta.Groups.Item.Team.Channels.Item.StartMigration.StartMigrationPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.StartMigration.StartMigrationPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.StartMigration.StartMigrationPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.StartMigration.StartMigrationPostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.StartMigration.StartMigrationRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.StartMigration.StartMigrationRequestBuilder(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 StartMigrationRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/PrimaryChannelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/PrimaryChannelRequestBuilder.cs index 975c992154d..0832dc456a4 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/PrimaryChannelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/PrimaryChannelRequestBuilder.cs @@ -12,6 +12,7 @@ using Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.ProvisionEmail; using Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.RemoveEmail; using Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.SharedWithTeams; +using Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.StartMigration; using Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Tabs; using Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Unarchive; using Microsoft.Graph.Beta.Models.ODataErrors; @@ -92,6 +93,11 @@ public partial class PrimaryChannelRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.SharedWithTeams.SharedWithTeamsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the startMigration method. + public global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.StartMigration.StartMigrationRequestBuilder StartMigration + { + get => new global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.StartMigration.StartMigrationRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the tabs property of the microsoft.graph.channel entity. public global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Tabs.TabsRequestBuilder Tabs { diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/StartMigration/StartMigrationPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/StartMigration/StartMigrationPostRequestBody.cs new file mode 100644 index 00000000000..7a57db372fc --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/StartMigration/StartMigrationPostRequestBody.cs @@ -0,0 +1,71 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.StartMigration +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class StartMigrationPostRequestBody : 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 conversationCreationDateTime property + public DateTimeOffset? ConversationCreationDateTime + { + get { return BackingStore?.Get("conversationCreationDateTime"); } + set { BackingStore?.Set("conversationCreationDateTime", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public StartMigrationPostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.StartMigration.StartMigrationPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.StartMigration.StartMigrationPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "conversationCreationDateTime", n => { ConversationCreationDateTime = n.GetDateTimeOffsetValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteDateTimeOffsetValue("conversationCreationDateTime", ConversationCreationDateTime); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/StartMigration/StartMigrationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/StartMigration/StartMigrationRequestBuilder.cs new file mode 100644 index 00000000000..1f3db781a5c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/StartMigration/StartMigrationRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.StartMigration +{ + /// + /// Provides operations to call the startMigration method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class StartMigrationRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public StartMigrationRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/startMigration", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public StartMigrationRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/startMigration", rawUrl) + { + } + /// + /// Start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. + /// 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.Beta.Groups.Item.Team.PrimaryChannel.StartMigration.StartMigrationPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.StartMigration.StartMigrationPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.StartMigration.StartMigrationPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.StartMigration.StartMigrationPostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.StartMigration.StartMigrationRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.StartMigration.StartMigrationRequestBuilder(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 StartMigrationRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/AdhocCalls/AdhocCallsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/AdhocCalls/AdhocCallsRequestBuilder.cs index ec397aafddd..41a0f3f009b 100644 --- a/src/Microsoft.Graph/Generated/Me/AdhocCalls/AdhocCallsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/AdhocCalls/AdhocCallsRequestBuilder.cs @@ -1,6 +1,8 @@ // #pragma warning disable CS0618 using Microsoft.Graph.Beta.Me.AdhocCalls.Count; +using Microsoft.Graph.Beta.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime; +using Microsoft.Graph.Beta.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime; using Microsoft.Graph.Beta.Me.AdhocCalls.Item; using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; @@ -25,6 +27,16 @@ public partial class AdhocCallsRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Me.AdhocCalls.Count.CountRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the getAllRecordings method. + public global::Microsoft.Graph.Beta.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime + { + get => new global::Microsoft.Graph.Beta.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the getAllTranscripts method. + public global::Microsoft.Graph.Beta.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime + { + get => new global::Microsoft.Graph.Beta.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the adhocCalls property of the microsoft.graph.user entity. /// The unique identifier of adhocCall /// A diff --git a/src/Microsoft.Graph/Generated/Me/AdhocCalls/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse.cs b/src/Microsoft.Graph/Generated/Me/AdhocCalls/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse.cs new file mode 100644 index 00000000000..c91f3fb4dcc --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/AdhocCalls/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.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/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/AdhocCalls/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.cs new file mode 100644 index 00000000000..6f6f7225379 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/AdhocCalls/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.cs @@ -0,0 +1,203 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime +{ + /// + /// Provides operations to call the getAllRecordings method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/adhocCalls/getAllRecordings(userId='@userId',startDateTime=@startDateTime,endDateTime=@endDateTime){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top,endDateTime*,startDateTime*,userId*}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/adhocCalls/getAllRecordings(userId='@userId',startDateTime=@startDateTime,endDateTime=@endDateTime){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top,endDateTime*,startDateTime*,userId*}", rawUrl) + { + } + /// + /// Invoke function getAllRecordings + /// + /// 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 GetAsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function getAllRecordings + /// + /// 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 GetAsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function getAllRecordings + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Invoke function getAllRecordings + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Usage: endDateTime=@endDateTime + [QueryParameter("endDateTime")] + public DateTimeOffset? EndDateTime { 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; } + /// Usage: startDateTime=@startDateTime + [QueryParameter("startDateTime")] + public DateTimeOffset? StartDateTime { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + /// Usage: userId='@userId' +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("userId")] + public string? UserId { get; set; } +#nullable restore +#else + [QueryParameter("userId")] + public string UserId { 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 GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/AdhocCalls/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse.cs b/src/Microsoft.Graph/Generated/Me/AdhocCalls/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse.cs new file mode 100644 index 00000000000..1b32ed6dd19 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/AdhocCalls/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime +{ + [Obsolete("This class is obsolete. Use GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse : global::Microsoft.Graph.Beta.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/AdhocCalls/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse.cs b/src/Microsoft.Graph/Generated/Me/AdhocCalls/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse.cs new file mode 100644 index 00000000000..bb473548019 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/AdhocCalls/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.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/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/AdhocCalls/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.cs new file mode 100644 index 00000000000..538037d9de9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/AdhocCalls/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.cs @@ -0,0 +1,203 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime +{ + /// + /// Provides operations to call the getAllTranscripts method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/adhocCalls/getAllTranscripts(userId='@userId',startDateTime=@startDateTime,endDateTime=@endDateTime){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top,endDateTime*,startDateTime*,userId*}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/adhocCalls/getAllTranscripts(userId='@userId',startDateTime=@startDateTime,endDateTime=@endDateTime){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top,endDateTime*,startDateTime*,userId*}", rawUrl) + { + } + /// + /// Invoke function getAllTranscripts + /// + /// 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 GetAsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function getAllTranscripts + /// + /// 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 GetAsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function getAllTranscripts + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Invoke function getAllTranscripts + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Usage: endDateTime=@endDateTime + [QueryParameter("endDateTime")] + public DateTimeOffset? EndDateTime { 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; } + /// Usage: startDateTime=@startDateTime + [QueryParameter("startDateTime")] + public DateTimeOffset? StartDateTime { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + /// Usage: userId='@userId' +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("userId")] + public string? UserId { get; set; } +#nullable restore +#else + [QueryParameter("userId")] + public string UserId { 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 GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/AdhocCalls/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse.cs b/src/Microsoft.Graph/Generated/Me/AdhocCalls/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse.cs new file mode 100644 index 00000000000..7e091bfe7de --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/AdhocCalls/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime +{ + [Obsolete("This class is obsolete. Use GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse : global::Microsoft.Graph.Beta.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/ChatItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/ChatItemRequestBuilder.cs index 0073f42bd5b..93c3050649e 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/ChatItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/ChatItemRequestBuilder.cs @@ -13,6 +13,7 @@ using Microsoft.Graph.Beta.Me.Chats.Item.PinnedMessages; using Microsoft.Graph.Beta.Me.Chats.Item.RemoveAllAccessForUser; using Microsoft.Graph.Beta.Me.Chats.Item.SendActivityNotification; +using Microsoft.Graph.Beta.Me.Chats.Item.StartMigration; using Microsoft.Graph.Beta.Me.Chats.Item.Tabs; using Microsoft.Graph.Beta.Me.Chats.Item.UnhideForUser; using Microsoft.Graph.Beta.Models.ODataErrors; @@ -98,6 +99,11 @@ public partial class ChatItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Me.Chats.Item.SendActivityNotification.SendActivityNotificationRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the startMigration method. + public global::Microsoft.Graph.Beta.Me.Chats.Item.StartMigration.StartMigrationRequestBuilder StartMigration + { + get => new global::Microsoft.Graph.Beta.Me.Chats.Item.StartMigration.StartMigrationRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the tabs property of the microsoft.graph.chat entity. public global::Microsoft.Graph.Beta.Me.Chats.Item.Tabs.TabsRequestBuilder Tabs { diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/StartMigration/StartMigrationPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/StartMigration/StartMigrationPostRequestBody.cs new file mode 100644 index 00000000000..a37d4548383 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/StartMigration/StartMigrationPostRequestBody.cs @@ -0,0 +1,71 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Me.Chats.Item.StartMigration +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class StartMigrationPostRequestBody : 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 conversationCreationDateTime property + public DateTimeOffset? ConversationCreationDateTime + { + get { return BackingStore?.Get("conversationCreationDateTime"); } + set { BackingStore?.Set("conversationCreationDateTime", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public StartMigrationPostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Me.Chats.Item.StartMigration.StartMigrationPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Me.Chats.Item.StartMigration.StartMigrationPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "conversationCreationDateTime", n => { ConversationCreationDateTime = n.GetDateTimeOffsetValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteDateTimeOffsetValue("conversationCreationDateTime", ConversationCreationDateTime); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/StartMigration/StartMigrationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/StartMigration/StartMigrationRequestBuilder.cs new file mode 100644 index 00000000000..d50ab0fff5d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/StartMigration/StartMigrationRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.Chats.Item.StartMigration +{ + /// + /// Provides operations to call the startMigration method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class StartMigrationRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public StartMigrationRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/startMigration", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public StartMigrationRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/startMigration", rawUrl) + { + } + /// + /// Start the migration of external messages by enabling migration mode in an existing chat. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. You can define a minimum timestamp for content migration that enables the import of messages from the past. The specified timestamp must be earlier than the current createdDateTime of the chat. Imported content is always limited by the createdDateTime of the target thread. An optional createdDateTime property in the payload allows you to update this value, but with strict rules: This API supportes the following channel types. + /// 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.Beta.Me.Chats.Item.StartMigration.StartMigrationPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Me.Chats.Item.StartMigration.StartMigrationPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Start the migration of external messages by enabling migration mode in an existing chat. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. You can define a minimum timestamp for content migration that enables the import of messages from the past. The specified timestamp must be earlier than the current createdDateTime of the chat. Imported content is always limited by the createdDateTime of the target thread. An optional createdDateTime property in the payload allows you to update this value, but with strict rules: This API supportes the following channel types. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Me.Chats.Item.StartMigration.StartMigrationPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Me.Chats.Item.StartMigration.StartMigrationPostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.Chats.Item.StartMigration.StartMigrationRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.Chats.Item.StartMigration.StartMigrationRequestBuilder(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 StartMigrationRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#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 index 579ee7ead24..3f3b643d2d2 100644 --- a/src/Microsoft.Graph/Generated/Me/Presence/SetAutomaticLocation/SetAutomaticLocationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Presence/SetAutomaticLocation/SetAutomaticLocationRequestBuilder.cs @@ -34,7 +34,7 @@ public SetAutomaticLocationRequestBuilder(string rawUrl, IRequestAdapter request { } /// - /// 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/location agents, or OEM docking apps). It doesn't clear manual or scheduled signals. + /// 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 @@ -59,7 +59,7 @@ public async Task PostAsync(global::Microsoft.Graph.Beta.Me.Presence.SetAutomati 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/location agents, or OEM docking apps). It doesn't clear manual or scheduled signals. + /// 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 diff --git a/src/Microsoft.Graph/Generated/Me/Presence/SetManualLocation/SetManualLocationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Presence/SetManualLocation/SetManualLocationRequestBuilder.cs index e2c9844e147..a584380e9a6 100644 --- a/src/Microsoft.Graph/Generated/Me/Presence/SetManualLocation/SetManualLocationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Presence/SetManualLocation/SetManualLocationRequestBuilder.cs @@ -34,7 +34,7 @@ public SetManualLocationRequestBuilder(string rawUrl, IRequestAdapter requestAda { } /// - /// 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. + /// 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 @@ -59,7 +59,7 @@ public async Task PostAsync(global::Microsoft.Graph.Beta.Me.Presence.SetManualLo 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. + /// 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 diff --git a/src/Microsoft.Graph/Generated/Me/Settings/SettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Settings/SettingsRequestBuilder.cs index ce75eaf22e7..cf6a188d2b8 100644 --- a/src/Microsoft.Graph/Generated/Me/Settings/SettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Settings/SettingsRequestBuilder.cs @@ -7,6 +7,7 @@ using Microsoft.Graph.Beta.Me.Settings.ShiftPreferences; using Microsoft.Graph.Beta.Me.Settings.Storage; using Microsoft.Graph.Beta.Me.Settings.Windows; +using Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations; using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; using Microsoft.Kiota.Abstractions.Extensions; @@ -60,6 +61,11 @@ public partial class SettingsRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Me.Settings.Windows.WindowsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the workHoursAndLocations property of the microsoft.graph.userSettings entity. + public global::Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.WorkHoursAndLocationsRequestBuilder WorkHoursAndLocations + { + get => new global::Microsoft.Graph.Beta.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..3b41ab35062 --- /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.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.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..25b15172e82 --- /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.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.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.Beta.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.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.Beta.Models.WorkPlanOccurrence body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PutAsync(global::Microsoft.Graph.Beta.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.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.Beta.Models.WorkPlanOccurrence body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPutRequestInformation(global::Microsoft.Graph.Beta.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.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.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..cdd398d2ff3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Settings/WorkHoursAndLocations/Occurrences/OccurrencesRequestBuilder.cs @@ -0,0 +1,245 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.Count; +using Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.Item; +using Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.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.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the setCurrentLocation method. + public global::Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.SetCurrentLocationRequestBuilder SetCurrentLocation + { + get => new global::Microsoft.Graph.Beta.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.Beta.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.Beta.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.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.Beta.Models.WorkPlanOccurrence body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.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.Beta.Models.WorkPlanOccurrence body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.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.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.OccurrencesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.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..d940ac0449c --- /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.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Me.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.Beta.Models.WorkLocationUpdateScope? UpdateScope + { + get { return BackingStore?.Get("updateScope"); } + set { BackingStore?.Set("updateScope", value); } + } + /// The workLocationType property + public global::Microsoft.Graph.Beta.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.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.SetCurrentLocationPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.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..314ae92e70a --- /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.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.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.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.SetCurrentLocationPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.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.Beta.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.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.SetCurrentLocationPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.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.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.SetCurrentLocationRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.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..c10274107eb --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Settings/WorkHoursAndLocations/OccurrencesViewWithStartDateTimeWithEndDateTime/OccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class OccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.OccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.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.Beta.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..e4625e68d58 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Settings/WorkHoursAndLocations/OccurrencesViewWithStartDateTimeWithEndDateTime/OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.cs @@ -0,0 +1,193 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.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.Beta.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.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..7a72958287f --- /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.Beta.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.Beta.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.Beta.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.OccurrencesViewWithStartDateTimeWithEndDateTimeResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.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..cdf289a0a0a --- /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.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Recurrences.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.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..c5845c4ce3a --- /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.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.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.Beta.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.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.Beta.Models.WorkPlanRecurrence body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PutAsync(global::Microsoft.Graph.Beta.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.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.Beta.Models.WorkPlanRecurrence body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPutRequestInformation(global::Microsoft.Graph.Beta.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.Beta.Me.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.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..5130c2d3acc --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Settings/WorkHoursAndLocations/Recurrences/RecurrencesRequestBuilder.cs @@ -0,0 +1,240 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Recurrences.Count; +using Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Recurrences.Item; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.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.Beta.Me.Settings.WorkHoursAndLocations.Recurrences.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.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.Beta.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.Beta.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.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.Beta.Models.WorkPlanRecurrence body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.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.Beta.Models.WorkPlanRecurrence body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.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.Beta.Me.Settings.WorkHoursAndLocations.Recurrences.RecurrencesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.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..11b65e63e11 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Settings/WorkHoursAndLocations/WorkHoursAndLocationsRequestBuilder.cs @@ -0,0 +1,207 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Occurrences; +using Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime; +using Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Recurrences; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.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.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.OccurrencesRequestBuilder Occurrences + { + get => new global::Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.OccurrencesRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the recurrences property of the microsoft.graph.workHoursAndLocationsSetting entity. + public global::Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Recurrences.RecurrencesRequestBuilder Recurrences + { + get => new global::Microsoft.Graph.Beta.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.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.Beta.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.Beta.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.Beta.Models.WorkHoursAndLocationsSetting body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.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.Beta.Models.WorkHoursAndLocationsSetting body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.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.Beta.Me.Settings.WorkHoursAndLocations.WorkHoursAndLocationsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.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/AgentIdentityBlueprint.cs b/src/Microsoft.Graph/Generated/Models/AgentIdentityBlueprint.cs index a2e9668a7b0..b706f70677f 100644 --- a/src/Microsoft.Graph/Generated/Models/AgentIdentityBlueprint.cs +++ b/src/Microsoft.Graph/Generated/Models/AgentIdentityBlueprint.cs @@ -12,6 +12,22 @@ namespace Microsoft.Graph.Beta.Models public partial class AgentIdentityBlueprint : global::Microsoft.Graph.Beta.Models.Application, IParsable #pragma warning restore CS1591 { + /// Defines scopes of a resource application that may be automatically granted to agent identities without additional consent. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? InheritablePermissions + { + get { return BackingStore?.Get?>("inheritablePermissions"); } + set { BackingStore?.Set("inheritablePermissions", value); } + } +#nullable restore +#else + public List InheritablePermissions + { + get { return BackingStore?.Get>("inheritablePermissions"); } + set { BackingStore?.Set("inheritablePermissions", value); } + } +#endif /// The sponsors for this agent identity blueprint. Sponsors are users or groups who can authorize and manage the lifecycle of agent identity instances. Required during the create operation. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -53,6 +69,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { + { "inheritablePermissions", n => { InheritablePermissions = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.InheritablePermission.CreateFromDiscriminatorValue)?.AsList(); } }, { "sponsors", n => { Sponsors = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.DirectoryObject.CreateFromDiscriminatorValue)?.AsList(); } }, }; } @@ -64,6 +81,7 @@ public override void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); + writer.WriteCollectionOfObjectValues("inheritablePermissions", InheritablePermissions); writer.WriteCollectionOfObjectValues("sponsors", Sponsors); } } diff --git a/src/Microsoft.Graph/Generated/Models/AllAllowedScopes.cs b/src/Microsoft.Graph/Generated/Models/AllAllowedScopes.cs new file mode 100644 index 00000000000..797711d6508 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/AllAllowedScopes.cs @@ -0,0 +1,53 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AllAllowedScopes : global::Microsoft.Graph.Beta.Models.InheritableScopes, IParsable + #pragma warning restore CS1591 + { + /// + /// Instantiates a new and sets the default values. + /// + public AllAllowedScopes() : base() + { + OdataType = "#microsoft.graph.allAllowedScopes"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.AllAllowedScopes CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.AllAllowedScopes(); + } + /// + /// 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/AllowedTenantsAudience.cs b/src/Microsoft.Graph/Generated/Models/AllowedTenantsAudience.cs new file mode 100644 index 00000000000..a7a2e72d570 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/AllowedTenantsAudience.cs @@ -0,0 +1,79 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AllowedTenantsAudience : global::Microsoft.Graph.Beta.Models.SignInAudienceRestrictionsBase, IParsable + #pragma warning restore CS1591 + { + /// The list of Entra tenant IDs where the application can be used as either a client application or a resource application (API). Must contain at least one value. The tenant ID where the application is registered may be included, but is not required (see isHomeTenantAllowed). Required. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? AllowedTenantIds + { + get { return BackingStore?.Get?>("allowedTenantIds"); } + set { BackingStore?.Set("allowedTenantIds", value); } + } +#nullable restore +#else + public List AllowedTenantIds + { + get { return BackingStore?.Get>("allowedTenantIds"); } + set { BackingStore?.Set("allowedTenantIds", value); } + } +#endif + /// Whether the tenant where the application is registered is allowed. Currently, only true is supported. Default is true. + public bool? IsHomeTenantAllowed + { + get { return BackingStore?.Get("isHomeTenantAllowed"); } + set { BackingStore?.Set("isHomeTenantAllowed", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public AllowedTenantsAudience() : base() + { + OdataType = "#microsoft.graph.allowedTenantsAudience"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.AllowedTenantsAudience CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.AllowedTenantsAudience(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "allowedTenantIds", n => { AllowedTenantIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "isHomeTenantAllowed", n => { IsHomeTenantAllowed = n.GetBoolValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfPrimitiveValues("allowedTenantIds", AllowedTenantIds); + writer.WriteBoolValue("isHomeTenantAllowed", IsHomeTenantAllowed); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Application.cs b/src/Microsoft.Graph/Generated/Models/Application.cs index 6ac313a187a..a7915da7381 100644 --- a/src/Microsoft.Graph/Generated/Models/Application.cs +++ b/src/Microsoft.Graph/Generated/Models/Application.cs @@ -328,6 +328,12 @@ public bool? IsDeviceOnlyAuthSupported get { return BackingStore?.Get("isDeviceOnlyAuthSupported"); } set { BackingStore?.Set("isDeviceOnlyAuthSupported", value); } } + /// Specifies whether the service principal of the app in a tenant or across tenants for multi-tenant apps can obtain new access tokens or access protected resources. When set to true, existing tokens remain valid until they expire based on their configured lifetimes, and the app stays visible in the Enterprise apps list but users cannot sign in.true if the application is deactivated (disabled); otherwise false. + public bool? IsDisabled + { + get { return BackingStore?.Get("isDisabled"); } + set { BackingStore?.Set("isDisabled", value); } + } /// Specifies the fallback application type as public client, such as an installed application running on a mobile device. The default value is false, which means the fallback application type is confidential client such as a web app. There are certain scenarios where Microsoft Entra ID can't determine the client application type. For example, the ROPC flow where the application is configured without specifying a redirect URI. In those cases Microsoft Entra ID interprets the application type based on the value of this property. public bool? IsFallbackPublicClient { @@ -595,6 +601,22 @@ public string SignInAudience get { return BackingStore?.Get("signInAudience"); } set { BackingStore?.Set("signInAudience", value); } } +#endif + /// The signInAudienceRestrictions property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.SignInAudienceRestrictionsBase? SignInAudienceRestrictions + { + get { return BackingStore?.Get("signInAudienceRestrictions"); } + set { BackingStore?.Set("signInAudienceRestrictions", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.SignInAudienceRestrictionsBase SignInAudienceRestrictions + { + get { return BackingStore?.Get("signInAudienceRestrictions"); } + set { BackingStore?.Set("signInAudienceRestrictions", value); } + } #endif /// Specifies settings for a single-page application, including sign out URLs and redirect URIs for authorization codes and access tokens. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -797,6 +819,7 @@ public override IDictionary> GetFieldDeserializers() { "identifierUris", n => { IdentifierUris = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, { "info", n => { Info = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.InformationalUrl.CreateFromDiscriminatorValue); } }, { "isDeviceOnlyAuthSupported", n => { IsDeviceOnlyAuthSupported = n.GetBoolValue(); } }, + { "isDisabled", n => { IsDisabled = n.GetBoolValue(); } }, { "isFallbackPublicClient", n => { IsFallbackPublicClient = n.GetBoolValue(); } }, { "keyCredentials", n => { KeyCredentials = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.KeyCredential.CreateFromDiscriminatorValue)?.AsList(); } }, { "logo", n => { Logo = n.GetByteArrayValue(); } }, @@ -815,6 +838,7 @@ public override IDictionary> GetFieldDeserializers() { "serviceManagementReference", n => { ServiceManagementReference = n.GetStringValue(); } }, { "servicePrincipalLockConfiguration", n => { ServicePrincipalLockConfiguration = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.ServicePrincipalLockConfiguration.CreateFromDiscriminatorValue); } }, { "signInAudience", n => { SignInAudience = n.GetStringValue(); } }, + { "signInAudienceRestrictions", n => { SignInAudienceRestrictions = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.SignInAudienceRestrictionsBase.CreateFromDiscriminatorValue); } }, { "spa", n => { Spa = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.SpaApplication.CreateFromDiscriminatorValue); } }, { "synchronization", n => { Synchronization = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.Synchronization.CreateFromDiscriminatorValue); } }, { "tags", n => { Tags = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, @@ -856,6 +880,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteCollectionOfPrimitiveValues("identifierUris", IdentifierUris); writer.WriteObjectValue("info", Info); writer.WriteBoolValue("isDeviceOnlyAuthSupported", IsDeviceOnlyAuthSupported); + writer.WriteBoolValue("isDisabled", IsDisabled); writer.WriteBoolValue("isFallbackPublicClient", IsFallbackPublicClient); writer.WriteCollectionOfObjectValues("keyCredentials", KeyCredentials); writer.WriteByteArrayValue("logo", Logo); @@ -874,6 +899,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteStringValue("serviceManagementReference", ServiceManagementReference); writer.WriteObjectValue("servicePrincipalLockConfiguration", ServicePrincipalLockConfiguration); writer.WriteStringValue("signInAudience", SignInAudience); + writer.WriteObjectValue("signInAudienceRestrictions", SignInAudienceRestrictions); writer.WriteObjectValue("spa", Spa); writer.WriteObjectValue("synchronization", Synchronization); writer.WriteCollectionOfPrimitiveValues("tags", Tags); diff --git a/src/Microsoft.Graph/Generated/Models/AudienceRestriction.cs b/src/Microsoft.Graph/Generated/Models/AudienceRestriction.cs index bbdea26d2d8..f8ecbe57bd2 100644 --- a/src/Microsoft.Graph/Generated/Models/AudienceRestriction.cs +++ b/src/Microsoft.Graph/Generated/Models/AudienceRestriction.cs @@ -87,7 +87,12 @@ public AudienceRestriction() public static global::Microsoft.Graph.Beta.Models.AudienceRestriction CreateFromDiscriminatorValue(IParseNode parseNode) { if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Beta.Models.AudienceRestriction(); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.azureAdMultipleOrgsAudienceRestriction" => new global::Microsoft.Graph.Beta.Models.AzureAdMultipleOrgsAudienceRestriction(), + _ => new global::Microsoft.Graph.Beta.Models.AudienceRestriction(), + }; } /// /// The deserialization information for the current model diff --git a/src/Microsoft.Graph/Generated/Models/AudiencesConfiguration.cs b/src/Microsoft.Graph/Generated/Models/AudiencesConfiguration.cs index 6045cc88d44..92a3eb372ce 100644 --- a/src/Microsoft.Graph/Generated/Models/AudiencesConfiguration.cs +++ b/src/Microsoft.Graph/Generated/Models/AudiencesConfiguration.cs @@ -22,16 +22,16 @@ public IDictionary AdditionalData /// Setting to allow or disallow creation of apps with multitenant signInAudience. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public global::Microsoft.Graph.Beta.Models.AudienceRestriction? AzureAdMultipleOrgs + public global::Microsoft.Graph.Beta.Models.AzureAdMultipleOrgsAudienceRestriction? AzureAdMultipleOrgs { - get { return BackingStore?.Get("azureAdMultipleOrgs"); } + get { return BackingStore?.Get("azureAdMultipleOrgs"); } set { BackingStore?.Set("azureAdMultipleOrgs", value); } } #nullable restore #else - public global::Microsoft.Graph.Beta.Models.AudienceRestriction AzureAdMultipleOrgs + public global::Microsoft.Graph.Beta.Models.AzureAdMultipleOrgsAudienceRestriction AzureAdMultipleOrgs { - get { return BackingStore?.Get("azureAdMultipleOrgs"); } + get { return BackingStore?.Get("azureAdMultipleOrgs"); } set { BackingStore?.Set("azureAdMultipleOrgs", value); } } #endif @@ -95,7 +95,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - { "azureAdMultipleOrgs", n => { AzureAdMultipleOrgs = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.AudienceRestriction.CreateFromDiscriminatorValue); } }, + { "azureAdMultipleOrgs", n => { AzureAdMultipleOrgs = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.AzureAdMultipleOrgsAudienceRestriction.CreateFromDiscriminatorValue); } }, { "@odata.type", n => { OdataType = n.GetStringValue(); } }, { "personalMicrosoftAccount", n => { PersonalMicrosoftAccount = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.AudienceRestriction.CreateFromDiscriminatorValue); } }, }; @@ -107,7 +107,7 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("azureAdMultipleOrgs", AzureAdMultipleOrgs); + writer.WriteObjectValue("azureAdMultipleOrgs", AzureAdMultipleOrgs); writer.WriteStringValue("@odata.type", OdataType); writer.WriteObjectValue("personalMicrosoftAccount", PersonalMicrosoftAccount); writer.WriteAdditionalData(AdditionalData); diff --git a/src/Microsoft.Graph/Generated/Models/AzureAdMultipleOrgsAudienceRestriction.cs b/src/Microsoft.Graph/Generated/Models/AzureAdMultipleOrgsAudienceRestriction.cs new file mode 100644 index 00000000000..4641ed848e6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/AzureAdMultipleOrgsAudienceRestriction.cs @@ -0,0 +1,53 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AzureAdMultipleOrgsAudienceRestriction : global::Microsoft.Graph.Beta.Models.AudienceRestriction, IParsable + #pragma warning restore CS1591 + { + /// + /// Instantiates a new and sets the default values. + /// + public AzureAdMultipleOrgsAudienceRestriction() : base() + { + OdataType = "#microsoft.graph.azureAdMultipleOrgsAudienceRestriction"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.AzureAdMultipleOrgsAudienceRestriction CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.AzureAdMultipleOrgsAudienceRestriction(); + } + /// + /// 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/Channel.cs b/src/Microsoft.Graph/Generated/Models/Channel.cs index 6b8c2070ec2..f4ab450f7ba 100644 --- a/src/Microsoft.Graph/Generated/Models/Channel.cs +++ b/src/Microsoft.Graph/Generated/Models/Channel.cs @@ -170,6 +170,12 @@ public bool? IsFavoriteByDefault set { BackingStore?.Set("messages", value); } } #endif + /// Indicates whether a channel is in migration mode. This value is null for channels that never entered migration mode. The possible values are: inProgress, completed, unknownFutureValue. + public global::Microsoft.Graph.Beta.Models.MigrationMode? MigrationMode + { + get { return BackingStore?.Get("migrationMode"); } + set { BackingStore?.Set("migrationMode", value); } + } /// Settings to configure channel moderation to control who can start new posts and reply to posts in that channel. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -186,6 +192,12 @@ public bool? IsFavoriteByDefault set { BackingStore?.Set("moderationSettings", value); } } #endif + /// Timestamp of the original creation time for the channel. The value is null if the channel never entered migration mode. + public DateTimeOffset? OriginalCreatedDateTime + { + get { return BackingStore?.Get("originalCreatedDateTime"); } + set { BackingStore?.Set("originalCreatedDateTime", value); } + } /// Selective Planner services available to this channel. Currently, only shared channels are supported. Read-only. Nullable. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -313,7 +325,9 @@ public override IDictionary> GetFieldDeserializers() { "members", n => { Members = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ConversationMember.CreateFromDiscriminatorValue)?.AsList(); } }, { "membershipType", n => { MembershipType = n.GetEnumValue(); } }, { "messages", n => { Messages = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ChatMessage.CreateFromDiscriminatorValue)?.AsList(); } }, + { "migrationMode", n => { MigrationMode = n.GetEnumValue(); } }, { "moderationSettings", n => { ModerationSettings = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.ChannelModerationSettings.CreateFromDiscriminatorValue); } }, + { "originalCreatedDateTime", n => { OriginalCreatedDateTime = n.GetDateTimeOffsetValue(); } }, { "planner", n => { Planner = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.TeamsChannelPlanner.CreateFromDiscriminatorValue); } }, { "sharedWithTeams", n => { SharedWithTeams = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.SharedWithChannelTeamInfo.CreateFromDiscriminatorValue)?.AsList(); } }, { "summary", n => { Summary = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.ChannelSummary.CreateFromDiscriminatorValue); } }, @@ -343,7 +357,9 @@ public override void Serialize(ISerializationWriter writer) writer.WriteCollectionOfObjectValues("members", Members); writer.WriteEnumValue("membershipType", MembershipType); writer.WriteCollectionOfObjectValues("messages", Messages); + writer.WriteEnumValue("migrationMode", MigrationMode); writer.WriteObjectValue("moderationSettings", ModerationSettings); + writer.WriteDateTimeOffsetValue("originalCreatedDateTime", OriginalCreatedDateTime); writer.WriteObjectValue("planner", Planner); writer.WriteCollectionOfObjectValues("sharedWithTeams", SharedWithTeams); writer.WriteObjectValue("summary", Summary); diff --git a/src/Microsoft.Graph/Generated/Models/Chat.cs b/src/Microsoft.Graph/Generated/Models/Chat.cs index 50631f83520..c3e9dd2d4d1 100644 --- a/src/Microsoft.Graph/Generated/Models/Chat.cs +++ b/src/Microsoft.Graph/Generated/Models/Chat.cs @@ -116,6 +116,12 @@ public DateTimeOffset? LastUpdatedDateTime set { BackingStore?.Set("messages", value); } } #endif + /// Indicates whether a chat is in migration mode. This value is null for chats that never entered migration mode. The possible values are: inProgress, completed, unknownFutureValue. + public global::Microsoft.Graph.Beta.Models.MigrationMode? MigrationMode + { + get { return BackingStore?.Get("migrationMode"); } + set { BackingStore?.Set("migrationMode", value); } + } /// Represents details about an online meeting. If the chat isn't associated with an online meeting, the property is empty. Read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -148,6 +154,12 @@ public DateTimeOffset? LastUpdatedDateTime set { BackingStore?.Set("operations", value); } } #endif + /// Timestamp of the original creation time for the chat. The value is null if the chat never entered migration mode. + public DateTimeOffset? OriginalCreatedDateTime + { + get { return BackingStore?.Get("originalCreatedDateTime"); } + set { BackingStore?.Set("originalCreatedDateTime", value); } + } /// A collection of permissions granted to apps for the chat. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -287,8 +299,10 @@ public override IDictionary> GetFieldDeserializers() { "lastUpdatedDateTime", n => { LastUpdatedDateTime = n.GetDateTimeOffsetValue(); } }, { "members", n => { Members = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ConversationMember.CreateFromDiscriminatorValue)?.AsList(); } }, { "messages", n => { Messages = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ChatMessage.CreateFromDiscriminatorValue)?.AsList(); } }, + { "migrationMode", n => { MigrationMode = n.GetEnumValue(); } }, { "onlineMeetingInfo", n => { OnlineMeetingInfo = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.TeamworkOnlineMeetingInfo.CreateFromDiscriminatorValue); } }, { "operations", n => { Operations = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.TeamsAsyncOperation.CreateFromDiscriminatorValue)?.AsList(); } }, + { "originalCreatedDateTime", n => { OriginalCreatedDateTime = n.GetDateTimeOffsetValue(); } }, { "permissionGrants", n => { PermissionGrants = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ResourceSpecificPermissionGrant.CreateFromDiscriminatorValue)?.AsList(); } }, { "pinnedMessages", n => { PinnedMessages = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.PinnedChatMessageInfo.CreateFromDiscriminatorValue)?.AsList(); } }, { "tabs", n => { Tabs = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.TeamsTab.CreateFromDiscriminatorValue)?.AsList(); } }, @@ -315,8 +329,10 @@ public override void Serialize(ISerializationWriter writer) writer.WriteDateTimeOffsetValue("lastUpdatedDateTime", LastUpdatedDateTime); writer.WriteCollectionOfObjectValues("members", Members); writer.WriteCollectionOfObjectValues("messages", Messages); + writer.WriteEnumValue("migrationMode", MigrationMode); writer.WriteObjectValue("onlineMeetingInfo", OnlineMeetingInfo); writer.WriteCollectionOfObjectValues("operations", Operations); + writer.WriteDateTimeOffsetValue("originalCreatedDateTime", OriginalCreatedDateTime); writer.WriteCollectionOfObjectValues("permissionGrants", PermissionGrants); writer.WriteCollectionOfObjectValues("pinnedMessages", PinnedMessages); writer.WriteCollectionOfObjectValues("tabs", Tabs); diff --git a/src/Microsoft.Graph/Generated/Models/CloudPcAutopilotConfiguration.cs b/src/Microsoft.Graph/Generated/Models/CloudPcAutopilotConfiguration.cs index 7cd8ce869c4..4325d83d56d 100644 --- a/src/Microsoft.Graph/Generated/Models/CloudPcAutopilotConfiguration.cs +++ b/src/Microsoft.Graph/Generated/Models/CloudPcAutopilotConfiguration.cs @@ -19,7 +19,7 @@ public IDictionary AdditionalData get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } set { BackingStore.Set("AdditionalData", value); } } - /// Indicates the number of minutes allowed for the Autopilot application to apply the device preparation profile (DPP) configurations to the device. If the Autopilot application doesn't finish within the specified time (applicationTimeoutInMinutes), the application error is added to the statusDetail property of the cloudPC object. The supported value is an integer between 10 and 360. Required. + /// Indicates the number of minutes allowed for the Autopilot application to apply the device preparation profile (DPP) configurations to the device. If the Autopilot application doesn't finish within the specified time (applicationTimeoutInMinutes), the application error is added to the statusDetail property of the cloudPC object. The supported value is an integer between 30 and 360. Required. public int? ApplicationTimeoutInMinutes { get { return BackingStore?.Get("applicationTimeoutInMinutes"); } diff --git a/src/Microsoft.Graph/Generated/Models/CloudPcClientAppUsageReportType.cs b/src/Microsoft.Graph/Generated/Models/CloudPcClientAppUsageReportType.cs new file mode 100644 index 00000000000..cada3aa9b70 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CloudPcClientAppUsageReportType.cs @@ -0,0 +1,20 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum CloudPcClientAppUsageReportType + #pragma warning restore CS1591 + { + [EnumMember(Value = "microsoftRemoteDesktopClientUsageReport")] + #pragma warning disable CS1591 + MicrosoftRemoteDesktopClientUsageReport, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/CloudPcDeviceImage.cs b/src/Microsoft.Graph/Generated/Models/CloudPcDeviceImage.cs index 856e28dea68..40b65c728db 100644 --- a/src/Microsoft.Graph/Generated/Models/CloudPcDeviceImage.cs +++ b/src/Microsoft.Graph/Generated/Models/CloudPcDeviceImage.cs @@ -63,12 +63,6 @@ public string OperatingSystem set { BackingStore?.Set("operatingSystem", value); } } #endif - /// The osArchitecture property - public global::Microsoft.Graph.Beta.Models.CloudPcImageOsArchitectureType? OsArchitecture - { - get { return BackingStore?.Get("osArchitecture"); } - set { BackingStore?.Set("osArchitecture", value); } - } /// The OS build version of the image. For example, 1909. Read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -196,7 +190,6 @@ public override IDictionary> GetFieldDeserializers() { "expirationDate", n => { ExpirationDate = n.GetDateValue(); } }, { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, { "operatingSystem", n => { OperatingSystem = n.GetStringValue(); } }, - { "osArchitecture", n => { OsArchitecture = n.GetEnumValue(); } }, { "osBuildNumber", n => { OsBuildNumber = n.GetStringValue(); } }, { "osStatus", n => { OsStatus = n.GetEnumValue(); } }, { "osVersionNumber", n => { OsVersionNumber = n.GetStringValue(); } }, @@ -221,7 +214,6 @@ public override void Serialize(ISerializationWriter writer) writer.WriteDateValue("expirationDate", ExpirationDate); writer.WriteDateTimeOffsetValue("lastModifiedDateTime", LastModifiedDateTime); writer.WriteStringValue("operatingSystem", OperatingSystem); - writer.WriteEnumValue("osArchitecture", OsArchitecture); writer.WriteStringValue("osBuildNumber", OsBuildNumber); writer.WriteEnumValue("osStatus", OsStatus); writer.WriteStringValue("osVersionNumber", OsVersionNumber); diff --git a/src/Microsoft.Graph/Generated/Models/CloudPcGalleryImage.cs b/src/Microsoft.Graph/Generated/Models/CloudPcGalleryImage.cs index eb3a56fc67e..d32eddfb0dc 100644 --- a/src/Microsoft.Graph/Generated/Models/CloudPcGalleryImage.cs +++ b/src/Microsoft.Graph/Generated/Models/CloudPcGalleryImage.cs @@ -89,12 +89,6 @@ public string OfferName set { BackingStore?.Set("offerName", value); } } #endif - /// The osArchitecture property - public global::Microsoft.Graph.Beta.Models.CloudPcImageOsArchitectureType? OsArchitecture - { - get { return BackingStore?.Get("osArchitecture"); } - set { BackingStore?.Set("osArchitecture", value); } - } /// The operating system version of this gallery image. For example, 10.0.22000.296. Read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -249,7 +243,6 @@ public override IDictionary> GetFieldDeserializers() { "offer", n => { Offer = n.GetStringValue(); } }, { "offerDisplayName", n => { OfferDisplayName = n.GetStringValue(); } }, { "offerName", n => { OfferName = n.GetStringValue(); } }, - { "osArchitecture", n => { OsArchitecture = n.GetEnumValue(); } }, { "osVersionNumber", n => { OsVersionNumber = n.GetStringValue(); } }, { "publisher", n => { Publisher = n.GetStringValue(); } }, { "publisherName", n => { PublisherName = n.GetStringValue(); } }, @@ -276,7 +269,6 @@ public override void Serialize(ISerializationWriter writer) writer.WriteStringValue("offer", Offer); writer.WriteStringValue("offerDisplayName", OfferDisplayName); writer.WriteStringValue("offerName", OfferName); - writer.WriteEnumValue("osArchitecture", OsArchitecture); writer.WriteStringValue("osVersionNumber", OsVersionNumber); writer.WriteStringValue("publisher", Publisher); writer.WriteStringValue("publisherName", PublisherName); diff --git a/src/Microsoft.Graph/Generated/Models/Contact.cs b/src/Microsoft.Graph/Generated/Models/Contact.cs index ecc66a63bc9..ef5f2ff8bcc 100644 --- a/src/Microsoft.Graph/Generated/Models/Contact.cs +++ b/src/Microsoft.Graph/Generated/Models/Contact.cs @@ -424,6 +424,22 @@ public string PersonalNotes get { return BackingStore?.Get>("postalAddresses"); } set { BackingStore?.Set("postalAddresses", value); } } +#endif + /// The primary email address of the contact. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.EmailAddress? PrimaryEmailAddress + { + get { return BackingStore?.Get("primaryEmailAddress"); } + set { BackingStore?.Set("primaryEmailAddress", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.EmailAddress PrimaryEmailAddress + { + get { return BackingStore?.Get("primaryEmailAddress"); } + set { BackingStore?.Set("primaryEmailAddress", value); } + } #endif /// The contact's profession. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -440,6 +456,22 @@ public string Profession get { return BackingStore?.Get("profession"); } set { BackingStore?.Set("profession", value); } } +#endif + /// The secondary email address of the contact. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.EmailAddress? SecondaryEmailAddress + { + get { return BackingStore?.Get("secondaryEmailAddress"); } + set { BackingStore?.Set("secondaryEmailAddress", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.EmailAddress SecondaryEmailAddress + { + get { return BackingStore?.Get("secondaryEmailAddress"); } + set { BackingStore?.Set("secondaryEmailAddress", value); } + } #endif /// The collection of single-value extended properties defined for the contact. Read-only. Nullable. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -488,6 +520,22 @@ public string Surname get { return BackingStore?.Get("surname"); } set { BackingStore?.Set("surname", value); } } +#endif + /// The tertiary email address of the contact. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.EmailAddress? TertiaryEmailAddress + { + get { return BackingStore?.Get("tertiaryEmailAddress"); } + set { BackingStore?.Set("tertiaryEmailAddress", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.EmailAddress TertiaryEmailAddress + { + get { return BackingStore?.Get("tertiaryEmailAddress"); } + set { BackingStore?.Set("tertiaryEmailAddress", value); } + } #endif /// The contact's title. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -627,10 +675,13 @@ public override IDictionary> GetFieldDeserializers() { "phones", n => { Phones = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.Phone.CreateFromDiscriminatorValue)?.AsList(); } }, { "photo", n => { Photo = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.ProfilePhoto.CreateFromDiscriminatorValue); } }, { "postalAddresses", n => { PostalAddresses = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.PhysicalAddress.CreateFromDiscriminatorValue)?.AsList(); } }, + { "primaryEmailAddress", n => { PrimaryEmailAddress = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.EmailAddress.CreateFromDiscriminatorValue); } }, { "profession", n => { Profession = n.GetStringValue(); } }, + { "secondaryEmailAddress", n => { SecondaryEmailAddress = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.EmailAddress.CreateFromDiscriminatorValue); } }, { "singleValueExtendedProperties", n => { SingleValueExtendedProperties = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.SingleValueLegacyExtendedProperty.CreateFromDiscriminatorValue)?.AsList(); } }, { "spouseName", n => { SpouseName = n.GetStringValue(); } }, { "surname", n => { Surname = n.GetStringValue(); } }, + { "tertiaryEmailAddress", n => { TertiaryEmailAddress = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.EmailAddress.CreateFromDiscriminatorValue); } }, { "title", n => { Title = n.GetStringValue(); } }, { "websites", n => { Websites = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.Website.CreateFromDiscriminatorValue)?.AsList(); } }, { "weddingAnniversary", n => { WeddingAnniversary = n.GetDateValue(); } }, @@ -674,10 +725,13 @@ public override void Serialize(ISerializationWriter writer) writer.WriteCollectionOfObjectValues("phones", Phones); writer.WriteObjectValue("photo", Photo); writer.WriteCollectionOfObjectValues("postalAddresses", PostalAddresses); + writer.WriteObjectValue("primaryEmailAddress", PrimaryEmailAddress); writer.WriteStringValue("profession", Profession); + writer.WriteObjectValue("secondaryEmailAddress", SecondaryEmailAddress); writer.WriteCollectionOfObjectValues("singleValueExtendedProperties", SingleValueExtendedProperties); writer.WriteStringValue("spouseName", SpouseName); writer.WriteStringValue("surname", Surname); + writer.WriteObjectValue("tertiaryEmailAddress", TertiaryEmailAddress); writer.WriteStringValue("title", Title); writer.WriteCollectionOfObjectValues("websites", Websites); writer.WriteDateValue("weddingAnniversary", WeddingAnniversary); diff --git a/src/Microsoft.Graph/Generated/Models/CopilotConversation.cs b/src/Microsoft.Graph/Generated/Models/CopilotConversation.cs new file mode 100644 index 00000000000..663c5450b30 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CopilotConversation.cs @@ -0,0 +1,104 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + /// + /// Conversation is a first class object in the system, and consists of persistent metadata plus a stream of messages,typically alternating request/response, implicitly forming a turn.Represents a conversation with Copilot Chat. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CopilotConversation : global::Microsoft.Graph.Beta.Models.Entity, IParsable + { + /// The date and time when the conversation was created. + public DateTimeOffset? CreatedDateTime + { + get { return BackingStore?.Get("createdDateTime"); } + set { BackingStore?.Set("createdDateTime", value); } + } + /// The display name of the conversation. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// The ordered list of messages in the conversation. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Messages + { + get { return BackingStore?.Get?>("messages"); } + set { BackingStore?.Set("messages", value); } + } +#nullable restore +#else + public List Messages + { + get { return BackingStore?.Get>("messages"); } + set { BackingStore?.Set("messages", value); } + } +#endif + /// The state of a Copilot conversation. + public global::Microsoft.Graph.Beta.Models.CopilotConversationState? State + { + get { return BackingStore?.Get("state"); } + set { BackingStore?.Set("state", value); } + } + /// The number of turns in the conversation. + public int? TurnCount + { + get { return BackingStore?.Get("turnCount"); } + set { BackingStore?.Set("turnCount", value); } + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.CopilotConversation CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.CopilotConversation(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "messages", n => { Messages = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.CopilotConversationMessage.CreateFromDiscriminatorValue)?.AsList(); } }, + { "state", n => { State = n.GetEnumValue(); } }, + { "turnCount", n => { TurnCount = n.GetIntValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("messages", Messages); + writer.WriteEnumValue("state", State); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/CopilotConversationAttribution.cs b/src/Microsoft.Graph/Generated/Models/CopilotConversationAttribution.cs new file mode 100644 index 00000000000..21782bc9dce --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CopilotConversationAttribution.cs @@ -0,0 +1,179 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class CopilotConversationAttribution : 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 source of the attribution. + public global::Microsoft.Graph.Beta.Models.CopilotConversationAttributionSource? AttributionSource + { + get { return BackingStore?.Get("attributionSource"); } + set { BackingStore?.Set("attributionSource", value); } + } + /// The type of attribution. + public global::Microsoft.Graph.Beta.Models.CopilotConversationAttributionType? AttributionType + { + get { return BackingStore?.Get("attributionType"); } + set { BackingStore?.Set("attributionType", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The imageFavIcon property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ImageFavIcon + { + get { return BackingStore?.Get("imageFavIcon"); } + set { BackingStore?.Set("imageFavIcon", value); } + } +#nullable restore +#else + public string ImageFavIcon + { + get { return BackingStore?.Get("imageFavIcon"); } + set { BackingStore?.Set("imageFavIcon", value); } + } +#endif + /// The imageHeight property + public int? ImageHeight + { + get { return BackingStore?.Get("imageHeight"); } + set { BackingStore?.Set("imageHeight", value); } + } + /// The imageWebUrl property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ImageWebUrl + { + get { return BackingStore?.Get("imageWebUrl"); } + set { BackingStore?.Set("imageWebUrl", value); } + } +#nullable restore +#else + public string ImageWebUrl + { + get { return BackingStore?.Get("imageWebUrl"); } + set { BackingStore?.Set("imageWebUrl", value); } + } +#endif + /// The imageWidth property + public int? ImageWidth + { + get { return BackingStore?.Get("imageWidth"); } + set { BackingStore?.Set("imageWidth", 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 providerDisplayName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ProviderDisplayName + { + get { return BackingStore?.Get("providerDisplayName"); } + set { BackingStore?.Set("providerDisplayName", value); } + } +#nullable restore +#else + public string ProviderDisplayName + { + get { return BackingStore?.Get("providerDisplayName"); } + set { BackingStore?.Set("providerDisplayName", value); } + } +#endif + /// The seeMoreWebUrl property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? SeeMoreWebUrl + { + get { return BackingStore?.Get("seeMoreWebUrl"); } + set { BackingStore?.Set("seeMoreWebUrl", value); } + } +#nullable restore +#else + public string SeeMoreWebUrl + { + get { return BackingStore?.Get("seeMoreWebUrl"); } + set { BackingStore?.Set("seeMoreWebUrl", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public CopilotConversationAttribution() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.CopilotConversationAttribution CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.CopilotConversationAttribution(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "attributionSource", n => { AttributionSource = n.GetEnumValue(); } }, + { "attributionType", n => { AttributionType = n.GetEnumValue(); } }, + { "imageFavIcon", n => { ImageFavIcon = n.GetStringValue(); } }, + { "imageHeight", n => { ImageHeight = n.GetIntValue(); } }, + { "imageWebUrl", n => { ImageWebUrl = n.GetStringValue(); } }, + { "imageWidth", n => { ImageWidth = n.GetIntValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "providerDisplayName", n => { ProviderDisplayName = n.GetStringValue(); } }, + { "seeMoreWebUrl", n => { SeeMoreWebUrl = 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("attributionSource", AttributionSource); + writer.WriteEnumValue("attributionType", AttributionType); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/CopilotConversationAttributionSource.cs b/src/Microsoft.Graph/Generated/Models/CopilotConversationAttributionSource.cs new file mode 100644 index 00000000000..fa0a78ef868 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CopilotConversationAttributionSource.cs @@ -0,0 +1,22 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + /// The source of the attribution. + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public enum CopilotConversationAttributionSource + { + [EnumMember(Value = "grounding")] + #pragma warning disable CS1591 + Grounding, + #pragma warning restore CS1591 + [EnumMember(Value = "model")] + #pragma warning disable CS1591 + Model, + #pragma warning restore CS1591 + /// A marker value for members added after the release of this API. + [EnumMember(Value = "unknownFutureValue")] + UnknownFutureValue, + } +} diff --git a/src/Microsoft.Graph/Generated/Models/CopilotConversationAttributionType.cs b/src/Microsoft.Graph/Generated/Models/CopilotConversationAttributionType.cs new file mode 100644 index 00000000000..8e905b8ac76 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CopilotConversationAttributionType.cs @@ -0,0 +1,22 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + /// The type of attribution. + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public enum CopilotConversationAttributionType + { + [EnumMember(Value = "citation")] + #pragma warning disable CS1591 + Citation, + #pragma warning restore CS1591 + [EnumMember(Value = "annotation")] + #pragma warning disable CS1591 + Annotation, + #pragma warning restore CS1591 + /// A marker value for members added after the release of this API. + [EnumMember(Value = "unknownFutureValue")] + UnknownFutureValue, + } +} diff --git a/src/Microsoft.Graph/Generated/Models/CopilotConversationMessage.cs b/src/Microsoft.Graph/Generated/Models/CopilotConversationMessage.cs new file mode 100644 index 00000000000..d8183cee216 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CopilotConversationMessage.cs @@ -0,0 +1,71 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + /// + /// Abstract entity representing a chat message in a request or response. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CopilotConversationMessage : global::Microsoft.Graph.Beta.Models.Entity, IParsable + { + /// The text of the message. +#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 + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.CopilotConversationMessage CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.copilotConversationRequestMessage" => new global::Microsoft.Graph.Beta.Models.CopilotConversationRequestMessage(), + "#microsoft.graph.copilotConversationResponseMessage" => new global::Microsoft.Graph.Beta.Models.CopilotConversationResponseMessage(), + _ => new global::Microsoft.Graph.Beta.Models.CopilotConversationMessage(), + }; + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "text", n => { Text = 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("text", Text); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/CopilotConversationRequestMessage.cs b/src/Microsoft.Graph/Generated/Models/CopilotConversationRequestMessage.cs new file mode 100644 index 00000000000..d9bf56b977c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CopilotConversationRequestMessage.cs @@ -0,0 +1,54 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + /// + /// Entity representing a chat message in a request. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CopilotConversationRequestMessage : global::Microsoft.Graph.Beta.Models.CopilotConversationMessage, IParsable + { + /// + /// Instantiates a new and sets the default values. + /// + public CopilotConversationRequestMessage() : base() + { + OdataType = "#microsoft.graph.copilotConversationRequestMessage"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.CopilotConversationRequestMessage CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.CopilotConversationRequestMessage(); + } + /// + /// 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/CopilotConversationResponseMessage.cs b/src/Microsoft.Graph/Generated/Models/CopilotConversationResponseMessage.cs new file mode 100644 index 00000000000..883b0e4285e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CopilotConversationResponseMessage.cs @@ -0,0 +1,112 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + /// + /// Represents a response message in a chat. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CopilotConversationResponseMessage : global::Microsoft.Graph.Beta.Models.CopilotConversationMessage, IParsable + { + /// The adaptiveCards property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? AdaptiveCards + { + get { return BackingStore?.Get?>("adaptiveCards"); } + set { BackingStore?.Set("adaptiveCards", value); } + } +#nullable restore +#else + public List AdaptiveCards + { + get { return BackingStore?.Get>("adaptiveCards"); } + set { BackingStore?.Set("adaptiveCards", value); } + } +#endif + /// The attributions property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Attributions + { + get { return BackingStore?.Get?>("attributions"); } + set { BackingStore?.Set("attributions", value); } + } +#nullable restore +#else + public List Attributions + { + get { return BackingStore?.Get>("attributions"); } + set { BackingStore?.Set("attributions", value); } + } +#endif + /// The createdDateTime property + public DateTimeOffset? CreatedDateTime + { + get { return BackingStore?.Get("createdDateTime"); } + set { BackingStore?.Set("createdDateTime", value); } + } + /// The sensitivityLabel property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.SearchSensitivityLabelInfo? SensitivityLabel + { + get { return BackingStore?.Get("sensitivityLabel"); } + set { BackingStore?.Set("sensitivityLabel", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.SearchSensitivityLabelInfo SensitivityLabel + { + get { return BackingStore?.Get("sensitivityLabel"); } + set { BackingStore?.Set("sensitivityLabel", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public CopilotConversationResponseMessage() : base() + { + OdataType = "#microsoft.graph.copilotConversationResponseMessage"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.CopilotConversationResponseMessage CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.CopilotConversationResponseMessage(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "adaptiveCards", n => { AdaptiveCards = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.Json.CreateFromDiscriminatorValue)?.AsList(); } }, + { "attributions", n => { Attributions = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.CopilotConversationAttribution.CreateFromDiscriminatorValue)?.AsList(); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "sensitivityLabel", n => { SensitivityLabel = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.SearchSensitivityLabelInfo.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); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/CopilotConversationState.cs b/src/Microsoft.Graph/Generated/Models/CopilotConversationState.cs new file mode 100644 index 00000000000..21c9542143c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CopilotConversationState.cs @@ -0,0 +1,20 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + /// The state of a Copilot conversation. + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public enum CopilotConversationState + { + /// The conversation is active and can accept requests to chat. + [EnumMember(Value = "active")] + Active, + /// Copilot has disengaged from the conversation due to a RAI issue and will reject further requests to chat. + [EnumMember(Value = "disengagedForRai")] + DisengagedForRai, + /// A marker value for members added after the release of this API. + [EnumMember(Value = "unknownFutureValue")] + UnknownFutureValue, + } +} diff --git a/src/Microsoft.Graph/Generated/Models/Desk.cs b/src/Microsoft.Graph/Generated/Models/Desk.cs index 0cf50f01282..b2f8f2998ac 100644 --- a/src/Microsoft.Graph/Generated/Models/Desk.cs +++ b/src/Microsoft.Graph/Generated/Models/Desk.cs @@ -50,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.unavailablePlaceMode - Desk that is taken down for maintenance or marked as not reservable. + /// 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.Beta.Models.PlaceMode? Mode diff --git a/src/Microsoft.Graph/Generated/Models/Entity.cs b/src/Microsoft.Graph/Generated/Models/Entity.cs index eadb65f1db7..54a23e0226c 100644 --- a/src/Microsoft.Graph/Generated/Models/Entity.cs +++ b/src/Microsoft.Graph/Generated/Models/Entity.cs @@ -507,6 +507,10 @@ public Entity() "#microsoft.graph.copilotAdminLimitedMode" => new global::Microsoft.Graph.Beta.Models.CopilotAdminLimitedMode(), "#microsoft.graph.copilotAdminSetting" => new global::Microsoft.Graph.Beta.Models.CopilotAdminSetting(), "#microsoft.graph.copilotCommunicationsRoot" => new global::Microsoft.Graph.Beta.Models.CopilotCommunicationsRoot(), + "#microsoft.graph.copilotConversation" => new global::Microsoft.Graph.Beta.Models.CopilotConversation(), + "#microsoft.graph.copilotConversationMessage" => new global::Microsoft.Graph.Beta.Models.CopilotConversationMessage(), + "#microsoft.graph.copilotConversationRequestMessage" => new global::Microsoft.Graph.Beta.Models.CopilotConversationRequestMessage(), + "#microsoft.graph.copilotConversationResponseMessage" => new global::Microsoft.Graph.Beta.Models.CopilotConversationResponseMessage(), "#microsoft.graph.copilotPackage" => new global::Microsoft.Graph.Beta.Models.CopilotPackage(), "#microsoft.graph.copilotPackageDetail" => new global::Microsoft.Graph.Beta.Models.CopilotPackageDetail(), "#microsoft.graph.copilotPeopleAdminSetting" => new global::Microsoft.Graph.Beta.Models.CopilotPeopleAdminSetting(), @@ -819,6 +823,8 @@ public Entity() "#microsoft.graph.exactMatchSessionBase" => new global::Microsoft.Graph.Beta.Models.ExactMatchSessionBase(), "#microsoft.graph.exactMatchUploadAgent" => new global::Microsoft.Graph.Beta.Models.ExactMatchUploadAgent(), "#microsoft.graph.exchangeAdmin" => new global::Microsoft.Graph.Beta.Models.ExchangeAdmin(), + "#microsoft.graph.exchangeMessageTrace" => new global::Microsoft.Graph.Beta.Models.ExchangeMessageTrace(), + "#microsoft.graph.exchangeMessageTraceDetail" => new global::Microsoft.Graph.Beta.Models.ExchangeMessageTraceDetail(), "#microsoft.graph.exchangeProtectionPolicy" => new global::Microsoft.Graph.Beta.Models.ExchangeProtectionPolicy(), "#microsoft.graph.exchangeRestoreSession" => new global::Microsoft.Graph.Beta.Models.ExchangeRestoreSession(), "#microsoft.graph.exchangeSettings" => new global::Microsoft.Graph.Beta.Models.ExchangeSettings(), @@ -1230,6 +1236,7 @@ public Entity() "#microsoft.graph.messageRecipient" => new global::Microsoft.Graph.Beta.Models.MessageRecipient(), "#microsoft.graph.messageRule" => new global::Microsoft.Graph.Beta.Models.MessageRule(), "#microsoft.graph.messageTrace" => new global::Microsoft.Graph.Beta.Models.MessageTrace(), + "#microsoft.graph.messageTracingRoot" => new global::Microsoft.Graph.Beta.Models.MessageTracingRoot(), "#microsoft.graph.mfaCompletionMetric" => new global::Microsoft.Graph.Beta.Models.MfaCompletionMetric(), "#microsoft.graph.mfaFailure" => new global::Microsoft.Graph.Beta.Models.MfaFailure(), "#microsoft.graph.mfaTelecomFraudMetric" => new global::Microsoft.Graph.Beta.Models.MfaTelecomFraudMetric(), @@ -2314,8 +2321,11 @@ public Entity() "#microsoft.graph.workbookWorksheet" => new global::Microsoft.Graph.Beta.Models.WorkbookWorksheet(), "#microsoft.graph.workbookWorksheetProtection" => new global::Microsoft.Graph.Beta.Models.WorkbookWorksheetProtection(), "#microsoft.graph.workforceIntegration" => new global::Microsoft.Graph.Beta.Models.WorkforceIntegration(), + "#microsoft.graph.workHoursAndLocationsSetting" => new global::Microsoft.Graph.Beta.Models.WorkHoursAndLocationsSetting(), "#microsoft.graph.workingTimeSchedule" => new global::Microsoft.Graph.Beta.Models.WorkingTimeSchedule(), "#microsoft.graph.workplaceSensorDevice" => new global::Microsoft.Graph.Beta.Models.WorkplaceSensorDevice(), + "#microsoft.graph.workPlanOccurrence" => new global::Microsoft.Graph.Beta.Models.WorkPlanOccurrence(), + "#microsoft.graph.workPlanRecurrence" => new global::Microsoft.Graph.Beta.Models.WorkPlanRecurrence(), "#microsoft.graph.workPosition" => new global::Microsoft.Graph.Beta.Models.WorkPosition(), "#microsoft.graph.workspace" => new global::Microsoft.Graph.Beta.Models.Workspace(), "#microsoft.graph.x509CertificateAuthenticationMethodConfiguration" => new global::Microsoft.Graph.Beta.Models.X509CertificateAuthenticationMethodConfiguration(), diff --git a/src/Microsoft.Graph/Generated/Models/EnumeratedScopes.cs b/src/Microsoft.Graph/Generated/Models/EnumeratedScopes.cs new file mode 100644 index 00000000000..13e77a171eb --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/EnumeratedScopes.cs @@ -0,0 +1,71 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class EnumeratedScopes : global::Microsoft.Graph.Beta.Models.InheritableScopes, IParsable + #pragma warning restore CS1591 + { + /// Required. Nonempty list of delegated permission scope identifiers published by the resource application to inherit. Entries must be unique and must not include any globally blocked scopes. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Scopes + { + get { return BackingStore?.Get?>("scopes"); } + set { BackingStore?.Set("scopes", value); } + } +#nullable restore +#else + public List Scopes + { + get { return BackingStore?.Get>("scopes"); } + set { BackingStore?.Set("scopes", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public EnumeratedScopes() : base() + { + OdataType = "#microsoft.graph.enumeratedScopes"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.EnumeratedScopes CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.EnumeratedScopes(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "scopes", n => { Scopes = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfPrimitiveValues("scopes", Scopes); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ExchangeAdmin.cs b/src/Microsoft.Graph/Generated/Models/ExchangeAdmin.cs index 0d81f0cb1c4..a75070d27f6 100644 --- a/src/Microsoft.Graph/Generated/Models/ExchangeAdmin.cs +++ b/src/Microsoft.Graph/Generated/Models/ExchangeAdmin.cs @@ -43,6 +43,22 @@ public partial class ExchangeAdmin : global::Microsoft.Graph.Beta.Models.Entity, get { return BackingStore?.Get>("messageTraces"); } set { BackingStore?.Set("messageTraces", value); } } +#endif + /// The tracing property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.MessageTracingRoot? Tracing + { + get { return BackingStore?.Get("tracing"); } + set { BackingStore?.Set("tracing", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.MessageTracingRoot Tracing + { + get { return BackingStore?.Get("tracing"); } + set { BackingStore?.Set("tracing", value); } + } #endif /// /// Creates a new instance of the appropriate class based on discriminator value @@ -64,6 +80,7 @@ public override IDictionary> GetFieldDeserializers() { { "mailboxes", n => { Mailboxes = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.Mailbox.CreateFromDiscriminatorValue)?.AsList(); } }, { "messageTraces", n => { MessageTraces = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.MessageTrace.CreateFromDiscriminatorValue)?.AsList(); } }, + { "tracing", n => { Tracing = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.MessageTracingRoot.CreateFromDiscriminatorValue); } }, }; } /// @@ -76,6 +93,7 @@ public override void Serialize(ISerializationWriter writer) base.Serialize(writer); writer.WriteCollectionOfObjectValues("mailboxes", Mailboxes); writer.WriteCollectionOfObjectValues("messageTraces", MessageTraces); + writer.WriteObjectValue("tracing", Tracing); } } } diff --git a/src/Microsoft.Graph/Generated/Models/ExchangeMessageTrace.cs b/src/Microsoft.Graph/Generated/Models/ExchangeMessageTrace.cs new file mode 100644 index 00000000000..ad986526763 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ExchangeMessageTrace.cs @@ -0,0 +1,178 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ExchangeMessageTrace : global::Microsoft.Graph.Beta.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The fromIP property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? FromIP + { + get { return BackingStore?.Get("fromIP"); } + set { BackingStore?.Set("fromIP", value); } + } +#nullable restore +#else + public string FromIP + { + get { return BackingStore?.Get("fromIP"); } + set { BackingStore?.Set("fromIP", value); } + } +#endif + /// The messageId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? MessageId + { + get { return BackingStore?.Get("messageId"); } + set { BackingStore?.Set("messageId", value); } + } +#nullable restore +#else + public string MessageId + { + get { return BackingStore?.Get("messageId"); } + set { BackingStore?.Set("messageId", value); } + } +#endif + /// The receivedDateTime property + public DateTimeOffset? ReceivedDateTime + { + get { return BackingStore?.Get("receivedDateTime"); } + set { BackingStore?.Set("receivedDateTime", value); } + } + /// The recipientAddress property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? RecipientAddress + { + get { return BackingStore?.Get("recipientAddress"); } + set { BackingStore?.Set("recipientAddress", value); } + } +#nullable restore +#else + public string RecipientAddress + { + get { return BackingStore?.Get("recipientAddress"); } + set { BackingStore?.Set("recipientAddress", value); } + } +#endif + /// The senderAddress property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? SenderAddress + { + get { return BackingStore?.Get("senderAddress"); } + set { BackingStore?.Set("senderAddress", value); } + } +#nullable restore +#else + public string SenderAddress + { + get { return BackingStore?.Get("senderAddress"); } + set { BackingStore?.Set("senderAddress", value); } + } +#endif + /// The size property + public int? Size + { + get { return BackingStore?.Get("size"); } + set { BackingStore?.Set("size", value); } + } + /// The status property + public global::Microsoft.Graph.Beta.Models.ExchangeMessageTraceStatus? Status + { + get { return BackingStore?.Get("status"); } + set { BackingStore?.Set("status", value); } + } + /// The subject property +#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 + /// The toIP property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ToIP + { + get { return BackingStore?.Get("toIP"); } + set { BackingStore?.Set("toIP", value); } + } +#nullable restore +#else + public string ToIP + { + get { return BackingStore?.Get("toIP"); } + set { BackingStore?.Set("toIP", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.ExchangeMessageTrace CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.ExchangeMessageTrace(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "fromIP", n => { FromIP = n.GetStringValue(); } }, + { "messageId", n => { MessageId = n.GetStringValue(); } }, + { "receivedDateTime", n => { ReceivedDateTime = n.GetDateTimeOffsetValue(); } }, + { "recipientAddress", n => { RecipientAddress = n.GetStringValue(); } }, + { "senderAddress", n => { SenderAddress = n.GetStringValue(); } }, + { "size", n => { Size = n.GetIntValue(); } }, + { "status", n => { Status = n.GetEnumValue(); } }, + { "subject", n => { Subject = n.GetStringValue(); } }, + { "toIP", n => { ToIP = 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("fromIP", FromIP); + writer.WriteStringValue("messageId", MessageId); + writer.WriteDateTimeOffsetValue("receivedDateTime", ReceivedDateTime); + writer.WriteStringValue("recipientAddress", RecipientAddress); + writer.WriteStringValue("senderAddress", SenderAddress); + writer.WriteIntValue("size", Size); + writer.WriteEnumValue("status", Status); + writer.WriteStringValue("subject", Subject); + writer.WriteStringValue("toIP", ToIP); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ExchangeMessageTraceCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/ExchangeMessageTraceCollectionResponse.cs new file mode 100644 index 00000000000..1df89d96fab --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ExchangeMessageTraceCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ExchangeMessageTraceCollectionResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.ExchangeMessageTraceCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.ExchangeMessageTraceCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ExchangeMessageTrace.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/ExchangeMessageTraceDetail.cs b/src/Microsoft.Graph/Generated/Models/ExchangeMessageTraceDetail.cs new file mode 100644 index 00000000000..a0f56ea2d5a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ExchangeMessageTraceDetail.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.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ExchangeMessageTraceDetail : global::Microsoft.Graph.Beta.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The action property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Action + { + get { return BackingStore?.Get("action"); } + set { BackingStore?.Set("action", value); } + } +#nullable restore +#else + public string Action + { + get { return BackingStore?.Get("action"); } + set { BackingStore?.Set("action", value); } + } +#endif + /// The data property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Data + { + get { return BackingStore?.Get("data"); } + set { BackingStore?.Set("data", value); } + } +#nullable restore +#else + public string Data + { + get { return BackingStore?.Get("data"); } + set { BackingStore?.Set("data", value); } + } +#endif + /// The dateTime property + public DateTimeOffset? DateTime + { + get { return BackingStore?.Get("dateTime"); } + set { BackingStore?.Set("dateTime", value); } + } + /// The description property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Description + { + get { return BackingStore?.Get("description"); } + set { BackingStore?.Set("description", value); } + } +#nullable restore +#else + public string Description + { + get { return BackingStore?.Get("description"); } + set { BackingStore?.Set("description", value); } + } +#endif + /// The event property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Event + { + get { return BackingStore?.Get("event"); } + set { BackingStore?.Set("event", value); } + } +#nullable restore +#else + public string Event + { + get { return BackingStore?.Get("event"); } + set { BackingStore?.Set("event", value); } + } +#endif + /// The messageId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? MessageId + { + get { return BackingStore?.Get("messageId"); } + set { BackingStore?.Set("messageId", value); } + } +#nullable restore +#else + public string MessageId + { + get { return BackingStore?.Get("messageId"); } + set { BackingStore?.Set("messageId", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.ExchangeMessageTraceDetail CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.ExchangeMessageTraceDetail(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "action", n => { Action = n.GetStringValue(); } }, + { "data", n => { Data = n.GetStringValue(); } }, + { "dateTime", n => { DateTime = n.GetDateTimeOffsetValue(); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "event", n => { Event = n.GetStringValue(); } }, + { "messageId", n => { MessageId = 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("action", Action); + writer.WriteStringValue("data", Data); + writer.WriteDateTimeOffsetValue("dateTime", DateTime); + writer.WriteStringValue("description", Description); + writer.WriteStringValue("event", Event); + writer.WriteStringValue("messageId", MessageId); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ExchangeMessageTraceStatus.cs b/src/Microsoft.Graph/Generated/Models/ExchangeMessageTraceStatus.cs new file mode 100644 index 00000000000..ff9438201ec --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ExchangeMessageTraceStatus.cs @@ -0,0 +1,44 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum ExchangeMessageTraceStatus + #pragma warning restore CS1591 + { + [EnumMember(Value = "gettingStatus")] + #pragma warning disable CS1591 + GettingStatus, + #pragma warning restore CS1591 + [EnumMember(Value = "pending")] + #pragma warning disable CS1591 + Pending, + #pragma warning restore CS1591 + [EnumMember(Value = "failed")] + #pragma warning disable CS1591 + Failed, + #pragma warning restore CS1591 + [EnumMember(Value = "delivered")] + #pragma warning disable CS1591 + Delivered, + #pragma warning restore CS1591 + [EnumMember(Value = "expanded")] + #pragma warning disable CS1591 + Expanded, + #pragma warning restore CS1591 + [EnumMember(Value = "quarantined")] + #pragma warning disable CS1591 + Quarantined, + #pragma warning restore CS1591 + [EnumMember(Value = "filteredAsSpam")] + #pragma warning disable CS1591 + FilteredAsSpam, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/ExternalConnectors/Label.cs b/src/Microsoft.Graph/Generated/Models/ExternalConnectors/Label.cs index 2230e68612b..825f16d785d 100644 --- a/src/Microsoft.Graph/Generated/Models/ExternalConnectors/Label.cs +++ b/src/Microsoft.Graph/Generated/Models/ExternalConnectors/Label.cs @@ -128,5 +128,81 @@ public enum Label #pragma warning disable CS1591 SecondaryId, #pragma warning restore CS1591 + [EnumMember(Value = "personEmails")] + #pragma warning disable CS1591 + PersonEmails, + #pragma warning restore CS1591 + [EnumMember(Value = "personAddresses")] + #pragma warning disable CS1591 + PersonAddresses, + #pragma warning restore CS1591 + [EnumMember(Value = "personAnniversaries")] + #pragma warning disable CS1591 + PersonAnniversaries, + #pragma warning restore CS1591 + [EnumMember(Value = "personName")] + #pragma warning disable CS1591 + PersonName, + #pragma warning restore CS1591 + [EnumMember(Value = "personNote")] + #pragma warning disable CS1591 + PersonNote, + #pragma warning restore CS1591 + [EnumMember(Value = "personPhones")] + #pragma warning disable CS1591 + PersonPhones, + #pragma warning restore CS1591 + [EnumMember(Value = "personCurrentPosition")] + #pragma warning disable CS1591 + PersonCurrentPosition, + #pragma warning restore CS1591 + [EnumMember(Value = "personWebAccounts")] + #pragma warning disable CS1591 + PersonWebAccounts, + #pragma warning restore CS1591 + [EnumMember(Value = "personWebSite")] + #pragma warning disable CS1591 + PersonWebSite, + #pragma warning restore CS1591 + [EnumMember(Value = "personSkills")] + #pragma warning disable CS1591 + PersonSkills, + #pragma warning restore CS1591 + [EnumMember(Value = "personProjects")] + #pragma warning disable CS1591 + PersonProjects, + #pragma warning restore CS1591 + [EnumMember(Value = "personAccount")] + #pragma warning disable CS1591 + PersonAccount, + #pragma warning restore CS1591 + [EnumMember(Value = "personAwards")] + #pragma warning disable CS1591 + PersonAwards, + #pragma warning restore CS1591 + [EnumMember(Value = "personCertifications")] + #pragma warning disable CS1591 + PersonCertifications, + #pragma warning restore CS1591 + [EnumMember(Value = "personAssistants")] + #pragma warning disable CS1591 + PersonAssistants, + #pragma warning restore CS1591 + [EnumMember(Value = "personColleagues")] + #pragma warning disable CS1591 + PersonColleagues, + #pragma warning restore CS1591 + [EnumMember(Value = "personManager")] + #pragma warning disable CS1591 + PersonManager, + #pragma warning restore CS1591 + [EnumMember(Value = "personAlternateContacts")] + #pragma warning disable CS1591 + PersonAlternateContacts, + #pragma warning restore CS1591 + [EnumMember(Value = "personEmergencyContacts")] + #pragma warning disable CS1591 + PersonEmergencyContacts, + #pragma warning restore CS1591 } } diff --git a/src/Microsoft.Graph/Generated/Models/Group.cs b/src/Microsoft.Graph/Generated/Models/Group.cs index dda3187a5e6..a0edb234eea 100644 --- a/src/Microsoft.Graph/Generated/Models/Group.cs +++ b/src/Microsoft.Graph/Generated/Models/Group.cs @@ -1100,6 +1100,12 @@ public string Visibility set { BackingStore?.Set("visibility", value); } } #endif + /// The welcomeMessageEnabled property + public bool? WelcomeMessageEnabled + { + get { return BackingStore?.Get("welcomeMessageEnabled"); } + set { BackingStore?.Set("welcomeMessageEnabled", value); } + } /// Specifies whether or not a group is configured to write back group object properties to on-premises Active Directory. These properties are used when group writeback is configured in the Microsoft Entra Connect sync client. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -1222,6 +1228,7 @@ public override IDictionary> GetFieldDeserializers() { "unseenCount", n => { UnseenCount = n.GetIntValue(); } }, { "unseenMessagesCount", n => { UnseenMessagesCount = n.GetIntValue(); } }, { "visibility", n => { Visibility = n.GetStringValue(); } }, + { "welcomeMessageEnabled", n => { WelcomeMessageEnabled = n.GetBoolValue(); } }, { "writebackConfiguration", n => { WritebackConfiguration = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.GroupWritebackConfiguration.CreateFromDiscriminatorValue); } }, }; } @@ -1314,6 +1321,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteIntValue("unseenCount", UnseenCount); writer.WriteIntValue("unseenMessagesCount", UnseenMessagesCount); writer.WriteStringValue("visibility", Visibility); + writer.WriteBoolValue("welcomeMessageEnabled", WelcomeMessageEnabled); writer.WriteObjectValue("writebackConfiguration", WritebackConfiguration); } } diff --git a/src/Microsoft.Graph/Generated/Models/InheritablePermission.cs b/src/Microsoft.Graph/Generated/Models/InheritablePermission.cs new file mode 100644 index 00000000000..9887db4c1f8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/InheritablePermission.cs @@ -0,0 +1,117 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class InheritablePermission : 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 inheritableScopes property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.InheritableScopes? InheritableScopes + { + get { return BackingStore?.Get("inheritableScopes"); } + set { BackingStore?.Set("inheritableScopes", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.InheritableScopes InheritableScopes + { + get { return BackingStore?.Get("inheritableScopes"); } + set { BackingStore?.Set("inheritableScopes", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The appId of the resource application that publishes these scopes. Primary key. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ResourceAppId + { + get { return BackingStore?.Get("resourceAppId"); } + set { BackingStore?.Set("resourceAppId", value); } + } +#nullable restore +#else + public string ResourceAppId + { + get { return BackingStore?.Get("resourceAppId"); } + set { BackingStore?.Set("resourceAppId", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public InheritablePermission() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.InheritablePermission CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.InheritablePermission(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "inheritableScopes", n => { InheritableScopes = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.InheritableScopes.CreateFromDiscriminatorValue); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "resourceAppId", n => { ResourceAppId = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteObjectValue("inheritableScopes", InheritableScopes); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteStringValue("resourceAppId", ResourceAppId); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/InheritableScopes.cs b/src/Microsoft.Graph/Generated/Models/InheritableScopes.cs new file mode 100644 index 00000000000..01d3ff23858 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/InheritableScopes.cs @@ -0,0 +1,96 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class InheritableScopes : 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 kind property + public global::Microsoft.Graph.Beta.Models.ScopeCollectionKind? Kind + { + get { return BackingStore?.Get("kind"); } + set { BackingStore?.Set("kind", value); } + } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public InheritableScopes() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.InheritableScopes CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.allAllowedScopes" => new global::Microsoft.Graph.Beta.Models.AllAllowedScopes(), + "#microsoft.graph.enumeratedScopes" => new global::Microsoft.Graph.Beta.Models.EnumeratedScopes(), + "#microsoft.graph.noScopes" => new global::Microsoft.Graph.Beta.Models.NoScopes(), + _ => new global::Microsoft.Graph.Beta.Models.InheritableScopes(), + }; + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "kind", n => { Kind = n.GetEnumValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteEnumValue("kind", Kind); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Json.cs b/src/Microsoft.Graph/Generated/Models/Json.cs new file mode 100644 index 00000000000..be8340b37e6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Json.cs @@ -0,0 +1,82 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + /// + /// Standard way to represent a Json blob on Graph. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class Json : IAdditionalDataHolder, IBackedModel, IParsable + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public Json() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.Json CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Json(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Kind.cs b/src/Microsoft.Graph/Generated/Models/Kind.cs new file mode 100644 index 00000000000..49da2ab0cfe --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Kind.cs @@ -0,0 +1,24 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum Kind + #pragma warning restore CS1591 + { + [EnumMember(Value = "unrestricted")] + #pragma warning disable CS1591 + Unrestricted, + #pragma warning restore CS1591 + [EnumMember(Value = "allowedTenants")] + #pragma warning disable CS1591 + AllowedTenants, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/MaxWorkLocationDetails.cs b/src/Microsoft.Graph/Generated/Models/MaxWorkLocationDetails.cs new file mode 100644 index 00000000000..8b41cc720cc --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/MaxWorkLocationDetails.cs @@ -0,0 +1,32 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum 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/MessageTracingRoot.cs b/src/Microsoft.Graph/Generated/Models/MessageTracingRoot.cs new file mode 100644 index 00000000000..015f26101f4 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/MessageTracingRoot.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class MessageTracingRoot : global::Microsoft.Graph.Beta.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The messageTraces property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? MessageTraces + { + get { return BackingStore?.Get?>("messageTraces"); } + set { BackingStore?.Set("messageTraces", value); } + } +#nullable restore +#else + public List MessageTraces + { + get { return BackingStore?.Get>("messageTraces"); } + set { BackingStore?.Set("messageTraces", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.MessageTracingRoot CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.MessageTracingRoot(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "messageTraces", n => { MessageTraces = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ExchangeMessageTrace.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("messageTraces", MessageTraces); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/CloudPcImageOsArchitectureType.cs b/src/Microsoft.Graph/Generated/Models/MigrationMode.cs similarity index 78% rename from src/Microsoft.Graph/Generated/Models/CloudPcImageOsArchitectureType.cs rename to src/Microsoft.Graph/Generated/Models/MigrationMode.cs index 9e85d86fde3..134bf231c4e 100644 --- a/src/Microsoft.Graph/Generated/Models/CloudPcImageOsArchitectureType.cs +++ b/src/Microsoft.Graph/Generated/Models/MigrationMode.cs @@ -5,16 +5,16 @@ namespace Microsoft.Graph.Beta.Models { [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] #pragma warning disable CS1591 - public enum CloudPcImageOsArchitectureType + public enum MigrationMode #pragma warning restore CS1591 { - [EnumMember(Value = "x64")] + [EnumMember(Value = "inProgress")] #pragma warning disable CS1591 - X64, + InProgress, #pragma warning restore CS1591 - [EnumMember(Value = "arm64")] + [EnumMember(Value = "completed")] #pragma warning disable CS1591 - Arm64, + Completed, #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] #pragma warning disable CS1591 diff --git a/src/Microsoft.Graph/Generated/Models/Networkaccess/CustomBlockPage.cs b/src/Microsoft.Graph/Generated/Models/Networkaccess/CustomBlockPage.cs index ccb2ea9c3b4..145f9d2ade5 100644 --- a/src/Microsoft.Graph/Generated/Models/Networkaccess/CustomBlockPage.cs +++ b/src/Microsoft.Graph/Generated/Models/Networkaccess/CustomBlockPage.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Beta.Models.Networkaccess public partial class CustomBlockPage : global::Microsoft.Graph.Beta.Models.Entity, IParsable #pragma warning restore CS1591 { - /// The configuration property + /// The current configuration of the customized message. The body can be input in limited markdown language, supporting links via the format: link. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.Networkaccess.BlockPageConfigurationBase? Configuration diff --git a/src/Microsoft.Graph/Generated/Models/Networkaccess/MarkdownBlockMessageConfiguration.cs b/src/Microsoft.Graph/Generated/Models/Networkaccess/MarkdownBlockMessageConfiguration.cs index 61f215411d1..5417e4985c3 100644 --- a/src/Microsoft.Graph/Generated/Models/Networkaccess/MarkdownBlockMessageConfiguration.cs +++ b/src/Microsoft.Graph/Generated/Models/Networkaccess/MarkdownBlockMessageConfiguration.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Beta.Models.Networkaccess public partial class MarkdownBlockMessageConfiguration : global::Microsoft.Graph.Beta.Models.Networkaccess.BlockPageConfigurationBase, IParsable #pragma warning restore CS1591 { - /// The body property + /// Body field of HTML error generated by the Global Secure Access service. Can be programmed in limited Markdown language, with a limit of 1024 characters. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Body diff --git a/src/Microsoft.Graph/Generated/Models/NoScopes.cs b/src/Microsoft.Graph/Generated/Models/NoScopes.cs new file mode 100644 index 00000000000..eddbf5c89a4 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/NoScopes.cs @@ -0,0 +1,53 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class NoScopes : global::Microsoft.Graph.Beta.Models.InheritableScopes, IParsable + #pragma warning restore CS1591 + { + /// + /// Instantiates a new and sets the default values. + /// + public NoScopes() : base() + { + OdataType = "#microsoft.graph.noScopes"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.NoScopes CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.NoScopes(); + } + /// + /// 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/ProtocolType.cs b/src/Microsoft.Graph/Generated/Models/ProtocolType.cs index 070e1f04c53..7708838561b 100644 --- a/src/Microsoft.Graph/Generated/Models/ProtocolType.cs +++ b/src/Microsoft.Graph/Generated/Models/ProtocolType.cs @@ -113,5 +113,13 @@ public enum ProtocolType #pragma warning disable CS1591 SamlOnBehalfOf = 33554432, #pragma warning restore CS1591 + [EnumMember(Value = "officeS2S")] + #pragma warning disable CS1591 + OfficeS2S = 67108864, + #pragma warning restore CS1591 + [EnumMember(Value = "wsTrust")] + #pragma warning disable CS1591 + WsTrust = 134217728, + #pragma warning restore CS1591 } } diff --git a/src/Microsoft.Graph/Generated/Models/RestorePointSearchResult.cs b/src/Microsoft.Graph/Generated/Models/RestorePointSearchResult.cs index bc41d539eec..88aad446ced 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/RiskDetail.cs b/src/Microsoft.Graph/Generated/Models/RiskDetail.cs index 47e98f03e0c..df6d8d9464d 100644 --- a/src/Microsoft.Graph/Generated/Models/RiskDetail.cs +++ b/src/Microsoft.Graph/Generated/Models/RiskDetail.cs @@ -92,5 +92,9 @@ public enum RiskDetail #pragma warning disable CS1591 AdminDismissedRiskForAgent, #pragma warning restore CS1591 + [EnumMember(Value = "microsoftRevokedSessions")] + #pragma warning disable CS1591 + MicrosoftRevokedSessions, + #pragma warning restore CS1591 } } diff --git a/src/Microsoft.Graph/Generated/Models/Room.cs b/src/Microsoft.Graph/Generated/Models/Room.cs index 4ef6b1ff02a..da49783dac1 100644 --- a/src/Microsoft.Graph/Generated/Models/Room.cs +++ b/src/Microsoft.Graph/Generated/Models/Room.cs @@ -132,7 +132,7 @@ public string Nickname set { BackingStore?.Set("nickname", value); } } #endif - /// An alternate immutable unique identifier of the room. Read-only. + /// An alternative immutable unique identifier of the room. Read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? PlaceId diff --git a/src/Microsoft.Graph/Generated/Models/ScopeCollectionKind.cs b/src/Microsoft.Graph/Generated/Models/ScopeCollectionKind.cs new file mode 100644 index 00000000000..80b444f86b9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ScopeCollectionKind.cs @@ -0,0 +1,32 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum ScopeCollectionKind + #pragma warning restore CS1591 + { + [EnumMember(Value = "allAllowed")] + #pragma warning disable CS1591 + AllAllowed, + #pragma warning restore CS1591 + [EnumMember(Value = "enumerated")] + #pragma warning disable CS1591 + Enumerated, + #pragma warning restore CS1591 + [EnumMember(Value = "none")] + #pragma warning disable CS1591 + None, + #pragma warning restore CS1591 + [EnumMember(Value = "scopeKindNotSet")] + #pragma warning disable CS1591 + ScopeKindNotSet, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/SearchSensitivityLabelInfo.cs b/src/Microsoft.Graph/Generated/Models/SearchSensitivityLabelInfo.cs new file mode 100644 index 00000000000..c22830f8533 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/SearchSensitivityLabelInfo.cs @@ -0,0 +1,157 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + /// + /// Represents a sensitivityLabel.This model is shared with the CCS retrieval API and search where it is already unhidden. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SearchSensitivityLabelInfo : IAdditionalDataHolder, IBackedModel, IParsable + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The color property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Color + { + get { return BackingStore?.Get("color"); } + set { BackingStore?.Set("color", value); } + } +#nullable restore +#else + public string Color + { + get { return BackingStore?.Get("color"); } + set { BackingStore?.Set("color", value); } + } +#endif + /// The displayName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The priority property + public int? Priority + { + get { return BackingStore?.Get("priority"); } + set { BackingStore?.Set("priority", value); } + } + /// The sensitivityLabelId property +#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 + /// The tooltip property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Tooltip + { + get { return BackingStore?.Get("tooltip"); } + set { BackingStore?.Set("tooltip", value); } + } +#nullable restore +#else + public string Tooltip + { + get { return BackingStore?.Get("tooltip"); } + set { BackingStore?.Set("tooltip", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public SearchSensitivityLabelInfo() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.SearchSensitivityLabelInfo CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.SearchSensitivityLabelInfo(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "color", n => { Color = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "priority", n => { Priority = n.GetIntValue(); } }, + { "sensitivityLabelId", n => { SensitivityLabelId = n.GetStringValue(); } }, + { "tooltip", n => { Tooltip = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/ActiveDirectoryDomainEvidence.cs b/src/Microsoft.Graph/Generated/Models/Security/ActiveDirectoryDomainEvidence.cs new file mode 100644 index 00000000000..9e90d4a468a --- /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.Beta.Models.Security +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ActiveDirectoryDomainEvidence : global::Microsoft.Graph.Beta.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.Beta.Models.Security.ActiveDirectoryDomainEvidence CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.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.Beta.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 75d7afc7466..6b074ce431a 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.Beta.Models.Security.ActiveDirectoryDomainEvidence(), "#microsoft.graph.security.aiAgentEvidence" => new global::Microsoft.Graph.Beta.Models.Security.AiAgentEvidence(), "#microsoft.graph.security.amazonResourceEvidence" => new global::Microsoft.Graph.Beta.Models.Security.AmazonResourceEvidence(), "#microsoft.graph.security.analyzedMessageEvidence" => new global::Microsoft.Graph.Beta.Models.Security.AnalyzedMessageEvidence(), diff --git a/src/Microsoft.Graph/Generated/Models/Security/DeviceEvidence.cs b/src/Microsoft.Graph/Generated/Models/Security/DeviceEvidence.cs index b9e8920fd1f..01d8969a52d 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.Beta.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.Beta.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.Beta.Models.Security.ResourceAccessEvent.CreateFromDiscriminatorValue)?.AsList(); } }, { "riskScore", n => { RiskScore = n.GetEnumValue(); } }, { "version", n => { Version = n.GetStringValue(); } }, { "vmMetadata", n => { VmMetadata = n.GetObjectValue(global::Microsoft.Graph.Beta.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/IdentityContainer.cs b/src/Microsoft.Graph/Generated/Models/Security/IdentityContainer.cs index 20cc2d8486d..3e7ab5994f4 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/IdentityContainer.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/IdentityContainer.cs @@ -60,7 +60,7 @@ public partial class IdentityContainer : global::Microsoft.Graph.Beta.Models.Ent set { BackingStore?.Set("sensorCandidateActivationConfiguration", value); } } #endif - /// Represents Microsoft Defender for Identity sensors that are ready to be activated. + /// The sensorCandidates property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? SensorCandidates @@ -92,7 +92,7 @@ public partial class IdentityContainer : global::Microsoft.Graph.Beta.Models.Ent set { BackingStore?.Set("sensors", value); } } #endif - /// Represents a container for security identities settings APIs. + /// The settings property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.Security.SettingsContainer? Settings diff --git a/src/Microsoft.Graph/Generated/Models/Security/MailboxConfigurationEvidence.cs b/src/Microsoft.Graph/Generated/Models/Security/MailboxConfigurationEvidence.cs index bb3715b5516..97a3c2bb6c4 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.Beta.Models.Security public partial class MailboxConfigurationEvidence : global::Microsoft.Graph.Beta.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.Beta.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/SensitivityLabel.cs b/src/Microsoft.Graph/Generated/Models/SensitivityLabel.cs index 21444c7050a..cd7df6e760a 100644 --- a/src/Microsoft.Graph/Generated/Models/SensitivityLabel.cs +++ b/src/Microsoft.Graph/Generated/Models/SensitivityLabel.cs @@ -94,6 +94,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 { @@ -229,6 +235,7 @@ public override IDictionary> GetFieldDeserializers() { "color", n => { Color = n.GetStringValue(); } }, { "description", n => { Description = n.GetStringValue(); } }, { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "hasProtection", n => { HasProtection = n.GetBoolValue(); } }, { "isDefault", n => { IsDefault = n.GetBoolValue(); } }, { "isEnabled", n => { IsEnabled = n.GetBoolValue(); } }, { "isEndpointProtectionEnabled", n => { IsEndpointProtectionEnabled = n.GetBoolValue(); } }, @@ -256,6 +263,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteStringValue("color", Color); writer.WriteStringValue("description", Description); writer.WriteStringValue("displayName", DisplayName); + writer.WriteBoolValue("hasProtection", HasProtection); writer.WriteBoolValue("isDefault", IsDefault); writer.WriteBoolValue("isEnabled", IsEnabled); writer.WriteBoolValue("isEndpointProtectionEnabled", IsEndpointProtectionEnabled); diff --git a/src/Microsoft.Graph/Generated/Models/ServicePrincipal.cs b/src/Microsoft.Graph/Generated/Models/ServicePrincipal.cs index 26e6e8579a0..d26b28ab313 100644 --- a/src/Microsoft.Graph/Generated/Models/ServicePrincipal.cs +++ b/src/Microsoft.Graph/Generated/Models/ServicePrincipal.cs @@ -430,6 +430,12 @@ public string Homepage set { BackingStore?.Set("info", value); } } #endif + /// Specifies whether the service principal of the app in a tenant or across tenants for multi-tenant apps can obtain new access tokens or access protected resources. When set to true, existing tokens remain valid until they expire based on their configured lifetimes, and the app stays visible in the Enterprise apps list but users cannot sign in.true if the application is deactivated (disabled); otherwise false. + public bool? IsDisabled + { + get { return BackingStore?.Get("isDisabled"); } + set { BackingStore?.Set("isDisabled", value); } + } /// The collection of key credentials associated with the service principal. Not nullable. Supports $filter (eq, not, ge, le). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -981,6 +987,7 @@ public override IDictionary> GetFieldDeserializers() { "homeRealmDiscoveryPolicies", n => { HomeRealmDiscoveryPolicies = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.HomeRealmDiscoveryPolicy.CreateFromDiscriminatorValue)?.AsList(); } }, { "homepage", n => { Homepage = n.GetStringValue(); } }, { "info", n => { Info = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.InformationalUrl.CreateFromDiscriminatorValue); } }, + { "isDisabled", n => { IsDisabled = n.GetBoolValue(); } }, { "keyCredentials", n => { KeyCredentials = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.KeyCredential.CreateFromDiscriminatorValue)?.AsList(); } }, { "licenseDetails", n => { LicenseDetails = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.LicenseDetails.CreateFromDiscriminatorValue)?.AsList(); } }, { "loginUrl", n => { LoginUrl = n.GetStringValue(); } }, @@ -1051,6 +1058,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteStringValue("homepage", Homepage); writer.WriteCollectionOfObjectValues("homeRealmDiscoveryPolicies", HomeRealmDiscoveryPolicies); writer.WriteObjectValue("info", Info); + writer.WriteBoolValue("isDisabled", IsDisabled); writer.WriteCollectionOfObjectValues("keyCredentials", KeyCredentials); writer.WriteCollectionOfObjectValues("licenseDetails", LicenseDetails); writer.WriteStringValue("loginUrl", LoginUrl); diff --git a/src/Microsoft.Graph/Generated/Models/SharePointIdentityMapping.cs b/src/Microsoft.Graph/Generated/Models/SharePointIdentityMapping.cs index b45ae7ca43b..8912b4d9782 100644 --- a/src/Microsoft.Graph/Generated/Models/SharePointIdentityMapping.cs +++ b/src/Microsoft.Graph/Generated/Models/SharePointIdentityMapping.cs @@ -12,6 +12,22 @@ namespace Microsoft.Graph.Beta.Models public partial class SharePointIdentityMapping : global::Microsoft.Graph.Beta.Models.Entity, IParsable #pragma warning restore CS1591 { + /// Indicates that an identity mapping was deleted successfully. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.Deleted? Deleted + { + get { return BackingStore?.Get("deleted"); } + set { BackingStore?.Set("deleted", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.Deleted Deleted + { + get { return BackingStore?.Get("deleted"); } + set { BackingStore?.Set("deleted", value); } + } +#endif /// The unique identifier of the source organization in the migration. public Guid? SourceOrganizationId { @@ -42,6 +58,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { + { "deleted", n => { Deleted = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.Deleted.CreateFromDiscriminatorValue); } }, { "sourceOrganizationId", n => { SourceOrganizationId = n.GetGuidValue(); } }, }; } @@ -53,6 +70,7 @@ public override void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); + writer.WriteObjectValue("deleted", Deleted); writer.WriteGuidValue("sourceOrganizationId", SourceOrganizationId); } } diff --git a/src/Microsoft.Graph/Generated/Models/SignInAudienceRestrictionsBase.cs b/src/Microsoft.Graph/Generated/Models/SignInAudienceRestrictionsBase.cs new file mode 100644 index 00000000000..ee8f6163f20 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/SignInAudienceRestrictionsBase.cs @@ -0,0 +1,95 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class SignInAudienceRestrictionsBase : 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 kind property + public global::Microsoft.Graph.Beta.Models.Kind? Kind + { + get { return BackingStore?.Get("kind"); } + set { BackingStore?.Set("kind", value); } + } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public SignInAudienceRestrictionsBase() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.SignInAudienceRestrictionsBase CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.allowedTenantsAudience" => new global::Microsoft.Graph.Beta.Models.AllowedTenantsAudience(), + "#microsoft.graph.unrestrictedAudience" => new global::Microsoft.Graph.Beta.Models.UnrestrictedAudience(), + _ => new global::Microsoft.Graph.Beta.Models.SignInAudienceRestrictionsBase(), + }; + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "kind", n => { Kind = n.GetEnumValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteEnumValue("kind", Kind); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/StructuredDataEntry.cs b/src/Microsoft.Graph/Generated/Models/StructuredDataEntry.cs new file mode 100644 index 00000000000..32fbed2a1ba --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/StructuredDataEntry.cs @@ -0,0 +1,117 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class StructuredDataEntry : 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 keyEntry property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.StructuredDataEntryTypedValue? KeyEntry + { + get { return BackingStore?.Get("keyEntry"); } + set { BackingStore?.Set("keyEntry", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.StructuredDataEntryTypedValue KeyEntry + { + get { return BackingStore?.Get("keyEntry"); } + set { BackingStore?.Set("keyEntry", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The valueEntry property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.StructuredDataEntryTypedValue? ValueEntry + { + get { return BackingStore?.Get("valueEntry"); } + set { BackingStore?.Set("valueEntry", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.StructuredDataEntryTypedValue ValueEntry + { + get { return BackingStore?.Get("valueEntry"); } + set { BackingStore?.Set("valueEntry", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public StructuredDataEntry() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.StructuredDataEntry CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.StructuredDataEntry(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "keyEntry", n => { KeyEntry = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.StructuredDataEntryTypedValue.CreateFromDiscriminatorValue); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "valueEntry", n => { ValueEntry = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.StructuredDataEntryTypedValue.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteObjectValue("keyEntry", KeyEntry); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteObjectValue("valueEntry", ValueEntry); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/StructuredDataEntryTypedValue.cs b/src/Microsoft.Graph/Generated/Models/StructuredDataEntryTypedValue.cs new file mode 100644 index 00000000000..de6a3ea5bb1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/StructuredDataEntryTypedValue.cs @@ -0,0 +1,107 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class StructuredDataEntryTypedValue : 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 type property + public global::Microsoft.Graph.Beta.Models.StructuredDataEntryValueType? Type + { + get { return BackingStore?.Get("type"); } + set { BackingStore?.Set("type", value); } + } + /// Represents the value. The contained elements might be one of the following cases: when the type is stringArray, it contains arbitrary string values; otherwise, it contains exactly one string value. The caller is responsible for data type conversion. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Values + { + get { return BackingStore?.Get?>("values"); } + set { BackingStore?.Set("values", value); } + } +#nullable restore +#else + public List Values + { + get { return BackingStore?.Get>("values"); } + set { BackingStore?.Set("values", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public StructuredDataEntryTypedValue() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.StructuredDataEntryTypedValue CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.StructuredDataEntryTypedValue(); + } + /// + /// 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(); } }, + { "type", n => { Type = n.GetEnumValue(); } }, + { "values", n => { Values = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteEnumValue("type", Type); + writer.WriteCollectionOfPrimitiveValues("values", Values); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/StructuredDataEntryValueType.cs b/src/Microsoft.Graph/Generated/Models/StructuredDataEntryValueType.cs new file mode 100644 index 00000000000..714726bdcb2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/StructuredDataEntryValueType.cs @@ -0,0 +1,56 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum StructuredDataEntryValueType + #pragma warning restore CS1591 + { + [EnumMember(Value = "dateTime")] + #pragma warning disable CS1591 + DateTime, + #pragma warning restore CS1591 + [EnumMember(Value = "boolean")] + #pragma warning disable CS1591 + Boolean, + #pragma warning restore CS1591 + [EnumMember(Value = "byte")] + #pragma warning disable CS1591 + Byte, + #pragma warning restore CS1591 + [EnumMember(Value = "string")] + #pragma warning disable CS1591 + String, + #pragma warning restore CS1591 + [EnumMember(Value = "integer32")] + #pragma warning disable CS1591 + Integer32, + #pragma warning restore CS1591 + [EnumMember(Value = "unsignedInteger32")] + #pragma warning disable CS1591 + UnsignedInteger32, + #pragma warning restore CS1591 + [EnumMember(Value = "integer64")] + #pragma warning disable CS1591 + Integer64, + #pragma warning restore CS1591 + [EnumMember(Value = "unsignedInteger64")] + #pragma warning disable CS1591 + UnsignedInteger64, + #pragma warning restore CS1591 + [EnumMember(Value = "stringArray")] + #pragma warning disable CS1591 + StringArray, + #pragma warning restore CS1591 + [EnumMember(Value = "byteArray")] + #pragma warning disable CS1591 + ByteArray, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/TargetAgentIdentitySponsorsOrOwners.cs b/src/Microsoft.Graph/Generated/Models/TargetAgentIdentitySponsorsOrOwners.cs new file mode 100644 index 00000000000..efb0cc673bf --- /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.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class TargetAgentIdentitySponsorsOrOwners : global::Microsoft.Graph.Beta.Models.UserSet, 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.Beta.Models.TargetAgentIdentitySponsorsOrOwners CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.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/TeamsUserConfiguration.cs b/src/Microsoft.Graph/Generated/Models/TeamsAdministration/TeamsUserConfiguration.cs index 2c678d177bc..17c06e35aa7 100644 --- a/src/Microsoft.Graph/Generated/Models/TeamsAdministration/TeamsUserConfiguration.cs +++ b/src/Microsoft.Graph/Generated/Models/TeamsAdministration/TeamsUserConfiguration.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Beta.Models.TeamsAdministration public partial class TeamsUserConfiguration : global::Microsoft.Graph.Beta.Models.Entity, IParsable #pragma warning restore CS1591 { - /// The type of the account in the Teams context. The possible values are: user, resourceAccount, guest, sfbOnPremUser, unknown, unknownFutureValue, ineligibleUser. Use the Prefer: include-unknown-enum-members request header to get the following value from this enum evolvable enum: ineligibleUser. + /// The accountType property public global::Microsoft.Graph.Beta.Models.TeamsAdministration.AccountType? AccountType { get { return BackingStore?.Get("accountType"); } diff --git a/src/Microsoft.Graph/Generated/Models/TimeOffDetails.cs b/src/Microsoft.Graph/Generated/Models/TimeOffDetails.cs new file mode 100644 index 00000000000..ce73875cd4b --- /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.Beta.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.Beta.Models.TimeOffDetails CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.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 index c0663e46dd8..5baa1075792 100644 --- a/src/Microsoft.Graph/Generated/Models/UnavailablePlaceMode.cs +++ b/src/Microsoft.Graph/Generated/Models/UnavailablePlaceMode.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Beta.Models public partial class UnavailablePlaceMode : global::Microsoft.Graph.Beta.Models.PlaceMode, IParsable #pragma warning restore CS1591 { - /// Reason for marking a place unavailable. + /// The reason a place is marked unavailable. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Reason diff --git a/src/Microsoft.Graph/Generated/Models/UnrestrictedAudience.cs b/src/Microsoft.Graph/Generated/Models/UnrestrictedAudience.cs new file mode 100644 index 00000000000..a75259c3ecf --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/UnrestrictedAudience.cs @@ -0,0 +1,53 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class UnrestrictedAudience : global::Microsoft.Graph.Beta.Models.SignInAudienceRestrictionsBase, IParsable + #pragma warning restore CS1591 + { + /// + /// Instantiates a new and sets the default values. + /// + public UnrestrictedAudience() : base() + { + OdataType = "#microsoft.graph.unrestrictedAudience"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.UnrestrictedAudience CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.UnrestrictedAudience(); + } + /// + /// 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/UserConfiguration.cs b/src/Microsoft.Graph/Generated/Models/UserConfiguration.cs index 10e5aada0a2..a121911dcfc 100644 --- a/src/Microsoft.Graph/Generated/Models/UserConfiguration.cs +++ b/src/Microsoft.Graph/Generated/Models/UserConfiguration.cs @@ -27,6 +27,38 @@ public byte[] BinaryData get { return BackingStore?.Get("binaryData"); } set { BackingStore?.Set("binaryData", value); } } +#endif + /// Key-value pairs of supported data types. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? StructuredData + { + get { return BackingStore?.Get?>("structuredData"); } + set { BackingStore?.Set("structuredData", value); } + } +#nullable restore +#else + public List StructuredData + { + get { return BackingStore?.Get>("structuredData"); } + set { BackingStore?.Set("structuredData", value); } + } +#endif + /// Binary data for storing serialized XML. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public byte[]? XmlData + { + get { return BackingStore?.Get("xmlData"); } + set { BackingStore?.Set("xmlData", value); } + } +#nullable restore +#else + public byte[] XmlData + { + get { return BackingStore?.Get("xmlData"); } + set { BackingStore?.Set("xmlData", value); } + } #endif /// /// Creates a new instance of the appropriate class based on discriminator value @@ -47,6 +79,8 @@ public override IDictionary> GetFieldDeserializers() return new Dictionary>(base.GetFieldDeserializers()) { { "binaryData", n => { BinaryData = n.GetByteArrayValue(); } }, + { "structuredData", n => { StructuredData = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.StructuredDataEntry.CreateFromDiscriminatorValue)?.AsList(); } }, + { "xmlData", n => { XmlData = n.GetByteArrayValue(); } }, }; } /// @@ -58,6 +92,8 @@ public override void Serialize(ISerializationWriter writer) if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); writer.WriteByteArrayValue("binaryData", BinaryData); + writer.WriteCollectionOfObjectValues("structuredData", StructuredData); + writer.WriteByteArrayValue("xmlData", XmlData); } } } diff --git a/src/Microsoft.Graph/Generated/Models/UserSet.cs b/src/Microsoft.Graph/Generated/Models/UserSet.cs index 0f6f78f9453..75853cc564c 100644 --- a/src/Microsoft.Graph/Generated/Models/UserSet.cs +++ b/src/Microsoft.Graph/Generated/Models/UserSet.cs @@ -69,6 +69,7 @@ public UserSet() "#microsoft.graph.internalSponsors" => new global::Microsoft.Graph.Beta.Models.InternalSponsors(), "#microsoft.graph.requestorManager" => new global::Microsoft.Graph.Beta.Models.RequestorManager(), "#microsoft.graph.singleUser" => new global::Microsoft.Graph.Beta.Models.SingleUser(), + "#microsoft.graph.targetAgentIdentitySponsorsOrOwners" => new global::Microsoft.Graph.Beta.Models.TargetAgentIdentitySponsorsOrOwners(), "#microsoft.graph.targetUserSponsors" => new global::Microsoft.Graph.Beta.Models.TargetUserSponsors(), _ => new global::Microsoft.Graph.Beta.Models.UserSet(), }; diff --git a/src/Microsoft.Graph/Generated/Models/UserSettings.cs b/src/Microsoft.Graph/Generated/Models/UserSettings.cs index f9bfaa74a99..8a045ee8d59 100644 --- a/src/Microsoft.Graph/Generated/Models/UserSettings.cs +++ b/src/Microsoft.Graph/Generated/Models/UserSettings.cs @@ -135,6 +135,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.Beta.Models.WorkHoursAndLocationsSetting? WorkHoursAndLocations + { + get { return BackingStore?.Get("workHoursAndLocations"); } + set { BackingStore?.Set("workHoursAndLocations", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.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 @@ -163,6 +179,7 @@ public override IDictionary> GetFieldDeserializers() { "shiftPreferences", n => { ShiftPreferences = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.ShiftPreferences.CreateFromDiscriminatorValue); } }, { "storage", n => { Storage = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.UserStorage.CreateFromDiscriminatorValue); } }, { "windows", n => { Windows = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.WindowsSetting.CreateFromDiscriminatorValue)?.AsList(); } }, + { "workHoursAndLocations", n => { WorkHoursAndLocations = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.WorkHoursAndLocationsSetting.CreateFromDiscriminatorValue); } }, }; } /// @@ -182,6 +199,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 index 6b91c0ccb0a..b98120bba03 100644 --- a/src/Microsoft.Graph/Generated/Models/UserWorkLocation.cs +++ b/src/Microsoft.Graph/Generated/Models/UserWorkLocation.cs @@ -37,7 +37,7 @@ public string OdataType set { BackingStore?.Set("@odata.type", value); } } #endif - /// Identifier of the place (when applicable). + /// Identifier of the place, if applicable. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? PlaceId diff --git a/src/Microsoft.Graph/Generated/Models/WorkHoursAndLocationsSetting.cs b/src/Microsoft.Graph/Generated/Models/WorkHoursAndLocationsSetting.cs new file mode 100644 index 00000000000..97cbece2cd7 --- /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.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class WorkHoursAndLocationsSetting : global::Microsoft.Graph.Beta.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The maxSharedWorkLocationDetails property + public global::Microsoft.Graph.Beta.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.Beta.Models.WorkHoursAndLocationsSetting CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.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.Beta.Models.WorkPlanOccurrence.CreateFromDiscriminatorValue)?.AsList(); } }, + { "recurrences", n => { Recurrences = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.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/WorkLocationUpdateScope.cs b/src/Microsoft.Graph/Generated/Models/WorkLocationUpdateScope.cs new file mode 100644 index 00000000000..c64fb741453 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WorkLocationUpdateScope.cs @@ -0,0 +1,24 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum 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..3e69d13f13a --- /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.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class WorkPlanOccurrence : global::Microsoft.Graph.Beta.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.Beta.Models.DateTimeTimeZone? End + { + get { return BackingStore?.Get("end"); } + set { BackingStore?.Set("end", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.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.Beta.Models.DateTimeTimeZone? Start + { + get { return BackingStore?.Get("start"); } + set { BackingStore?.Set("start", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.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.Beta.Models.TimeOffDetails? TimeOffDetails + { + get { return BackingStore?.Get("timeOffDetails"); } + set { BackingStore?.Set("timeOffDetails", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.TimeOffDetails TimeOffDetails + { + get { return BackingStore?.Get("timeOffDetails"); } + set { BackingStore?.Set("timeOffDetails", value); } + } +#endif + /// The workLocationType property + public global::Microsoft.Graph.Beta.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.Beta.Models.WorkPlanOccurrence CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.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.Beta.Models.DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + { "placeId", n => { PlaceId = n.GetStringValue(); } }, + { "recurrenceId", n => { RecurrenceId = n.GetStringValue(); } }, + { "start", n => { Start = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + { "timeOffDetails", n => { TimeOffDetails = n.GetObjectValue(global::Microsoft.Graph.Beta.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..18aafc7c598 --- /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.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class WorkPlanOccurrenceCollectionResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.WorkPlanOccurrenceCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.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.Beta.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..d102b38a78d --- /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.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class WorkPlanRecurrence : global::Microsoft.Graph.Beta.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.Beta.Models.DateTimeTimeZone? End + { + get { return BackingStore?.Get("end"); } + set { BackingStore?.Set("end", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.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.Beta.Models.PatternedRecurrence? Recurrence + { + get { return BackingStore?.Get("recurrence"); } + set { BackingStore?.Set("recurrence", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.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.Beta.Models.DateTimeTimeZone? Start + { + get { return BackingStore?.Get("start"); } + set { BackingStore?.Set("start", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.DateTimeTimeZone Start + { + get { return BackingStore?.Get("start"); } + set { BackingStore?.Set("start", value); } + } +#endif + /// The workLocationType property + public global::Microsoft.Graph.Beta.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.Beta.Models.WorkPlanRecurrence CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.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.Beta.Models.DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + { "placeId", n => { PlaceId = n.GetStringValue(); } }, + { "recurrence", n => { Recurrence = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.PatternedRecurrence.CreateFromDiscriminatorValue); } }, + { "start", n => { Start = n.GetObjectValue(global::Microsoft.Graph.Beta.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..59ce99fae1b --- /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.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class WorkPlanRecurrenceCollectionResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.WorkPlanRecurrenceCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.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.Beta.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 2a93b650157..5140b7303b4 100644 --- a/src/Microsoft.Graph/Generated/Models/Workspace.cs +++ b/src/Microsoft.Graph/Generated/Models/Workspace.cs @@ -88,7 +88,7 @@ public int? FloorNumber get { return BackingStore?.Get("floorNumber"); } set { BackingStore?.Set("floorNumber", value); } } - /// 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. + /// 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.Beta.Models.PlaceMode? Mode @@ -120,7 +120,7 @@ public string Nickname set { BackingStore?.Set("nickname", value); } } #endif - /// An alternate immutable unique identifier of the workspace. Read-only. + /// An alternative immutable unique identifier of the workspace. Read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? PlaceId diff --git a/src/Microsoft.Graph/Generated/NetworkAccess/Settings/CustomBlockPage/CustomBlockPageRequestBuilder.cs b/src/Microsoft.Graph/Generated/NetworkAccess/Settings/CustomBlockPage/CustomBlockPageRequestBuilder.cs index a3bd739ed46..7b826e1244d 100644 --- a/src/Microsoft.Graph/Generated/NetworkAccess/Settings/CustomBlockPage/CustomBlockPageRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/NetworkAccess/Settings/CustomBlockPage/CustomBlockPageRequestBuilder.cs @@ -57,7 +57,8 @@ public async Task DeleteAsync(Action - /// Get customBlockPage from networkAccess + /// Read the properties and relationships of microsoft.graph.networkaccess.customBlockPage object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -80,7 +81,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.Networkaccess.CustomBlockPage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the navigation property customBlockPage in networkAccess + /// Update the properties of a customBlockPage object. + /// Find more info here /// /// A /// The request body @@ -124,7 +126,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get customBlockPage from networkAccess + /// Read the properties and relationships of microsoft.graph.networkaccess.customBlockPage object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -143,7 +145,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the navigation property customBlockPage in networkAccess + /// Update the properties of a customBlockPage object. /// /// A /// The request body @@ -182,7 +184,7 @@ public partial class CustomBlockPageRequestBuilderDeleteRequestConfiguration : R { } /// - /// Get customBlockPage from networkAccess + /// Read the properties and relationships of microsoft.graph.networkaccess.customBlockPage object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class CustomBlockPageRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Security/Identities/SensorCandidates/Item/SensorCandidateItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Identities/SensorCandidates/Item/SensorCandidateItemRequestBuilder.cs index 292143a9eea..f65958a8a28 100644 --- a/src/Microsoft.Graph/Generated/Security/Identities/SensorCandidates/Item/SensorCandidateItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Identities/SensorCandidates/Item/SensorCandidateItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// Represents Microsoft Defender for Identity sensors that are ready to be activated. + /// Get sensorCandidates from security /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Represents Microsoft Defender for Identity sensors that are ready to be activated. + /// Get sensorCandidates from security /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class SensorCandidateItemRequestBuilderDeleteRequestConfiguration { } /// - /// Represents Microsoft Defender for Identity sensors that are ready to be activated. + /// Get sensorCandidates from security /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SensorCandidateItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Security/Identities/Settings/SettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Identities/Settings/SettingsRequestBuilder.cs index cc6096c1d5c..a89603dbe61 100644 --- a/src/Microsoft.Graph/Generated/Security/Identities/Settings/SettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Identities/Settings/SettingsRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// Represents a container for security identities settings APIs. + /// Get settings from security /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Represents a container for security identities settings APIs. + /// Get settings from security /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class SettingsRequestBuilderDeleteRequestConfiguration : RequestC { } /// - /// Represents a container for security identities settings APIs. + /// Get settings from security /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SettingsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Delta/DeltaGetResponse.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Delta/DeltaGetResponse.cs index 71e4a1094a0..ecf299989d2 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Delta/DeltaGetResponse.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Delta/DeltaGetResponse.cs @@ -16,16 +16,16 @@ public partial class DeltaGetResponse : global::Microsoft.Graph.Beta.Models.Base /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public List? Value + public List? Value { - get { return BackingStore?.Get?>("value"); } + get { return BackingStore?.Get?>("value"); } set { BackingStore?.Set("value", value); } } #nullable restore #else - public List Value + public List Value { - get { return BackingStore?.Get>("value"); } + get { return BackingStore?.Get>("value"); } set { BackingStore?.Set("value", value); } } #endif @@ -47,7 +47,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.DirectoryObject.CreateFromDiscriminatorValue)?.AsList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ServicePrincipal.CreateFromDiscriminatorValue)?.AsList(); } }, }; } /// @@ -58,7 +58,7 @@ public override void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); + writer.WriteCollectionOfObjectValues("value", Value); } } } diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Delta/DeltaRequestBuilder.cs index ce7e666571a..ce0c2b42ca7 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Delta/DeltaRequestBuilder.cs @@ -34,8 +34,8 @@ public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base { } /// - /// Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. - /// Find more info here + /// Get newly created, updated, or deleted service principals, agent identities, and agent identity blueprints without having to perform a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -58,8 +58,8 @@ public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.ServicePrincipals.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. - /// Find more info here + /// Get newly created, updated, or deleted service principals, agent identities, and agent identity blueprints without having to perform a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -83,7 +83,7 @@ public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.ServicePrincipals.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. + /// Get newly created, updated, or deleted service principals, agent identities, and agent identity blueprints without having to perform a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -111,7 +111,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. + /// Get newly created, updated, or deleted service principals, agent identities, and agent identity blueprints without having to perform a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DeltaRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/ChannelItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/ChannelItemRequestBuilder.cs index 54a6bce2b9f..b722ae81060 100644 --- a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/ChannelItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/ChannelItemRequestBuilder.cs @@ -14,6 +14,7 @@ using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.ProvisionEmail; using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.RemoveEmail; using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.SharedWithTeams; +using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.StartMigration; using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Tabs; using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Unarchive; using Microsoft.Kiota.Abstractions.Extensions; @@ -92,6 +93,11 @@ public partial class ChannelItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.SharedWithTeams.SharedWithTeamsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the startMigration method. + public global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.StartMigration.StartMigrationRequestBuilder StartMigration + { + get => new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.StartMigration.StartMigrationRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the tabs property of the microsoft.graph.channel entity. public global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Tabs.TabsRequestBuilder Tabs { diff --git a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/StartMigration/StartMigrationPostRequestBody.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/StartMigration/StartMigrationPostRequestBody.cs new file mode 100644 index 00000000000..c764e95e96e --- /dev/null +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/StartMigration/StartMigrationPostRequestBody.cs @@ -0,0 +1,71 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.StartMigration +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class StartMigrationPostRequestBody : 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 conversationCreationDateTime property + public DateTimeOffset? ConversationCreationDateTime + { + get { return BackingStore?.Get("conversationCreationDateTime"); } + set { BackingStore?.Set("conversationCreationDateTime", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public StartMigrationPostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.StartMigration.StartMigrationPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.StartMigration.StartMigrationPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "conversationCreationDateTime", n => { ConversationCreationDateTime = n.GetDateTimeOffsetValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteDateTimeOffsetValue("conversationCreationDateTime", ConversationCreationDateTime); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/StartMigration/StartMigrationRequestBuilder.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/StartMigration/StartMigrationRequestBuilder.cs new file mode 100644 index 00000000000..2e9a6232843 --- /dev/null +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/StartMigration/StartMigrationRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.StartMigration +{ + /// + /// Provides operations to call the startMigration method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class StartMigrationRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public StartMigrationRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/startMigration", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public StartMigrationRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/startMigration", rawUrl) + { + } + /// + /// Start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. + /// 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.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.StartMigration.StartMigrationPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.StartMigration.StartMigrationPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.StartMigration.StartMigrationPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.StartMigration.StartMigrationPostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.StartMigration.StartMigrationRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.StartMigration.StartMigrationRequestBuilder(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 StartMigrationRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/PrimaryChannelRequestBuilder.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/PrimaryChannelRequestBuilder.cs index ef9a69b070d..336e9bed110 100644 --- a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/PrimaryChannelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/PrimaryChannelRequestBuilder.cs @@ -14,6 +14,7 @@ using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.ProvisionEmail; using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.RemoveEmail; using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.SharedWithTeams; +using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.StartMigration; using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Tabs; using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Unarchive; using Microsoft.Kiota.Abstractions.Extensions; @@ -92,6 +93,11 @@ public partial class PrimaryChannelRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.SharedWithTeams.SharedWithTeamsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the startMigration method. + public global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.StartMigration.StartMigrationRequestBuilder StartMigration + { + get => new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.StartMigration.StartMigrationRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the tabs property of the microsoft.graph.channel entity. public global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Tabs.TabsRequestBuilder Tabs { diff --git a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/StartMigration/StartMigrationPostRequestBody.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/StartMigration/StartMigrationPostRequestBody.cs new file mode 100644 index 00000000000..9681090be38 --- /dev/null +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/StartMigration/StartMigrationPostRequestBody.cs @@ -0,0 +1,71 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.StartMigration +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class StartMigrationPostRequestBody : 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 conversationCreationDateTime property + public DateTimeOffset? ConversationCreationDateTime + { + get { return BackingStore?.Get("conversationCreationDateTime"); } + set { BackingStore?.Set("conversationCreationDateTime", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public StartMigrationPostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.StartMigration.StartMigrationPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.StartMigration.StartMigrationPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "conversationCreationDateTime", n => { ConversationCreationDateTime = n.GetDateTimeOffsetValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteDateTimeOffsetValue("conversationCreationDateTime", ConversationCreationDateTime); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/StartMigration/StartMigrationRequestBuilder.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/StartMigration/StartMigrationRequestBuilder.cs new file mode 100644 index 00000000000..64f56cb57cf --- /dev/null +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/StartMigration/StartMigrationRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.StartMigration +{ + /// + /// Provides operations to call the startMigration method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class StartMigrationRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public StartMigrationRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/startMigration", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public StartMigrationRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/startMigration", rawUrl) + { + } + /// + /// Start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. + /// 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.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.StartMigration.StartMigrationPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.StartMigration.StartMigrationPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.StartMigration.StartMigrationPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.StartMigration.StartMigrationPostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.StartMigration.StartMigrationRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.StartMigration.StartMigrationRequestBuilder(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 StartMigrationRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/ChannelItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/ChannelItemRequestBuilder.cs index 12bddaf14a9..ee179cd5221 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/ChannelItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/ChannelItemRequestBuilder.cs @@ -14,6 +14,7 @@ using Microsoft.Graph.Beta.Teams.Item.Channels.Item.ProvisionEmail; using Microsoft.Graph.Beta.Teams.Item.Channels.Item.RemoveEmail; using Microsoft.Graph.Beta.Teams.Item.Channels.Item.SharedWithTeams; +using Microsoft.Graph.Beta.Teams.Item.Channels.Item.StartMigration; using Microsoft.Graph.Beta.Teams.Item.Channels.Item.Tabs; using Microsoft.Graph.Beta.Teams.Item.Channels.Item.Unarchive; using Microsoft.Kiota.Abstractions.Extensions; @@ -92,6 +93,11 @@ public partial class ChannelItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.SharedWithTeams.SharedWithTeamsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the startMigration method. + public global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.StartMigration.StartMigrationRequestBuilder StartMigration + { + get => new global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.StartMigration.StartMigrationRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the tabs property of the microsoft.graph.channel entity. public global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.Tabs.TabsRequestBuilder Tabs { diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/StartMigration/StartMigrationPostRequestBody.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/StartMigration/StartMigrationPostRequestBody.cs new file mode 100644 index 00000000000..94a84247964 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/StartMigration/StartMigrationPostRequestBody.cs @@ -0,0 +1,71 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Teams.Item.Channels.Item.StartMigration +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class StartMigrationPostRequestBody : 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 conversationCreationDateTime property + public DateTimeOffset? ConversationCreationDateTime + { + get { return BackingStore?.Get("conversationCreationDateTime"); } + set { BackingStore?.Set("conversationCreationDateTime", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public StartMigrationPostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.StartMigration.StartMigrationPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.StartMigration.StartMigrationPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "conversationCreationDateTime", n => { ConversationCreationDateTime = n.GetDateTimeOffsetValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteDateTimeOffsetValue("conversationCreationDateTime", ConversationCreationDateTime); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/StartMigration/StartMigrationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/StartMigration/StartMigrationRequestBuilder.cs new file mode 100644 index 00000000000..e11b7d35778 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/StartMigration/StartMigrationRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teams.Item.Channels.Item.StartMigration +{ + /// + /// Provides operations to call the startMigration method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class StartMigrationRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public StartMigrationRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/startMigration", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public StartMigrationRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/startMigration", rawUrl) + { + } + /// + /// Start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. + /// 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.Beta.Teams.Item.Channels.Item.StartMigration.StartMigrationPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.StartMigration.StartMigrationPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.StartMigration.StartMigrationPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.StartMigration.StartMigrationPostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.StartMigration.StartMigrationRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.StartMigration.StartMigrationRequestBuilder(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 StartMigrationRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/PrimaryChannelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/PrimaryChannelRequestBuilder.cs index fc0d255d92b..ee9737e08c0 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/PrimaryChannelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/PrimaryChannelRequestBuilder.cs @@ -14,6 +14,7 @@ using Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.ProvisionEmail; using Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.RemoveEmail; using Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.SharedWithTeams; +using Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.StartMigration; using Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Tabs; using Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Unarchive; using Microsoft.Kiota.Abstractions.Extensions; @@ -92,6 +93,11 @@ public partial class PrimaryChannelRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.SharedWithTeams.SharedWithTeamsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the startMigration method. + public global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.StartMigration.StartMigrationRequestBuilder StartMigration + { + get => new global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.StartMigration.StartMigrationRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the tabs property of the microsoft.graph.channel entity. public global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Tabs.TabsRequestBuilder Tabs { diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/StartMigration/StartMigrationPostRequestBody.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/StartMigration/StartMigrationPostRequestBody.cs new file mode 100644 index 00000000000..651947c4f93 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/StartMigration/StartMigrationPostRequestBody.cs @@ -0,0 +1,71 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.StartMigration +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class StartMigrationPostRequestBody : 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 conversationCreationDateTime property + public DateTimeOffset? ConversationCreationDateTime + { + get { return BackingStore?.Get("conversationCreationDateTime"); } + set { BackingStore?.Set("conversationCreationDateTime", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public StartMigrationPostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.StartMigration.StartMigrationPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.StartMigration.StartMigrationPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "conversationCreationDateTime", n => { ConversationCreationDateTime = n.GetDateTimeOffsetValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteDateTimeOffsetValue("conversationCreationDateTime", ConversationCreationDateTime); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/StartMigration/StartMigrationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/StartMigration/StartMigrationRequestBuilder.cs new file mode 100644 index 00000000000..f79f1efc2a3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/StartMigration/StartMigrationRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.StartMigration +{ + /// + /// Provides operations to call the startMigration method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class StartMigrationRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public StartMigrationRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/primaryChannel/startMigration", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public StartMigrationRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/primaryChannel/startMigration", rawUrl) + { + } + /// + /// Start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. + /// 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.Beta.Teams.Item.PrimaryChannel.StartMigration.StartMigrationPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.StartMigration.StartMigrationPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.StartMigration.StartMigrationPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.StartMigration.StartMigrationPostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.StartMigration.StartMigrationRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.StartMigration.StartMigrationRequestBuilder(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 StartMigrationRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/ChannelItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/ChannelItemRequestBuilder.cs index 7eefbb604e7..7813ca49e6b 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/ChannelItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/ChannelItemRequestBuilder.cs @@ -14,6 +14,7 @@ using Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.ProvisionEmail; using Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.RemoveEmail; using Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.SharedWithTeams; +using Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.StartMigration; using Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Tabs; using Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Unarchive; using Microsoft.Kiota.Abstractions.Extensions; @@ -92,6 +93,11 @@ public partial class ChannelItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.SharedWithTeams.SharedWithTeamsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the startMigration method. + public global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.StartMigration.StartMigrationRequestBuilder StartMigration + { + get => new global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.StartMigration.StartMigrationRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the tabs property of the microsoft.graph.channel entity. public global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Tabs.TabsRequestBuilder Tabs { diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/StartMigration/StartMigrationPostRequestBody.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/StartMigration/StartMigrationPostRequestBody.cs new file mode 100644 index 00000000000..f5e9c5494ac --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/StartMigration/StartMigrationPostRequestBody.cs @@ -0,0 +1,71 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.StartMigration +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class StartMigrationPostRequestBody : 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 conversationCreationDateTime property + public DateTimeOffset? ConversationCreationDateTime + { + get { return BackingStore?.Get("conversationCreationDateTime"); } + set { BackingStore?.Set("conversationCreationDateTime", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public StartMigrationPostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.StartMigration.StartMigrationPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.StartMigration.StartMigrationPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "conversationCreationDateTime", n => { ConversationCreationDateTime = n.GetDateTimeOffsetValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteDateTimeOffsetValue("conversationCreationDateTime", ConversationCreationDateTime); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/StartMigration/StartMigrationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/StartMigration/StartMigrationRequestBuilder.cs new file mode 100644 index 00000000000..25b6bbd905a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/StartMigration/StartMigrationRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.StartMigration +{ + /// + /// Provides operations to call the startMigration method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class StartMigrationRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public StartMigrationRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/startMigration", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public StartMigrationRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/startMigration", rawUrl) + { + } + /// + /// Start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. + /// 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.Beta.Teamwork.DeletedTeams.Item.Channels.Item.StartMigration.StartMigrationPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.StartMigration.StartMigrationPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.StartMigration.StartMigrationPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.StartMigration.StartMigrationPostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.StartMigration.StartMigrationRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.StartMigration.StartMigrationRequestBuilder(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 StartMigrationRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/ChannelItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/ChannelItemRequestBuilder.cs index 90549cccf75..b49ba673e7a 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/ChannelItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/ChannelItemRequestBuilder.cs @@ -14,6 +14,7 @@ using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.ProvisionEmail; using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.RemoveEmail; using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.SharedWithTeams; +using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.StartMigration; using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Tabs; using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Unarchive; using Microsoft.Kiota.Abstractions.Extensions; @@ -92,6 +93,11 @@ public partial class ChannelItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.SharedWithTeams.SharedWithTeamsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the startMigration method. + public global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.StartMigration.StartMigrationRequestBuilder StartMigration + { + get => new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.StartMigration.StartMigrationRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the tabs property of the microsoft.graph.channel entity. public global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Tabs.TabsRequestBuilder Tabs { diff --git a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/StartMigration/StartMigrationPostRequestBody.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/StartMigration/StartMigrationPostRequestBody.cs new file mode 100644 index 00000000000..c741678a504 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/StartMigration/StartMigrationPostRequestBody.cs @@ -0,0 +1,71 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.StartMigration +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class StartMigrationPostRequestBody : 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 conversationCreationDateTime property + public DateTimeOffset? ConversationCreationDateTime + { + get { return BackingStore?.Get("conversationCreationDateTime"); } + set { BackingStore?.Set("conversationCreationDateTime", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public StartMigrationPostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.StartMigration.StartMigrationPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.StartMigration.StartMigrationPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "conversationCreationDateTime", n => { ConversationCreationDateTime = n.GetDateTimeOffsetValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteDateTimeOffsetValue("conversationCreationDateTime", ConversationCreationDateTime); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/StartMigration/StartMigrationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/StartMigration/StartMigrationRequestBuilder.cs new file mode 100644 index 00000000000..9b1ae54a35b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/StartMigration/StartMigrationRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.StartMigration +{ + /// + /// Provides operations to call the startMigration method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class StartMigrationRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public StartMigrationRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/startMigration", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public StartMigrationRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/startMigration", rawUrl) + { + } + /// + /// Start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. + /// 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.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.StartMigration.StartMigrationPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.StartMigration.StartMigrationPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.StartMigration.StartMigrationPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.StartMigration.StartMigrationPostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.StartMigration.StartMigrationRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.StartMigration.StartMigrationRequestBuilder(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 StartMigrationRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/PrimaryChannelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/PrimaryChannelRequestBuilder.cs index 0b448a928dc..6a8a7f4a216 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/PrimaryChannelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/PrimaryChannelRequestBuilder.cs @@ -14,6 +14,7 @@ using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.ProvisionEmail; using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.RemoveEmail; using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.SharedWithTeams; +using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.StartMigration; using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Tabs; using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Unarchive; using Microsoft.Kiota.Abstractions.Extensions; @@ -92,6 +93,11 @@ public partial class PrimaryChannelRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.SharedWithTeams.SharedWithTeamsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the startMigration method. + public global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.StartMigration.StartMigrationRequestBuilder StartMigration + { + get => new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.StartMigration.StartMigrationRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the tabs property of the microsoft.graph.channel entity. public global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Tabs.TabsRequestBuilder Tabs { diff --git a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/StartMigration/StartMigrationPostRequestBody.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/StartMigration/StartMigrationPostRequestBody.cs new file mode 100644 index 00000000000..fb389dbb413 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/StartMigration/StartMigrationPostRequestBody.cs @@ -0,0 +1,71 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.StartMigration +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class StartMigrationPostRequestBody : 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 conversationCreationDateTime property + public DateTimeOffset? ConversationCreationDateTime + { + get { return BackingStore?.Get("conversationCreationDateTime"); } + set { BackingStore?.Set("conversationCreationDateTime", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public StartMigrationPostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.StartMigration.StartMigrationPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.StartMigration.StartMigrationPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "conversationCreationDateTime", n => { ConversationCreationDateTime = n.GetDateTimeOffsetValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteDateTimeOffsetValue("conversationCreationDateTime", ConversationCreationDateTime); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/StartMigration/StartMigrationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/StartMigration/StartMigrationRequestBuilder.cs new file mode 100644 index 00000000000..a8c2502ddd6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/StartMigration/StartMigrationRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.StartMigration +{ + /// + /// Provides operations to call the startMigration method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class StartMigrationRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public StartMigrationRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/startMigration", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public StartMigrationRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/startMigration", rawUrl) + { + } + /// + /// Start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. + /// 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.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.StartMigration.StartMigrationPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.StartMigration.StartMigrationPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.StartMigration.StartMigrationPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.StartMigration.StartMigrationPostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.StartMigration.StartMigrationRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.StartMigration.StartMigrationRequestBuilder(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 StartMigrationRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/AdhocCalls/AdhocCallsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/AdhocCalls/AdhocCallsRequestBuilder.cs index 0b6ccfd6833..625d56f15ac 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/AdhocCalls/AdhocCallsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/AdhocCalls/AdhocCallsRequestBuilder.cs @@ -3,6 +3,8 @@ using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; using Microsoft.Graph.Beta.Users.Item.AdhocCalls.Count; +using Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime; +using Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime; using Microsoft.Graph.Beta.Users.Item.AdhocCalls.Item; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; @@ -25,6 +27,16 @@ public partial class AdhocCallsRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Users.Item.AdhocCalls.Count.CountRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the getAllRecordings method. + public global::Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime + { + get => new global::Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the getAllTranscripts method. + public global::Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime + { + get => new global::Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the adhocCalls property of the microsoft.graph.user entity. /// The unique identifier of adhocCall /// A diff --git a/src/Microsoft.Graph/Generated/Users/Item/AdhocCalls/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse.cs b/src/Microsoft.Graph/Generated/Users/Item/AdhocCalls/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse.cs new file mode 100644 index 00000000000..dfd7664146f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/AdhocCalls/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.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/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/AdhocCalls/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.cs new file mode 100644 index 00000000000..0dcd79e988e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/AdhocCalls/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.cs @@ -0,0 +1,203 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime +{ + /// + /// Provides operations to call the getAllRecordings method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/adhocCalls/getAllRecordings(userId='@userId',startDateTime=@startDateTime,endDateTime=@endDateTime){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top,endDateTime*,startDateTime*,userId*}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/adhocCalls/getAllRecordings(userId='@userId',startDateTime=@startDateTime,endDateTime=@endDateTime){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top,endDateTime*,startDateTime*,userId*}", rawUrl) + { + } + /// + /// Invoke function getAllRecordings + /// + /// 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 GetAsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function getAllRecordings + /// + /// 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 GetAsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function getAllRecordings + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Invoke function getAllRecordings + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Usage: endDateTime=@endDateTime + [QueryParameter("endDateTime")] + public DateTimeOffset? EndDateTime { 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; } + /// Usage: startDateTime=@startDateTime + [QueryParameter("startDateTime")] + public DateTimeOffset? StartDateTime { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + /// Usage: userId='@userId' +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("userId")] + public string? UserId { get; set; } +#nullable restore +#else + [QueryParameter("userId")] + public string UserId { 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 GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/AdhocCalls/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse.cs b/src/Microsoft.Graph/Generated/Users/Item/AdhocCalls/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse.cs new file mode 100644 index 00000000000..28a9a5c19b3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/AdhocCalls/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime +{ + [Obsolete("This class is obsolete. Use GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse : global::Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/AdhocCalls/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse.cs b/src/Microsoft.Graph/Generated/Users/Item/AdhocCalls/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse.cs new file mode 100644 index 00000000000..f7ae306b6f3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/AdhocCalls/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.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/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/AdhocCalls/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.cs new file mode 100644 index 00000000000..2db33252050 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/AdhocCalls/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.cs @@ -0,0 +1,203 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime +{ + /// + /// Provides operations to call the getAllTranscripts method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/adhocCalls/getAllTranscripts(userId='@userId',startDateTime=@startDateTime,endDateTime=@endDateTime){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top,endDateTime*,startDateTime*,userId*}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/adhocCalls/getAllTranscripts(userId='@userId',startDateTime=@startDateTime,endDateTime=@endDateTime){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top,endDateTime*,startDateTime*,userId*}", rawUrl) + { + } + /// + /// Invoke function getAllTranscripts + /// + /// 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 GetAsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function getAllTranscripts + /// + /// 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 GetAsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function getAllTranscripts + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Invoke function getAllTranscripts + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Usage: endDateTime=@endDateTime + [QueryParameter("endDateTime")] + public DateTimeOffset? EndDateTime { 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; } + /// Usage: startDateTime=@startDateTime + [QueryParameter("startDateTime")] + public DateTimeOffset? StartDateTime { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + /// Usage: userId='@userId' +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("userId")] + public string? UserId { get; set; } +#nullable restore +#else + [QueryParameter("userId")] + public string UserId { 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 GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/AdhocCalls/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse.cs b/src/Microsoft.Graph/Generated/Users/Item/AdhocCalls/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse.cs new file mode 100644 index 00000000000..fc4a7835b3f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/AdhocCalls/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime +{ + [Obsolete("This class is obsolete. Use GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse : global::Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/ChatItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/ChatItemRequestBuilder.cs index c12d93d83f0..a71603d0e18 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/ChatItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/ChatItemRequestBuilder.cs @@ -15,6 +15,7 @@ using Microsoft.Graph.Beta.Users.Item.Chats.Item.PinnedMessages; using Microsoft.Graph.Beta.Users.Item.Chats.Item.RemoveAllAccessForUser; using Microsoft.Graph.Beta.Users.Item.Chats.Item.SendActivityNotification; +using Microsoft.Graph.Beta.Users.Item.Chats.Item.StartMigration; using Microsoft.Graph.Beta.Users.Item.Chats.Item.Tabs; using Microsoft.Graph.Beta.Users.Item.Chats.Item.UnhideForUser; using Microsoft.Kiota.Abstractions.Extensions; @@ -98,6 +99,11 @@ public partial class ChatItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Users.Item.Chats.Item.SendActivityNotification.SendActivityNotificationRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the startMigration method. + public global::Microsoft.Graph.Beta.Users.Item.Chats.Item.StartMigration.StartMigrationRequestBuilder StartMigration + { + get => new global::Microsoft.Graph.Beta.Users.Item.Chats.Item.StartMigration.StartMigrationRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the tabs property of the microsoft.graph.chat entity. public global::Microsoft.Graph.Beta.Users.Item.Chats.Item.Tabs.TabsRequestBuilder Tabs { diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/StartMigration/StartMigrationPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/StartMigration/StartMigrationPostRequestBody.cs new file mode 100644 index 00000000000..2f2a1647cb0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/StartMigration/StartMigrationPostRequestBody.cs @@ -0,0 +1,71 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Users.Item.Chats.Item.StartMigration +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class StartMigrationPostRequestBody : 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 conversationCreationDateTime property + public DateTimeOffset? ConversationCreationDateTime + { + get { return BackingStore?.Get("conversationCreationDateTime"); } + set { BackingStore?.Set("conversationCreationDateTime", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public StartMigrationPostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Users.Item.Chats.Item.StartMigration.StartMigrationPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Users.Item.Chats.Item.StartMigration.StartMigrationPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "conversationCreationDateTime", n => { ConversationCreationDateTime = n.GetDateTimeOffsetValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteDateTimeOffsetValue("conversationCreationDateTime", ConversationCreationDateTime); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/StartMigration/StartMigrationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/StartMigration/StartMigrationRequestBuilder.cs new file mode 100644 index 00000000000..775a922086c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/StartMigration/StartMigrationRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.Chats.Item.StartMigration +{ + /// + /// Provides operations to call the startMigration method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class StartMigrationRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public StartMigrationRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/startMigration", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public StartMigrationRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/startMigration", rawUrl) + { + } + /// + /// Start the migration of external messages by enabling migration mode in an existing chat. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. You can define a minimum timestamp for content migration that enables the import of messages from the past. The specified timestamp must be earlier than the current createdDateTime of the chat. Imported content is always limited by the createdDateTime of the target thread. An optional createdDateTime property in the payload allows you to update this value, but with strict rules: This API supportes the following channel types. + /// 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.Beta.Users.Item.Chats.Item.StartMigration.StartMigrationPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Users.Item.Chats.Item.StartMigration.StartMigrationPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Start the migration of external messages by enabling migration mode in an existing chat. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. You can define a minimum timestamp for content migration that enables the import of messages from the past. The specified timestamp must be earlier than the current createdDateTime of the chat. Imported content is always limited by the createdDateTime of the target thread. An optional createdDateTime property in the payload allows you to update this value, but with strict rules: This API supportes the following channel types. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Users.Item.Chats.Item.StartMigration.StartMigrationPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Users.Item.Chats.Item.StartMigration.StartMigrationPostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Users.Item.Chats.Item.StartMigration.StartMigrationRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.Chats.Item.StartMigration.StartMigrationRequestBuilder(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 StartMigrationRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#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 index 14924e668ac..af25ce09cd4 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Presence/SetAutomaticLocation/SetAutomaticLocationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Presence/SetAutomaticLocation/SetAutomaticLocationRequestBuilder.cs @@ -34,7 +34,7 @@ public SetAutomaticLocationRequestBuilder(string rawUrl, IRequestAdapter request { } /// - /// 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/location agents, or OEM docking apps). It doesn't clear manual or scheduled signals. + /// 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 @@ -59,7 +59,7 @@ public async Task PostAsync(global::Microsoft.Graph.Beta.Users.Item.Presence.Set 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/location agents, or OEM docking apps). It doesn't clear manual or scheduled signals. + /// 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 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Presence/SetManualLocation/SetManualLocationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Presence/SetManualLocation/SetManualLocationRequestBuilder.cs index 629ccc28481..73d4fc94576 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Presence/SetManualLocation/SetManualLocationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Presence/SetManualLocation/SetManualLocationRequestBuilder.cs @@ -34,7 +34,7 @@ public SetManualLocationRequestBuilder(string rawUrl, IRequestAdapter requestAda { } /// - /// 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. + /// 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 @@ -59,7 +59,7 @@ public async Task PostAsync(global::Microsoft.Graph.Beta.Users.Item.Presence.Set 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. + /// 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 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Settings/SettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Settings/SettingsRequestBuilder.cs index ef7b93f6665..34807549277 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Settings/SettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Settings/SettingsRequestBuilder.cs @@ -9,6 +9,7 @@ using Microsoft.Graph.Beta.Users.Item.Settings.ShiftPreferences; using Microsoft.Graph.Beta.Users.Item.Settings.Storage; using Microsoft.Graph.Beta.Users.Item.Settings.Windows; +using Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -60,6 +61,11 @@ public partial class SettingsRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Users.Item.Settings.Windows.WindowsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the workHoursAndLocations property of the microsoft.graph.userSettings entity. + public global::Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.WorkHoursAndLocationsRequestBuilder WorkHoursAndLocations + { + get => new global::Microsoft.Graph.Beta.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/WorkHoursAndLocations/Occurrences/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..4ae44035d8d --- /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.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.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..31d117d548c --- /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.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.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.Beta.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.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.Beta.Models.WorkPlanOccurrence body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PutAsync(global::Microsoft.Graph.Beta.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.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.Beta.Models.WorkPlanOccurrence body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPutRequestInformation(global::Microsoft.Graph.Beta.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.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.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..d4fdb209c4d --- /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.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.Count; +using Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.Item; +using Microsoft.Graph.Beta.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.Beta.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.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the setCurrentLocation method. + public global::Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.SetCurrentLocationRequestBuilder SetCurrentLocation + { + get => new global::Microsoft.Graph.Beta.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.Beta.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.Beta.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.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.Beta.Models.WorkPlanOccurrence body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.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.Beta.Models.WorkPlanOccurrence body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.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.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.OccurrencesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.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..6a338ace9d7 --- /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.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Users.Item.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.Beta.Models.WorkLocationUpdateScope? UpdateScope + { + get { return BackingStore?.Get("updateScope"); } + set { BackingStore?.Set("updateScope", value); } + } + /// The workLocationType property + public global::Microsoft.Graph.Beta.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.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.SetCurrentLocationPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.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..479b438578a --- /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.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.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.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.SetCurrentLocationPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.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.Beta.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.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.SetCurrentLocationPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.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.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.SetCurrentLocationRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.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..b0a72966405 --- /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.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class OccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.OccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.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.Beta.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..b1ce0e73491 --- /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.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.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.Beta.Users.Item.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.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..96ea30c522a --- /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.Beta.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.Beta.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.Beta.Users.Item.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.OccurrencesViewWithStartDateTimeWithEndDateTimeResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.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..ae00ad50da3 --- /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.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Recurrences.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.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..7de790b3157 --- /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.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.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.Beta.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.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.Beta.Models.WorkPlanRecurrence body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PutAsync(global::Microsoft.Graph.Beta.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.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.Beta.Models.WorkPlanRecurrence body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPutRequestInformation(global::Microsoft.Graph.Beta.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.Beta.Users.Item.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.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..07bddf67777 --- /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.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Recurrences.Count; +using Microsoft.Graph.Beta.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.Beta.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.Beta.Users.Item.Settings.WorkHoursAndLocations.Recurrences.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.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.Beta.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.Beta.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.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.Beta.Models.WorkPlanRecurrence body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.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.Beta.Models.WorkPlanRecurrence body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.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.Beta.Users.Item.Settings.WorkHoursAndLocations.Recurrences.RecurrencesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.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..3b864e0b28c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Settings/WorkHoursAndLocations/WorkHoursAndLocationsRequestBuilder.cs @@ -0,0 +1,205 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences; +using Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime; +using Microsoft.Graph.Beta.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.Beta.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.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.OccurrencesRequestBuilder Occurrences + { + get => new global::Microsoft.Graph.Beta.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.Beta.Users.Item.Settings.WorkHoursAndLocations.Recurrences.RecurrencesRequestBuilder Recurrences + { + get => new global::Microsoft.Graph.Beta.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.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.Beta.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.Beta.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.Beta.Models.WorkHoursAndLocationsSetting body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.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.Beta.Models.WorkHoursAndLocationsSetting body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.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.Beta.Users.Item.Settings.WorkHoursAndLocations.WorkHoursAndLocationsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.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/kiota-dom-export.txt b/src/Microsoft.Graph/Generated/kiota-dom-export.txt index 2002075386a..02877091c63 100644 --- a/src/Microsoft.Graph/Generated/kiota-dom-export.txt +++ b/src/Microsoft.Graph/Generated/kiota-dom-export.txt @@ -1097,6 +1097,7 @@ Microsoft.Graph.Beta.Admin.Exchange.exchangeRequestBuilder::|public|PatchAsync(b Microsoft.Graph.Beta.Admin.Exchange.exchangeRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Admin.Exchange.exchangeRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Admin.Exchange.exchangeRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.ExchangeAdmin; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Exchange.exchangeRequestBuilder::|public|tracing:global.Microsoft.Graph.Beta.Admin.Exchange.Tracing.TracingRequestBuilder Microsoft.Graph.Beta.Admin.Exchange.exchangeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.Exchange.ExchangeRequestBuilder Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string @@ -1548,6 +1549,90 @@ Microsoft.Graph.Beta.Admin.Exchange.MessageTraces.messageTracesRequestBuilder::| Microsoft.Graph.Beta.Admin.Exchange.MessageTraces.messageTracesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Admin.Exchange.MessageTraces.messageTracesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.MessageTrace; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Admin.Exchange.MessageTraces.messageTracesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.Exchange.MessageTraces.MessageTracesRequestBuilder +Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Count.CountRequestBuilder +Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Item.ExchangeMessageTraceItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Item.ExchangeMessageTraceItemRequestBuilder.ExchangeMessageTraceItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Item.ExchangeMessageTraceItemRequestBuilder.ExchangeMessageTraceItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Item.ExchangeMessageTraceItemRequestBuilder.ExchangeMessageTraceItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Item.ExchangeMessageTraceItemRequestBuilder.ExchangeMessageTraceItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Item.ExchangeMessageTraceItemRequestBuilder.ExchangeMessageTraceItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Item.ExchangeMessageTraceItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Item.ExchangeMessageTraceItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Item.ExchangeMessageTraceItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Item.ExchangeMessageTraceItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ExchangeMessageTrace +Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Item.ExchangeMessageTraceItemRequestBuilder::|public|getDetailsByRecipientWithRecipientAddress(recipientAddress:string):global.Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Item.GetDetailsByRecipientWithRecipientAddress.GetDetailsByRecipientWithRecipientAddressRequestBuilder +Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Item.ExchangeMessageTraceItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.ExchangeMessageTrace; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ExchangeMessageTrace +Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Item.ExchangeMessageTraceItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Item.ExchangeMessageTraceItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Item.ExchangeMessageTraceItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.ExchangeMessageTrace; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Item.ExchangeMessageTraceItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Item.ExchangeMessageTraceItemRequestBuilder +Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Item.GetDetailsByRecipientWithRecipientAddress.getDetailsByRecipientWithRecipientAddressGetResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Item.GetDetailsByRecipientWithRecipientAddress.getDetailsByRecipientWithRecipientAddressGetResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Item.GetDetailsByRecipientWithRecipientAddress.getDetailsByRecipientWithRecipientAddressGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Item.GetDetailsByRecipientWithRecipientAddress.getDetailsByRecipientWithRecipientAddressGetResponse::|public|Value:List +Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Item.GetDetailsByRecipientWithRecipientAddress.getDetailsByRecipientWithRecipientAddressGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Item.GetDetailsByRecipientWithRecipientAddress.GetDetailsByRecipientWithRecipientAddressGetResponse +Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Item.GetDetailsByRecipientWithRecipientAddress.getDetailsByRecipientWithRecipientAddressRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Item.GetDetailsByRecipientWithRecipientAddress.getDetailsByRecipientWithRecipientAddressRequestBuilder.getDetailsByRecipientWithRecipientAddressRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Item.GetDetailsByRecipientWithRecipientAddress.getDetailsByRecipientWithRecipientAddressRequestBuilder.getDetailsByRecipientWithRecipientAddressRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Item.GetDetailsByRecipientWithRecipientAddress.getDetailsByRecipientWithRecipientAddressRequestBuilder.getDetailsByRecipientWithRecipientAddressRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Item.GetDetailsByRecipientWithRecipientAddress.getDetailsByRecipientWithRecipientAddressRequestBuilder.getDetailsByRecipientWithRecipientAddressRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Item.GetDetailsByRecipientWithRecipientAddress.getDetailsByRecipientWithRecipientAddressRequestBuilder.getDetailsByRecipientWithRecipientAddressRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Item.GetDetailsByRecipientWithRecipientAddress.getDetailsByRecipientWithRecipientAddressRequestBuilder.getDetailsByRecipientWithRecipientAddressRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Item.GetDetailsByRecipientWithRecipientAddress.getDetailsByRecipientWithRecipientAddressRequestBuilder.getDetailsByRecipientWithRecipientAddressRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Item.GetDetailsByRecipientWithRecipientAddress.getDetailsByRecipientWithRecipientAddressRequestBuilder.getDetailsByRecipientWithRecipientAddressRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Item.GetDetailsByRecipientWithRecipientAddress.getDetailsByRecipientWithRecipientAddressRequestBuilder.getDetailsByRecipientWithRecipientAddressRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Item.GetDetailsByRecipientWithRecipientAddress.getDetailsByRecipientWithRecipientAddressRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter; recipientAddress?:string):void +Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Item.GetDetailsByRecipientWithRecipientAddress.getDetailsByRecipientWithRecipientAddressRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Item.GetDetailsByRecipientWithRecipientAddress.getDetailsByRecipientWithRecipientAddressRequestBuilder::|public|GetAsGetDetailsByRecipientWithRecipientAddressGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Item.GetDetailsByRecipientWithRecipientAddress.GetDetailsByRecipientWithRecipientAddressGetResponse +Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Item.GetDetailsByRecipientWithRecipientAddress.getDetailsByRecipientWithRecipientAddressRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Item.GetDetailsByRecipientWithRecipientAddress.GetDetailsByRecipientWithRecipientAddressResponse +Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Item.GetDetailsByRecipientWithRecipientAddress.getDetailsByRecipientWithRecipientAddressRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Item.GetDetailsByRecipientWithRecipientAddress.getDetailsByRecipientWithRecipientAddressRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Item.GetDetailsByRecipientWithRecipientAddress.GetDetailsByRecipientWithRecipientAddressRequestBuilder +Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Item.GetDetailsByRecipientWithRecipientAddress.getDetailsByRecipientWithRecipientAddressResponse-->global.Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Item.GetDetailsByRecipientWithRecipientAddress.GetDetailsByRecipientWithRecipientAddressGetResponse +Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Item.GetDetailsByRecipientWithRecipientAddress.getDetailsByRecipientWithRecipientAddressResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Item.GetDetailsByRecipientWithRecipientAddress.GetDetailsByRecipientWithRecipientAddressResponse +Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.messageTracesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.messageTracesRequestBuilder.messageTracesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.messageTracesRequestBuilder.messageTracesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.messageTracesRequestBuilder.messageTracesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.messageTracesRequestBuilder.messageTracesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.messageTracesRequestBuilder.messageTracesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.messageTracesRequestBuilder.messageTracesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.messageTracesRequestBuilder.messageTracesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.messageTracesRequestBuilder.messageTracesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.messageTracesRequestBuilder.messageTracesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.messageTracesRequestBuilder.messageTracesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.messageTracesRequestBuilder::[ExchangeMessageTraceId:string]:global.Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Item.ExchangeMessageTraceItemRequestBuilder +Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.messageTracesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.messageTracesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.messageTracesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.Count.CountRequestBuilder +Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.messageTracesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ExchangeMessageTraceCollectionResponse +Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.messageTracesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.ExchangeMessageTrace; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ExchangeMessageTrace +Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.messageTracesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.messageTracesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.ExchangeMessageTrace; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.messageTracesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.MessageTracesRequestBuilder +Microsoft.Graph.Beta.Admin.Exchange.Tracing.tracingRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.Exchange.Tracing.tracingRequestBuilder.tracingRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Exchange.Tracing.tracingRequestBuilder.tracingRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Admin.Exchange.Tracing.tracingRequestBuilder.tracingRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Admin.Exchange.Tracing.tracingRequestBuilder.tracingRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Exchange.Tracing.tracingRequestBuilder.tracingRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Exchange.Tracing.tracingRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Exchange.Tracing.tracingRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Exchange.Tracing.tracingRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Admin.Exchange.Tracing.tracingRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.MessageTracingRoot +Microsoft.Graph.Beta.Admin.Exchange.Tracing.tracingRequestBuilder::|public|messageTraces:global.Microsoft.Graph.Beta.Admin.Exchange.Tracing.MessageTraces.MessageTracesRequestBuilder +Microsoft.Graph.Beta.Admin.Exchange.Tracing.tracingRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.MessageTracingRoot; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.MessageTracingRoot +Microsoft.Graph.Beta.Admin.Exchange.Tracing.tracingRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Exchange.Tracing.tracingRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Exchange.Tracing.tracingRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.MessageTracingRoot; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Exchange.Tracing.tracingRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.Exchange.Tracing.TracingRequestBuilder Microsoft.Graph.Beta.Admin.Forms.formsRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Admin.Forms.formsRequestBuilder.formsRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Admin.Forms.formsRequestBuilder.formsRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -8182,7 +8267,7 @@ Microsoft.Graph.Beta.Applications.Count.CountRequestBuilder::|public|WithUrl(raw Microsoft.Graph.Beta.Applications.Delta.deltaGetResponse-->global.Microsoft.Graph.Beta.Models.BaseDeltaFunctionResponse Microsoft.Graph.Beta.Applications.Delta.deltaGetResponse::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Applications.Delta.deltaGetResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Beta.Applications.Delta.deltaGetResponse::|public|Value:List +Microsoft.Graph.Beta.Applications.Delta.deltaGetResponse::|public|Value:List Microsoft.Graph.Beta.Applications.Delta.deltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Applications.Delta.DeltaGetResponse Microsoft.Graph.Beta.Applications.Delta.deltaRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Applications.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Count:bool? @@ -11625,6 +11710,7 @@ Microsoft.Graph.Beta.Chats.Item.ChatItemRequestBuilder::|public|permissionGrants Microsoft.Graph.Beta.Chats.Item.ChatItemRequestBuilder::|public|pinnedMessages:global.Microsoft.Graph.Beta.Chats.Item.PinnedMessages.PinnedMessagesRequestBuilder Microsoft.Graph.Beta.Chats.Item.ChatItemRequestBuilder::|public|removeAllAccessForUser:global.Microsoft.Graph.Beta.Chats.Item.RemoveAllAccessForUser.RemoveAllAccessForUserRequestBuilder Microsoft.Graph.Beta.Chats.Item.ChatItemRequestBuilder::|public|sendActivityNotification:global.Microsoft.Graph.Beta.Chats.Item.SendActivityNotification.SendActivityNotificationRequestBuilder +Microsoft.Graph.Beta.Chats.Item.ChatItemRequestBuilder::|public|startMigration:global.Microsoft.Graph.Beta.Chats.Item.StartMigration.StartMigrationRequestBuilder Microsoft.Graph.Beta.Chats.Item.ChatItemRequestBuilder::|public|tabs:global.Microsoft.Graph.Beta.Chats.Item.Tabs.TabsRequestBuilder Microsoft.Graph.Beta.Chats.Item.ChatItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Chats.Item.ChatItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation @@ -12490,6 +12576,21 @@ Microsoft.Graph.Beta.Chats.Item.SendActivityNotification.sendActivityNotificatio Microsoft.Graph.Beta.Chats.Item.SendActivityNotification.sendActivityNotificationRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Chats.Item.SendActivityNotification.SendActivityNotificationPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Chats.Item.SendActivityNotification.sendActivityNotificationRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Chats.Item.SendActivityNotification.SendActivityNotificationPostRequestBody; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Chats.Item.SendActivityNotification.sendActivityNotificationRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Chats.Item.SendActivityNotification.SendActivityNotificationRequestBuilder +Microsoft.Graph.Beta.Chats.Item.StartMigration.startMigrationPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Chats.Item.StartMigration.startMigrationPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Chats.Item.StartMigration.startMigrationPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Chats.Item.StartMigration.startMigrationPostRequestBody::|public|ConversationCreationDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Chats.Item.StartMigration.startMigrationPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Chats.Item.StartMigration.startMigrationPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Chats.Item.StartMigration.startMigrationPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Chats.Item.StartMigration.StartMigrationPostRequestBody +Microsoft.Graph.Beta.Chats.Item.StartMigration.startMigrationPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Chats.Item.StartMigration.startMigrationRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Chats.Item.StartMigration.startMigrationRequestBuilder.startMigrationRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Chats.Item.StartMigration.startMigrationRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Chats.Item.StartMigration.startMigrationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Chats.Item.StartMigration.startMigrationRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Chats.Item.StartMigration.StartMigrationPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Chats.Item.StartMigration.startMigrationRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Chats.Item.StartMigration.StartMigrationPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Chats.Item.StartMigration.startMigrationRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Chats.Item.StartMigration.StartMigrationRequestBuilder Microsoft.Graph.Beta.Chats.Item.Tabs.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Chats.Item.Tabs.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.Chats.Item.Tabs.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -12629,6 +12730,8 @@ Microsoft.Graph.Beta.Communications.AdhocCalls.adhocCallsRequestBuilder::[AdhocC Microsoft.Graph.Beta.Communications.AdhocCalls.adhocCallsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Communications.AdhocCalls.adhocCallsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Communications.AdhocCalls.adhocCallsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Communications.AdhocCalls.Count.CountRequestBuilder +Microsoft.Graph.Beta.Communications.AdhocCalls.adhocCallsRequestBuilder::|public|getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime:global.Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder +Microsoft.Graph.Beta.Communications.AdhocCalls.adhocCallsRequestBuilder::|public|getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime:global.Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder Microsoft.Graph.Beta.Communications.AdhocCalls.adhocCallsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.AdhocCallCollectionResponse Microsoft.Graph.Beta.Communications.AdhocCalls.adhocCallsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.AdhocCall; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.AdhocCall Microsoft.Graph.Beta.Communications.AdhocCalls.adhocCallsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation @@ -12643,6 +12746,58 @@ Microsoft.Graph.Beta.Communications.AdhocCalls.Count.CountRequestBuilder::|publi Microsoft.Graph.Beta.Communications.AdhocCalls.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? Microsoft.Graph.Beta.Communications.AdhocCalls.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Communications.AdhocCalls.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Communications.AdhocCalls.Count.CountRequestBuilder +Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::|public|Value:List +Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse +Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|EndDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|StartDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|UserId:string +Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|GetAsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse +Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse +Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder +Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse-->global.Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse +Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse +Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::|public|Value:List +Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse +Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|EndDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|StartDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|UserId:string +Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|GetAsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse +Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse +Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder +Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse-->global.Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse +Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Communications.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse Microsoft.Graph.Beta.Communications.AdhocCalls.Item.AdhocCallItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Communications.AdhocCalls.Item.AdhocCallItemRequestBuilder.AdhocCallItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Communications.AdhocCalls.Item.AdhocCallItemRequestBuilder.AdhocCallItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -49243,11 +49398,34 @@ Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Report.reportRequestBuilde Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Report.reportRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Report.reportRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.CloudPcReport Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Report.reportRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.CloudPcReport; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.CloudPcReport +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Report.reportRequestBuilder::|public|retrieveCloudPcClientAppUsageReport:global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcClientAppUsageReport.RetrieveCloudPcClientAppUsageReportRequestBuilder Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Report.reportRequestBuilder::|public|retrieveCloudPcRecommendationReports:global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcRecommendationReports.RetrieveCloudPcRecommendationReportsRequestBuilder Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Report.reportRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Report.reportRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Report.reportRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.CloudPcReport; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Report.reportRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Report.ReportRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcClientAppUsageReport.retrieveCloudPcClientAppUsageReportPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcClientAppUsageReport.retrieveCloudPcClientAppUsageReportPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcClientAppUsageReport.retrieveCloudPcClientAppUsageReportPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcClientAppUsageReport.retrieveCloudPcClientAppUsageReportPostRequestBody::|public|Filter:string +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcClientAppUsageReport.retrieveCloudPcClientAppUsageReportPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcClientAppUsageReport.retrieveCloudPcClientAppUsageReportPostRequestBody::|public|GroupBy:List +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcClientAppUsageReport.retrieveCloudPcClientAppUsageReportPostRequestBody::|public|OrderBy:List +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcClientAppUsageReport.retrieveCloudPcClientAppUsageReportPostRequestBody::|public|ReportType:global.Microsoft.Graph.Beta.Models.CloudPcClientAppUsageReportType? +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcClientAppUsageReport.retrieveCloudPcClientAppUsageReportPostRequestBody::|public|Search:string +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcClientAppUsageReport.retrieveCloudPcClientAppUsageReportPostRequestBody::|public|Select:List +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcClientAppUsageReport.retrieveCloudPcClientAppUsageReportPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcClientAppUsageReport.retrieveCloudPcClientAppUsageReportPostRequestBody::|public|Skip:int? +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcClientAppUsageReport.retrieveCloudPcClientAppUsageReportPostRequestBody::|public|Top:int? +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcClientAppUsageReport.retrieveCloudPcClientAppUsageReportPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcClientAppUsageReport.RetrieveCloudPcClientAppUsageReportPostRequestBody +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcClientAppUsageReport.retrieveCloudPcClientAppUsageReportPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcClientAppUsageReport.retrieveCloudPcClientAppUsageReportRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcClientAppUsageReport.retrieveCloudPcClientAppUsageReportRequestBuilder.retrieveCloudPcClientAppUsageReportRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcClientAppUsageReport.retrieveCloudPcClientAppUsageReportRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcClientAppUsageReport.retrieveCloudPcClientAppUsageReportRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcClientAppUsageReport.retrieveCloudPcClientAppUsageReportRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcClientAppUsageReport.RetrieveCloudPcClientAppUsageReportPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcClientAppUsageReport.retrieveCloudPcClientAppUsageReportRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcClientAppUsageReport.RetrieveCloudPcClientAppUsageReportPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcClientAppUsageReport.retrieveCloudPcClientAppUsageReportRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcClientAppUsageReport.RetrieveCloudPcClientAppUsageReportRequestBuilder Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Report.RetrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|public|constructor():void @@ -103458,6 +103636,7 @@ Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.ChannelItemRequestBuilder::| Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.ChannelItemRequestBuilder::|public|provisionEmail:global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.ProvisionEmail.ProvisionEmailRequestBuilder Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.ChannelItemRequestBuilder::|public|removeEmail:global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.RemoveEmail.RemoveEmailRequestBuilder Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.ChannelItemRequestBuilder::|public|sharedWithTeams:global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.SharedWithTeams.SharedWithTeamsRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.ChannelItemRequestBuilder::|public|startMigration:global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.StartMigration.StartMigrationRequestBuilder Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.ChannelItemRequestBuilder::|public|tabs:global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Tabs.TabsRequestBuilder Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.ChannelItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.ChannelItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation @@ -104689,6 +104868,21 @@ Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.SharedWithTeams.sharedWithTe Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.SharedWithTeams.sharedWithTeamsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.SharedWithTeams.sharedWithTeamsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.SharedWithChannelTeamInfo; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.SharedWithTeams.sharedWithTeamsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.SharedWithTeams.SharedWithTeamsRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.StartMigration.startMigrationPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.StartMigration.startMigrationPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.StartMigration.startMigrationPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.StartMigration.startMigrationPostRequestBody::|public|ConversationCreationDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.StartMigration.startMigrationPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.StartMigration.startMigrationPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.StartMigration.startMigrationPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.StartMigration.StartMigrationPostRequestBody +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.StartMigration.startMigrationPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.StartMigration.startMigrationRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.StartMigration.startMigrationRequestBuilder.startMigrationRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.StartMigration.startMigrationRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.StartMigration.startMigrationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.StartMigration.startMigrationRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.StartMigration.StartMigrationPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.StartMigration.startMigrationRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.StartMigration.StartMigrationPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.StartMigration.startMigrationRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.StartMigration.StartMigrationRequestBuilder Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Tabs.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Tabs.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Tabs.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -106467,6 +106661,7 @@ Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.primaryChannelRequestBuilde Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.primaryChannelRequestBuilder::|public|provisionEmail:global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.ProvisionEmail.ProvisionEmailRequestBuilder Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.primaryChannelRequestBuilder::|public|removeEmail:global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.RemoveEmail.RemoveEmailRequestBuilder Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.primaryChannelRequestBuilder::|public|sharedWithTeams:global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.SharedWithTeams.SharedWithTeamsRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.primaryChannelRequestBuilder::|public|startMigration:global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.StartMigration.StartMigrationRequestBuilder Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.primaryChannelRequestBuilder::|public|tabs:global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Tabs.TabsRequestBuilder Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.primaryChannelRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.primaryChannelRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation @@ -106577,6 +106772,21 @@ Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.SharedWithTeams.sharedWithT Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.SharedWithTeams.sharedWithTeamsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.SharedWithTeams.sharedWithTeamsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.SharedWithChannelTeamInfo; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.SharedWithTeams.sharedWithTeamsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.SharedWithTeams.SharedWithTeamsRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.StartMigration.startMigrationPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.StartMigration.startMigrationPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.StartMigration.startMigrationPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.StartMigration.startMigrationPostRequestBody::|public|ConversationCreationDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.StartMigration.startMigrationPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.StartMigration.startMigrationPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.StartMigration.startMigrationPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.StartMigration.StartMigrationPostRequestBody +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.StartMigration.startMigrationPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.StartMigration.startMigrationRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.StartMigration.startMigrationRequestBuilder.startMigrationRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.StartMigration.startMigrationRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.StartMigration.startMigrationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.StartMigration.startMigrationRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.StartMigration.StartMigrationPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.StartMigration.startMigrationRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.StartMigration.StartMigrationPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.StartMigration.startMigrationRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.StartMigration.StartMigrationRequestBuilder Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Tabs.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Tabs.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Tabs.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -131763,6 +131973,8 @@ Microsoft.Graph.Beta.Me.AdhocCalls.adhocCallsRequestBuilder::[AdhocCallId:string Microsoft.Graph.Beta.Me.AdhocCalls.adhocCallsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Me.AdhocCalls.adhocCallsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Me.AdhocCalls.adhocCallsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Me.AdhocCalls.Count.CountRequestBuilder +Microsoft.Graph.Beta.Me.AdhocCalls.adhocCallsRequestBuilder::|public|getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime:global.Microsoft.Graph.Beta.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder +Microsoft.Graph.Beta.Me.AdhocCalls.adhocCallsRequestBuilder::|public|getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime:global.Microsoft.Graph.Beta.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder Microsoft.Graph.Beta.Me.AdhocCalls.adhocCallsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.AdhocCallCollectionResponse Microsoft.Graph.Beta.Me.AdhocCalls.adhocCallsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.AdhocCall; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.AdhocCall Microsoft.Graph.Beta.Me.AdhocCalls.adhocCallsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation @@ -131777,6 +131989,58 @@ Microsoft.Graph.Beta.Me.AdhocCalls.Count.CountRequestBuilder::|public|constructo Microsoft.Graph.Beta.Me.AdhocCalls.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? Microsoft.Graph.Beta.Me.AdhocCalls.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Me.AdhocCalls.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.AdhocCalls.Count.CountRequestBuilder +Microsoft.Graph.Beta.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::|public|Value:List +Microsoft.Graph.Beta.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse +Microsoft.Graph.Beta.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|EndDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|StartDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|UserId:string +Microsoft.Graph.Beta.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|GetAsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse +Microsoft.Graph.Beta.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse +Microsoft.Graph.Beta.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder +Microsoft.Graph.Beta.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse-->global.Microsoft.Graph.Beta.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse +Microsoft.Graph.Beta.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Me.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse +Microsoft.Graph.Beta.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::|public|Value:List +Microsoft.Graph.Beta.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse +Microsoft.Graph.Beta.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|EndDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|StartDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|UserId:string +Microsoft.Graph.Beta.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|GetAsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse +Microsoft.Graph.Beta.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse +Microsoft.Graph.Beta.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder +Microsoft.Graph.Beta.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse-->global.Microsoft.Graph.Beta.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse +Microsoft.Graph.Beta.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Me.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse Microsoft.Graph.Beta.Me.AdhocCalls.Item.AdhocCallItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Me.AdhocCalls.Item.AdhocCallItemRequestBuilder.AdhocCallItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Me.AdhocCalls.Item.AdhocCallItemRequestBuilder.AdhocCallItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -135332,6 +135596,7 @@ Microsoft.Graph.Beta.Me.Chats.Item.ChatItemRequestBuilder::|public|permissionGra Microsoft.Graph.Beta.Me.Chats.Item.ChatItemRequestBuilder::|public|pinnedMessages:global.Microsoft.Graph.Beta.Me.Chats.Item.PinnedMessages.PinnedMessagesRequestBuilder Microsoft.Graph.Beta.Me.Chats.Item.ChatItemRequestBuilder::|public|removeAllAccessForUser:global.Microsoft.Graph.Beta.Me.Chats.Item.RemoveAllAccessForUser.RemoveAllAccessForUserRequestBuilder Microsoft.Graph.Beta.Me.Chats.Item.ChatItemRequestBuilder::|public|sendActivityNotification:global.Microsoft.Graph.Beta.Me.Chats.Item.SendActivityNotification.SendActivityNotificationRequestBuilder +Microsoft.Graph.Beta.Me.Chats.Item.ChatItemRequestBuilder::|public|startMigration:global.Microsoft.Graph.Beta.Me.Chats.Item.StartMigration.StartMigrationRequestBuilder Microsoft.Graph.Beta.Me.Chats.Item.ChatItemRequestBuilder::|public|tabs:global.Microsoft.Graph.Beta.Me.Chats.Item.Tabs.TabsRequestBuilder Microsoft.Graph.Beta.Me.Chats.Item.ChatItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Me.Chats.Item.ChatItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation @@ -136197,6 +136462,21 @@ Microsoft.Graph.Beta.Me.Chats.Item.SendActivityNotification.sendActivityNotifica Microsoft.Graph.Beta.Me.Chats.Item.SendActivityNotification.sendActivityNotificationRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Me.Chats.Item.SendActivityNotification.SendActivityNotificationPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Me.Chats.Item.SendActivityNotification.sendActivityNotificationRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Me.Chats.Item.SendActivityNotification.SendActivityNotificationPostRequestBody; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Me.Chats.Item.SendActivityNotification.sendActivityNotificationRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Chats.Item.SendActivityNotification.SendActivityNotificationRequestBuilder +Microsoft.Graph.Beta.Me.Chats.Item.StartMigration.startMigrationPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Me.Chats.Item.StartMigration.startMigrationPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Me.Chats.Item.StartMigration.startMigrationPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Me.Chats.Item.StartMigration.startMigrationPostRequestBody::|public|ConversationCreationDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Me.Chats.Item.StartMigration.startMigrationPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Me.Chats.Item.StartMigration.startMigrationPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Me.Chats.Item.StartMigration.startMigrationPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Me.Chats.Item.StartMigration.StartMigrationPostRequestBody +Microsoft.Graph.Beta.Me.Chats.Item.StartMigration.startMigrationPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Me.Chats.Item.StartMigration.startMigrationRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Chats.Item.StartMigration.startMigrationRequestBuilder.startMigrationRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Chats.Item.StartMigration.startMigrationRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Chats.Item.StartMigration.startMigrationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Chats.Item.StartMigration.startMigrationRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Me.Chats.Item.StartMigration.StartMigrationPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Me.Chats.Item.StartMigration.startMigrationRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Me.Chats.Item.StartMigration.StartMigrationPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Chats.Item.StartMigration.startMigrationRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Chats.Item.StartMigration.StartMigrationRequestBuilder Microsoft.Graph.Beta.Me.Chats.Item.Tabs.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Me.Chats.Item.Tabs.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.Me.Chats.Item.Tabs.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -151821,6 +152101,7 @@ Microsoft.Graph.Beta.Me.Settings.settingsRequestBuilder::|public|ToGetRequestInf Microsoft.Graph.Beta.Me.Settings.settingsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.UserSettings; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Me.Settings.settingsRequestBuilder::|public|windows:global.Microsoft.Graph.Beta.Me.Settings.Windows.WindowsRequestBuilder Microsoft.Graph.Beta.Me.Settings.settingsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Settings.SettingsRequestBuilder +Microsoft.Graph.Beta.Me.Settings.settingsRequestBuilder::|public|workHoursAndLocations:global.Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.WorkHoursAndLocationsRequestBuilder Microsoft.Graph.Beta.Me.Settings.ShiftPreferences.shiftPreferencesRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Me.Settings.ShiftPreferences.shiftPreferencesRequestBuilder.shiftPreferencesRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Me.Settings.ShiftPreferences.shiftPreferencesRequestBuilder.shiftPreferencesRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -152001,6 +152282,150 @@ Microsoft.Graph.Beta.Me.Settings.Windows.windowsRequestBuilder::|public|PostAsyn Microsoft.Graph.Beta.Me.Settings.Windows.windowsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Me.Settings.Windows.windowsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.WindowsSetting; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Me.Settings.Windows.windowsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Settings.Windows.WindowsRequestBuilder +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.Count.CountRequestBuilder +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder.WorkPlanOccurrenceItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder.WorkPlanOccurrenceItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder.WorkPlanOccurrenceItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder.WorkPlanOccurrenceItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder.WorkPlanOccurrenceItemRequestBuilderPutRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.WorkPlanOccurrence +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder::|public|PutAsync(body:global.Microsoft.Graph.Beta.Models.WorkPlanOccurrence; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.WorkPlanOccurrence +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder::|public|ToPutRequestInformation(body:global.Microsoft.Graph.Beta.Models.WorkPlanOccurrence; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder.occurrencesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder.occurrencesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder.occurrencesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder.occurrencesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder.occurrencesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder.occurrencesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder.occurrencesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder.occurrencesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder.occurrencesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder.occurrencesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder::[WorkPlanOccurrenceId:string]:global.Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.Count.CountRequestBuilder +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.WorkPlanOccurrenceCollectionResponse +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.WorkPlanOccurrence; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.WorkPlanOccurrence +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder::|public|setCurrentLocation:global.Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.SetCurrentLocationRequestBuilder +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.WorkPlanOccurrence; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.OccurrencesRequestBuilder +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationPostRequestBody::|public|PlaceId:string +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationPostRequestBody::|public|UpdateScope:global.Microsoft.Graph.Beta.Models.WorkLocationUpdateScope? +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationPostRequestBody::|public|WorkLocationType:global.Microsoft.Graph.Beta.Models.WorkLocationType? +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.SetCurrentLocationPostRequestBody +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationRequestBuilder.setCurrentLocationRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.SetCurrentLocationPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.SetCurrentLocationPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.SetCurrentLocationRequestBuilder +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeGetResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeGetResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeGetResponse::|public|Value:List +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.OccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter; endDateTime?:string; startDateTime?:string):void +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder::|public|GetAsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.OccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.OccurrencesViewWithStartDateTimeWithEndDateTimeResponse +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeResponse-->global.Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.OccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.OccurrencesViewWithStartDateTimeWithEndDateTimeResponse +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Recurrences.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Recurrences.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Recurrences.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Recurrences.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Recurrences.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Recurrences.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Recurrences.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Recurrences.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Recurrences.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Recurrences.Count.CountRequestBuilder +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder.WorkPlanRecurrenceItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder.WorkPlanRecurrenceItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder.WorkPlanRecurrenceItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder.WorkPlanRecurrenceItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder.WorkPlanRecurrenceItemRequestBuilderPutRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.WorkPlanRecurrence +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder::|public|PutAsync(body:global.Microsoft.Graph.Beta.Models.WorkPlanRecurrence; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.WorkPlanRecurrence +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder::|public|ToPutRequestInformation(body:global.Microsoft.Graph.Beta.Models.WorkPlanRecurrence; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder.recurrencesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder.recurrencesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder.recurrencesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder.recurrencesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder.recurrencesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder.recurrencesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder.recurrencesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder.recurrencesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder.recurrencesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder.recurrencesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder::[WorkPlanRecurrenceId:string]:global.Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Recurrences.Count.CountRequestBuilder +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.WorkPlanRecurrenceCollectionResponse +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.WorkPlanRecurrence; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.WorkPlanRecurrence +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.WorkPlanRecurrence; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Recurrences.RecurrencesRequestBuilder +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.workHoursAndLocationsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.workHoursAndLocationsRequestBuilder.workHoursAndLocationsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.workHoursAndLocationsRequestBuilder.workHoursAndLocationsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.workHoursAndLocationsRequestBuilder.workHoursAndLocationsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.workHoursAndLocationsRequestBuilder.workHoursAndLocationsRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.workHoursAndLocationsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.workHoursAndLocationsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.workHoursAndLocationsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.WorkHoursAndLocationsSetting +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.workHoursAndLocationsRequestBuilder::|public|occurrences:global.Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Occurrences.OccurrencesRequestBuilder +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.workHoursAndLocationsRequestBuilder::|public|occurrencesViewWithStartDateTimeWithEndDateTime(endDateTime:string; startDateTime:string):global.Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.workHoursAndLocationsRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.WorkHoursAndLocationsSetting; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.WorkHoursAndLocationsSetting +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.workHoursAndLocationsRequestBuilder::|public|recurrences:global.Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.Recurrences.RecurrencesRequestBuilder +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.workHoursAndLocationsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.workHoursAndLocationsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.WorkHoursAndLocationsSetting; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.workHoursAndLocationsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Settings.WorkHoursAndLocations.WorkHoursAndLocationsRequestBuilder Microsoft.Graph.Beta.Me.Solutions.solutionsRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Me.Solutions.solutionsRequestBuilder.solutionsRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Me.Solutions.solutionsRequestBuilder.solutionsRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -155326,6 +155751,7 @@ Microsoft.Graph.Beta.Models.agentIdentity::|static|public|CreateFromDiscriminato Microsoft.Graph.Beta.Models.agentIdentityBlueprint-->global.Microsoft.Graph.Beta.Models.Application Microsoft.Graph.Beta.Models.agentIdentityBlueprint::|public|constructor():void Microsoft.Graph.Beta.Models.agentIdentityBlueprint::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.agentIdentityBlueprint::|public|InheritablePermissions:List Microsoft.Graph.Beta.Models.agentIdentityBlueprint::|public|OdataType:string Microsoft.Graph.Beta.Models.agentIdentityBlueprint::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.agentIdentityBlueprint::|public|Sponsors:List @@ -155864,6 +156290,12 @@ Microsoft.Graph.Beta.Models.allAccountsWithAccess::|public|GetFieldDeserializers Microsoft.Graph.Beta.Models.allAccountsWithAccess::|public|OdataType:string Microsoft.Graph.Beta.Models.allAccountsWithAccess::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.allAccountsWithAccess::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.AllAccountsWithAccess +Microsoft.Graph.Beta.Models.allAllowedScopes-->global.Microsoft.Graph.Beta.Models.InheritableScopes +Microsoft.Graph.Beta.Models.allAllowedScopes::|public|constructor():void +Microsoft.Graph.Beta.Models.allAllowedScopes::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.allAllowedScopes::|public|OdataType:string +Microsoft.Graph.Beta.Models.allAllowedScopes::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.allAllowedScopes::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.AllAllowedScopes Microsoft.Graph.Beta.Models.allDeviceRegistrationMembership-->global.Microsoft.Graph.Beta.Models.DeviceRegistrationMembership Microsoft.Graph.Beta.Models.allDeviceRegistrationMembership::|public|constructor():void Microsoft.Graph.Beta.Models.allDeviceRegistrationMembership::|public|GetFieldDeserializers():IDictionary> @@ -155933,6 +156365,14 @@ Microsoft.Graph.Beta.Models.allowedRolePrincipalTypes::0000-user Microsoft.Graph.Beta.Models.allowedRolePrincipalTypes::0001-servicePrincipal Microsoft.Graph.Beta.Models.allowedRolePrincipalTypes::0002-group Microsoft.Graph.Beta.Models.allowedRolePrincipalTypes::0003-unknownFutureValue +Microsoft.Graph.Beta.Models.allowedTenantsAudience-->global.Microsoft.Graph.Beta.Models.SignInAudienceRestrictionsBase +Microsoft.Graph.Beta.Models.allowedTenantsAudience::|public|AllowedTenantIds:List +Microsoft.Graph.Beta.Models.allowedTenantsAudience::|public|constructor():void +Microsoft.Graph.Beta.Models.allowedTenantsAudience::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.allowedTenantsAudience::|public|IsHomeTenantAllowed:bool? +Microsoft.Graph.Beta.Models.allowedTenantsAudience::|public|OdataType:string +Microsoft.Graph.Beta.Models.allowedTenantsAudience::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.allowedTenantsAudience::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.AllowedTenantsAudience Microsoft.Graph.Beta.Models.allowedValue-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.allowedValue::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.allowedValue::|public|IsActive:bool? @@ -158242,6 +158682,7 @@ Microsoft.Graph.Beta.Models.application::|public|HomeRealmDiscoveryPolicies:List Microsoft.Graph.Beta.Models.application::|public|IdentifierUris:List Microsoft.Graph.Beta.Models.application::|public|Info:global.Microsoft.Graph.Beta.Models.InformationalUrl Microsoft.Graph.Beta.Models.application::|public|IsDeviceOnlyAuthSupported:bool? +Microsoft.Graph.Beta.Models.application::|public|IsDisabled:bool? Microsoft.Graph.Beta.Models.application::|public|IsFallbackPublicClient:bool? Microsoft.Graph.Beta.Models.application::|public|KeyCredentials:List Microsoft.Graph.Beta.Models.application::|public|Logo:byte[] @@ -158262,6 +158703,7 @@ Microsoft.Graph.Beta.Models.application::|public|Serialize(writer:ISerialization Microsoft.Graph.Beta.Models.application::|public|ServiceManagementReference:string Microsoft.Graph.Beta.Models.application::|public|ServicePrincipalLockConfiguration:global.Microsoft.Graph.Beta.Models.ServicePrincipalLockConfiguration Microsoft.Graph.Beta.Models.application::|public|SignInAudience:string +Microsoft.Graph.Beta.Models.application::|public|SignInAudienceRestrictions:global.Microsoft.Graph.Beta.Models.SignInAudienceRestrictionsBase Microsoft.Graph.Beta.Models.application::|public|Spa:global.Microsoft.Graph.Beta.Models.SpaApplication Microsoft.Graph.Beta.Models.application::|public|Synchronization:global.Microsoft.Graph.Beta.Models.Synchronization Microsoft.Graph.Beta.Models.application::|public|Tags:List @@ -159695,7 +160137,7 @@ Microsoft.Graph.Beta.Models.audienceRestriction::|public|State:global.Microsoft. Microsoft.Graph.Beta.Models.audienceRestriction::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.AudienceRestriction Microsoft.Graph.Beta.Models.audienceRestriction~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.audiencesConfiguration::|public|AdditionalData:IDictionary -Microsoft.Graph.Beta.Models.audiencesConfiguration::|public|AzureAdMultipleOrgs:global.Microsoft.Graph.Beta.Models.AudienceRestriction +Microsoft.Graph.Beta.Models.audiencesConfiguration::|public|AzureAdMultipleOrgs:global.Microsoft.Graph.Beta.Models.AzureAdMultipleOrgsAudienceRestriction Microsoft.Graph.Beta.Models.audiencesConfiguration::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.audiencesConfiguration::|public|constructor():void Microsoft.Graph.Beta.Models.audiencesConfiguration::|public|GetFieldDeserializers():IDictionary> @@ -160989,6 +161431,12 @@ Microsoft.Graph.Beta.Models.azureADJoinPolicy::|public|OdataType:string Microsoft.Graph.Beta.Models.azureADJoinPolicy::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.azureADJoinPolicy::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.AzureADJoinPolicy Microsoft.Graph.Beta.Models.azureADJoinPolicy~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.azureAdMultipleOrgsAudienceRestriction-->global.Microsoft.Graph.Beta.Models.AudienceRestriction +Microsoft.Graph.Beta.Models.azureAdMultipleOrgsAudienceRestriction::|public|constructor():void +Microsoft.Graph.Beta.Models.azureAdMultipleOrgsAudienceRestriction::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.azureAdMultipleOrgsAudienceRestriction::|public|OdataType:string +Microsoft.Graph.Beta.Models.azureAdMultipleOrgsAudienceRestriction::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.azureAdMultipleOrgsAudienceRestriction::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.AzureAdMultipleOrgsAudienceRestriction Microsoft.Graph.Beta.Models.azureAdPopTokenAuthentication-->global.Microsoft.Graph.Beta.Models.CustomExtensionAuthenticationConfiguration Microsoft.Graph.Beta.Models.azureAdPopTokenAuthentication::|public|constructor():void Microsoft.Graph.Beta.Models.azureAdPopTokenAuthentication::|public|GetFieldDeserializers():IDictionary> @@ -163552,8 +164000,10 @@ Microsoft.Graph.Beta.Models.channel::|public|LayoutType:global.Microsoft.Graph.B Microsoft.Graph.Beta.Models.channel::|public|Members:List Microsoft.Graph.Beta.Models.channel::|public|MembershipType:global.Microsoft.Graph.Beta.Models.ChannelMembershipType? Microsoft.Graph.Beta.Models.channel::|public|Messages:List +Microsoft.Graph.Beta.Models.channel::|public|MigrationMode:global.Microsoft.Graph.Beta.Models.MigrationMode? Microsoft.Graph.Beta.Models.channel::|public|ModerationSettings:global.Microsoft.Graph.Beta.Models.ChannelModerationSettings Microsoft.Graph.Beta.Models.channel::|public|OdataType:string +Microsoft.Graph.Beta.Models.channel::|public|OriginalCreatedDateTime:DateTimeOffset? Microsoft.Graph.Beta.Models.channel::|public|Planner:global.Microsoft.Graph.Beta.Models.TeamsChannelPlanner Microsoft.Graph.Beta.Models.channel::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.channel::|public|SharedWithTeams:List @@ -163698,9 +164148,11 @@ Microsoft.Graph.Beta.Models.chat::|public|LastMessagePreview:global.Microsoft.Gr Microsoft.Graph.Beta.Models.chat::|public|LastUpdatedDateTime:DateTimeOffset? Microsoft.Graph.Beta.Models.chat::|public|Members:List Microsoft.Graph.Beta.Models.chat::|public|Messages:List +Microsoft.Graph.Beta.Models.chat::|public|MigrationMode:global.Microsoft.Graph.Beta.Models.MigrationMode? Microsoft.Graph.Beta.Models.chat::|public|OdataType:string Microsoft.Graph.Beta.Models.chat::|public|OnlineMeetingInfo:global.Microsoft.Graph.Beta.Models.TeamworkOnlineMeetingInfo Microsoft.Graph.Beta.Models.chat::|public|Operations:List +Microsoft.Graph.Beta.Models.chat::|public|OriginalCreatedDateTime:DateTimeOffset? Microsoft.Graph.Beta.Models.chat::|public|PermissionGrants:List Microsoft.Graph.Beta.Models.chat::|public|PinnedMessages:List Microsoft.Graph.Beta.Models.chat::|public|Serialize(writer:ISerializationWriter):void @@ -164723,6 +165175,8 @@ Microsoft.Graph.Beta.Models.cloudPcBulkTroubleshoot::|public|GetFieldDeserialize Microsoft.Graph.Beta.Models.cloudPcBulkTroubleshoot::|public|OdataType:string Microsoft.Graph.Beta.Models.cloudPcBulkTroubleshoot::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.cloudPcBulkTroubleshoot::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CloudPcBulkTroubleshoot +Microsoft.Graph.Beta.Models.cloudPcClientAppUsageReportType::0000-microsoftRemoteDesktopClientUsageReport +Microsoft.Graph.Beta.Models.cloudPcClientAppUsageReportType::0001-unknownFutureValue Microsoft.Graph.Beta.Models.cloudPcCloudApp-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.cloudPcCloudApp::|public|ActionFailedErrorCode:global.Microsoft.Graph.Beta.Models.CloudPcCloudAppActionFailedErrorCode? Microsoft.Graph.Beta.Models.cloudPcCloudApp::|public|ActionFailedErrorMessage:string @@ -164879,7 +165333,6 @@ Microsoft.Graph.Beta.Models.cloudPcDeviceImage::|public|GetFieldDeserializers(): Microsoft.Graph.Beta.Models.cloudPcDeviceImage::|public|LastModifiedDateTime:DateTimeOffset? Microsoft.Graph.Beta.Models.cloudPcDeviceImage::|public|OdataType:string Microsoft.Graph.Beta.Models.cloudPcDeviceImage::|public|OperatingSystem:string -Microsoft.Graph.Beta.Models.cloudPcDeviceImage::|public|OsArchitecture:global.Microsoft.Graph.Beta.Models.CloudPcImageOsArchitectureType? Microsoft.Graph.Beta.Models.cloudPcDeviceImage::|public|OsBuildNumber:string Microsoft.Graph.Beta.Models.cloudPcDeviceImage::|public|OsStatus:global.Microsoft.Graph.Beta.Models.CloudPcDeviceImageOsStatus? Microsoft.Graph.Beta.Models.cloudPcDeviceImage::|public|OsVersionNumber:string @@ -165141,7 +165594,6 @@ Microsoft.Graph.Beta.Models.cloudPcGalleryImage::|public|OdataType:string Microsoft.Graph.Beta.Models.cloudPcGalleryImage::|public|Offer:string Microsoft.Graph.Beta.Models.cloudPcGalleryImage::|public|OfferDisplayName:string Microsoft.Graph.Beta.Models.cloudPcGalleryImage::|public|OfferName:string -Microsoft.Graph.Beta.Models.cloudPcGalleryImage::|public|OsArchitecture:global.Microsoft.Graph.Beta.Models.CloudPcImageOsArchitectureType? Microsoft.Graph.Beta.Models.cloudPcGalleryImage::|public|OsVersionNumber:string Microsoft.Graph.Beta.Models.cloudPcGalleryImage::|public|Publisher:string Microsoft.Graph.Beta.Models.cloudPcGalleryImage::|public|PublisherName:string @@ -165190,9 +165642,6 @@ Microsoft.Graph.Beta.Models.cloudPcHealthCheckItem::|public|Result:global.Micros Microsoft.Graph.Beta.Models.cloudPcHealthCheckItem::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.cloudPcHealthCheckItem::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CloudPcHealthCheckItem Microsoft.Graph.Beta.Models.cloudPcHealthCheckItem~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Beta.Models.cloudPcImageOsArchitectureType::0000-x64 -Microsoft.Graph.Beta.Models.cloudPcImageOsArchitectureType::0001-arm64 -Microsoft.Graph.Beta.Models.cloudPcImageOsArchitectureType::0002-unknownFutureValue Microsoft.Graph.Beta.Models.cloudPcImportedSnapshotState::0000-notUsed Microsoft.Graph.Beta.Models.cloudPcImportedSnapshotState::0001-inUse Microsoft.Graph.Beta.Models.cloudPcImportedSnapshotState::0002-expired @@ -167549,11 +167998,14 @@ Microsoft.Graph.Beta.Models.contact::|public|PersonalNotes:string Microsoft.Graph.Beta.Models.contact::|public|Phones:List Microsoft.Graph.Beta.Models.contact::|public|Photo:global.Microsoft.Graph.Beta.Models.ProfilePhoto Microsoft.Graph.Beta.Models.contact::|public|PostalAddresses:List +Microsoft.Graph.Beta.Models.contact::|public|PrimaryEmailAddress:global.Microsoft.Graph.Beta.Models.EmailAddress Microsoft.Graph.Beta.Models.contact::|public|Profession:string +Microsoft.Graph.Beta.Models.contact::|public|SecondaryEmailAddress:global.Microsoft.Graph.Beta.Models.EmailAddress Microsoft.Graph.Beta.Models.contact::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.contact::|public|SingleValueExtendedProperties:List Microsoft.Graph.Beta.Models.contact::|public|SpouseName:string Microsoft.Graph.Beta.Models.contact::|public|Surname:string +Microsoft.Graph.Beta.Models.contact::|public|TertiaryEmailAddress:global.Microsoft.Graph.Beta.Models.EmailAddress Microsoft.Graph.Beta.Models.contact::|public|Title:string Microsoft.Graph.Beta.Models.contact::|public|Websites:List Microsoft.Graph.Beta.Models.contact::|public|WeddingAnniversary:Date? @@ -167999,6 +168451,63 @@ Microsoft.Graph.Beta.Models.copilotCommunicationsRoot::|public|OdataType:string Microsoft.Graph.Beta.Models.copilotCommunicationsRoot::|public|RealtimeActivityFeed:global.Microsoft.Graph.Beta.Models.RealtimeActivityFeedRoot Microsoft.Graph.Beta.Models.copilotCommunicationsRoot::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.copilotCommunicationsRoot::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CopilotCommunicationsRoot +Microsoft.Graph.Beta.Models.copilotConversation-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.copilotConversation::|public|CreatedDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.copilotConversation::|public|DisplayName:string +Microsoft.Graph.Beta.Models.copilotConversation::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.copilotConversation::|public|Messages:List +Microsoft.Graph.Beta.Models.copilotConversation::|public|OdataType:string +Microsoft.Graph.Beta.Models.copilotConversation::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.copilotConversation::|public|State:global.Microsoft.Graph.Beta.Models.CopilotConversationState? +Microsoft.Graph.Beta.Models.copilotConversation::|public|TurnCount:int? +Microsoft.Graph.Beta.Models.copilotConversation::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CopilotConversation +Microsoft.Graph.Beta.Models.copilotConversationAttribution::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.copilotConversationAttribution::|public|AttributionSource:global.Microsoft.Graph.Beta.Models.CopilotConversationAttributionSource? +Microsoft.Graph.Beta.Models.copilotConversationAttribution::|public|AttributionType:global.Microsoft.Graph.Beta.Models.CopilotConversationAttributionType? +Microsoft.Graph.Beta.Models.copilotConversationAttribution::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.copilotConversationAttribution::|public|constructor():void +Microsoft.Graph.Beta.Models.copilotConversationAttribution::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.copilotConversationAttribution::|public|ImageFavIcon:string +Microsoft.Graph.Beta.Models.copilotConversationAttribution::|public|ImageHeight:int? +Microsoft.Graph.Beta.Models.copilotConversationAttribution::|public|ImageWebUrl:string +Microsoft.Graph.Beta.Models.copilotConversationAttribution::|public|ImageWidth:int? +Microsoft.Graph.Beta.Models.copilotConversationAttribution::|public|OdataType:string +Microsoft.Graph.Beta.Models.copilotConversationAttribution::|public|ProviderDisplayName:string +Microsoft.Graph.Beta.Models.copilotConversationAttribution::|public|SeeMoreWebUrl:string +Microsoft.Graph.Beta.Models.copilotConversationAttribution::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.copilotConversationAttribution::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CopilotConversationAttribution +Microsoft.Graph.Beta.Models.copilotConversationAttributionSource::0000-grounding +Microsoft.Graph.Beta.Models.copilotConversationAttributionSource::0001-model +Microsoft.Graph.Beta.Models.copilotConversationAttributionSource::0002-unknownFutureValue +Microsoft.Graph.Beta.Models.copilotConversationAttributionType::0000-citation +Microsoft.Graph.Beta.Models.copilotConversationAttributionType::0001-annotation +Microsoft.Graph.Beta.Models.copilotConversationAttributionType::0002-unknownFutureValue +Microsoft.Graph.Beta.Models.copilotConversationAttribution~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.copilotConversationMessage-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.copilotConversationMessage::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.copilotConversationMessage::|public|OdataType:string +Microsoft.Graph.Beta.Models.copilotConversationMessage::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.copilotConversationMessage::|public|Text:string +Microsoft.Graph.Beta.Models.copilotConversationMessage::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CopilotConversationMessage +Microsoft.Graph.Beta.Models.copilotConversationRequestMessage-->global.Microsoft.Graph.Beta.Models.CopilotConversationMessage +Microsoft.Graph.Beta.Models.copilotConversationRequestMessage::|public|constructor():void +Microsoft.Graph.Beta.Models.copilotConversationRequestMessage::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.copilotConversationRequestMessage::|public|OdataType:string +Microsoft.Graph.Beta.Models.copilotConversationRequestMessage::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.copilotConversationRequestMessage::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CopilotConversationRequestMessage +Microsoft.Graph.Beta.Models.copilotConversationResponseMessage-->global.Microsoft.Graph.Beta.Models.CopilotConversationMessage +Microsoft.Graph.Beta.Models.copilotConversationResponseMessage::|public|AdaptiveCards:List +Microsoft.Graph.Beta.Models.copilotConversationResponseMessage::|public|Attributions:List +Microsoft.Graph.Beta.Models.copilotConversationResponseMessage::|public|constructor():void +Microsoft.Graph.Beta.Models.copilotConversationResponseMessage::|public|CreatedDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.copilotConversationResponseMessage::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.copilotConversationResponseMessage::|public|OdataType:string +Microsoft.Graph.Beta.Models.copilotConversationResponseMessage::|public|SensitivityLabel:global.Microsoft.Graph.Beta.Models.SearchSensitivityLabelInfo +Microsoft.Graph.Beta.Models.copilotConversationResponseMessage::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.copilotConversationResponseMessage::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CopilotConversationResponseMessage +Microsoft.Graph.Beta.Models.copilotConversationState::0000-active +Microsoft.Graph.Beta.Models.copilotConversationState::0001-disengagedForRai +Microsoft.Graph.Beta.Models.copilotConversationState::0002-unknownFutureValue Microsoft.Graph.Beta.Models.copilotPackage-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.copilotPackage::|public|AvailableTo:global.Microsoft.Graph.Beta.Models.PackageStatus? Microsoft.Graph.Beta.Models.copilotPackage::|public|DeployedTo:global.Microsoft.Graph.Beta.Models.PackageStatus? @@ -177347,6 +177856,13 @@ Microsoft.Graph.Beta.Models.enumeratedPreApprovedPermissions::|public|Permission Microsoft.Graph.Beta.Models.enumeratedPreApprovedPermissions::|public|ResourceApplicationId:string Microsoft.Graph.Beta.Models.enumeratedPreApprovedPermissions::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.enumeratedPreApprovedPermissions::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.EnumeratedPreApprovedPermissions +Microsoft.Graph.Beta.Models.enumeratedScopes-->global.Microsoft.Graph.Beta.Models.InheritableScopes +Microsoft.Graph.Beta.Models.enumeratedScopes::|public|constructor():void +Microsoft.Graph.Beta.Models.enumeratedScopes::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.enumeratedScopes::|public|OdataType:string +Microsoft.Graph.Beta.Models.enumeratedScopes::|public|Scopes:List +Microsoft.Graph.Beta.Models.enumeratedScopes::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.enumeratedScopes::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.EnumeratedScopes Microsoft.Graph.Beta.Models.enumeratedScopeSensitivityLabels-->global.Microsoft.Graph.Beta.Models.ScopeSensitivityLabels Microsoft.Graph.Beta.Models.enumeratedScopeSensitivityLabels::|public|constructor():void Microsoft.Graph.Beta.Models.enumeratedScopeSensitivityLabels::|public|GetFieldDeserializers():IDictionary> @@ -177643,12 +178159,51 @@ Microsoft.Graph.Beta.Models.exchangeAdmin::|public|Mailboxes:List Microsoft.Graph.Beta.Models.exchangeAdmin::|public|OdataType:string Microsoft.Graph.Beta.Models.exchangeAdmin::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.exchangeAdmin::|public|Tracing:global.Microsoft.Graph.Beta.Models.MessageTracingRoot Microsoft.Graph.Beta.Models.exchangeAdmin::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ExchangeAdmin Microsoft.Graph.Beta.Models.exchangeIdFormat::0000-entryId Microsoft.Graph.Beta.Models.exchangeIdFormat::0001-ewsId Microsoft.Graph.Beta.Models.exchangeIdFormat::0002-immutableEntryId Microsoft.Graph.Beta.Models.exchangeIdFormat::0003-restId Microsoft.Graph.Beta.Models.exchangeIdFormat::0004-restImmutableEntryId +Microsoft.Graph.Beta.Models.exchangeMessageTrace-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.exchangeMessageTrace::|public|FromIP:string +Microsoft.Graph.Beta.Models.exchangeMessageTrace::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.exchangeMessageTrace::|public|MessageId:string +Microsoft.Graph.Beta.Models.exchangeMessageTrace::|public|OdataType:string +Microsoft.Graph.Beta.Models.exchangeMessageTrace::|public|ReceivedDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.exchangeMessageTrace::|public|RecipientAddress:string +Microsoft.Graph.Beta.Models.exchangeMessageTrace::|public|SenderAddress:string +Microsoft.Graph.Beta.Models.exchangeMessageTrace::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.exchangeMessageTrace::|public|Size:int? +Microsoft.Graph.Beta.Models.exchangeMessageTrace::|public|Status:global.Microsoft.Graph.Beta.Models.ExchangeMessageTraceStatus? +Microsoft.Graph.Beta.Models.exchangeMessageTrace::|public|Subject:string +Microsoft.Graph.Beta.Models.exchangeMessageTrace::|public|ToIP:string +Microsoft.Graph.Beta.Models.exchangeMessageTrace::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ExchangeMessageTrace +Microsoft.Graph.Beta.Models.exchangeMessageTraceCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Models.exchangeMessageTraceCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.exchangeMessageTraceCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.exchangeMessageTraceCollectionResponse::|public|Value:List +Microsoft.Graph.Beta.Models.exchangeMessageTraceCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ExchangeMessageTraceCollectionResponse +Microsoft.Graph.Beta.Models.exchangeMessageTraceDetail-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.exchangeMessageTraceDetail::|public|Action:string +Microsoft.Graph.Beta.Models.exchangeMessageTraceDetail::|public|Data:string +Microsoft.Graph.Beta.Models.exchangeMessageTraceDetail::|public|DateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.exchangeMessageTraceDetail::|public|Description:string +Microsoft.Graph.Beta.Models.exchangeMessageTraceDetail::|public|Event:string +Microsoft.Graph.Beta.Models.exchangeMessageTraceDetail::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.exchangeMessageTraceDetail::|public|MessageId:string +Microsoft.Graph.Beta.Models.exchangeMessageTraceDetail::|public|OdataType:string +Microsoft.Graph.Beta.Models.exchangeMessageTraceDetail::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.exchangeMessageTraceDetail::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ExchangeMessageTraceDetail +Microsoft.Graph.Beta.Models.exchangeMessageTraceStatus::0000-gettingStatus +Microsoft.Graph.Beta.Models.exchangeMessageTraceStatus::0001-pending +Microsoft.Graph.Beta.Models.exchangeMessageTraceStatus::0002-failed +Microsoft.Graph.Beta.Models.exchangeMessageTraceStatus::0003-delivered +Microsoft.Graph.Beta.Models.exchangeMessageTraceStatus::0004-expanded +Microsoft.Graph.Beta.Models.exchangeMessageTraceStatus::0005-quarantined +Microsoft.Graph.Beta.Models.exchangeMessageTraceStatus::0006-filteredAsSpam +Microsoft.Graph.Beta.Models.exchangeMessageTraceStatus::0007-unknownFutureValue Microsoft.Graph.Beta.Models.exchangeOnlineCrossTenantMigrationSettings::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.exchangeOnlineCrossTenantMigrationSettings::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.exchangeOnlineCrossTenantMigrationSettings::|public|constructor():void @@ -178164,6 +178719,25 @@ Microsoft.Graph.Beta.Models.ExternalConnectors.label::0026-parentUrl Microsoft.Graph.Beta.Models.ExternalConnectors.label::0027-priorityNormalized Microsoft.Graph.Beta.Models.ExternalConnectors.label::0028-reportedBy Microsoft.Graph.Beta.Models.ExternalConnectors.label::0029-secondaryId +Microsoft.Graph.Beta.Models.ExternalConnectors.label::0030-personEmails +Microsoft.Graph.Beta.Models.ExternalConnectors.label::0031-personAddresses +Microsoft.Graph.Beta.Models.ExternalConnectors.label::0032-personAnniversaries +Microsoft.Graph.Beta.Models.ExternalConnectors.label::0033-personName +Microsoft.Graph.Beta.Models.ExternalConnectors.label::0034-personNote +Microsoft.Graph.Beta.Models.ExternalConnectors.label::0035-personPhones +Microsoft.Graph.Beta.Models.ExternalConnectors.label::0036-personCurrentPosition +Microsoft.Graph.Beta.Models.ExternalConnectors.label::0037-personWebAccounts +Microsoft.Graph.Beta.Models.ExternalConnectors.label::0038-personWebSite +Microsoft.Graph.Beta.Models.ExternalConnectors.label::0039-personSkills +Microsoft.Graph.Beta.Models.ExternalConnectors.label::0040-personProjects +Microsoft.Graph.Beta.Models.ExternalConnectors.label::0041-personAccount +Microsoft.Graph.Beta.Models.ExternalConnectors.label::0042-personAwards +Microsoft.Graph.Beta.Models.ExternalConnectors.label::0043-personCertifications +Microsoft.Graph.Beta.Models.ExternalConnectors.label::0044-personAssistants +Microsoft.Graph.Beta.Models.ExternalConnectors.label::0045-personColleagues +Microsoft.Graph.Beta.Models.ExternalConnectors.label::0046-personManager +Microsoft.Graph.Beta.Models.ExternalConnectors.label::0047-personAlternateContacts +Microsoft.Graph.Beta.Models.ExternalConnectors.label::0048-personEmergencyContacts Microsoft.Graph.Beta.Models.ExternalConnectors.properties::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.ExternalConnectors.properties::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.ExternalConnectors.properties::|public|constructor():void @@ -179765,6 +180339,7 @@ Microsoft.Graph.Beta.Models.group::|public|UnseenConversationsCount:int? Microsoft.Graph.Beta.Models.group::|public|UnseenCount:int? Microsoft.Graph.Beta.Models.group::|public|UnseenMessagesCount:int? Microsoft.Graph.Beta.Models.group::|public|Visibility:string +Microsoft.Graph.Beta.Models.group::|public|WelcomeMessageEnabled:bool? Microsoft.Graph.Beta.Models.group::|public|WritebackConfiguration:global.Microsoft.Graph.Beta.Models.GroupWritebackConfiguration Microsoft.Graph.Beta.Models.group::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Group Microsoft.Graph.Beta.Models.groupAccessType::0000-none @@ -182721,6 +183296,25 @@ Microsoft.Graph.Beta.Models.ingestionSource::0000-unknown Microsoft.Graph.Beta.Models.ingestionSource::0001-custom Microsoft.Graph.Beta.Models.ingestionSource::0002-builtIn Microsoft.Graph.Beta.Models.ingestionSource::0003-unknownFutureValue +Microsoft.Graph.Beta.Models.inheritablePermission::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.inheritablePermission::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.inheritablePermission::|public|constructor():void +Microsoft.Graph.Beta.Models.inheritablePermission::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.inheritablePermission::|public|InheritableScopes:global.Microsoft.Graph.Beta.Models.InheritableScopes +Microsoft.Graph.Beta.Models.inheritablePermission::|public|OdataType:string +Microsoft.Graph.Beta.Models.inheritablePermission::|public|ResourceAppId:string +Microsoft.Graph.Beta.Models.inheritablePermission::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.inheritablePermission::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.InheritablePermission +Microsoft.Graph.Beta.Models.inheritablePermission~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.inheritableScopes::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.inheritableScopes::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.inheritableScopes::|public|constructor():void +Microsoft.Graph.Beta.Models.inheritableScopes::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.inheritableScopes::|public|Kind:global.Microsoft.Graph.Beta.Models.ScopeCollectionKind? +Microsoft.Graph.Beta.Models.inheritableScopes::|public|OdataType:string +Microsoft.Graph.Beta.Models.inheritableScopes::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.inheritableScopes::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.InheritableScopes +Microsoft.Graph.Beta.Models.inheritableScopes~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.initiator-->global.Microsoft.Graph.Beta.Models.Identity Microsoft.Graph.Beta.Models.initiator::|public|constructor():void Microsoft.Graph.Beta.Models.initiator::|public|GetFieldDeserializers():IDictionary> @@ -184676,6 +185270,14 @@ Microsoft.Graph.Beta.Models.journalLineCollectionResponse::|public|Value:ListIAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.journal~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.Json::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.Json::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.Json::|public|constructor():void +Microsoft.Graph.Beta.Models.Json::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Json::|public|OdataType:string +Microsoft.Graph.Beta.Models.Json::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Json::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Json +Microsoft.Graph.Beta.Models.Json~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.justifyAction-->global.Microsoft.Graph.Beta.Models.InformationProtectionAction Microsoft.Graph.Beta.Models.justifyAction::|public|constructor():void Microsoft.Graph.Beta.Models.justifyAction::|public|GetFieldDeserializers():IDictionary> @@ -184838,6 +185440,9 @@ Microsoft.Graph.Beta.Models.keyValuePair::|public|Value:string Microsoft.Graph.Beta.Models.keyValuePair::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.KeyValuePair Microsoft.Graph.Beta.Models.keyValuePair~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.keyValue~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.kind::0000-unrestricted +Microsoft.Graph.Beta.Models.kind::0001-allowedTenants +Microsoft.Graph.Beta.Models.kind::0002-unknownFutureValue Microsoft.Graph.Beta.Models.kioskModeManagedHomeScreenPinComplexity::0000-notConfigured Microsoft.Graph.Beta.Models.kioskModeManagedHomeScreenPinComplexity::0001-simple Microsoft.Graph.Beta.Models.kioskModeManagedHomeScreenPinComplexity::0002-complex @@ -188872,6 +189477,11 @@ Microsoft.Graph.Beta.Models.matchLocation::|public|Offset:int? Microsoft.Graph.Beta.Models.matchLocation::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.matchLocation::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.MatchLocation Microsoft.Graph.Beta.Models.matchLocation~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.maxWorkLocationDetails::0000-unknown +Microsoft.Graph.Beta.Models.maxWorkLocationDetails::0001-none +Microsoft.Graph.Beta.Models.maxWorkLocationDetails::0002-approximate +Microsoft.Graph.Beta.Models.maxWorkLocationDetails::0003-specific +Microsoft.Graph.Beta.Models.maxWorkLocationDetails::0004-unknownFutureValue Microsoft.Graph.Beta.Models.mdmAppConfigKeyType::0000-stringType Microsoft.Graph.Beta.Models.mdmAppConfigKeyType::0001-integerType Microsoft.Graph.Beta.Models.mdmAppConfigKeyType::0002-realType @@ -189653,6 +190263,12 @@ Microsoft.Graph.Beta.Models.messageTraceCollectionResponse::|public|GetFieldDese Microsoft.Graph.Beta.Models.messageTraceCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.messageTraceCollectionResponse::|public|Value:List Microsoft.Graph.Beta.Models.messageTraceCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.MessageTraceCollectionResponse +Microsoft.Graph.Beta.Models.messageTracingRoot-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.messageTracingRoot::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.messageTracingRoot::|public|MessageTraces:List +Microsoft.Graph.Beta.Models.messageTracingRoot::|public|OdataType:string +Microsoft.Graph.Beta.Models.messageTracingRoot::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.messageTracingRoot::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.MessageTracingRoot Microsoft.Graph.Beta.Models.messageUnpinnedEventMessageDetail-->global.Microsoft.Graph.Beta.Models.EventMessageDetail Microsoft.Graph.Beta.Models.messageUnpinnedEventMessageDetail::|public|constructor():void Microsoft.Graph.Beta.Models.messageUnpinnedEventMessageDetail::|public|EventDateTime:DateTimeOffset? @@ -190066,6 +190682,9 @@ Microsoft.Graph.Beta.Models.microsoftTunnelSiteCollectionResponse::|public|GetFi Microsoft.Graph.Beta.Models.microsoftTunnelSiteCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.microsoftTunnelSiteCollectionResponse::|public|Value:List Microsoft.Graph.Beta.Models.microsoftTunnelSiteCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.MicrosoftTunnelSiteCollectionResponse +Microsoft.Graph.Beta.Models.migrationMode::0000-inProgress +Microsoft.Graph.Beta.Models.migrationMode::0001-completed +Microsoft.Graph.Beta.Models.migrationMode::0002-unknownFutureValue Microsoft.Graph.Beta.Models.migrationsRoot-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.migrationsRoot::|public|CrossTenantMigrationJobs:List Microsoft.Graph.Beta.Models.migrationsRoot::|public|GetFieldDeserializers():IDictionary> @@ -192615,6 +193234,12 @@ Microsoft.Graph.Beta.Models.nonEapAuthenticationMethodForEapTtlsType::0002-micro Microsoft.Graph.Beta.Models.nonEapAuthenticationMethodForEapTtlsType::0003-microsoftChapVersionTwo Microsoft.Graph.Beta.Models.nonEapAuthenticationMethodForPeap::0000-none Microsoft.Graph.Beta.Models.nonEapAuthenticationMethodForPeap::0001-microsoftChapVersionTwo +Microsoft.Graph.Beta.Models.noScopes-->global.Microsoft.Graph.Beta.Models.InheritableScopes +Microsoft.Graph.Beta.Models.noScopes::|public|constructor():void +Microsoft.Graph.Beta.Models.noScopes::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.noScopes::|public|OdataType:string +Microsoft.Graph.Beta.Models.noScopes::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.noScopes::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.NoScopes Microsoft.Graph.Beta.Models.note-->global.Microsoft.Graph.Beta.Models.OutlookItem Microsoft.Graph.Beta.Models.note::|public|Attachments:List Microsoft.Graph.Beta.Models.note::|public|Body:global.Microsoft.Graph.Beta.Models.ItemBody @@ -200292,6 +200917,8 @@ Microsoft.Graph.Beta.Models.protocolType::0022-prtBrokerBased Microsoft.Graph.Beta.Models.protocolType::0023-prtNonBrokerBased Microsoft.Graph.Beta.Models.protocolType::0024-onBehalfOf Microsoft.Graph.Beta.Models.protocolType::0025-samlOnBehalfOf +Microsoft.Graph.Beta.Models.protocolType::0026-officeS2S +Microsoft.Graph.Beta.Models.protocolType::0027-wsTrust Microsoft.Graph.Beta.Models.providerTenantSetting-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.providerTenantSetting::|public|AzureTenantId:string Microsoft.Graph.Beta.Models.providerTenantSetting::|public|Enabled:bool? @@ -202443,6 +203070,7 @@ Microsoft.Graph.Beta.Models.riskDetail::0017-adminConfirmedAccountSafe Microsoft.Graph.Beta.Models.riskDetail::0018-adminConfirmedAgentSafe Microsoft.Graph.Beta.Models.riskDetail::0019-adminConfirmedAgentCompromised Microsoft.Graph.Beta.Models.riskDetail::0020-adminDismissedRiskForAgent +Microsoft.Graph.Beta.Models.riskDetail::0021-microsoftRevokedSessions Microsoft.Graph.Beta.Models.riskDetection-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.riskDetection::|public|Activity:global.Microsoft.Graph.Beta.Models.ActivityType? Microsoft.Graph.Beta.Models.riskDetection::|public|ActivityDateTime:DateTimeOffset? @@ -203527,6 +204155,11 @@ Microsoft.Graph.Beta.Models.scopeBase::|public|OdataType:string Microsoft.Graph.Beta.Models.scopeBase::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.scopeBase::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ScopeBase Microsoft.Graph.Beta.Models.scopeBase~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.scopeCollectionKind::0000-allAllowed +Microsoft.Graph.Beta.Models.scopeCollectionKind::0001-enumerated +Microsoft.Graph.Beta.Models.scopeCollectionKind::0002-none +Microsoft.Graph.Beta.Models.scopeCollectionKind::0003-scopeKindNotSet +Microsoft.Graph.Beta.Models.scopeCollectionKind::0004-unknownFutureValue Microsoft.Graph.Beta.Models.scopedRoleMembership-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.scopedRoleMembership::|public|AdministrativeUnitId:string Microsoft.Graph.Beta.Models.scopedRoleMembership::|public|GetFieldDeserializers():IDictionary> @@ -203812,6 +204445,19 @@ Microsoft.Graph.Beta.Models.searchResult::|public|OnClickTelemetryUrl:string Microsoft.Graph.Beta.Models.searchResult::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.searchResult::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.SearchResult Microsoft.Graph.Beta.Models.searchResult~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.searchSensitivityLabelInfo::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.searchSensitivityLabelInfo::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.searchSensitivityLabelInfo::|public|Color:string +Microsoft.Graph.Beta.Models.searchSensitivityLabelInfo::|public|constructor():void +Microsoft.Graph.Beta.Models.searchSensitivityLabelInfo::|public|DisplayName:string +Microsoft.Graph.Beta.Models.searchSensitivityLabelInfo::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.searchSensitivityLabelInfo::|public|OdataType:string +Microsoft.Graph.Beta.Models.searchSensitivityLabelInfo::|public|Priority:int? +Microsoft.Graph.Beta.Models.searchSensitivityLabelInfo::|public|SensitivityLabelId:string +Microsoft.Graph.Beta.Models.searchSensitivityLabelInfo::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.searchSensitivityLabelInfo::|public|Tooltip:string +Microsoft.Graph.Beta.Models.searchSensitivityLabelInfo::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.SearchSensitivityLabelInfo +Microsoft.Graph.Beta.Models.searchSensitivityLabelInfo~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.secretInformationAccessAwsResourceFinding-->global.Microsoft.Graph.Beta.Models.AwsSecretInformationAccessFinding Microsoft.Graph.Beta.Models.secretInformationAccessAwsResourceFinding::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.secretInformationAccessAwsResourceFinding::|public|OdataType:string @@ -203995,6 +204641,14 @@ Microsoft.Graph.Beta.Models.Security.actionSource::0000-manual Microsoft.Graph.Beta.Models.Security.actionSource::0001-automatic Microsoft.Graph.Beta.Models.Security.actionSource::0002-recommended Microsoft.Graph.Beta.Models.Security.actionSource::0003-default +Microsoft.Graph.Beta.Models.Security.activeDirectoryDomainEvidence-->global.Microsoft.Graph.Beta.Models.Security.AlertEvidence +Microsoft.Graph.Beta.Models.Security.activeDirectoryDomainEvidence::|public|ActiveDirectoryDomainName:string +Microsoft.Graph.Beta.Models.Security.activeDirectoryDomainEvidence::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.activeDirectoryDomainEvidence::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.activeDirectoryDomainEvidence::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.activeDirectoryDomainEvidence::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.activeDirectoryDomainEvidence::|public|TrustedDomains:List +Microsoft.Graph.Beta.Models.Security.activeDirectoryDomainEvidence::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.ActiveDirectoryDomainEvidence Microsoft.Graph.Beta.Models.Security.addContentFooterAction-->global.Microsoft.Graph.Beta.Models.Security.InformationProtectionAction Microsoft.Graph.Beta.Models.Security.addContentFooterAction::|public|Alignment:global.Microsoft.Graph.Beta.Models.Security.ContentAlignment? Microsoft.Graph.Beta.Models.Security.addContentFooterAction::|public|constructor():void @@ -205938,6 +206592,7 @@ Microsoft.Graph.Beta.Models.Security.deviceEvidence::|public|OsBuild:long? Microsoft.Graph.Beta.Models.Security.deviceEvidence::|public|OsPlatform:string Microsoft.Graph.Beta.Models.Security.deviceEvidence::|public|RbacGroupId:int? Microsoft.Graph.Beta.Models.Security.deviceEvidence::|public|RbacGroupName:string +Microsoft.Graph.Beta.Models.Security.deviceEvidence::|public|ResourceAccessEvents:List Microsoft.Graph.Beta.Models.Security.deviceEvidence::|public|RiskScore:global.Microsoft.Graph.Beta.Models.Security.DeviceRiskScore? Microsoft.Graph.Beta.Models.Security.deviceEvidence::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.Security.deviceEvidence::|public|Version:string @@ -211100,6 +211755,7 @@ Microsoft.Graph.Beta.Models.sensitivityLabel::|public|Color:string Microsoft.Graph.Beta.Models.sensitivityLabel::|public|Description:string Microsoft.Graph.Beta.Models.sensitivityLabel::|public|DisplayName:string Microsoft.Graph.Beta.Models.sensitivityLabel::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.sensitivityLabel::|public|HasProtection:bool? Microsoft.Graph.Beta.Models.sensitivityLabel::|public|IsDefault:bool? Microsoft.Graph.Beta.Models.sensitivityLabel::|public|IsEnabled:bool? Microsoft.Graph.Beta.Models.sensitivityLabel::|public|IsEndpointProtectionEnabled:bool? @@ -211448,6 +212104,7 @@ Microsoft.Graph.Beta.Models.servicePrincipal::|public|GetFieldDeserializers():ID Microsoft.Graph.Beta.Models.servicePrincipal::|public|Homepage:string Microsoft.Graph.Beta.Models.servicePrincipal::|public|HomeRealmDiscoveryPolicies:List Microsoft.Graph.Beta.Models.servicePrincipal::|public|Info:global.Microsoft.Graph.Beta.Models.InformationalUrl +Microsoft.Graph.Beta.Models.servicePrincipal::|public|IsDisabled:bool? Microsoft.Graph.Beta.Models.servicePrincipal::|public|KeyCredentials:List Microsoft.Graph.Beta.Models.servicePrincipal::|public|LicenseDetails:List Microsoft.Graph.Beta.Models.servicePrincipal::|public|LoginUrl:string @@ -212017,6 +212674,7 @@ Microsoft.Graph.Beta.Models.sharePointIdentity::|public|OdataType:string Microsoft.Graph.Beta.Models.sharePointIdentity::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.sharePointIdentity::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.SharePointIdentity Microsoft.Graph.Beta.Models.sharePointIdentityMapping-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.sharePointIdentityMapping::|public|Deleted:global.Microsoft.Graph.Beta.Models.Deleted Microsoft.Graph.Beta.Models.sharePointIdentityMapping::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.sharePointIdentityMapping::|public|OdataType:string Microsoft.Graph.Beta.Models.sharePointIdentityMapping::|public|Serialize(writer:ISerializationWriter):void @@ -212687,6 +213345,15 @@ Microsoft.Graph.Beta.Models.signInActivity::|static|public|CreateFromDiscriminat Microsoft.Graph.Beta.Models.signInActivity~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.signInAssistantOptions::0000-notConfigured Microsoft.Graph.Beta.Models.signInAssistantOptions::0001-disabled +Microsoft.Graph.Beta.Models.signInAudienceRestrictionsBase::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.signInAudienceRestrictionsBase::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.signInAudienceRestrictionsBase::|public|constructor():void +Microsoft.Graph.Beta.Models.signInAudienceRestrictionsBase::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.signInAudienceRestrictionsBase::|public|Kind:global.Microsoft.Graph.Beta.Models.Kind? +Microsoft.Graph.Beta.Models.signInAudienceRestrictionsBase::|public|OdataType:string +Microsoft.Graph.Beta.Models.signInAudienceRestrictionsBase::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.signInAudienceRestrictionsBase::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.SignInAudienceRestrictionsBase +Microsoft.Graph.Beta.Models.signInAudienceRestrictionsBase~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.signInCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse Microsoft.Graph.Beta.Models.signInCollectionResponse::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.signInCollectionResponse::|public|Serialize(writer:ISerializationWriter):void @@ -213765,6 +214432,37 @@ Microsoft.Graph.Beta.Models.strongAuthenticationRequirements::|public|PerUserMfa Microsoft.Graph.Beta.Models.strongAuthenticationRequirements::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.strongAuthenticationRequirements::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.StrongAuthenticationRequirements Microsoft.Graph.Beta.Models.strongAuthenticationRequirements~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.structuredDataEntry::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.structuredDataEntry::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.structuredDataEntry::|public|constructor():void +Microsoft.Graph.Beta.Models.structuredDataEntry::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.structuredDataEntry::|public|KeyEntry:global.Microsoft.Graph.Beta.Models.StructuredDataEntryTypedValue +Microsoft.Graph.Beta.Models.structuredDataEntry::|public|OdataType:string +Microsoft.Graph.Beta.Models.structuredDataEntry::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.structuredDataEntry::|public|ValueEntry:global.Microsoft.Graph.Beta.Models.StructuredDataEntryTypedValue +Microsoft.Graph.Beta.Models.structuredDataEntry::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.StructuredDataEntry +Microsoft.Graph.Beta.Models.structuredDataEntryTypedValue::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.structuredDataEntryTypedValue::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.structuredDataEntryTypedValue::|public|constructor():void +Microsoft.Graph.Beta.Models.structuredDataEntryTypedValue::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.structuredDataEntryTypedValue::|public|OdataType:string +Microsoft.Graph.Beta.Models.structuredDataEntryTypedValue::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.structuredDataEntryTypedValue::|public|Type:global.Microsoft.Graph.Beta.Models.StructuredDataEntryValueType? +Microsoft.Graph.Beta.Models.structuredDataEntryTypedValue::|public|Values:List +Microsoft.Graph.Beta.Models.structuredDataEntryTypedValue::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.StructuredDataEntryTypedValue +Microsoft.Graph.Beta.Models.structuredDataEntryTypedValue~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.structuredDataEntryValueType::0000-dateTime +Microsoft.Graph.Beta.Models.structuredDataEntryValueType::0001-boolean +Microsoft.Graph.Beta.Models.structuredDataEntryValueType::0002-byte +Microsoft.Graph.Beta.Models.structuredDataEntryValueType::0003-string +Microsoft.Graph.Beta.Models.structuredDataEntryValueType::0004-integer32 +Microsoft.Graph.Beta.Models.structuredDataEntryValueType::0005-unsignedInteger32 +Microsoft.Graph.Beta.Models.structuredDataEntryValueType::0006-integer64 +Microsoft.Graph.Beta.Models.structuredDataEntryValueType::0007-unsignedInteger64 +Microsoft.Graph.Beta.Models.structuredDataEntryValueType::0008-stringArray +Microsoft.Graph.Beta.Models.structuredDataEntryValueType::0009-byteArray +Microsoft.Graph.Beta.Models.structuredDataEntryValueType::0010-unknownFutureValue +Microsoft.Graph.Beta.Models.structuredDataEntry~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.stsPolicy-->global.Microsoft.Graph.Beta.Models.PolicyBase Microsoft.Graph.Beta.Models.stsPolicy::|public|AppliesTo:List Microsoft.Graph.Beta.Models.stsPolicy::|public|constructor():void @@ -214422,6 +215120,12 @@ Microsoft.Graph.Beta.Models.tabUpdatedEventMessageDetail::|public|OdataType:stri Microsoft.Graph.Beta.Models.tabUpdatedEventMessageDetail::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.tabUpdatedEventMessageDetail::|public|TabId:string Microsoft.Graph.Beta.Models.tabUpdatedEventMessageDetail::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.TabUpdatedEventMessageDetail +Microsoft.Graph.Beta.Models.targetAgentIdentitySponsorsOrOwners-->global.Microsoft.Graph.Beta.Models.UserSet +Microsoft.Graph.Beta.Models.targetAgentIdentitySponsorsOrOwners::|public|constructor():void +Microsoft.Graph.Beta.Models.targetAgentIdentitySponsorsOrOwners::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.targetAgentIdentitySponsorsOrOwners::|public|OdataType:string +Microsoft.Graph.Beta.Models.targetAgentIdentitySponsorsOrOwners::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.targetAgentIdentitySponsorsOrOwners::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.TargetAgentIdentitySponsorsOrOwners Microsoft.Graph.Beta.Models.targetDeviceGroup-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.targetDeviceGroup::|public|DisplayName:string Microsoft.Graph.Beta.Models.targetDeviceGroup::|public|GetFieldDeserializers():IDictionary> @@ -216595,6 +217299,16 @@ Microsoft.Graph.Beta.Models.timeOffCollectionResponse::|public|GetFieldDeseriali Microsoft.Graph.Beta.Models.timeOffCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.timeOffCollectionResponse::|public|Value:List Microsoft.Graph.Beta.Models.timeOffCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.TimeOffCollectionResponse +Microsoft.Graph.Beta.Models.timeOffDetails::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.timeOffDetails::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.timeOffDetails::|public|constructor():void +Microsoft.Graph.Beta.Models.timeOffDetails::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.timeOffDetails::|public|IsAllDay:bool? +Microsoft.Graph.Beta.Models.timeOffDetails::|public|OdataType:string +Microsoft.Graph.Beta.Models.timeOffDetails::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.timeOffDetails::|public|Subject:string +Microsoft.Graph.Beta.Models.timeOffDetails::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.TimeOffDetails +Microsoft.Graph.Beta.Models.timeOffDetails~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.timeOffItem-->global.Microsoft.Graph.Beta.Models.ScheduleEntity Microsoft.Graph.Beta.Models.timeOffItem::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.timeOffItem::|public|OdataType:string @@ -217872,6 +218586,12 @@ Microsoft.Graph.Beta.Models.unmuteParticipantOperation::|public|GetFieldDeserial Microsoft.Graph.Beta.Models.unmuteParticipantOperation::|public|OdataType:string Microsoft.Graph.Beta.Models.unmuteParticipantOperation::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.unmuteParticipantOperation::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.UnmuteParticipantOperation +Microsoft.Graph.Beta.Models.unrestrictedAudience-->global.Microsoft.Graph.Beta.Models.SignInAudienceRestrictionsBase +Microsoft.Graph.Beta.Models.unrestrictedAudience::|public|constructor():void +Microsoft.Graph.Beta.Models.unrestrictedAudience::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.unrestrictedAudience::|public|OdataType:string +Microsoft.Graph.Beta.Models.unrestrictedAudience::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.unrestrictedAudience::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.UnrestrictedAudience Microsoft.Graph.Beta.Models.unsupportedDeviceConfiguration-->global.Microsoft.Graph.Beta.Models.DeviceConfiguration Microsoft.Graph.Beta.Models.unsupportedDeviceConfiguration::|public|constructor():void Microsoft.Graph.Beta.Models.unsupportedDeviceConfiguration::|public|Details:List @@ -218404,6 +219124,8 @@ Microsoft.Graph.Beta.Models.userConfiguration::|public|BinaryData:byte[] Microsoft.Graph.Beta.Models.userConfiguration::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.userConfiguration::|public|OdataType:string Microsoft.Graph.Beta.Models.userConfiguration::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.userConfiguration::|public|StructuredData:List +Microsoft.Graph.Beta.Models.userConfiguration::|public|XmlData:byte[] Microsoft.Graph.Beta.Models.userConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.UserConfiguration Microsoft.Graph.Beta.Models.userConfigurationCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse Microsoft.Graph.Beta.Models.userConfigurationCollectionResponse::|public|GetFieldDeserializers():IDictionary> @@ -219867,6 +220589,7 @@ Microsoft.Graph.Beta.Models.userSettings::|public|Serialize(writer:ISerializatio Microsoft.Graph.Beta.Models.userSettings::|public|ShiftPreferences:global.Microsoft.Graph.Beta.Models.ShiftPreferences Microsoft.Graph.Beta.Models.userSettings::|public|Storage:global.Microsoft.Graph.Beta.Models.UserStorage Microsoft.Graph.Beta.Models.userSettings::|public|Windows:List +Microsoft.Graph.Beta.Models.userSettings::|public|WorkHoursAndLocations:global.Microsoft.Graph.Beta.Models.WorkHoursAndLocationsSetting Microsoft.Graph.Beta.Models.userSettings::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.UserSettings Microsoft.Graph.Beta.Models.userSet~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.userSignIn-->global.Microsoft.Graph.Beta.Models.SignInIdentity @@ -226334,6 +227057,14 @@ Microsoft.Graph.Beta.Models.workforceIntegrationSupportedEntities::0008-timeCard Microsoft.Graph.Beta.Models.workforceIntegrationSupportedEntities::0009-timeOffReason Microsoft.Graph.Beta.Models.workforceIntegrationSupportedEntities::0010-timeOff Microsoft.Graph.Beta.Models.workforceIntegrationSupportedEntities::0011-timeOffRequest +Microsoft.Graph.Beta.Models.workHoursAndLocationsSetting-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.workHoursAndLocationsSetting::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.workHoursAndLocationsSetting::|public|MaxSharedWorkLocationDetails:global.Microsoft.Graph.Beta.Models.MaxWorkLocationDetails? +Microsoft.Graph.Beta.Models.workHoursAndLocationsSetting::|public|Occurrences:List +Microsoft.Graph.Beta.Models.workHoursAndLocationsSetting::|public|OdataType:string +Microsoft.Graph.Beta.Models.workHoursAndLocationsSetting::|public|Recurrences:List +Microsoft.Graph.Beta.Models.workHoursAndLocationsSetting::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.workHoursAndLocationsSetting::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.WorkHoursAndLocationsSetting Microsoft.Graph.Beta.Models.workingHours::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.workingHours::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.workingHours::|public|constructor():void @@ -226361,6 +227092,9 @@ Microsoft.Graph.Beta.Models.workLocationType::0001-office Microsoft.Graph.Beta.Models.workLocationType::0002-remote Microsoft.Graph.Beta.Models.workLocationType::0003-timeOff Microsoft.Graph.Beta.Models.workLocationType::0004-unknownFutureValue +Microsoft.Graph.Beta.Models.workLocationUpdateScope::0000-currentSegment +Microsoft.Graph.Beta.Models.workLocationUpdateScope::0001-currentDay +Microsoft.Graph.Beta.Models.workLocationUpdateScope::0002-unknownFutureValue Microsoft.Graph.Beta.Models.workplace::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.workplace::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.workplace::|public|constructor():void @@ -226438,6 +227172,37 @@ Microsoft.Graph.Beta.Models.workplaceSensorType::0005-unknownFutureValue Microsoft.Graph.Beta.Models.workplaceSensorType::0006-wifi Microsoft.Graph.Beta.Models.workplaceSensor~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.workplace~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.workPlanOccurrence-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.workPlanOccurrence::|public|End:global.Microsoft.Graph.Beta.Models.DateTimeTimeZone +Microsoft.Graph.Beta.Models.workPlanOccurrence::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.workPlanOccurrence::|public|OdataType:string +Microsoft.Graph.Beta.Models.workPlanOccurrence::|public|PlaceId:string +Microsoft.Graph.Beta.Models.workPlanOccurrence::|public|RecurrenceId:string +Microsoft.Graph.Beta.Models.workPlanOccurrence::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.workPlanOccurrence::|public|Start:global.Microsoft.Graph.Beta.Models.DateTimeTimeZone +Microsoft.Graph.Beta.Models.workPlanOccurrence::|public|TimeOffDetails:global.Microsoft.Graph.Beta.Models.TimeOffDetails +Microsoft.Graph.Beta.Models.workPlanOccurrence::|public|WorkLocationType:global.Microsoft.Graph.Beta.Models.WorkLocationType? +Microsoft.Graph.Beta.Models.workPlanOccurrence::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.WorkPlanOccurrence +Microsoft.Graph.Beta.Models.workPlanOccurrenceCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Models.workPlanOccurrenceCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.workPlanOccurrenceCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.workPlanOccurrenceCollectionResponse::|public|Value:List +Microsoft.Graph.Beta.Models.workPlanOccurrenceCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.WorkPlanOccurrenceCollectionResponse +Microsoft.Graph.Beta.Models.workPlanRecurrence-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.workPlanRecurrence::|public|End:global.Microsoft.Graph.Beta.Models.DateTimeTimeZone +Microsoft.Graph.Beta.Models.workPlanRecurrence::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.workPlanRecurrence::|public|OdataType:string +Microsoft.Graph.Beta.Models.workPlanRecurrence::|public|PlaceId:string +Microsoft.Graph.Beta.Models.workPlanRecurrence::|public|Recurrence:global.Microsoft.Graph.Beta.Models.PatternedRecurrence +Microsoft.Graph.Beta.Models.workPlanRecurrence::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.workPlanRecurrence::|public|Start:global.Microsoft.Graph.Beta.Models.DateTimeTimeZone +Microsoft.Graph.Beta.Models.workPlanRecurrence::|public|WorkLocationType:global.Microsoft.Graph.Beta.Models.WorkLocationType? +Microsoft.Graph.Beta.Models.workPlanRecurrence::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.WorkPlanRecurrence +Microsoft.Graph.Beta.Models.workPlanRecurrenceCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Models.workPlanRecurrenceCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.workPlanRecurrenceCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.workPlanRecurrenceCollectionResponse::|public|Value:List +Microsoft.Graph.Beta.Models.workPlanRecurrenceCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.WorkPlanRecurrenceCollectionResponse Microsoft.Graph.Beta.Models.workPosition-->global.Microsoft.Graph.Beta.Models.ItemFacet Microsoft.Graph.Beta.Models.workPosition::|public|Categories:List Microsoft.Graph.Beta.Models.workPosition::|public|Colleagues:List @@ -258113,7 +258878,7 @@ Microsoft.Graph.Beta.ServicePrincipals.Count.CountRequestBuilder::|public|WithUr Microsoft.Graph.Beta.ServicePrincipals.Delta.deltaGetResponse-->global.Microsoft.Graph.Beta.Models.BaseDeltaFunctionResponse Microsoft.Graph.Beta.ServicePrincipals.Delta.deltaGetResponse::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.ServicePrincipals.Delta.deltaGetResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Beta.ServicePrincipals.Delta.deltaGetResponse::|public|Value:List +Microsoft.Graph.Beta.ServicePrincipals.Delta.deltaGetResponse::|public|Value:List Microsoft.Graph.Beta.ServicePrincipals.Delta.deltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.ServicePrincipals.Delta.DeltaGetResponse Microsoft.Graph.Beta.ServicePrincipals.Delta.deltaRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.ServicePrincipals.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Count:bool? @@ -278114,6 +278879,7 @@ Microsoft.Graph.Beta.Teams.Item.Channels.Item.ChannelItemRequestBuilder::|public Microsoft.Graph.Beta.Teams.Item.Channels.Item.ChannelItemRequestBuilder::|public|provisionEmail:global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.ProvisionEmail.ProvisionEmailRequestBuilder Microsoft.Graph.Beta.Teams.Item.Channels.Item.ChannelItemRequestBuilder::|public|removeEmail:global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.RemoveEmail.RemoveEmailRequestBuilder Microsoft.Graph.Beta.Teams.Item.Channels.Item.ChannelItemRequestBuilder::|public|sharedWithTeams:global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.SharedWithTeams.SharedWithTeamsRequestBuilder +Microsoft.Graph.Beta.Teams.Item.Channels.Item.ChannelItemRequestBuilder::|public|startMigration:global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.StartMigration.StartMigrationRequestBuilder Microsoft.Graph.Beta.Teams.Item.Channels.Item.ChannelItemRequestBuilder::|public|tabs:global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.Tabs.TabsRequestBuilder Microsoft.Graph.Beta.Teams.Item.Channels.Item.ChannelItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Teams.Item.Channels.Item.ChannelItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation @@ -279345,6 +280111,21 @@ Microsoft.Graph.Beta.Teams.Item.Channels.Item.SharedWithTeams.sharedWithTeamsReq Microsoft.Graph.Beta.Teams.Item.Channels.Item.SharedWithTeams.sharedWithTeamsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Teams.Item.Channels.Item.SharedWithTeams.sharedWithTeamsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.SharedWithChannelTeamInfo; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Teams.Item.Channels.Item.SharedWithTeams.sharedWithTeamsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.SharedWithTeams.SharedWithTeamsRequestBuilder +Microsoft.Graph.Beta.Teams.Item.Channels.Item.StartMigration.startMigrationPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Teams.Item.Channels.Item.StartMigration.startMigrationPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Teams.Item.Channels.Item.StartMigration.startMigrationPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Teams.Item.Channels.Item.StartMigration.startMigrationPostRequestBody::|public|ConversationCreationDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Teams.Item.Channels.Item.StartMigration.startMigrationPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Teams.Item.Channels.Item.StartMigration.startMigrationPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Teams.Item.Channels.Item.StartMigration.startMigrationPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.StartMigration.StartMigrationPostRequestBody +Microsoft.Graph.Beta.Teams.Item.Channels.Item.StartMigration.startMigrationPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Teams.Item.Channels.Item.StartMigration.startMigrationRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teams.Item.Channels.Item.StartMigration.startMigrationRequestBuilder.startMigrationRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teams.Item.Channels.Item.StartMigration.startMigrationRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.Channels.Item.StartMigration.startMigrationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.Channels.Item.StartMigration.startMigrationRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.StartMigration.StartMigrationPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Teams.Item.Channels.Item.StartMigration.startMigrationRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.StartMigration.StartMigrationPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teams.Item.Channels.Item.StartMigration.startMigrationRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.StartMigration.StartMigrationRequestBuilder Microsoft.Graph.Beta.Teams.Item.Channels.Item.Tabs.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Teams.Item.Channels.Item.Tabs.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.Teams.Item.Channels.Item.Tabs.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -281123,6 +281904,7 @@ Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.primaryChannelRequestBuilder::|pu Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.primaryChannelRequestBuilder::|public|provisionEmail:global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.ProvisionEmail.ProvisionEmailRequestBuilder Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.primaryChannelRequestBuilder::|public|removeEmail:global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.RemoveEmail.RemoveEmailRequestBuilder Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.primaryChannelRequestBuilder::|public|sharedWithTeams:global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.SharedWithTeams.SharedWithTeamsRequestBuilder +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.primaryChannelRequestBuilder::|public|startMigration:global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.StartMigration.StartMigrationRequestBuilder Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.primaryChannelRequestBuilder::|public|tabs:global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Tabs.TabsRequestBuilder Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.primaryChannelRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.primaryChannelRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation @@ -281233,6 +282015,21 @@ Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.SharedWithTeams.sharedWithTeamsRe Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.SharedWithTeams.sharedWithTeamsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.SharedWithTeams.sharedWithTeamsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.SharedWithChannelTeamInfo; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.SharedWithTeams.sharedWithTeamsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.SharedWithTeams.SharedWithTeamsRequestBuilder +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.StartMigration.startMigrationPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.StartMigration.startMigrationPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.StartMigration.startMigrationPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.StartMigration.startMigrationPostRequestBody::|public|ConversationCreationDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.StartMigration.startMigrationPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.StartMigration.startMigrationPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.StartMigration.startMigrationPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.StartMigration.StartMigrationPostRequestBody +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.StartMigration.startMigrationPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.StartMigration.startMigrationRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.StartMigration.startMigrationRequestBuilder.startMigrationRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.StartMigration.startMigrationRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.StartMigration.startMigrationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.StartMigration.startMigrationRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.StartMigration.StartMigrationPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.StartMigration.startMigrationRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.StartMigration.StartMigrationPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.StartMigration.startMigrationRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.StartMigration.StartMigrationRequestBuilder Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Tabs.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Tabs.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Tabs.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -282496,6 +283293,7 @@ Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Ch Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.ChannelItemRequestBuilder::|public|provisionEmail:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.ProvisionEmail.ProvisionEmailRequestBuilder Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.ChannelItemRequestBuilder::|public|removeEmail:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.RemoveEmail.RemoveEmailRequestBuilder Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.ChannelItemRequestBuilder::|public|sharedWithTeams:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.SharedWithTeams.SharedWithTeamsRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.ChannelItemRequestBuilder::|public|startMigration:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.StartMigration.StartMigrationRequestBuilder Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.ChannelItemRequestBuilder::|public|tabs:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Tabs.TabsRequestBuilder Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.ChannelItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.ChannelItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation @@ -283727,6 +284525,21 @@ Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Sh Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.SharedWithTeams.sharedWithTeamsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.SharedWithTeams.sharedWithTeamsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.SharedWithChannelTeamInfo; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.SharedWithTeams.sharedWithTeamsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.SharedWithTeams.SharedWithTeamsRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.StartMigration.startMigrationPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.StartMigration.startMigrationPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.StartMigration.startMigrationPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.StartMigration.startMigrationPostRequestBody::|public|ConversationCreationDateTime:DateTimeOffset? +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.StartMigration.startMigrationPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.StartMigration.startMigrationPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.StartMigration.startMigrationPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.StartMigration.StartMigrationPostRequestBody +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.StartMigration.startMigrationPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.StartMigration.startMigrationRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.StartMigration.startMigrationRequestBuilder.startMigrationRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.StartMigration.startMigrationRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.StartMigration.startMigrationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.StartMigration.startMigrationRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.StartMigration.StartMigrationPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.StartMigration.startMigrationRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.StartMigration.StartMigrationPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.StartMigration.startMigrationRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.StartMigration.StartMigrationRequestBuilder Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Tabs.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Tabs.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Tabs.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -285505,6 +286318,7 @@ Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.p Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.primaryChannelRequestBuilder::|public|provisionEmail:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.ProvisionEmail.ProvisionEmailRequestBuilder Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.primaryChannelRequestBuilder::|public|removeEmail:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.RemoveEmail.RemoveEmailRequestBuilder Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.primaryChannelRequestBuilder::|public|sharedWithTeams:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.SharedWithTeams.SharedWithTeamsRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.primaryChannelRequestBuilder::|public|startMigration:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.StartMigration.StartMigrationRequestBuilder Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.primaryChannelRequestBuilder::|public|tabs:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Tabs.TabsRequestBuilder Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.primaryChannelRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.primaryChannelRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation @@ -285615,6 +286429,21 @@ Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.S Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.SharedWithTeams.sharedWithTeamsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.SharedWithTeams.sharedWithTeamsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.SharedWithChannelTeamInfo; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.SharedWithTeams.sharedWithTeamsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.SharedWithTeams.SharedWithTeamsRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.StartMigration.startMigrationPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.StartMigration.startMigrationPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.StartMigration.startMigrationPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.StartMigration.startMigrationPostRequestBody::|public|ConversationCreationDateTime:DateTimeOffset? +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.StartMigration.startMigrationPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.StartMigration.startMigrationPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.StartMigration.startMigrationPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.StartMigration.StartMigrationPostRequestBody +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.StartMigration.startMigrationPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.StartMigration.startMigrationRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.StartMigration.startMigrationRequestBuilder.startMigrationRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.StartMigration.startMigrationRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.StartMigration.startMigrationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.StartMigration.startMigrationRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.StartMigration.StartMigrationPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.StartMigration.startMigrationRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.StartMigration.StartMigrationPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.StartMigration.startMigrationRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.StartMigration.StartMigrationRequestBuilder Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Tabs.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Tabs.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Tabs.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -286892,6 +287721,7 @@ Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.ChannelItemRequest Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.ChannelItemRequestBuilder::|public|provisionEmail:global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.ProvisionEmail.ProvisionEmailRequestBuilder Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.ChannelItemRequestBuilder::|public|removeEmail:global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.RemoveEmail.RemoveEmailRequestBuilder Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.ChannelItemRequestBuilder::|public|sharedWithTeams:global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.SharedWithTeams.SharedWithTeamsRequestBuilder +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.ChannelItemRequestBuilder::|public|startMigration:global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.StartMigration.StartMigrationRequestBuilder Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.ChannelItemRequestBuilder::|public|tabs:global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Tabs.TabsRequestBuilder Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.ChannelItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.ChannelItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation @@ -288123,6 +288953,21 @@ Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.SharedWithTeams.sh Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.SharedWithTeams.sharedWithTeamsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.SharedWithTeams.sharedWithTeamsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.SharedWithChannelTeamInfo; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.SharedWithTeams.sharedWithTeamsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.SharedWithTeams.SharedWithTeamsRequestBuilder +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.StartMigration.startMigrationPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.StartMigration.startMigrationPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.StartMigration.startMigrationPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.StartMigration.startMigrationPostRequestBody::|public|ConversationCreationDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.StartMigration.startMigrationPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.StartMigration.startMigrationPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.StartMigration.startMigrationPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.StartMigration.StartMigrationPostRequestBody +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.StartMigration.startMigrationPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.StartMigration.startMigrationRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.StartMigration.startMigrationRequestBuilder.startMigrationRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.StartMigration.startMigrationRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.StartMigration.startMigrationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.StartMigration.startMigrationRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.StartMigration.StartMigrationPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.StartMigration.startMigrationRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.StartMigration.StartMigrationPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.StartMigration.startMigrationRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.StartMigration.StartMigrationRequestBuilder Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Tabs.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Tabs.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Tabs.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -288754,6 +289599,7 @@ Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.ChannelItemRequestBuilder::|public|provisionEmail:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.ProvisionEmail.ProvisionEmailRequestBuilder Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.ChannelItemRequestBuilder::|public|removeEmail:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.RemoveEmail.RemoveEmailRequestBuilder Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.ChannelItemRequestBuilder::|public|sharedWithTeams:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.SharedWithTeams.SharedWithTeamsRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.ChannelItemRequestBuilder::|public|startMigration:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.StartMigration.StartMigrationRequestBuilder Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.ChannelItemRequestBuilder::|public|tabs:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Tabs.TabsRequestBuilder Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.ChannelItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.ChannelItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation @@ -289985,6 +290831,21 @@ Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.SharedWithTeams.sharedWithTeamsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.SharedWithTeams.sharedWithTeamsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.SharedWithChannelTeamInfo; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.SharedWithTeams.sharedWithTeamsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.SharedWithTeams.SharedWithTeamsRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.StartMigration.startMigrationPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.StartMigration.startMigrationPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.StartMigration.startMigrationPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.StartMigration.startMigrationPostRequestBody::|public|ConversationCreationDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.StartMigration.startMigrationPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.StartMigration.startMigrationPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.StartMigration.startMigrationPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.StartMigration.StartMigrationPostRequestBody +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.StartMigration.startMigrationPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.StartMigration.startMigrationRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.StartMigration.startMigrationRequestBuilder.startMigrationRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.StartMigration.startMigrationRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.StartMigration.startMigrationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.StartMigration.startMigrationRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.StartMigration.StartMigrationPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.StartMigration.startMigrationRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.StartMigration.StartMigrationPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.StartMigration.startMigrationRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.StartMigration.StartMigrationRequestBuilder Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Tabs.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Tabs.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Tabs.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -291763,6 +292624,7 @@ Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.primaryChannelRequestBuilder::|public|provisionEmail:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.ProvisionEmail.ProvisionEmailRequestBuilder Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.primaryChannelRequestBuilder::|public|removeEmail:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.RemoveEmail.RemoveEmailRequestBuilder Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.primaryChannelRequestBuilder::|public|sharedWithTeams:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.SharedWithTeams.SharedWithTeamsRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.primaryChannelRequestBuilder::|public|startMigration:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.StartMigration.StartMigrationRequestBuilder Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.primaryChannelRequestBuilder::|public|tabs:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Tabs.TabsRequestBuilder Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.primaryChannelRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.primaryChannelRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation @@ -291873,6 +292735,21 @@ Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.SharedWithTeams.sharedWithTeamsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.SharedWithTeams.sharedWithTeamsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.SharedWithChannelTeamInfo; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.SharedWithTeams.sharedWithTeamsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.SharedWithTeams.SharedWithTeamsRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.StartMigration.startMigrationPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.StartMigration.startMigrationPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.StartMigration.startMigrationPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.StartMigration.startMigrationPostRequestBody::|public|ConversationCreationDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.StartMigration.startMigrationPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.StartMigration.startMigrationPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.StartMigration.startMigrationPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.StartMigration.StartMigrationPostRequestBody +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.StartMigration.startMigrationPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.StartMigration.startMigrationRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.StartMigration.startMigrationRequestBuilder.startMigrationRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.StartMigration.startMigrationRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.StartMigration.startMigrationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.StartMigration.startMigrationRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.StartMigration.StartMigrationPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.StartMigration.startMigrationRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.StartMigration.StartMigrationPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.StartMigration.startMigrationRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.StartMigration.StartMigrationRequestBuilder Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Tabs.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Tabs.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Tabs.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -298381,6 +299258,8 @@ Microsoft.Graph.Beta.Users.Item.AdhocCalls.adhocCallsRequestBuilder::[AdhocCallI Microsoft.Graph.Beta.Users.Item.AdhocCalls.adhocCallsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Users.Item.AdhocCalls.adhocCallsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Users.Item.AdhocCalls.adhocCallsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Users.Item.AdhocCalls.Count.CountRequestBuilder +Microsoft.Graph.Beta.Users.Item.AdhocCalls.adhocCallsRequestBuilder::|public|getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime:global.Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder +Microsoft.Graph.Beta.Users.Item.AdhocCalls.adhocCallsRequestBuilder::|public|getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime:global.Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder Microsoft.Graph.Beta.Users.Item.AdhocCalls.adhocCallsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.AdhocCallCollectionResponse Microsoft.Graph.Beta.Users.Item.AdhocCalls.adhocCallsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.AdhocCall; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.AdhocCall Microsoft.Graph.Beta.Users.Item.AdhocCalls.adhocCallsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation @@ -298395,6 +299274,58 @@ Microsoft.Graph.Beta.Users.Item.AdhocCalls.Count.CountRequestBuilder::|public|co Microsoft.Graph.Beta.Users.Item.AdhocCalls.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? Microsoft.Graph.Beta.Users.Item.AdhocCalls.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Users.Item.AdhocCalls.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.AdhocCalls.Count.CountRequestBuilder +Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::|public|Value:List +Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse +Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|EndDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|StartDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|UserId:string +Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|GetAsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse +Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse +Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder +Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse-->global.Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse +Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse +Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::|public|Value:List +Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse +Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|EndDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|StartDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|UserId:string +Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|GetAsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse +Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse +Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder +Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse-->global.Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse +Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Users.Item.AdhocCalls.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse Microsoft.Graph.Beta.Users.Item.AdhocCalls.Item.AdhocCallItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Users.Item.AdhocCalls.Item.AdhocCallItemRequestBuilder.AdhocCallItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Users.Item.AdhocCalls.Item.AdhocCallItemRequestBuilder.AdhocCallItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -301950,6 +302881,7 @@ Microsoft.Graph.Beta.Users.Item.Chats.Item.ChatItemRequestBuilder::|public|permi Microsoft.Graph.Beta.Users.Item.Chats.Item.ChatItemRequestBuilder::|public|pinnedMessages:global.Microsoft.Graph.Beta.Users.Item.Chats.Item.PinnedMessages.PinnedMessagesRequestBuilder Microsoft.Graph.Beta.Users.Item.Chats.Item.ChatItemRequestBuilder::|public|removeAllAccessForUser:global.Microsoft.Graph.Beta.Users.Item.Chats.Item.RemoveAllAccessForUser.RemoveAllAccessForUserRequestBuilder Microsoft.Graph.Beta.Users.Item.Chats.Item.ChatItemRequestBuilder::|public|sendActivityNotification:global.Microsoft.Graph.Beta.Users.Item.Chats.Item.SendActivityNotification.SendActivityNotificationRequestBuilder +Microsoft.Graph.Beta.Users.Item.Chats.Item.ChatItemRequestBuilder::|public|startMigration:global.Microsoft.Graph.Beta.Users.Item.Chats.Item.StartMigration.StartMigrationRequestBuilder Microsoft.Graph.Beta.Users.Item.Chats.Item.ChatItemRequestBuilder::|public|tabs:global.Microsoft.Graph.Beta.Users.Item.Chats.Item.Tabs.TabsRequestBuilder Microsoft.Graph.Beta.Users.Item.Chats.Item.ChatItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Users.Item.Chats.Item.ChatItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation @@ -302815,6 +303747,21 @@ Microsoft.Graph.Beta.Users.Item.Chats.Item.SendActivityNotification.sendActivity Microsoft.Graph.Beta.Users.Item.Chats.Item.SendActivityNotification.sendActivityNotificationRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Users.Item.Chats.Item.SendActivityNotification.SendActivityNotificationPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Users.Item.Chats.Item.SendActivityNotification.sendActivityNotificationRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Users.Item.Chats.Item.SendActivityNotification.SendActivityNotificationPostRequestBody; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Users.Item.Chats.Item.SendActivityNotification.sendActivityNotificationRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Chats.Item.SendActivityNotification.SendActivityNotificationRequestBuilder +Microsoft.Graph.Beta.Users.Item.Chats.Item.StartMigration.startMigrationPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Users.Item.Chats.Item.StartMigration.startMigrationPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Users.Item.Chats.Item.StartMigration.startMigrationPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Users.Item.Chats.Item.StartMigration.startMigrationPostRequestBody::|public|ConversationCreationDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Users.Item.Chats.Item.StartMigration.startMigrationPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Users.Item.Chats.Item.StartMigration.startMigrationPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Users.Item.Chats.Item.StartMigration.startMigrationPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Users.Item.Chats.Item.StartMigration.StartMigrationPostRequestBody +Microsoft.Graph.Beta.Users.Item.Chats.Item.StartMigration.startMigrationPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Users.Item.Chats.Item.StartMigration.startMigrationRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Chats.Item.StartMigration.startMigrationRequestBuilder.startMigrationRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Chats.Item.StartMigration.startMigrationRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Chats.Item.StartMigration.startMigrationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Chats.Item.StartMigration.startMigrationRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Users.Item.Chats.Item.StartMigration.StartMigrationPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Users.Item.Chats.Item.StartMigration.startMigrationRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Users.Item.Chats.Item.StartMigration.StartMigrationPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Chats.Item.StartMigration.startMigrationRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Chats.Item.StartMigration.StartMigrationRequestBuilder Microsoft.Graph.Beta.Users.Item.Chats.Item.Tabs.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Users.Item.Chats.Item.Tabs.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.Users.Item.Chats.Item.Tabs.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -318304,6 +319251,7 @@ Microsoft.Graph.Beta.Users.Item.Settings.settingsRequestBuilder::|public|ToGetRe Microsoft.Graph.Beta.Users.Item.Settings.settingsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.UserSettings; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Users.Item.Settings.settingsRequestBuilder::|public|windows:global.Microsoft.Graph.Beta.Users.Item.Settings.Windows.WindowsRequestBuilder Microsoft.Graph.Beta.Users.Item.Settings.settingsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Settings.SettingsRequestBuilder +Microsoft.Graph.Beta.Users.Item.Settings.settingsRequestBuilder::|public|workHoursAndLocations:global.Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.WorkHoursAndLocationsRequestBuilder Microsoft.Graph.Beta.Users.Item.Settings.ShiftPreferences.shiftPreferencesRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Users.Item.Settings.ShiftPreferences.shiftPreferencesRequestBuilder.shiftPreferencesRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Users.Item.Settings.ShiftPreferences.shiftPreferencesRequestBuilder.shiftPreferencesRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -318484,6 +319432,150 @@ Microsoft.Graph.Beta.Users.Item.Settings.Windows.windowsRequestBuilder::|public| Microsoft.Graph.Beta.Users.Item.Settings.Windows.windowsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Users.Item.Settings.Windows.windowsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.WindowsSetting; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Users.Item.Settings.Windows.windowsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Settings.Windows.WindowsRequestBuilder +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.Count.CountRequestBuilder +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder.WorkPlanOccurrenceItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder.WorkPlanOccurrenceItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder.WorkPlanOccurrenceItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder.WorkPlanOccurrenceItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder.WorkPlanOccurrenceItemRequestBuilderPutRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.WorkPlanOccurrence +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder::|public|PutAsync(body:global.Microsoft.Graph.Beta.Models.WorkPlanOccurrence; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.WorkPlanOccurrence +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder::|public|ToPutRequestInformation(body:global.Microsoft.Graph.Beta.Models.WorkPlanOccurrence; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder.occurrencesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder.occurrencesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder.occurrencesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder.occurrencesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder.occurrencesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder.occurrencesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder.occurrencesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder.occurrencesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder.occurrencesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder.occurrencesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder::[WorkPlanOccurrenceId:string]:global.Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.Item.WorkPlanOccurrenceItemRequestBuilder +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.Count.CountRequestBuilder +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.WorkPlanOccurrenceCollectionResponse +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.WorkPlanOccurrence; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.WorkPlanOccurrence +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder::|public|setCurrentLocation:global.Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.SetCurrentLocationRequestBuilder +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.WorkPlanOccurrence; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.occurrencesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.OccurrencesRequestBuilder +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationPostRequestBody::|public|PlaceId:string +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationPostRequestBody::|public|UpdateScope:global.Microsoft.Graph.Beta.Models.WorkLocationUpdateScope? +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationPostRequestBody::|public|WorkLocationType:global.Microsoft.Graph.Beta.Models.WorkLocationType? +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.SetCurrentLocationPostRequestBody +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationRequestBuilder.setCurrentLocationRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.SetCurrentLocationPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.SetCurrentLocationPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.setCurrentLocationRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.SetCurrentLocation.SetCurrentLocationRequestBuilder +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeGetResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeGetResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeGetResponse::|public|Value:List +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.OccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter; endDateTime?:string; startDateTime?:string):void +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder::|public|GetAsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.OccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.OccurrencesViewWithStartDateTimeWithEndDateTimeResponse +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeResponse-->global.Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.OccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.OccurrencesViewWithStartDateTimeWithEndDateTimeResponse +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Recurrences.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Recurrences.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Recurrences.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Recurrences.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Recurrences.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Recurrences.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Recurrences.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Recurrences.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Recurrences.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Recurrences.Count.CountRequestBuilder +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder.WorkPlanRecurrenceItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder.WorkPlanRecurrenceItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder.WorkPlanRecurrenceItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder.WorkPlanRecurrenceItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder.WorkPlanRecurrenceItemRequestBuilderPutRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.WorkPlanRecurrence +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder::|public|PutAsync(body:global.Microsoft.Graph.Beta.Models.WorkPlanRecurrence; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.WorkPlanRecurrence +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder::|public|ToPutRequestInformation(body:global.Microsoft.Graph.Beta.Models.WorkPlanRecurrence; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder.recurrencesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder.recurrencesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder.recurrencesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder.recurrencesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder.recurrencesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder.recurrencesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder.recurrencesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder.recurrencesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder.recurrencesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder.recurrencesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder::[WorkPlanRecurrenceId:string]:global.Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Recurrences.Item.WorkPlanRecurrenceItemRequestBuilder +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Recurrences.Count.CountRequestBuilder +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.WorkPlanRecurrenceCollectionResponse +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.WorkPlanRecurrence; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.WorkPlanRecurrence +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.WorkPlanRecurrence; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Recurrences.recurrencesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Recurrences.RecurrencesRequestBuilder +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.workHoursAndLocationsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.workHoursAndLocationsRequestBuilder.workHoursAndLocationsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.workHoursAndLocationsRequestBuilder.workHoursAndLocationsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.workHoursAndLocationsRequestBuilder.workHoursAndLocationsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.workHoursAndLocationsRequestBuilder.workHoursAndLocationsRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.workHoursAndLocationsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.workHoursAndLocationsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.workHoursAndLocationsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.WorkHoursAndLocationsSetting +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.workHoursAndLocationsRequestBuilder::|public|occurrences:global.Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Occurrences.OccurrencesRequestBuilder +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.workHoursAndLocationsRequestBuilder::|public|occurrencesViewWithStartDateTimeWithEndDateTime(endDateTime:string; startDateTime:string):global.Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.OccurrencesViewWithStartDateTimeWithEndDateTime.OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.workHoursAndLocationsRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.WorkHoursAndLocationsSetting; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.WorkHoursAndLocationsSetting +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.workHoursAndLocationsRequestBuilder::|public|recurrences:global.Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.Recurrences.RecurrencesRequestBuilder +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.workHoursAndLocationsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.workHoursAndLocationsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.WorkHoursAndLocationsSetting; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.workHoursAndLocationsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Settings.WorkHoursAndLocations.WorkHoursAndLocationsRequestBuilder Microsoft.Graph.Beta.Users.Item.Solutions.solutionsRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Users.Item.Solutions.solutionsRequestBuilder.solutionsRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Users.Item.Solutions.solutionsRequestBuilder.solutionsRequestBuilderGetQueryParameters::|public|Expand:string[] diff --git a/src/Microsoft.Graph/Generated/kiota-lock.json b/src/Microsoft.Graph/Generated/kiota-lock.json index b310b24067e..b559f01bb2a 100644 --- a/src/Microsoft.Graph/Generated/kiota-lock.json +++ b/src/Microsoft.Graph/Generated/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "E2EDB2947C80AB1AA49679B40153C3CBC1ED7E3E9BF1AB5054C34667F2D25EFA07B48F8E9BB6A0C421A8A9B67FED10EC8F93B5E61DA1B7C8A999240AAEF9C5AE", + "descriptionHash": "2D9544866E45909F59AF8A0813684E7D90FC6BE00F155079134877EB817B8FDCD03F962FAAAD4BE18482D5919079B6CCEC201115BC27158C178DBC04670B0F27", "descriptionLocation": "../../msgraph-metadata/clean_beta_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.30.0",