diff --git a/src/Microsoft.Graph/Generated/Chats/Item/ChatItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/ChatItemRequestBuilder.cs index 3dec5d4143d..0517fd39816 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/ChatItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/ChatItemRequestBuilder.cs @@ -9,6 +9,7 @@ using Microsoft.Graph.Chats.Item.Messages; using Microsoft.Graph.Chats.Item.PermissionGrants; using Microsoft.Graph.Chats.Item.PinnedMessages; +using Microsoft.Graph.Chats.Item.RemoveAllAccessForUser; using Microsoft.Graph.Chats.Item.SendActivityNotification; using Microsoft.Graph.Chats.Item.Tabs; using Microsoft.Graph.Chats.Item.UnhideForUser; @@ -75,6 +76,11 @@ public partial class ChatItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Chats.Item.PinnedMessages.PinnedMessagesRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the removeAllAccessForUser method. + public global::Microsoft.Graph.Chats.Item.RemoveAllAccessForUser.RemoveAllAccessForUserRequestBuilder RemoveAllAccessForUser + { + get => new global::Microsoft.Graph.Chats.Item.RemoveAllAccessForUser.RemoveAllAccessForUserRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the sendActivityNotification method. public global::Microsoft.Graph.Chats.Item.SendActivityNotification.SendActivityNotificationRequestBuilder SendActivityNotification { diff --git a/src/Microsoft.Graph/Generated/Chats/Item/RemoveAllAccessForUser/RemoveAllAccessForUserPostRequestBody.cs b/src/Microsoft.Graph/Generated/Chats/Item/RemoveAllAccessForUser/RemoveAllAccessForUserPostRequestBody.cs new file mode 100644 index 00000000000..e3b47586404 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Chats/Item/RemoveAllAccessForUser/RemoveAllAccessForUserPostRequestBody.cs @@ -0,0 +1,82 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Chats.Item.RemoveAllAccessForUser +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemoveAllAccessForUserPostRequestBody : 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 user property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.TeamworkUserIdentity? User + { + get { return BackingStore?.Get("user"); } + set { BackingStore?.Set("user", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.TeamworkUserIdentity User + { + get { return BackingStore?.Get("user"); } + set { BackingStore?.Set("user", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RemoveAllAccessForUserPostRequestBody() + { + 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.Chats.Item.RemoveAllAccessForUser.RemoveAllAccessForUserPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Chats.Item.RemoveAllAccessForUser.RemoveAllAccessForUserPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "user", n => { User = n.GetObjectValue(global::Microsoft.Graph.Models.TeamworkUserIdentity.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("user", User); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Chats/Item/RemoveAllAccessForUser/RemoveAllAccessForUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/RemoveAllAccessForUser/RemoveAllAccessForUserRequestBuilder.cs new file mode 100644 index 00000000000..9f0b0085975 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Chats/Item/RemoveAllAccessForUser/RemoveAllAccessForUserRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Chats.Item.RemoveAllAccessForUser +{ + /// + /// Provides operations to call the removeAllAccessForUser method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RemoveAllAccessForUserRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RemoveAllAccessForUserRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/chats/{chat%2Did}/removeAllAccessForUser", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RemoveAllAccessForUserRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/chats/{chat%2Did}/removeAllAccessForUser", rawUrl) + { + } + /// + /// Remove access to a chat for a user. + /// 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.Chats.Item.RemoveAllAccessForUser.RemoveAllAccessForUserPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Chats.Item.RemoveAllAccessForUser.RemoveAllAccessForUserPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove access to a chat for a user. + /// + /// 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.Chats.Item.RemoveAllAccessForUser.RemoveAllAccessForUserPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Chats.Item.RemoveAllAccessForUser.RemoveAllAccessForUserPostRequestBody 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.Chats.Item.RemoveAllAccessForUser.RemoveAllAccessForUserRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Chats.Item.RemoveAllAccessForUser.RemoveAllAccessForUserRequestBuilder(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 RemoveAllAccessForUserRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.cs index 46b33d912fd..0cb4fbaae63 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.cs @@ -58,7 +58,8 @@ public async Task DeleteAsync(Action - /// Information about retention label and settings enforced on the driveItem. Read-write. + /// Get metadata information for a retention label applied on a driveItem. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -126,7 +127,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Information about retention label and settings enforced on the driveItem. Read-write. + /// Get metadata information for a retention label applied on a driveItem. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -184,7 +185,7 @@ public partial class RetentionLabelRequestBuilderDeleteRequestConfiguration : Re { } /// - /// Information about retention label and settings enforced on the driveItem. Read-write. + /// Get metadata information for a retention label applied on a driveItem. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RetentionLabelRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/ChatItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/ChatItemRequestBuilder.cs index 0a60395761b..728d25f00dd 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/ChatItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/ChatItemRequestBuilder.cs @@ -9,6 +9,7 @@ using Microsoft.Graph.Me.Chats.Item.Messages; using Microsoft.Graph.Me.Chats.Item.PermissionGrants; using Microsoft.Graph.Me.Chats.Item.PinnedMessages; +using Microsoft.Graph.Me.Chats.Item.RemoveAllAccessForUser; using Microsoft.Graph.Me.Chats.Item.SendActivityNotification; using Microsoft.Graph.Me.Chats.Item.Tabs; using Microsoft.Graph.Me.Chats.Item.UnhideForUser; @@ -75,6 +76,11 @@ public partial class ChatItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Me.Chats.Item.PinnedMessages.PinnedMessagesRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the removeAllAccessForUser method. + public global::Microsoft.Graph.Me.Chats.Item.RemoveAllAccessForUser.RemoveAllAccessForUserRequestBuilder RemoveAllAccessForUser + { + get => new global::Microsoft.Graph.Me.Chats.Item.RemoveAllAccessForUser.RemoveAllAccessForUserRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the sendActivityNotification method. public global::Microsoft.Graph.Me.Chats.Item.SendActivityNotification.SendActivityNotificationRequestBuilder SendActivityNotification { diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/RemoveAllAccessForUser/RemoveAllAccessForUserPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/RemoveAllAccessForUser/RemoveAllAccessForUserPostRequestBody.cs new file mode 100644 index 00000000000..b9a5e0dd9c3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/RemoveAllAccessForUser/RemoveAllAccessForUserPostRequestBody.cs @@ -0,0 +1,82 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Me.Chats.Item.RemoveAllAccessForUser +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemoveAllAccessForUserPostRequestBody : 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 user property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.TeamworkUserIdentity? User + { + get { return BackingStore?.Get("user"); } + set { BackingStore?.Set("user", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.TeamworkUserIdentity User + { + get { return BackingStore?.Get("user"); } + set { BackingStore?.Set("user", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RemoveAllAccessForUserPostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Me.Chats.Item.RemoveAllAccessForUser.RemoveAllAccessForUserPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.Chats.Item.RemoveAllAccessForUser.RemoveAllAccessForUserPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "user", n => { User = n.GetObjectValue(global::Microsoft.Graph.Models.TeamworkUserIdentity.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("user", User); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/RemoveAllAccessForUser/RemoveAllAccessForUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/RemoveAllAccessForUser/RemoveAllAccessForUserRequestBuilder.cs new file mode 100644 index 00000000000..915acabc3b3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/RemoveAllAccessForUser/RemoveAllAccessForUserRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.Chats.Item.RemoveAllAccessForUser +{ + /// + /// Provides operations to call the removeAllAccessForUser method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RemoveAllAccessForUserRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RemoveAllAccessForUserRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/removeAllAccessForUser", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RemoveAllAccessForUserRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/removeAllAccessForUser", rawUrl) + { + } + /// + /// Remove access to a chat for a user. + /// Find more info here + /// + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Me.Chats.Item.RemoveAllAccessForUser.RemoveAllAccessForUserPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Me.Chats.Item.RemoveAllAccessForUser.RemoveAllAccessForUserPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove access to a chat for a user. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Chats.Item.RemoveAllAccessForUser.RemoveAllAccessForUserPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Chats.Item.RemoveAllAccessForUser.RemoveAllAccessForUserPostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.Chats.Item.RemoveAllAccessForUser.RemoveAllAccessForUserRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.Chats.Item.RemoveAllAccessForUser.RemoveAllAccessForUserRequestBuilder(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 RemoveAllAccessForUserRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/AssignedPlaceMode.cs b/src/Microsoft.Graph/Generated/Models/AssignedPlaceMode.cs new file mode 100644 index 00000000000..d7200db0f07 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/AssignedPlaceMode.cs @@ -0,0 +1,89 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AssignedPlaceMode : global::Microsoft.Graph.Models.PlaceMode, IParsable + #pragma warning restore CS1591 + { + /// The assignedUserEmailAddress property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? AssignedUserEmailAddress + { + get { return BackingStore?.Get("assignedUserEmailAddress"); } + set { BackingStore?.Set("assignedUserEmailAddress", value); } + } +#nullable restore +#else + public string AssignedUserEmailAddress + { + get { return BackingStore?.Get("assignedUserEmailAddress"); } + set { BackingStore?.Set("assignedUserEmailAddress", value); } + } +#endif + /// The assignedUserId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? AssignedUserId + { + get { return BackingStore?.Get("assignedUserId"); } + set { BackingStore?.Set("assignedUserId", value); } + } +#nullable restore +#else + public string AssignedUserId + { + get { return BackingStore?.Get("assignedUserId"); } + set { BackingStore?.Set("assignedUserId", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public AssignedPlaceMode() : base() + { + OdataType = "#microsoft.graph.assignedPlaceMode"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.AssignedPlaceMode CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.AssignedPlaceMode(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "assignedUserEmailAddress", n => { AssignedUserEmailAddress = n.GetStringValue(); } }, + { "assignedUserId", n => { AssignedUserId = 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("assignedUserEmailAddress", AssignedUserEmailAddress); + writer.WriteStringValue("assignedUserId", AssignedUserId); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/BaseMapFeature.cs b/src/Microsoft.Graph/Generated/Models/BaseMapFeature.cs new file mode 100644 index 00000000000..93af84492ca --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/BaseMapFeature.cs @@ -0,0 +1,74 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class BaseMapFeature : global::Microsoft.Graph.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The properties property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Properties + { + get { return BackingStore?.Get("properties"); } + set { BackingStore?.Set("properties", value); } + } +#nullable restore +#else + public string Properties + { + get { return BackingStore?.Get("properties"); } + set { BackingStore?.Set("properties", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.BaseMapFeature CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.buildingMap" => new global::Microsoft.Graph.Models.BuildingMap(), + "#microsoft.graph.fixtureMap" => new global::Microsoft.Graph.Models.FixtureMap(), + "#microsoft.graph.footprintMap" => new global::Microsoft.Graph.Models.FootprintMap(), + "#microsoft.graph.levelMap" => new global::Microsoft.Graph.Models.LevelMap(), + "#microsoft.graph.sectionMap" => new global::Microsoft.Graph.Models.SectionMap(), + "#microsoft.graph.unitMap" => new global::Microsoft.Graph.Models.UnitMap(), + _ => new global::Microsoft.Graph.Models.BaseMapFeature(), + }; + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "properties", n => { Properties = 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("properties", Properties); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Building.cs b/src/Microsoft.Graph/Generated/Models/Building.cs new file mode 100644 index 00000000000..824a39a1387 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Building.cs @@ -0,0 +1,89 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class Building : global::Microsoft.Graph.Models.Place, IParsable + #pragma warning restore CS1591 + { + /// The map property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.BuildingMap? Map + { + get { return BackingStore?.Get("map"); } + set { BackingStore?.Set("map", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.BuildingMap Map + { + get { return BackingStore?.Get("map"); } + set { BackingStore?.Set("map", value); } + } +#endif + /// The resourceLinks property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ResourceLinks + { + get { return BackingStore?.Get?>("resourceLinks"); } + set { BackingStore?.Set("resourceLinks", value); } + } +#nullable restore +#else + public List ResourceLinks + { + get { return BackingStore?.Get>("resourceLinks"); } + set { BackingStore?.Set("resourceLinks", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public Building() : base() + { + OdataType = "#microsoft.graph.building"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.Building CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.Building(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "map", n => { Map = n.GetObjectValue(global::Microsoft.Graph.Models.BuildingMap.CreateFromDiscriminatorValue); } }, + { "resourceLinks", n => { ResourceLinks = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ResourceLink.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.WriteObjectValue("map", Map); + writer.WriteCollectionOfObjectValues("resourceLinks", ResourceLinks); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/BuildingCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/BuildingCollectionResponse.cs new file mode 100644 index 00000000000..a4ec136256f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/BuildingCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class BuildingCollectionResponse : global::Microsoft.Graph.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.BuildingCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.BuildingCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.Building.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/BuildingMap.cs b/src/Microsoft.Graph/Generated/Models/BuildingMap.cs new file mode 100644 index 00000000000..765ef073d37 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/BuildingMap.cs @@ -0,0 +1,107 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class BuildingMap : global::Microsoft.Graph.Models.BaseMapFeature, IParsable + #pragma warning restore CS1591 + { + /// The footprints property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Footprints + { + get { return BackingStore?.Get?>("footprints"); } + set { BackingStore?.Set("footprints", value); } + } +#nullable restore +#else + public List Footprints + { + get { return BackingStore?.Get>("footprints"); } + set { BackingStore?.Set("footprints", value); } + } +#endif + /// The levels property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Levels + { + get { return BackingStore?.Get?>("levels"); } + set { BackingStore?.Set("levels", value); } + } +#nullable restore +#else + public List Levels + { + get { return BackingStore?.Get>("levels"); } + set { BackingStore?.Set("levels", value); } + } +#endif + /// The placeId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? PlaceId + { + get { return BackingStore?.Get("placeId"); } + set { BackingStore?.Set("placeId", value); } + } +#nullable restore +#else + public string PlaceId + { + get { return BackingStore?.Get("placeId"); } + set { BackingStore?.Set("placeId", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public BuildingMap() : base() + { + OdataType = "#microsoft.graph.buildingMap"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.BuildingMap CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.BuildingMap(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "footprints", n => { Footprints = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.FootprintMap.CreateFromDiscriminatorValue)?.AsList(); } }, + { "levels", n => { Levels = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.LevelMap.CreateFromDiscriminatorValue)?.AsList(); } }, + { "placeId", n => { PlaceId = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("footprints", Footprints); + writer.WriteCollectionOfObjectValues("levels", Levels); + writer.WriteStringValue("placeId", PlaceId); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Channel.cs b/src/Microsoft.Graph/Generated/Models/Channel.cs index ea7f3ba32c9..b0b783e040e 100644 --- a/src/Microsoft.Graph/Generated/Models/Channel.cs +++ b/src/Microsoft.Graph/Generated/Models/Channel.cs @@ -126,7 +126,7 @@ public bool? IsFavoriteByDefault set { BackingStore?.Set("members", value); } } #endif - /// The type of the channel. Can be set during creation and can't be changed. The possible values are: standard, private, unknownFutureValue, shared. The default value is standard. Use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: shared. + /// The type of the channel. Can be set during creation and can't be changed. The possible values are: standard, private, unknownFutureValue, shared. The default value is standard. Use the Prefer: include-unknown-enum-members request header to get the following members in this evolvable enum: shared. public global::Microsoft.Graph.Models.ChannelMembershipType? MembershipType { get { return BackingStore?.Get("membershipType"); } diff --git a/src/Microsoft.Graph/Generated/Models/CommunicationsGuestIdentity.cs b/src/Microsoft.Graph/Generated/Models/CommunicationsGuestIdentity.cs index 6f5048cd3d4..0099b4b79c2 100644 --- a/src/Microsoft.Graph/Generated/Models/CommunicationsGuestIdentity.cs +++ b/src/Microsoft.Graph/Generated/Models/CommunicationsGuestIdentity.cs @@ -12,6 +12,22 @@ namespace Microsoft.Graph.Models public partial class CommunicationsGuestIdentity : global::Microsoft.Graph.Models.Identity, IParsable #pragma warning restore CS1591 { + /// The email of the guest user. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Email + { + get { return BackingStore?.Get("email"); } + set { BackingStore?.Set("email", value); } + } +#nullable restore +#else + public string Email + { + get { return BackingStore?.Get("email"); } + set { BackingStore?.Set("email", value); } + } +#endif /// /// Instantiates a new and sets the default values. /// @@ -37,6 +53,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { + { "email", n => { Email = n.GetStringValue(); } }, }; } /// @@ -47,6 +64,7 @@ public override void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); + writer.WriteStringValue("email", Email); } } } diff --git a/src/Microsoft.Graph/Generated/Models/CopilotReportRoot.cs b/src/Microsoft.Graph/Generated/Models/CopilotReportRoot.cs new file mode 100644 index 00000000000..2a20b310e21 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CopilotReportRoot.cs @@ -0,0 +1,46 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class CopilotReportRoot : global::Microsoft.Graph.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.CopilotReportRoot CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.CopilotReportRoot(); + } + /// + /// 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/Desk.cs b/src/Microsoft.Graph/Generated/Models/Desk.cs new file mode 100644 index 00000000000..6f7598c39b2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Desk.cs @@ -0,0 +1,107 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class Desk : global::Microsoft.Graph.Models.Place, IParsable + #pragma warning restore CS1591 + { + /// The displayDeviceName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayDeviceName + { + get { return BackingStore?.Get("displayDeviceName"); } + set { BackingStore?.Set("displayDeviceName", value); } + } +#nullable restore +#else + public string DisplayDeviceName + { + get { return BackingStore?.Get("displayDeviceName"); } + set { BackingStore?.Set("displayDeviceName", value); } + } +#endif + /// The mailboxDetails property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.MailboxDetails? MailboxDetails + { + get { return BackingStore?.Get("mailboxDetails"); } + set { BackingStore?.Set("mailboxDetails", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.MailboxDetails MailboxDetails + { + get { return BackingStore?.Get("mailboxDetails"); } + set { BackingStore?.Set("mailboxDetails", value); } + } +#endif + /// The mode property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.PlaceMode? Mode + { + get { return BackingStore?.Get("mode"); } + set { BackingStore?.Set("mode", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.PlaceMode Mode + { + get { return BackingStore?.Get("mode"); } + set { BackingStore?.Set("mode", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public Desk() : base() + { + OdataType = "#microsoft.graph.desk"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.Desk CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.Desk(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "displayDeviceName", n => { DisplayDeviceName = n.GetStringValue(); } }, + { "mailboxDetails", n => { MailboxDetails = n.GetObjectValue(global::Microsoft.Graph.Models.MailboxDetails.CreateFromDiscriminatorValue); } }, + { "mode", n => { Mode = n.GetObjectValue(global::Microsoft.Graph.Models.PlaceMode.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteStringValue("displayDeviceName", DisplayDeviceName); + writer.WriteObjectValue("mailboxDetails", MailboxDetails); + writer.WriteObjectValue("mode", Mode); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/DeskCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/DeskCollectionResponse.cs new file mode 100644 index 00000000000..9d542f19cbd --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/DeskCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DeskCollectionResponse : global::Microsoft.Graph.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.DeskCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.DeskCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.Desk.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/DropInPlaceMode.cs b/src/Microsoft.Graph/Generated/Models/DropInPlaceMode.cs new file mode 100644 index 00000000000..d2c69395650 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/DropInPlaceMode.cs @@ -0,0 +1,53 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DropInPlaceMode : global::Microsoft.Graph.Models.PlaceMode, IParsable + #pragma warning restore CS1591 + { + /// + /// Instantiates a new and sets the default values. + /// + public DropInPlaceMode() : base() + { + OdataType = "#microsoft.graph.dropInPlaceMode"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.DropInPlaceMode CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.DropInPlaceMode(); + } + /// + /// 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/EducationAssignment.cs b/src/Microsoft.Graph/Generated/Models/EducationAssignment.cs index 4fb0df09af7..baf569a3748 100644 --- a/src/Microsoft.Graph/Generated/Models/EducationAssignment.cs +++ b/src/Microsoft.Graph/Generated/Models/EducationAssignment.cs @@ -344,7 +344,7 @@ public string ResourcesFolderUrl set { BackingStore?.Set("rubric", value); } } #endif - /// Status of the assignment. You can't PATCH this value. Possible values are: draft, scheduled, published, assigned, unknownFutureValue, inactive. Use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: inactive. + /// Status of the assignment. You can't PATCH this value. Possible values are: draft, scheduled, published, assigned, unknownFutureValue, inactive. Use the Prefer: include-unknown-enum-members request header to get the following members in this evolvable enum: inactive. public global::Microsoft.Graph.Models.EducationAssignmentStatus? Status { get { return BackingStore?.Get("status"); } diff --git a/src/Microsoft.Graph/Generated/Models/EducationAssignmentDefaults.cs b/src/Microsoft.Graph/Generated/Models/EducationAssignmentDefaults.cs index ed4144a406a..121acb1bde4 100644 --- a/src/Microsoft.Graph/Generated/Models/EducationAssignmentDefaults.cs +++ b/src/Microsoft.Graph/Generated/Models/EducationAssignmentDefaults.cs @@ -19,7 +19,7 @@ public partial class EducationAssignmentDefaults : global::Microsoft.Graph.Model get { return BackingStore?.Get("addedStudentAction"); } set { BackingStore?.Set("addedStudentAction", value); } } - /// Optional field to control adding assignments to students' and teachers' calendars when the assignment is published. The possible values are: none, studentsAndPublisher, studentsAndTeamOwners, unknownFutureValue, and studentsOnly. Use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: studentsOnly. The default value is none. + /// Optional field to control adding assignments to students' and teachers' calendars when the assignment is published. The possible values are: none, studentsAndPublisher, studentsAndTeamOwners, unknownFutureValue, and studentsOnly. Use the Prefer: include-unknown-enum-members request header to get the following members in this evolvable enum: studentsOnly. The default value is none. public global::Microsoft.Graph.Models.EducationAddToCalendarOptions? AddToCalendarAction { get { return BackingStore?.Get("addToCalendarAction"); } diff --git a/src/Microsoft.Graph/Generated/Models/Entity.cs b/src/Microsoft.Graph/Generated/Models/Entity.cs index a7f561f49e6..a043e980005 100644 --- a/src/Microsoft.Graph/Generated/Models/Entity.cs +++ b/src/Microsoft.Graph/Generated/Models/Entity.cs @@ -185,6 +185,7 @@ public Entity() "#microsoft.graph.backupRestoreRoot" => new global::Microsoft.Graph.Models.BackupRestoreRoot(), "#microsoft.graph.baseItem" => new global::Microsoft.Graph.Models.BaseItem(), "#microsoft.graph.baseItemVersion" => new global::Microsoft.Graph.Models.BaseItemVersion(), + "#microsoft.graph.baseMapFeature" => new global::Microsoft.Graph.Models.BaseMapFeature(), "#microsoft.graph.baseSitePage" => new global::Microsoft.Graph.Models.BaseSitePage(), "#microsoft.graph.bitlocker" => new global::Microsoft.Graph.Models.Bitlocker(), "#microsoft.graph.bitlockerRecoveryKey" => new global::Microsoft.Graph.Models.BitlockerRecoveryKey(), @@ -200,6 +201,8 @@ public Entity() "#microsoft.graph.browserSharedCookie" => new global::Microsoft.Graph.Models.BrowserSharedCookie(), "#microsoft.graph.browserSite" => new global::Microsoft.Graph.Models.BrowserSite(), "#microsoft.graph.browserSiteList" => new global::Microsoft.Graph.Models.BrowserSiteList(), + "#microsoft.graph.building" => new global::Microsoft.Graph.Models.Building(), + "#microsoft.graph.buildingMap" => new global::Microsoft.Graph.Models.BuildingMap(), "#microsoft.graph.builtInIdentityProvider" => new global::Microsoft.Graph.Models.BuiltInIdentityProvider(), "#microsoft.graph.bulkUpload" => new global::Microsoft.Graph.Models.BulkUpload(), "#microsoft.graph.calendar" => new global::Microsoft.Graph.Models.Calendar(), @@ -263,6 +266,7 @@ public Entity() "#microsoft.graph.copilotAdmin" => new global::Microsoft.Graph.Models.CopilotAdmin(), "#microsoft.graph.copilotAdminLimitedMode" => new global::Microsoft.Graph.Models.CopilotAdminLimitedMode(), "#microsoft.graph.copilotAdminSetting" => new global::Microsoft.Graph.Models.CopilotAdminSetting(), + "#microsoft.graph.copilotReportRoot" => new global::Microsoft.Graph.Models.CopilotReportRoot(), "#microsoft.graph.countryNamedLocation" => new global::Microsoft.Graph.Models.CountryNamedLocation(), "#microsoft.graph.crossTenantAccessPolicy" => new global::Microsoft.Graph.Models.CrossTenantAccessPolicy(), "#microsoft.graph.crossTenantAccessPolicyConfigurationDefault" => new global::Microsoft.Graph.Models.CrossTenantAccessPolicyConfigurationDefault(), @@ -285,6 +289,7 @@ public Entity() "#microsoft.graph.deletedItemContainer" => new global::Microsoft.Graph.Models.DeletedItemContainer(), "#microsoft.graph.deletedTeam" => new global::Microsoft.Graph.Models.DeletedTeam(), "#microsoft.graph.deltaParticipants" => new global::Microsoft.Graph.Models.DeltaParticipants(), + "#microsoft.graph.desk" => new global::Microsoft.Graph.Models.Desk(), "#microsoft.graph.detectedApp" => new global::Microsoft.Graph.Models.DetectedApp(), "#microsoft.graph.device" => new global::Microsoft.Graph.Models.Device(), "#microsoft.graph.deviceAndAppManagementRoleAssignment" => new global::Microsoft.Graph.Models.DeviceAndAppManagementRoleAssignment(), @@ -424,6 +429,9 @@ public Entity() "#microsoft.graph.fileStorage" => new global::Microsoft.Graph.Models.FileStorage(), "#microsoft.graph.fileStorageContainer" => new global::Microsoft.Graph.Models.FileStorageContainer(), "#microsoft.graph.filterOperatorSchema" => new global::Microsoft.Graph.Models.FilterOperatorSchema(), + "#microsoft.graph.fixtureMap" => new global::Microsoft.Graph.Models.FixtureMap(), + "#microsoft.graph.floor" => new global::Microsoft.Graph.Models.Floor(), + "#microsoft.graph.footprintMap" => new global::Microsoft.Graph.Models.FootprintMap(), "#microsoft.graph.fraudProtectionProvider" => new global::Microsoft.Graph.Models.FraudProtectionProvider(), "#microsoft.graph.governanceInsight" => new global::Microsoft.Graph.Models.GovernanceInsight(), "#microsoft.graph.granularMailboxRestoreArtifact" => new global::Microsoft.Graph.Models.GranularMailboxRestoreArtifact(), @@ -497,6 +505,7 @@ public Entity() "#microsoft.graph.learningCourseActivity" => new global::Microsoft.Graph.Models.LearningCourseActivity(), "#microsoft.graph.learningProvider" => new global::Microsoft.Graph.Models.LearningProvider(), "#microsoft.graph.learningSelfInitiatedCourse" => new global::Microsoft.Graph.Models.LearningSelfInitiatedCourse(), + "#microsoft.graph.levelMap" => new global::Microsoft.Graph.Models.LevelMap(), "#microsoft.graph.licenseDetails" => new global::Microsoft.Graph.Models.LicenseDetails(), "#microsoft.graph.linkedResource" => new global::Microsoft.Graph.Models.LinkedResource(), "#microsoft.graph.list" => new global::Microsoft.Graph.Models.List(), @@ -746,7 +755,9 @@ public Entity() "#microsoft.graph.search.qna" => new global::Microsoft.Graph.Models.Search.Qna(), "#microsoft.graph.search.searchAnswer" => new global::Microsoft.Graph.Models.Search.SearchAnswer(), "#microsoft.graph.searchEntity" => new global::Microsoft.Graph.Models.SearchEntity(), + "#microsoft.graph.section" => new global::Microsoft.Graph.Models.Section(), "#microsoft.graph.sectionGroup" => new global::Microsoft.Graph.Models.SectionGroup(), + "#microsoft.graph.sectionMap" => new global::Microsoft.Graph.Models.SectionMap(), "#microsoft.graph.secureScore" => new global::Microsoft.Graph.Models.SecureScore(), "#microsoft.graph.secureScoreControlProfile" => new global::Microsoft.Graph.Models.SecureScoreControlProfile(), "#microsoft.graph.security" => new global::Microsoft.Graph.Models.Security.Security(), @@ -795,6 +806,7 @@ public Entity() "#microsoft.graph.security.hostReputation" => new global::Microsoft.Graph.Models.Security.HostReputation(), "#microsoft.graph.security.hostSslCertificate" => new global::Microsoft.Graph.Models.Security.HostSslCertificate(), "#microsoft.graph.security.hostTracker" => new global::Microsoft.Graph.Models.Security.HostTracker(), + "#microsoft.graph.security.identityAccounts" => new global::Microsoft.Graph.Models.Security.IdentityAccounts(), "#microsoft.graph.security.identityContainer" => new global::Microsoft.Graph.Models.Security.IdentityContainer(), "#microsoft.graph.security.incident" => new global::Microsoft.Graph.Models.Security.Incident(), "#microsoft.graph.security.indicator" => new global::Microsoft.Graph.Models.Security.Indicator(), @@ -821,6 +833,7 @@ public Entity() "#microsoft.graph.security.triggerTypesRoot" => new global::Microsoft.Graph.Models.Security.TriggerTypesRoot(), "#microsoft.graph.security.unclassifiedArtifact" => new global::Microsoft.Graph.Models.Security.UnclassifiedArtifact(), "#microsoft.graph.security.unifiedGroupSource" => new global::Microsoft.Graph.Models.Security.UnifiedGroupSource(), + "#microsoft.graph.security.user" => new global::Microsoft.Graph.Models.Security.User(), "#microsoft.graph.security.userSource" => new global::Microsoft.Graph.Models.Security.UserSource(), "#microsoft.graph.security.vulnerability" => new global::Microsoft.Graph.Models.Security.Vulnerability(), "#microsoft.graph.security.vulnerabilityComponent" => new global::Microsoft.Graph.Models.Security.VulnerabilityComponent(), @@ -846,6 +859,16 @@ public Entity() "#microsoft.graph.sharedPCConfiguration" => new global::Microsoft.Graph.Models.SharedPCConfiguration(), "#microsoft.graph.sharedWithChannelTeamInfo" => new global::Microsoft.Graph.Models.SharedWithChannelTeamInfo(), "#microsoft.graph.sharepoint" => new global::Microsoft.Graph.Models.Sharepoint(), + "#microsoft.graph.sharePointMigrationEvent" => new global::Microsoft.Graph.Models.SharePointMigrationEvent(), + "#microsoft.graph.sharePointMigrationFinishManifestFileUploadEvent" => new global::Microsoft.Graph.Models.SharePointMigrationFinishManifestFileUploadEvent(), + "#microsoft.graph.sharePointMigrationJob" => new global::Microsoft.Graph.Models.SharePointMigrationJob(), + "#microsoft.graph.sharePointMigrationJobCancelledEvent" => new global::Microsoft.Graph.Models.SharePointMigrationJobCancelledEvent(), + "#microsoft.graph.sharePointMigrationJobDeletedEvent" => new global::Microsoft.Graph.Models.SharePointMigrationJobDeletedEvent(), + "#microsoft.graph.sharePointMigrationJobErrorEvent" => new global::Microsoft.Graph.Models.SharePointMigrationJobErrorEvent(), + "#microsoft.graph.sharePointMigrationJobPostponedEvent" => new global::Microsoft.Graph.Models.SharePointMigrationJobPostponedEvent(), + "#microsoft.graph.sharePointMigrationJobProgressEvent" => new global::Microsoft.Graph.Models.SharePointMigrationJobProgressEvent(), + "#microsoft.graph.sharePointMigrationJobQueuedEvent" => new global::Microsoft.Graph.Models.SharePointMigrationJobQueuedEvent(), + "#microsoft.graph.sharePointMigrationJobStartEvent" => new global::Microsoft.Graph.Models.SharePointMigrationJobStartEvent(), "#microsoft.graph.sharePointProtectionPolicy" => new global::Microsoft.Graph.Models.SharePointProtectionPolicy(), "#microsoft.graph.sharePointRestoreSession" => new global::Microsoft.Graph.Models.SharePointRestoreSession(), "#microsoft.graph.sharepointSettings" => new global::Microsoft.Graph.Models.SharepointSettings(), @@ -957,6 +980,7 @@ public Entity() "#microsoft.graph.unifiedRoleScheduleBase" => new global::Microsoft.Graph.Models.UnifiedRoleScheduleBase(), "#microsoft.graph.unifiedRoleScheduleInstanceBase" => new global::Microsoft.Graph.Models.UnifiedRoleScheduleInstanceBase(), "#microsoft.graph.unifiedStorageQuota" => new global::Microsoft.Graph.Models.UnifiedStorageQuota(), + "#microsoft.graph.unitMap" => new global::Microsoft.Graph.Models.UnitMap(), "#microsoft.graph.unmuteParticipantOperation" => new global::Microsoft.Graph.Models.UnmuteParticipantOperation(), "#microsoft.graph.updateRecordingStatusOperation" => new global::Microsoft.Graph.Models.UpdateRecordingStatusOperation(), "#microsoft.graph.urlAssessmentRequest" => new global::Microsoft.Graph.Models.UrlAssessmentRequest(), @@ -1108,6 +1132,7 @@ public Entity() "#microsoft.graph.workbookWorksheetProtection" => new global::Microsoft.Graph.Models.WorkbookWorksheetProtection(), "#microsoft.graph.workforceIntegration" => new global::Microsoft.Graph.Models.WorkforceIntegration(), "#microsoft.graph.workingTimeSchedule" => new global::Microsoft.Graph.Models.WorkingTimeSchedule(), + "#microsoft.graph.workspace" => new global::Microsoft.Graph.Models.Workspace(), "#microsoft.graph.x509CertificateAuthenticationMethodConfiguration" => new global::Microsoft.Graph.Models.X509CertificateAuthenticationMethodConfiguration(), "#microsoft.graph.x509CertificateCombinationConfiguration" => new global::Microsoft.Graph.Models.X509CertificateCombinationConfiguration(), _ => new global::Microsoft.Graph.Models.Entity(), diff --git a/src/Microsoft.Graph/Generated/Models/ExternalConnectors/Property.cs b/src/Microsoft.Graph/Generated/Models/ExternalConnectors/Property.cs index 92f01c6a754..7cdf0c6a3b1 100644 --- a/src/Microsoft.Graph/Generated/Models/ExternalConnectors/Property.cs +++ b/src/Microsoft.Graph/Generated/Models/ExternalConnectors/Property.cs @@ -61,7 +61,7 @@ public bool? IsSearchable get { return BackingStore?.Get("isSearchable"); } set { BackingStore?.Set("isSearchable", value); } } - /// Specifies one or more well-known tags added against a property. Labels help Microsoft Search understand the semantics of the data in the connection. Adding appropriate labels would result in an enhanced search experience (for example, better relevance). Optional.The possible values are: title, url, createdBy, lastModifiedBy, authors, createdDateTime, lastModifiedDateTime, fileName, fileExtension, unknownFutureValue, iconUrl. Use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: iconUrl. + /// Specifies one or more well-known tags added against a property. Labels help Microsoft Search understand the semantics of the data in the connection. Adding appropriate labels would result in an enhanced search experience (for example, better relevance). Optional.The possible values are: title, url, createdBy, lastModifiedBy, authors, createdDateTime, lastModifiedDateTime, fileName, fileExtension, unknownFutureValue, iconUrl. Use the Prefer: include-unknown-enum-members request header to get the following members in this evolvable enum: iconUrl. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Labels diff --git a/src/Microsoft.Graph/Generated/Models/FileStorageContainer.cs b/src/Microsoft.Graph/Generated/Models/FileStorageContainer.cs index f56a75bfc58..e87435806da 100644 --- a/src/Microsoft.Graph/Generated/Models/FileStorageContainer.cs +++ b/src/Microsoft.Graph/Generated/Models/FileStorageContainer.cs @@ -110,6 +110,22 @@ public string DisplayName get { return BackingStore?.Get("lockState"); } set { BackingStore?.Set("lockState", value); } } + /// The collection of sharePointMigrationJob objects local to the container. Read-write. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? MigrationJobs + { + get { return BackingStore?.Get?>("migrationJobs"); } + set { BackingStore?.Set("migrationJobs", value); } + } +#nullable restore +#else + public List MigrationJobs + { + get { return BackingStore?.Get>("migrationJobs"); } + set { BackingStore?.Set("migrationJobs", value); } + } +#endif /// The set of permissions for users in the fileStorageContainer. Permission for each user is set by the roles property. The possible values are: reader, writer, manager, and owner. Read-write. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -206,6 +222,7 @@ public override IDictionary> GetFieldDeserializers() { "displayName", n => { DisplayName = n.GetStringValue(); } }, { "drive", n => { Drive = n.GetObjectValue(global::Microsoft.Graph.Models.Drive.CreateFromDiscriminatorValue); } }, { "lockState", n => { LockState = n.GetEnumValue(); } }, + { "migrationJobs", n => { MigrationJobs = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.SharePointMigrationJob.CreateFromDiscriminatorValue)?.AsList(); } }, { "permissions", n => { Permissions = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.Permission.CreateFromDiscriminatorValue)?.AsList(); } }, { "recycleBin", n => { RecycleBin = n.GetObjectValue(global::Microsoft.Graph.Models.RecycleBin.CreateFromDiscriminatorValue); } }, { "settings", n => { Settings = n.GetObjectValue(global::Microsoft.Graph.Models.FileStorageContainerSettings.CreateFromDiscriminatorValue); } }, @@ -229,6 +246,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteStringValue("displayName", DisplayName); writer.WriteObjectValue("drive", Drive); writer.WriteEnumValue("lockState", LockState); + writer.WriteCollectionOfObjectValues("migrationJobs", MigrationJobs); writer.WriteCollectionOfObjectValues("permissions", Permissions); writer.WriteObjectValue("recycleBin", RecycleBin); writer.WriteObjectValue("settings", Settings); diff --git a/src/Microsoft.Graph/Generated/Models/FixtureMap.cs b/src/Microsoft.Graph/Generated/Models/FixtureMap.cs new file mode 100644 index 00000000000..546b7436486 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/FixtureMap.cs @@ -0,0 +1,71 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class FixtureMap : global::Microsoft.Graph.Models.BaseMapFeature, IParsable + #pragma warning restore CS1591 + { + /// The placeId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? PlaceId + { + get { return BackingStore?.Get("placeId"); } + set { BackingStore?.Set("placeId", value); } + } +#nullable restore +#else + public string PlaceId + { + get { return BackingStore?.Get("placeId"); } + set { BackingStore?.Set("placeId", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public FixtureMap() : base() + { + OdataType = "#microsoft.graph.fixtureMap"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.FixtureMap CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.FixtureMap(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "placeId", n => { PlaceId = 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("placeId", PlaceId); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/FixtureMapCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/FixtureMapCollectionResponse.cs new file mode 100644 index 00000000000..637d212ed3f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/FixtureMapCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class FixtureMapCollectionResponse : global::Microsoft.Graph.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.FixtureMapCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.FixtureMapCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.FixtureMap.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/Floor.cs b/src/Microsoft.Graph/Generated/Models/Floor.cs new file mode 100644 index 00000000000..ba8ff9fd866 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Floor.cs @@ -0,0 +1,61 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class Floor : global::Microsoft.Graph.Models.Place, IParsable + #pragma warning restore CS1591 + { + /// The sortOrder property + public int? SortOrder + { + get { return BackingStore?.Get("sortOrder"); } + set { BackingStore?.Set("sortOrder", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public Floor() : base() + { + OdataType = "#microsoft.graph.floor"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.Floor CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.Floor(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "sortOrder", n => { SortOrder = n.GetIntValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteIntValue("sortOrder", SortOrder); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/FloorCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/FloorCollectionResponse.cs new file mode 100644 index 00000000000..c7fba9d8645 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/FloorCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class FloorCollectionResponse : global::Microsoft.Graph.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.FloorCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.FloorCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.Floor.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/FootprintMap.cs b/src/Microsoft.Graph/Generated/Models/FootprintMap.cs new file mode 100644 index 00000000000..aa061e2675a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/FootprintMap.cs @@ -0,0 +1,53 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class FootprintMap : global::Microsoft.Graph.Models.BaseMapFeature, IParsable + #pragma warning restore CS1591 + { + /// + /// Instantiates a new and sets the default values. + /// + public FootprintMap() : base() + { + OdataType = "#microsoft.graph.footprintMap"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.FootprintMap CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.FootprintMap(); + } + /// + /// 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/FootprintMapCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/FootprintMapCollectionResponse.cs new file mode 100644 index 00000000000..c6bc1141613 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/FootprintMapCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class FootprintMapCollectionResponse : global::Microsoft.Graph.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.FootprintMapCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.FootprintMapCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.FootprintMap.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/IdentityGovernance/UserInactivityTrigger.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/UserInactivityTrigger.cs new file mode 100644 index 00000000000..91051995487 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/UserInactivityTrigger.cs @@ -0,0 +1,61 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class UserInactivityTrigger : global::Microsoft.Graph.Models.IdentityGovernance.WorkflowExecutionTrigger, IParsable + #pragma warning restore CS1591 + { + /// The number of days a user must be inactive before triggering workflow execution. + public int? InactivityPeriodInDays + { + get { return BackingStore?.Get("inactivityPeriodInDays"); } + set { BackingStore?.Set("inactivityPeriodInDays", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public UserInactivityTrigger() : base() + { + OdataType = "#microsoft.graph.identityGovernance.userInactivityTrigger"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.IdentityGovernance.UserInactivityTrigger CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.IdentityGovernance.UserInactivityTrigger(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "inactivityPeriodInDays", n => { InactivityPeriodInDays = n.GetIntValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteIntValue("inactivityPeriodInDays", InactivityPeriodInDays); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/WorkflowExecutionTrigger.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/WorkflowExecutionTrigger.cs index 55cafc33ab9..5c19db9b3d5 100644 --- a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/WorkflowExecutionTrigger.cs +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/WorkflowExecutionTrigger.cs @@ -59,6 +59,7 @@ public WorkflowExecutionTrigger() "#microsoft.graph.identityGovernance.attributeChangeTrigger" => new global::Microsoft.Graph.Models.IdentityGovernance.AttributeChangeTrigger(), "#microsoft.graph.identityGovernance.membershipChangeTrigger" => new global::Microsoft.Graph.Models.IdentityGovernance.MembershipChangeTrigger(), "#microsoft.graph.identityGovernance.timeBasedAttributeTrigger" => new global::Microsoft.Graph.Models.IdentityGovernance.TimeBasedAttributeTrigger(), + "#microsoft.graph.identityGovernance.userInactivityTrigger" => new global::Microsoft.Graph.Models.IdentityGovernance.UserInactivityTrigger(), _ => new global::Microsoft.Graph.Models.IdentityGovernance.WorkflowExecutionTrigger(), }; } diff --git a/src/Microsoft.Graph/Generated/Models/LevelMap.cs b/src/Microsoft.Graph/Generated/Models/LevelMap.cs new file mode 100644 index 00000000000..bd5aa405f50 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/LevelMap.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class LevelMap : global::Microsoft.Graph.Models.BaseMapFeature, IParsable + #pragma warning restore CS1591 + { + /// The fixtures property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Fixtures + { + get { return BackingStore?.Get?>("fixtures"); } + set { BackingStore?.Set("fixtures", value); } + } +#nullable restore +#else + public List Fixtures + { + get { return BackingStore?.Get>("fixtures"); } + set { BackingStore?.Set("fixtures", value); } + } +#endif + /// The placeId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? PlaceId + { + get { return BackingStore?.Get("placeId"); } + set { BackingStore?.Set("placeId", value); } + } +#nullable restore +#else + public string PlaceId + { + get { return BackingStore?.Get("placeId"); } + set { BackingStore?.Set("placeId", value); } + } +#endif + /// The sections property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Sections + { + get { return BackingStore?.Get?>("sections"); } + set { BackingStore?.Set("sections", value); } + } +#nullable restore +#else + public List Sections + { + get { return BackingStore?.Get>("sections"); } + set { BackingStore?.Set("sections", value); } + } +#endif + /// The units property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Units + { + get { return BackingStore?.Get?>("units"); } + set { BackingStore?.Set("units", value); } + } +#nullable restore +#else + public List Units + { + get { return BackingStore?.Get>("units"); } + set { BackingStore?.Set("units", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public LevelMap() : base() + { + OdataType = "#microsoft.graph.levelMap"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.LevelMap CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.LevelMap(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "fixtures", n => { Fixtures = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.FixtureMap.CreateFromDiscriminatorValue)?.AsList(); } }, + { "placeId", n => { PlaceId = n.GetStringValue(); } }, + { "sections", n => { Sections = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.SectionMap.CreateFromDiscriminatorValue)?.AsList(); } }, + { "units", n => { Units = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.UnitMap.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("fixtures", Fixtures); + writer.WriteStringValue("placeId", PlaceId); + writer.WriteCollectionOfObjectValues("sections", Sections); + writer.WriteCollectionOfObjectValues("units", Units); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/LevelMapCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/LevelMapCollectionResponse.cs new file mode 100644 index 00000000000..b37d7082d3b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/LevelMapCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class LevelMapCollectionResponse : global::Microsoft.Graph.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.LevelMapCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.LevelMapCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.LevelMap.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/MailboxDetails.cs b/src/Microsoft.Graph/Generated/Models/MailboxDetails.cs new file mode 100644 index 00000000000..7428f132484 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/MailboxDetails.cs @@ -0,0 +1,117 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class MailboxDetails : 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 emailAddress property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? EmailAddress + { + get { return BackingStore?.Get("emailAddress"); } + set { BackingStore?.Set("emailAddress", value); } + } +#nullable restore +#else + public string EmailAddress + { + get { return BackingStore?.Get("emailAddress"); } + set { BackingStore?.Set("emailAddress", value); } + } +#endif + /// The externalDirectoryObjectId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ExternalDirectoryObjectId + { + get { return BackingStore?.Get("externalDirectoryObjectId"); } + set { BackingStore?.Set("externalDirectoryObjectId", value); } + } +#nullable restore +#else + public string ExternalDirectoryObjectId + { + get { return BackingStore?.Get("externalDirectoryObjectId"); } + set { BackingStore?.Set("externalDirectoryObjectId", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public MailboxDetails() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.MailboxDetails CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.MailboxDetails(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "emailAddress", n => { EmailAddress = n.GetStringValue(); } }, + { "externalDirectoryObjectId", n => { ExternalDirectoryObjectId = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("emailAddress", EmailAddress); + writer.WriteStringValue("externalDirectoryObjectId", ExternalDirectoryObjectId); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Place.cs b/src/Microsoft.Graph/Generated/Models/Place.cs index 3961bdfc76b..5961344e8b4 100644 --- a/src/Microsoft.Graph/Generated/Models/Place.cs +++ b/src/Microsoft.Graph/Generated/Models/Place.cs @@ -75,6 +75,44 @@ public string DisplayName get { return BackingStore?.Get("geoCoordinates"); } set { BackingStore?.Set("geoCoordinates", value); } } +#endif + /// The isWheelChairAccessible property + public bool? IsWheelChairAccessible + { + get { return BackingStore?.Get("isWheelChairAccessible"); } + set { BackingStore?.Set("isWheelChairAccessible", value); } + } + /// The label property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Label + { + get { return BackingStore?.Get("label"); } + set { BackingStore?.Set("label", value); } + } +#nullable restore +#else + public string Label + { + get { return BackingStore?.Get("label"); } + set { BackingStore?.Set("label", value); } + } +#endif + /// The parentId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ParentId + { + get { return BackingStore?.Get("parentId"); } + set { BackingStore?.Set("parentId", value); } + } +#nullable restore +#else + public string ParentId + { + get { return BackingStore?.Get("parentId"); } + set { BackingStore?.Set("parentId", value); } + } #endif /// The phone number of the place. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -91,6 +129,22 @@ public string Phone get { return BackingStore?.Get("phone"); } set { BackingStore?.Set("phone", value); } } +#endif + /// The tags property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Tags + { + get { return BackingStore?.Get?>("tags"); } + set { BackingStore?.Set("tags", value); } + } +#nullable restore +#else + public List Tags + { + get { return BackingStore?.Get>("tags"); } + set { BackingStore?.Set("tags", value); } + } #endif /// /// Creates a new instance of the appropriate class based on discriminator value @@ -103,8 +157,13 @@ public string Phone var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); return mappingValue switch { + "#microsoft.graph.building" => new global::Microsoft.Graph.Models.Building(), + "#microsoft.graph.desk" => new global::Microsoft.Graph.Models.Desk(), + "#microsoft.graph.floor" => new global::Microsoft.Graph.Models.Floor(), "#microsoft.graph.room" => new global::Microsoft.Graph.Models.Room(), "#microsoft.graph.roomList" => new global::Microsoft.Graph.Models.RoomList(), + "#microsoft.graph.section" => new global::Microsoft.Graph.Models.Section(), + "#microsoft.graph.workspace" => new global::Microsoft.Graph.Models.Workspace(), _ => new global::Microsoft.Graph.Models.Place(), }; } @@ -120,7 +179,11 @@ public override IDictionary> GetFieldDeserializers() { "checkIns", n => { CheckIns = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.CheckInClaim.CreateFromDiscriminatorValue)?.AsList(); } }, { "displayName", n => { DisplayName = n.GetStringValue(); } }, { "geoCoordinates", n => { GeoCoordinates = n.GetObjectValue(global::Microsoft.Graph.Models.OutlookGeoCoordinates.CreateFromDiscriminatorValue); } }, + { "isWheelChairAccessible", n => { IsWheelChairAccessible = n.GetBoolValue(); } }, + { "label", n => { Label = n.GetStringValue(); } }, + { "parentId", n => { ParentId = n.GetStringValue(); } }, { "phone", n => { Phone = n.GetStringValue(); } }, + { "tags", n => { Tags = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, }; } /// @@ -135,7 +198,11 @@ public override void Serialize(ISerializationWriter writer) writer.WriteCollectionOfObjectValues("checkIns", CheckIns); writer.WriteStringValue("displayName", DisplayName); writer.WriteObjectValue("geoCoordinates", GeoCoordinates); + writer.WriteBoolValue("isWheelChairAccessible", IsWheelChairAccessible); + writer.WriteStringValue("label", Label); + writer.WriteStringValue("parentId", ParentId); writer.WriteStringValue("phone", Phone); + writer.WriteCollectionOfPrimitiveValues("tags", Tags); } } } diff --git a/src/Microsoft.Graph/Generated/Models/PlaceMode.cs b/src/Microsoft.Graph/Generated/Models/PlaceMode.cs new file mode 100644 index 00000000000..59ac52223a7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/PlaceMode.cs @@ -0,0 +1,88 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class PlaceMode : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public PlaceMode() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.PlaceMode CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.assignedPlaceMode" => new global::Microsoft.Graph.Models.AssignedPlaceMode(), + "#microsoft.graph.dropInPlaceMode" => new global::Microsoft.Graph.Models.DropInPlaceMode(), + "#microsoft.graph.reservablePlaceMode" => new global::Microsoft.Graph.Models.ReservablePlaceMode(), + _ => new global::Microsoft.Graph.Models.PlaceMode(), + }; + } + /// + /// 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/PlannerPlanContainer.cs b/src/Microsoft.Graph/Generated/Models/PlannerPlanContainer.cs index 61c7a4a9120..694940ca2b0 100644 --- a/src/Microsoft.Graph/Generated/Models/PlannerPlanContainer.cs +++ b/src/Microsoft.Graph/Generated/Models/PlannerPlanContainer.cs @@ -53,7 +53,7 @@ public string OdataType set { BackingStore?.Set("@odata.type", value); } } #endif - /// The type of the resource that contains the plan. For supported types, see the previous table. Possible values are: group, unknownFutureValue, roster. Use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: roster. Optional. + /// The type of the resource that contains the plan. For supported types, see the previous table. Possible values are: group, unknownFutureValue, roster. Use the Prefer: include-unknown-enum-members request header to get the following members in this evolvable enum: roster. Optional. public global::Microsoft.Graph.Models.PlannerContainerType? Type { get { return BackingStore?.Get("type"); } diff --git a/src/Microsoft.Graph/Generated/Models/ReservablePlaceMode.cs b/src/Microsoft.Graph/Generated/Models/ReservablePlaceMode.cs new file mode 100644 index 00000000000..72194ab284c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ReservablePlaceMode.cs @@ -0,0 +1,53 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ReservablePlaceMode : global::Microsoft.Graph.Models.PlaceMode, IParsable + #pragma warning restore CS1591 + { + /// + /// Instantiates a new and sets the default values. + /// + public ReservablePlaceMode() : base() + { + OdataType = "#microsoft.graph.reservablePlaceMode"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.ReservablePlaceMode CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.ReservablePlaceMode(); + } + /// + /// 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/ResourceLink.cs b/src/Microsoft.Graph/Generated/Models/ResourceLink.cs new file mode 100644 index 00000000000..1cd359e9b1a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ResourceLink.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ResourceLink : 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 linkType property + public global::Microsoft.Graph.Models.ResourceLinkType? LinkType + { + get { return BackingStore?.Get("linkType"); } + set { BackingStore?.Set("linkType", value); } + } + /// The name property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Name + { + get { return BackingStore?.Get("name"); } + set { BackingStore?.Set("name", value); } + } +#nullable restore +#else + public string Name + { + get { return BackingStore?.Get("name"); } + set { BackingStore?.Set("name", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Value + { + get { return BackingStore?.Get("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public string Value + { + get { return BackingStore?.Get("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ResourceLink() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.ResourceLink CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.ResourceLink(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "linkType", n => { LinkType = n.GetEnumValue(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "value", n => { Value = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteEnumValue("linkType", LinkType); + writer.WriteStringValue("name", Name); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteStringValue("value", Value); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ResourceLinkType.cs b/src/Microsoft.Graph/Generated/Models/ResourceLinkType.cs new file mode 100644 index 00000000000..55fd33c11ba --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ResourceLinkType.cs @@ -0,0 +1,20 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum ResourceLinkType + #pragma warning restore CS1591 + { + [EnumMember(Value = "url")] + #pragma warning disable CS1591 + Url, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/RestoreSessionBase.cs b/src/Microsoft.Graph/Generated/Models/RestoreSessionBase.cs index a62e9c06ee8..dbda35a5487 100644 --- a/src/Microsoft.Graph/Generated/Models/RestoreSessionBase.cs +++ b/src/Microsoft.Graph/Generated/Models/RestoreSessionBase.cs @@ -100,7 +100,7 @@ public DateTimeOffset? LastModifiedDateTime set { BackingStore?.Set("restoreSessionArtifactCount", value); } } #endif - /// Status of the restore session. The value is an aggregated status of the restored artifacts. The possible values are: draft, activating, active, completedWithError, completed, unknownFutureValue, failed. Use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: failed. + /// Status of the restore session. The value is an aggregated status of the restored artifacts. The possible values are: draft, activating, active, completedWithError, completed, unknownFutureValue, failed. Use the Prefer: include-unknown-enum-members request header to get the following members in this evolvable enum: failed. public global::Microsoft.Graph.Models.RestoreSessionStatus? Status { get { return BackingStore?.Get("status"); } diff --git a/src/Microsoft.Graph/Generated/Models/RiskDetection.cs b/src/Microsoft.Graph/Generated/Models/RiskDetection.cs index af6c5fe0cf9..981b8fbb518 100644 --- a/src/Microsoft.Graph/Generated/Models/RiskDetection.cs +++ b/src/Microsoft.Graph/Generated/Models/RiskDetection.cs @@ -122,7 +122,7 @@ public string RequestId set { BackingStore?.Set("requestId", value); } } #endif - /// Details of the detected risk. The possible values are: none, adminGeneratedTemporaryPassword, userChangedPasswordOnPremises, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, hidden, adminConfirmedUserCompromised, unknownFutureValue, m365DAdminDismissedDetection. Use the Prefer: include - unknown -enum-members request header to get the following value(s) in this evolvable enum: m365DAdminDismissedDetection. + /// Details of the detected risk. public global::Microsoft.Graph.Models.RiskDetail? RiskDetail { get { return BackingStore?.Get("riskDetail"); } diff --git a/src/Microsoft.Graph/Generated/Models/RiskServicePrincipalActivity.cs b/src/Microsoft.Graph/Generated/Models/RiskServicePrincipalActivity.cs index d1e856d8e8b..f025ce9cf87 100644 --- a/src/Microsoft.Graph/Generated/Models/RiskServicePrincipalActivity.cs +++ b/src/Microsoft.Graph/Generated/Models/RiskServicePrincipalActivity.cs @@ -21,7 +21,7 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// Details of the detected risk. Note: Details for this property are only available for Workload Identities Premium customers. Events in tenants without this license will be returned hidden. The possible values are: none, hidden, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal. Use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: adminConfirmedServicePrincipalCompromised , adminDismissedAllRiskForServicePrincipal. + /// Details of the detected risk. Note: Details for this property are only available for Workload Identities Premium customers. Events in tenants without this license will be returned hidden. public global::Microsoft.Graph.Models.RiskDetail? Detail { get { return BackingStore?.Get("detail"); } diff --git a/src/Microsoft.Graph/Generated/Models/RiskUserActivity.cs b/src/Microsoft.Graph/Generated/Models/RiskUserActivity.cs index 6731c5dcbbe..31f2994cee8 100644 --- a/src/Microsoft.Graph/Generated/Models/RiskUserActivity.cs +++ b/src/Microsoft.Graph/Generated/Models/RiskUserActivity.cs @@ -21,7 +21,7 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// Details of the detected risk. Possible values are: none, adminGeneratedTemporaryPassword, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, hidden, adminConfirmedUserCompromised, unknownFutureValue. For more information about each value, see Risk types and detection. + /// For more information, see riskDetail. public global::Microsoft.Graph.Models.RiskDetail? Detail { get { return BackingStore?.Get("detail"); } diff --git a/src/Microsoft.Graph/Generated/Models/RiskyServicePrincipal.cs b/src/Microsoft.Graph/Generated/Models/RiskyServicePrincipal.cs index b060d7f3b46..fc7c3d5c6fe 100644 --- a/src/Microsoft.Graph/Generated/Models/RiskyServicePrincipal.cs +++ b/src/Microsoft.Graph/Generated/Models/RiskyServicePrincipal.cs @@ -72,7 +72,7 @@ public bool? IsProcessing get { return BackingStore?.Get("isProcessing"); } set { BackingStore?.Set("isProcessing", value); } } - /// Details of the detected risk. Note: Details for this property are only available for Workload Identities Premium customers. Events in tenants without this license will be returned hidden. The possible values are: none, hidden, unknownFutureValue, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal. Use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: adminConfirmedServicePrincipalCompromised , adminDismissedAllRiskForServicePrincipal. + /// Details of the detected risk. Note: Details for this property are only available for Workload Identities Premium customers. Events in tenants without this license will be returned hidden. public global::Microsoft.Graph.Models.RiskDetail? RiskDetail { get { return BackingStore?.Get("riskDetail"); } diff --git a/src/Microsoft.Graph/Generated/Models/RiskyUser.cs b/src/Microsoft.Graph/Generated/Models/RiskyUser.cs index c563acd31a9..22456328f94 100644 --- a/src/Microsoft.Graph/Generated/Models/RiskyUser.cs +++ b/src/Microsoft.Graph/Generated/Models/RiskyUser.cs @@ -40,7 +40,7 @@ public bool? IsProcessing get { return BackingStore?.Get("isProcessing"); } set { BackingStore?.Set("isProcessing", value); } } - /// The possible values are none, adminGeneratedTemporaryPassword, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, hidden, adminConfirmedUserCompromised, unknownFutureValue, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal, m365DAdminDismissedDetection, userChangedPasswordOnPremises, adminDismissedRiskForSignIn, adminConfirmedAccountSafe. Use the Prefer: include-unknown-enum-members request header to get the following value or values in this evolvable enum: adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal, m365DAdminDismissedDetection, userChangedPasswordOnPremises, adminDismissedRiskForSignIn, adminConfirmedAccountSafe. + /// Details of the detected risk. public global::Microsoft.Graph.Models.RiskDetail? RiskDetail { get { return BackingStore?.Get("riskDetail"); } diff --git a/src/Microsoft.Graph/Generated/Models/Room.cs b/src/Microsoft.Graph/Generated/Models/Room.cs index c90ef2cff73..42bf0f94ade 100644 --- a/src/Microsoft.Graph/Generated/Models/Room.cs +++ b/src/Microsoft.Graph/Generated/Models/Room.cs @@ -110,28 +110,6 @@ public int? FloorNumber get { return BackingStore?.Get("floorNumber"); } set { BackingStore?.Set("floorNumber", value); } } - /// Specifies whether the room is wheelchair accessible. - public bool? IsWheelChairAccessible - { - get { return BackingStore?.Get("isWheelChairAccessible"); } - set { BackingStore?.Set("isWheelChairAccessible", value); } - } - /// Specifies a descriptive label for the room, for example, a number or name. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Label - { - get { return BackingStore?.Get("label"); } - set { BackingStore?.Set("label", value); } - } -#nullable restore -#else - public string Label - { - get { return BackingStore?.Get("label"); } - set { BackingStore?.Set("label", value); } - } -#endif /// Specifies a nickname for the room, for example, 'conf room'. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -147,22 +125,6 @@ public string Nickname get { return BackingStore?.Get("nickname"); } set { BackingStore?.Set("nickname", value); } } -#endif - /// Specifies other features of the room, for example, details like the type of view or furniture type. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public List? Tags - { - get { return BackingStore?.Get?>("tags"); } - set { BackingStore?.Set("tags", value); } - } -#nullable restore -#else - public List Tags - { - get { return BackingStore?.Get>("tags"); } - set { BackingStore?.Set("tags", value); } - } #endif /// Specifies the name of the video device in the room. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -213,10 +175,7 @@ public override IDictionary> GetFieldDeserializers() { "emailAddress", n => { EmailAddress = n.GetStringValue(); } }, { "floorLabel", n => { FloorLabel = n.GetStringValue(); } }, { "floorNumber", n => { FloorNumber = n.GetIntValue(); } }, - { "isWheelChairAccessible", n => { IsWheelChairAccessible = n.GetBoolValue(); } }, - { "label", n => { Label = n.GetStringValue(); } }, { "nickname", n => { Nickname = n.GetStringValue(); } }, - { "tags", n => { Tags = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, { "videoDeviceName", n => { VideoDeviceName = n.GetStringValue(); } }, }; } @@ -236,10 +195,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteStringValue("emailAddress", EmailAddress); writer.WriteStringValue("floorLabel", FloorLabel); writer.WriteIntValue("floorNumber", FloorNumber); - writer.WriteBoolValue("isWheelChairAccessible", IsWheelChairAccessible); - writer.WriteStringValue("label", Label); writer.WriteStringValue("nickname", Nickname); - writer.WriteCollectionOfPrimitiveValues("tags", Tags); writer.WriteStringValue("videoDeviceName", VideoDeviceName); } } diff --git a/src/Microsoft.Graph/Generated/Models/RoomList.cs b/src/Microsoft.Graph/Generated/Models/RoomList.cs index 6032dc6b3c3..56a5faa9ff3 100644 --- a/src/Microsoft.Graph/Generated/Models/RoomList.cs +++ b/src/Microsoft.Graph/Generated/Models/RoomList.cs @@ -43,6 +43,22 @@ public string EmailAddress get { return BackingStore?.Get>("rooms"); } set { BackingStore?.Set("rooms", value); } } +#endif + /// The workspaces property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Workspaces + { + get { return BackingStore?.Get?>("workspaces"); } + set { BackingStore?.Set("workspaces", value); } + } +#nullable restore +#else + public List Workspaces + { + get { return BackingStore?.Get>("workspaces"); } + set { BackingStore?.Set("workspaces", value); } + } #endif /// /// Instantiates a new and sets the default values. @@ -71,6 +87,7 @@ public override IDictionary> GetFieldDeserializers() { { "emailAddress", n => { EmailAddress = n.GetStringValue(); } }, { "rooms", n => { Rooms = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.Room.CreateFromDiscriminatorValue)?.AsList(); } }, + { "workspaces", n => { Workspaces = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.Workspace.CreateFromDiscriminatorValue)?.AsList(); } }, }; } /// @@ -83,6 +100,7 @@ public override void Serialize(ISerializationWriter writer) base.Serialize(writer); writer.WriteStringValue("emailAddress", EmailAddress); writer.WriteCollectionOfObjectValues("rooms", Rooms); + writer.WriteCollectionOfObjectValues("workspaces", Workspaces); } } } diff --git a/src/Microsoft.Graph/Generated/Models/SearchRequest.cs b/src/Microsoft.Graph/Generated/Models/SearchRequest.cs index c5a050873e3..ad894932294 100644 --- a/src/Microsoft.Graph/Generated/Models/SearchRequest.cs +++ b/src/Microsoft.Graph/Generated/Models/SearchRequest.cs @@ -91,7 +91,7 @@ public bool? EnableTopResults get { return BackingStore?.Get("enableTopResults"); } set { BackingStore?.Set("enableTopResults", value); } } - /// One or more types of resources expected in the response. Possible values are: event, message, driveItem, externalItem, site, list, listItem, drive, chatMessage, person, acronym, bookmark. Use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: chatMessage, person, acronym, bookmark. See known limitations for those combinations of two or more entity types that are supported in the same search request. Required. + /// One or more types of resources expected in the response. Possible values are: event, message, driveItem, externalItem, site, list, listItem, drive, chatMessage, person, acronym, bookmark. Use the Prefer: include-unknown-enum-members request header to get the following members in this evolvable enum: chatMessage, person, acronym, bookmark. See known limitations for those combinations of two or more entity types that are supported in the same search request. Required. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? EntityTypes diff --git a/src/Microsoft.Graph/Generated/Models/Section.cs b/src/Microsoft.Graph/Generated/Models/Section.cs new file mode 100644 index 00000000000..fffdc6315af --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Section.cs @@ -0,0 +1,53 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class Section : global::Microsoft.Graph.Models.Place, IParsable + #pragma warning restore CS1591 + { + /// + /// Instantiates a new and sets the default values. + /// + public Section() : base() + { + OdataType = "#microsoft.graph.section"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.Section CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.Section(); + } + /// + /// 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/SectionCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/SectionCollectionResponse.cs new file mode 100644 index 00000000000..da84d3359f7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/SectionCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class SectionCollectionResponse : global::Microsoft.Graph.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.SectionCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.SectionCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.Section.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/SectionMap.cs b/src/Microsoft.Graph/Generated/Models/SectionMap.cs new file mode 100644 index 00000000000..a6f7c58e027 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/SectionMap.cs @@ -0,0 +1,71 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class SectionMap : global::Microsoft.Graph.Models.BaseMapFeature, IParsable + #pragma warning restore CS1591 + { + /// The placeId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? PlaceId + { + get { return BackingStore?.Get("placeId"); } + set { BackingStore?.Set("placeId", value); } + } +#nullable restore +#else + public string PlaceId + { + get { return BackingStore?.Get("placeId"); } + set { BackingStore?.Set("placeId", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public SectionMap() : base() + { + OdataType = "#microsoft.graph.sectionMap"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.SectionMap CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.SectionMap(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "placeId", n => { PlaceId = 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("placeId", PlaceId); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/SectionMapCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/SectionMapCollectionResponse.cs new file mode 100644 index 00000000000..577515c4137 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/SectionMapCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class SectionMapCollectionResponse : global::Microsoft.Graph.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.SectionMapCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.SectionMapCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.SectionMap.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/Account.cs b/src/Microsoft.Graph/Generated/Models/Security/Account.cs new file mode 100644 index 00000000000..5ba7431f0a7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/Account.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models.Security +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class Account : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// List of the type of action. The possible values are: disable, enable, forcePasswordReset, revokeAllSessions, requireUserToSignInAgain, markUserAsCompromised, unknownFutureValue. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Actions + { + get { return BackingStore?.Get?>("actions"); } + set { BackingStore?.Set("actions", value); } + } +#nullable restore +#else + public List Actions + { + get { return BackingStore?.Get>("actions"); } + set { BackingStore?.Set("actions", value); } + } +#endif + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The account ID. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Identifier + { + get { return BackingStore?.Get("identifier"); } + set { BackingStore?.Set("identifier", value); } + } +#nullable restore +#else + public string Identifier + { + get { return BackingStore?.Get("identifier"); } + set { BackingStore?.Set("identifier", value); } + } +#endif + /// The identityProvider property + public global::Microsoft.Graph.Models.Security.IdentityProvider? IdentityProvider + { + get { return BackingStore?.Get("identityProvider"); } + set { BackingStore?.Set("identityProvider", 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 Account() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.Security.Account CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.Security.Account(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "actions", n => { Actions = n.GetCollectionOfEnumValues()?.AsList(); } }, + { "identifier", n => { Identifier = n.GetStringValue(); } }, + { "identityProvider", n => { IdentityProvider = 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.WriteCollectionOfEnumValues("actions", Actions); + writer.WriteStringValue("identifier", Identifier); + writer.WriteEnumValue("identityProvider", IdentityProvider); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/ActionObject.cs b/src/Microsoft.Graph/Generated/Models/Security/ActionObject.cs new file mode 100644 index 00000000000..abf0d2726f3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/ActionObject.cs @@ -0,0 +1,40 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models.Security +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum ActionObject + #pragma warning restore CS1591 + { + [EnumMember(Value = "disable")] + #pragma warning disable CS1591 + Disable, + #pragma warning restore CS1591 + [EnumMember(Value = "enable")] + #pragma warning disable CS1591 + Enable, + #pragma warning restore CS1591 + [EnumMember(Value = "forcePasswordReset")] + #pragma warning disable CS1591 + ForcePasswordReset, + #pragma warning restore CS1591 + [EnumMember(Value = "revokeAllSessions")] + #pragma warning disable CS1591 + RevokeAllSessions, + #pragma warning restore CS1591 + [EnumMember(Value = "requireUserToSignInAgain")] + #pragma warning disable CS1591 + RequireUserToSignInAgain, + #pragma warning restore CS1591 + [EnumMember(Value = "markUserAsCompromised")] + #pragma warning disable CS1591 + MarkUserAsCompromised, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/Security/AiAgentEvidence.cs b/src/Microsoft.Graph/Generated/Models/Security/AiAgentEvidence.cs new file mode 100644 index 00000000000..e6cc8b4e27c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/AiAgentEvidence.cs @@ -0,0 +1,115 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models.Security +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AiAgentEvidence : global::Microsoft.Graph.Models.Security.AlertEvidence, IParsable + #pragma warning restore CS1591 + { + /// The unique identifier for the AI agent. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? AgentId + { + get { return BackingStore?.Get("agentId"); } + set { BackingStore?.Set("agentId", value); } + } +#nullable restore +#else + public string AgentId + { + get { return BackingStore?.Get("agentId"); } + set { BackingStore?.Set("agentId", value); } + } +#endif + /// The display name for the AI agent. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? AgentName + { + get { return BackingStore?.Get("agentName"); } + set { BackingStore?.Set("agentName", value); } + } +#nullable restore +#else + public string AgentName + { + get { return BackingStore?.Get("agentName"); } + set { BackingStore?.Set("agentName", value); } + } +#endif + /// Type of the platform the agent runs on. Possible values are: unknown, azureAIFoundry, copilotStudio, copilot, unknownFutureValue. + public global::Microsoft.Graph.Models.Security.AiAgentPlatform? HostingPlatformType + { + get { return BackingStore?.Get("hostingPlatformType"); } + set { BackingStore?.Set("hostingPlatformType", value); } + } + /// The instructions of the agent. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Instructions + { + get { return BackingStore?.Get("instructions"); } + set { BackingStore?.Set("instructions", value); } + } +#nullable restore +#else + public string Instructions + { + get { return BackingStore?.Get("instructions"); } + set { BackingStore?.Set("instructions", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public AiAgentEvidence() : base() + { + OdataType = "#microsoft.graph.security.aiAgentEvidence"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.Security.AiAgentEvidence CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.Security.AiAgentEvidence(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "agentId", n => { AgentId = n.GetStringValue(); } }, + { "agentName", n => { AgentName = n.GetStringValue(); } }, + { "hostingPlatformType", n => { HostingPlatformType = n.GetEnumValue(); } }, + { "instructions", n => { Instructions = 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("agentId", AgentId); + writer.WriteStringValue("agentName", AgentName); + writer.WriteEnumValue("hostingPlatformType", HostingPlatformType); + writer.WriteStringValue("instructions", Instructions); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/AiAgentPlatform.cs b/src/Microsoft.Graph/Generated/Models/Security/AiAgentPlatform.cs new file mode 100644 index 00000000000..66298c48b65 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/AiAgentPlatform.cs @@ -0,0 +1,32 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models.Security +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum AiAgentPlatform + #pragma warning restore CS1591 + { + [EnumMember(Value = "unknown")] + #pragma warning disable CS1591 + Unknown, + #pragma warning restore CS1591 + [EnumMember(Value = "azureAIFoundry")] + #pragma warning disable CS1591 + AzureAIFoundry, + #pragma warning restore CS1591 + [EnumMember(Value = "copilotStudio")] + #pragma warning disable CS1591 + CopilotStudio, + #pragma warning restore CS1591 + [EnumMember(Value = "copilot")] + #pragma warning disable CS1591 + Copilot, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/Security/AlertEvidence.cs b/src/Microsoft.Graph/Generated/Models/Security/AlertEvidence.cs index 89847723026..07e30967d71 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.aiAgentEvidence" => new global::Microsoft.Graph.Models.Security.AiAgentEvidence(), "#microsoft.graph.security.amazonResourceEvidence" => new global::Microsoft.Graph.Models.Security.AmazonResourceEvidence(), "#microsoft.graph.security.analyzedMessageEvidence" => new global::Microsoft.Graph.Models.Security.AnalyzedMessageEvidence(), "#microsoft.graph.security.azureResourceEvidence" => new global::Microsoft.Graph.Models.Security.AzureResourceEvidence(), diff --git a/src/Microsoft.Graph/Generated/Models/Security/EdiscoveryExportOperation.cs b/src/Microsoft.Graph/Generated/Models/Security/EdiscoveryExportOperation.cs index 859181839b1..d3a31c84cb6 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/EdiscoveryExportOperation.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/EdiscoveryExportOperation.cs @@ -50,7 +50,7 @@ public string Description get { return BackingStore?.Get("exportOptions"); } set { BackingStore?.Set("exportOptions", value); } } - /// The options that specify the structure of the export. For more information, see reviewSet: export. Possible values are: none, directory (deprecated), pst, unknownFutureValue, msg. Use the Prefer: include-unknown-enum-members request header to get the following value from this evolvable enum: msg. The directory member is deprecated. It remains in v1.0 for backward compatibility. Going forward, use either pst or msg. + /// The options that specify the structure of the export. For more information, see reviewSet: export. Possible values are: none, directory (deprecated), pst, unknownFutureValue, msg. Use the Prefer: include-unknown-enum-members request header to get the following members from this evolvable enum: msg. The directory member is deprecated. It remains in v1.0 for backward compatibility. Going forward, use either pst or msg. public global::Microsoft.Graph.Models.Security.ExportFileStructure? ExportStructure { get { return BackingStore?.Get("exportStructure"); } diff --git a/src/Microsoft.Graph/Generated/Models/Security/IdentityAccounts.cs b/src/Microsoft.Graph/Generated/Models/Security/IdentityAccounts.cs new file mode 100644 index 00000000000..514e2b6032b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/IdentityAccounts.cs @@ -0,0 +1,149 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models.Security +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class IdentityAccounts : global::Microsoft.Graph.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// Collection of accounts of the identity in different identity providers. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Accounts + { + get { return BackingStore?.Get?>("accounts"); } + set { BackingStore?.Set("accounts", value); } + } +#nullable restore +#else + public List Accounts + { + get { return BackingStore?.Get>("accounts"); } + set { BackingStore?.Set("accounts", value); } + } +#endif + /// The cloud security identifier of the identityAccount. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? CloudSecurityIdentifier + { + get { return BackingStore?.Get("cloudSecurityIdentifier"); } + set { BackingStore?.Set("cloudSecurityIdentifier", value); } + } +#nullable restore +#else + public string CloudSecurityIdentifier + { + get { return BackingStore?.Get("cloudSecurityIdentifier"); } + set { BackingStore?.Set("cloudSecurityIdentifier", value); } + } +#endif + /// The Active Directory display name of the identityAccount. +#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 Active Directory domain name of the identityAccount. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Domain + { + get { return BackingStore?.Get("domain"); } + set { BackingStore?.Set("domain", value); } + } +#nullable restore +#else + public string Domain + { + get { return BackingStore?.Get("domain"); } + set { BackingStore?.Set("domain", value); } + } +#endif + /// Boolean indicating if the identityAccounts is enabled. + public bool? IsEnabled + { + get { return BackingStore?.Get("isEnabled"); } + set { BackingStore?.Set("isEnabled", value); } + } + /// The on-premises security identifier of the identityAccount. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OnPremisesSecurityIdentifier + { + get { return BackingStore?.Get("onPremisesSecurityIdentifier"); } + set { BackingStore?.Set("onPremisesSecurityIdentifier", value); } + } +#nullable restore +#else + public string OnPremisesSecurityIdentifier + { + get { return BackingStore?.Get("onPremisesSecurityIdentifier"); } + set { BackingStore?.Set("onPremisesSecurityIdentifier", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.Security.IdentityAccounts CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.security.user" => new global::Microsoft.Graph.Models.Security.User(), + _ => new global::Microsoft.Graph.Models.Security.IdentityAccounts(), + }; + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "accounts", n => { Accounts = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.Security.Account.CreateFromDiscriminatorValue)?.AsList(); } }, + { "cloudSecurityIdentifier", n => { CloudSecurityIdentifier = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "domain", n => { Domain = n.GetStringValue(); } }, + { "isEnabled", n => { IsEnabled = n.GetBoolValue(); } }, + { "onPremisesSecurityIdentifier", n => { OnPremisesSecurityIdentifier = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("accounts", Accounts); + writer.WriteStringValue("cloudSecurityIdentifier", CloudSecurityIdentifier); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteStringValue("domain", Domain); + writer.WriteBoolValue("isEnabled", IsEnabled); + writer.WriteStringValue("onPremisesSecurityIdentifier", OnPremisesSecurityIdentifier); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/IdentityAccountsCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/Security/IdentityAccountsCollectionResponse.cs new file mode 100644 index 00000000000..7c3a1669357 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/IdentityAccountsCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models.Security +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class IdentityAccountsCollectionResponse : global::Microsoft.Graph.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.Security.IdentityAccountsCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.Security.IdentityAccountsCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.Security.IdentityAccounts.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/IdentityContainer.cs b/src/Microsoft.Graph/Generated/Models/Security/IdentityContainer.cs index bfc89eea224..7f96ffc5311 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/IdentityContainer.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/IdentityContainer.cs @@ -27,6 +27,22 @@ public partial class IdentityContainer : global::Microsoft.Graph.Models.Entity, get { return BackingStore?.Get>("healthIssues"); } set { BackingStore?.Set("healthIssues", value); } } +#endif + /// Represents an identity's details in the context of Microsoft Defender for Identity. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? IdentityAccounts + { + get { return BackingStore?.Get?>("identityAccounts"); } + set { BackingStore?.Set("identityAccounts", value); } + } +#nullable restore +#else + public List IdentityAccounts + { + get { return BackingStore?.Get>("identityAccounts"); } + set { BackingStore?.Set("identityAccounts", value); } + } #endif /// The sensorCandidateActivationConfiguration property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -95,6 +111,7 @@ public override IDictionary> GetFieldDeserializers() return new Dictionary>(base.GetFieldDeserializers()) { { "healthIssues", n => { HealthIssues = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.Security.HealthIssue.CreateFromDiscriminatorValue)?.AsList(); } }, + { "identityAccounts", n => { IdentityAccounts = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.Security.IdentityAccounts.CreateFromDiscriminatorValue)?.AsList(); } }, { "sensorCandidateActivationConfiguration", n => { SensorCandidateActivationConfiguration = n.GetObjectValue(global::Microsoft.Graph.Models.Security.SensorCandidateActivationConfiguration.CreateFromDiscriminatorValue); } }, { "sensorCandidates", n => { SensorCandidates = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.Security.SensorCandidate.CreateFromDiscriminatorValue)?.AsList(); } }, { "sensors", n => { Sensors = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.Security.Sensor.CreateFromDiscriminatorValue)?.AsList(); } }, @@ -109,6 +126,7 @@ public override void Serialize(ISerializationWriter writer) if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); writer.WriteCollectionOfObjectValues("healthIssues", HealthIssues); + writer.WriteCollectionOfObjectValues("identityAccounts", IdentityAccounts); writer.WriteObjectValue("sensorCandidateActivationConfiguration", SensorCandidateActivationConfiguration); writer.WriteCollectionOfObjectValues("sensorCandidates", SensorCandidates); writer.WriteCollectionOfObjectValues("sensors", Sensors); diff --git a/src/Microsoft.Graph/Generated/Models/Security/IdentityProvider.cs b/src/Microsoft.Graph/Generated/Models/Security/IdentityProvider.cs new file mode 100644 index 00000000000..7d1c6c8f2da --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/IdentityProvider.cs @@ -0,0 +1,28 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models.Security +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum IdentityProvider + #pragma warning restore CS1591 + { + [EnumMember(Value = "entraID")] + #pragma warning disable CS1591 + EntraID, + #pragma warning restore CS1591 + [EnumMember(Value = "activeDirectory")] + #pragma warning disable CS1591 + ActiveDirectory, + #pragma warning restore CS1591 + [EnumMember(Value = "okta")] + #pragma warning disable CS1591 + Okta, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/Security/InvokeActionResult.cs b/src/Microsoft.Graph/Generated/Models/Security/InvokeActionResult.cs new file mode 100644 index 00000000000..96b5827309c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/InvokeActionResult.cs @@ -0,0 +1,133 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models.Security +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class InvokeActionResult : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// The account ID. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? AccountId + { + get { return BackingStore?.Get("accountId"); } + set { BackingStore?.Set("accountId", value); } + } +#nullable restore +#else + public string AccountId + { + get { return BackingStore?.Get("accountId"); } + set { BackingStore?.Set("accountId", value); } + } +#endif + /// The action property + public global::Microsoft.Graph.Models.Security.ActionObject? Action + { + get { return BackingStore?.Get("action"); } + set { BackingStore?.Set("action", value); } + } + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The unique identifier for tracking the request. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? CorrelationId + { + get { return BackingStore?.Get("correlationId"); } + set { BackingStore?.Set("correlationId", value); } + } +#nullable restore +#else + public string CorrelationId + { + get { return BackingStore?.Get("correlationId"); } + set { BackingStore?.Set("correlationId", value); } + } +#endif + /// The identityProvider property + public global::Microsoft.Graph.Models.Security.IdentityProvider? IdentityProvider + { + get { return BackingStore?.Get("identityProvider"); } + set { BackingStore?.Set("identityProvider", 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 InvokeActionResult() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.Security.InvokeActionResult CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.Security.InvokeActionResult(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "accountId", n => { AccountId = n.GetStringValue(); } }, + { "action", n => { Action = n.GetEnumValue(); } }, + { "correlationId", n => { CorrelationId = n.GetStringValue(); } }, + { "identityProvider", n => { IdentityProvider = n.GetEnumValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("accountId", AccountId); + writer.WriteEnumValue("action", Action); + writer.WriteStringValue("correlationId", CorrelationId); + writer.WriteEnumValue("identityProvider", IdentityProvider); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/User.cs b/src/Microsoft.Graph/Generated/Models/Security/User.cs new file mode 100644 index 00000000000..c62dc92969a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/User.cs @@ -0,0 +1,89 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models.Security +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class User : global::Microsoft.Graph.Models.Security.IdentityAccounts, IParsable + #pragma warning restore CS1591 + { + /// Email address of the user. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? EmailAddress + { + get { return BackingStore?.Get("emailAddress"); } + set { BackingStore?.Set("emailAddress", value); } + } +#nullable restore +#else + public string EmailAddress + { + get { return BackingStore?.Get("emailAddress"); } + set { BackingStore?.Set("emailAddress", value); } + } +#endif + /// The user principal name. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? UserPrincipalName + { + get { return BackingStore?.Get("userPrincipalName"); } + set { BackingStore?.Set("userPrincipalName", value); } + } +#nullable restore +#else + public string UserPrincipalName + { + get { return BackingStore?.Get("userPrincipalName"); } + set { BackingStore?.Set("userPrincipalName", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public User() : base() + { + OdataType = "#microsoft.graph.security.user"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.Security.User CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.Security.User(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "emailAddress", n => { EmailAddress = n.GetStringValue(); } }, + { "userPrincipalName", n => { UserPrincipalName = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteStringValue("emailAddress", EmailAddress); + writer.WriteStringValue("userPrincipalName", UserPrincipalName); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ServicePrincipalRiskDetection.cs b/src/Microsoft.Graph/Generated/Models/ServicePrincipalRiskDetection.cs index 85daa665546..5cd64709588 100644 --- a/src/Microsoft.Graph/Generated/Models/ServicePrincipalRiskDetection.cs +++ b/src/Microsoft.Graph/Generated/Models/ServicePrincipalRiskDetection.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Models public partial class ServicePrincipalRiskDetection : global::Microsoft.Graph.Models.Entity, IParsable #pragma warning restore CS1591 { - /// Indicates the activity type the detected risk is linked to. The possible values are: signin, servicePrincipal. Use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: servicePrincipal. + /// Indicates the activity type the detected risk is linked to. The possible values are: signin, servicePrincipal. Use the Prefer: include-unknown-enum-members request header to get the following members in this evolvable enum: servicePrincipal. public global::Microsoft.Graph.Models.ActivityType? Activity { get { return BackingStore?.Get("activity"); } @@ -154,7 +154,7 @@ public string RequestId set { BackingStore?.Set("requestId", value); } } #endif - /// Details of the detected risk. Note: Details for this property are only available for Workload Identities Premium customers. Events in tenants without this license will be returned hidden. The possible values are: none, hidden, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal. Use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: adminConfirmedServicePrincipalCompromised , adminDismissedAllRiskForServicePrincipal. + /// Details of the detected risk. Note: Details for this property are only available for Workload Identities Premium customers. Events in tenants without this license will be returned hidden. public global::Microsoft.Graph.Models.RiskDetail? RiskDetail { get { return BackingStore?.Get("riskDetail"); } diff --git a/src/Microsoft.Graph/Generated/Models/SharePointMigrationContainerInfo.cs b/src/Microsoft.Graph/Generated/Models/SharePointMigrationContainerInfo.cs new file mode 100644 index 00000000000..edc1d40c52b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/SharePointMigrationContainerInfo.cs @@ -0,0 +1,135 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class SharePointMigrationContainerInfo : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// A valid URL with a SAS token for accessing the Azure blob storage container that contains the file content. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DataContainerUri + { + get { return BackingStore?.Get("dataContainerUri"); } + set { BackingStore?.Set("dataContainerUri", value); } + } +#nullable restore +#else + public string DataContainerUri + { + get { return BackingStore?.Get("dataContainerUri"); } + set { BackingStore?.Set("dataContainerUri", value); } + } +#endif + /// Provides the AES-256-CBC encryption key if files stored in Azure blob containers are encrypted. The key is Base64-encoded. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? EncryptionKey + { + get { return BackingStore?.Get("encryptionKey"); } + set { BackingStore?.Set("encryptionKey", value); } + } +#nullable restore +#else + public string EncryptionKey + { + get { return BackingStore?.Get("encryptionKey"); } + set { BackingStore?.Set("encryptionKey", value); } + } +#endif + /// A valid URL with a SAS token for accessing the Azure blob storage container that contains the file metadata. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? MetadataContainerUri + { + get { return BackingStore?.Get("metadataContainerUri"); } + set { BackingStore?.Set("metadataContainerUri", value); } + } +#nullable restore +#else + public string MetadataContainerUri + { + get { return BackingStore?.Get("metadataContainerUri"); } + set { BackingStore?.Set("metadataContainerUri", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public SharePointMigrationContainerInfo() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.SharePointMigrationContainerInfo CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.SharePointMigrationContainerInfo(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "dataContainerUri", n => { DataContainerUri = n.GetStringValue(); } }, + { "encryptionKey", n => { EncryptionKey = n.GetStringValue(); } }, + { "metadataContainerUri", n => { MetadataContainerUri = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("dataContainerUri", DataContainerUri); + writer.WriteStringValue("encryptionKey", EncryptionKey); + writer.WriteStringValue("metadataContainerUri", MetadataContainerUri); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/SharePointMigrationEvent.cs b/src/Microsoft.Graph/Generated/Models/SharePointMigrationEvent.cs new file mode 100644 index 00000000000..c366864465f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/SharePointMigrationEvent.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class SharePointMigrationEvent : global::Microsoft.Graph.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The correlation ID of a migration job. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? CorrelationId + { + get { return BackingStore?.Get("correlationId"); } + set { BackingStore?.Set("correlationId", value); } + } +#nullable restore +#else + public string CorrelationId + { + get { return BackingStore?.Get("correlationId"); } + set { BackingStore?.Set("correlationId", value); } + } +#endif + /// The date and time when the job status changes. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. + public DateTimeOffset? EventDateTime + { + get { return BackingStore?.Get("eventDateTime"); } + set { BackingStore?.Set("eventDateTime", value); } + } + /// The unique identifier of a migration job. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? JobId + { + get { return BackingStore?.Get("jobId"); } + set { BackingStore?.Set("jobId", value); } + } +#nullable restore +#else + public string JobId + { + get { return BackingStore?.Get("jobId"); } + set { BackingStore?.Set("jobId", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.SharePointMigrationEvent CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.sharePointMigrationFinishManifestFileUploadEvent" => new global::Microsoft.Graph.Models.SharePointMigrationFinishManifestFileUploadEvent(), + "#microsoft.graph.sharePointMigrationJobCancelledEvent" => new global::Microsoft.Graph.Models.SharePointMigrationJobCancelledEvent(), + "#microsoft.graph.sharePointMigrationJobDeletedEvent" => new global::Microsoft.Graph.Models.SharePointMigrationJobDeletedEvent(), + "#microsoft.graph.sharePointMigrationJobErrorEvent" => new global::Microsoft.Graph.Models.SharePointMigrationJobErrorEvent(), + "#microsoft.graph.sharePointMigrationJobPostponedEvent" => new global::Microsoft.Graph.Models.SharePointMigrationJobPostponedEvent(), + "#microsoft.graph.sharePointMigrationJobProgressEvent" => new global::Microsoft.Graph.Models.SharePointMigrationJobProgressEvent(), + "#microsoft.graph.sharePointMigrationJobQueuedEvent" => new global::Microsoft.Graph.Models.SharePointMigrationJobQueuedEvent(), + "#microsoft.graph.sharePointMigrationJobStartEvent" => new global::Microsoft.Graph.Models.SharePointMigrationJobStartEvent(), + _ => new global::Microsoft.Graph.Models.SharePointMigrationEvent(), + }; + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "correlationId", n => { CorrelationId = n.GetStringValue(); } }, + { "eventDateTime", n => { EventDateTime = n.GetDateTimeOffsetValue(); } }, + { "jobId", n => { JobId = 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("correlationId", CorrelationId); + writer.WriteDateTimeOffsetValue("eventDateTime", EventDateTime); + writer.WriteStringValue("jobId", JobId); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/SharePointMigrationEventCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/SharePointMigrationEventCollectionResponse.cs new file mode 100644 index 00000000000..2172beed4c4 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/SharePointMigrationEventCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class SharePointMigrationEventCollectionResponse : global::Microsoft.Graph.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.SharePointMigrationEventCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.SharePointMigrationEventCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.SharePointMigrationEvent.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/SharePointMigrationFinishManifestFileUploadEvent.cs b/src/Microsoft.Graph/Generated/Models/SharePointMigrationFinishManifestFileUploadEvent.cs new file mode 100644 index 00000000000..cfd50d27d6d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/SharePointMigrationFinishManifestFileUploadEvent.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class SharePointMigrationFinishManifestFileUploadEvent : global::Microsoft.Graph.Models.SharePointMigrationEvent, IParsable + #pragma warning restore CS1591 + { + /// The exported manifest file name. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ManifestFileName + { + get { return BackingStore?.Get("manifestFileName"); } + set { BackingStore?.Set("manifestFileName", value); } + } +#nullable restore +#else + public string ManifestFileName + { + get { return BackingStore?.Get("manifestFileName"); } + set { BackingStore?.Set("manifestFileName", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.SharePointMigrationFinishManifestFileUploadEvent CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.SharePointMigrationFinishManifestFileUploadEvent(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "manifestFileName", n => { ManifestFileName = 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("manifestFileName", ManifestFileName); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/SharePointMigrationJob.cs b/src/Microsoft.Graph/Generated/Models/SharePointMigrationJob.cs new file mode 100644 index 00000000000..b752a75a0da --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/SharePointMigrationJob.cs @@ -0,0 +1,82 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class SharePointMigrationJob : global::Microsoft.Graph.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The containerInfo property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.SharePointMigrationContainerInfo? ContainerInfo + { + get { return BackingStore?.Get("containerInfo"); } + set { BackingStore?.Set("containerInfo", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.SharePointMigrationContainerInfo ContainerInfo + { + get { return BackingStore?.Get("containerInfo"); } + set { BackingStore?.Set("containerInfo", value); } + } +#endif + /// A collection of migration events that reflects the job status changes. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ProgressEvents + { + get { return BackingStore?.Get?>("progressEvents"); } + set { BackingStore?.Set("progressEvents", value); } + } +#nullable restore +#else + public List ProgressEvents + { + get { return BackingStore?.Get>("progressEvents"); } + set { BackingStore?.Set("progressEvents", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.SharePointMigrationJob CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.SharePointMigrationJob(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "containerInfo", n => { ContainerInfo = n.GetObjectValue(global::Microsoft.Graph.Models.SharePointMigrationContainerInfo.CreateFromDiscriminatorValue); } }, + { "progressEvents", n => { ProgressEvents = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.SharePointMigrationEvent.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.WriteObjectValue("containerInfo", ContainerInfo); + writer.WriteCollectionOfObjectValues("progressEvents", ProgressEvents); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/SharePointMigrationJobCancelledEvent.cs b/src/Microsoft.Graph/Generated/Models/SharePointMigrationJobCancelledEvent.cs new file mode 100644 index 00000000000..f391735a919 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/SharePointMigrationJobCancelledEvent.cs @@ -0,0 +1,62 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class SharePointMigrationJobCancelledEvent : global::Microsoft.Graph.Models.SharePointMigrationEvent, IParsable + #pragma warning restore CS1591 + { + /// True when a user cancels the job; otherwise, false. Read-only. + public bool? IsCancelledByUser + { + get { return BackingStore?.Get("isCancelledByUser"); } + set { BackingStore?.Set("isCancelledByUser", value); } + } + /// The current retry count of the job. Read-only. + public int? TotalRetryCount + { + get { return BackingStore?.Get("totalRetryCount"); } + set { BackingStore?.Set("totalRetryCount", value); } + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.SharePointMigrationJobCancelledEvent CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.SharePointMigrationJobCancelledEvent(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "isCancelledByUser", n => { IsCancelledByUser = n.GetBoolValue(); } }, + { "totalRetryCount", n => { TotalRetryCount = n.GetIntValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteBoolValue("isCancelledByUser", IsCancelledByUser); + writer.WriteIntValue("totalRetryCount", TotalRetryCount); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/SharePointMigrationJobCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/SharePointMigrationJobCollectionResponse.cs new file mode 100644 index 00000000000..50cb0224c1d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/SharePointMigrationJobCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class SharePointMigrationJobCollectionResponse : global::Microsoft.Graph.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.SharePointMigrationJobCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.SharePointMigrationJobCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.SharePointMigrationJob.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/SharePointMigrationJobDeletedEvent.cs b/src/Microsoft.Graph/Generated/Models/SharePointMigrationJobDeletedEvent.cs new file mode 100644 index 00000000000..3e1ad36fa9a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/SharePointMigrationJobDeletedEvent.cs @@ -0,0 +1,46 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class SharePointMigrationJobDeletedEvent : global::Microsoft.Graph.Models.SharePointMigrationEvent, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.SharePointMigrationJobDeletedEvent CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.SharePointMigrationJobDeletedEvent(); + } + /// + /// 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/SharePointMigrationJobErrorEvent.cs b/src/Microsoft.Graph/Generated/Models/SharePointMigrationJobErrorEvent.cs new file mode 100644 index 00000000000..16d1dac6a92 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/SharePointMigrationJobErrorEvent.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class SharePointMigrationJobErrorEvent : global::Microsoft.Graph.Models.SharePointMigrationEvent, IParsable + #pragma warning restore CS1591 + { + /// The error property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.PublicError? Error + { + get { return BackingStore?.Get("error"); } + set { BackingStore?.Set("error", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.PublicError Error + { + get { return BackingStore?.Get("error"); } + set { BackingStore?.Set("error", value); } + } +#endif + /// The errorLevel property + public global::Microsoft.Graph.Models.SharePointMigrationJobErrorLevel? ErrorLevel + { + get { return BackingStore?.Get("errorLevel"); } + set { BackingStore?.Set("errorLevel", value); } + } + /// The object ID. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ObjectId + { + get { return BackingStore?.Get("objectId"); } + set { BackingStore?.Set("objectId", value); } + } +#nullable restore +#else + public string ObjectId + { + get { return BackingStore?.Get("objectId"); } + set { BackingStore?.Set("objectId", value); } + } +#endif + /// The objectType property + public global::Microsoft.Graph.Models.SharePointMigrationObjectType? ObjectType + { + get { return BackingStore?.Get("objectType"); } + set { BackingStore?.Set("objectType", value); } + } + /// The object URL. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ObjectUrl + { + get { return BackingStore?.Get("objectUrl"); } + set { BackingStore?.Set("objectUrl", value); } + } +#nullable restore +#else + public string ObjectUrl + { + get { return BackingStore?.Get("objectUrl"); } + set { BackingStore?.Set("objectUrl", value); } + } +#endif + /// The current retry count of the job. Read-only. + public int? TotalRetryCount + { + get { return BackingStore?.Get("totalRetryCount"); } + set { BackingStore?.Set("totalRetryCount", value); } + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.SharePointMigrationJobErrorEvent CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.SharePointMigrationJobErrorEvent(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "error", n => { Error = n.GetObjectValue(global::Microsoft.Graph.Models.PublicError.CreateFromDiscriminatorValue); } }, + { "errorLevel", n => { ErrorLevel = n.GetEnumValue(); } }, + { "objectId", n => { ObjectId = n.GetStringValue(); } }, + { "objectType", n => { ObjectType = n.GetEnumValue(); } }, + { "objectUrl", n => { ObjectUrl = n.GetStringValue(); } }, + { "totalRetryCount", n => { TotalRetryCount = 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.WriteObjectValue("error", Error); + writer.WriteEnumValue("errorLevel", ErrorLevel); + writer.WriteStringValue("objectId", ObjectId); + writer.WriteEnumValue("objectType", ObjectType); + writer.WriteStringValue("objectUrl", ObjectUrl); + writer.WriteIntValue("totalRetryCount", TotalRetryCount); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/SharePointMigrationJobErrorLevel.cs b/src/Microsoft.Graph/Generated/Models/SharePointMigrationJobErrorLevel.cs new file mode 100644 index 00000000000..4e722105cfc --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/SharePointMigrationJobErrorLevel.cs @@ -0,0 +1,32 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum SharePointMigrationJobErrorLevel + #pragma warning restore CS1591 + { + [EnumMember(Value = "important")] + #pragma warning disable CS1591 + Important, + #pragma warning restore CS1591 + [EnumMember(Value = "warning")] + #pragma warning disable CS1591 + Warning, + #pragma warning restore CS1591 + [EnumMember(Value = "error")] + #pragma warning disable CS1591 + Error, + #pragma warning restore CS1591 + [EnumMember(Value = "fatalError")] + #pragma warning disable CS1591 + FatalError, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/SharePointMigrationJobPostponedEvent.cs b/src/Microsoft.Graph/Generated/Models/SharePointMigrationJobPostponedEvent.cs new file mode 100644 index 00000000000..5e45691606c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/SharePointMigrationJobPostponedEvent.cs @@ -0,0 +1,88 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class SharePointMigrationJobPostponedEvent : global::Microsoft.Graph.Models.SharePointMigrationEvent, IParsable + #pragma warning restore CS1591 + { + /// The number of migration jobs in the queue of the current database. Read-only. + public long? JobsInQueue + { + get { return BackingStore?.Get("jobsInQueue"); } + set { BackingStore?.Set("jobsInQueue", value); } + } + /// The date and time that indicate when this job is picked up next. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. + public DateTimeOffset? NextPickupDateTime + { + get { return BackingStore?.Get("nextPickupDateTime"); } + set { BackingStore?.Set("nextPickupDateTime", value); } + } + /// The reason for the postponement. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Reason + { + get { return BackingStore?.Get("reason"); } + set { BackingStore?.Set("reason", value); } + } +#nullable restore +#else + public string Reason + { + get { return BackingStore?.Get("reason"); } + set { BackingStore?.Set("reason", value); } + } +#endif + /// The current retry count of the job. Read-only. + public int? TotalRetryCount + { + get { return BackingStore?.Get("totalRetryCount"); } + set { BackingStore?.Set("totalRetryCount", value); } + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.SharePointMigrationJobPostponedEvent CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.SharePointMigrationJobPostponedEvent(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "jobsInQueue", n => { JobsInQueue = n.GetLongValue(); } }, + { "nextPickupDateTime", n => { NextPickupDateTime = n.GetDateTimeOffsetValue(); } }, + { "reason", n => { Reason = n.GetStringValue(); } }, + { "totalRetryCount", n => { TotalRetryCount = 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.WriteLongValue("jobsInQueue", JobsInQueue); + writer.WriteDateTimeOffsetValue("nextPickupDateTime", NextPickupDateTime); + writer.WriteStringValue("reason", Reason); + writer.WriteIntValue("totalRetryCount", TotalRetryCount); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/SharePointMigrationJobProgressEvent.cs b/src/Microsoft.Graph/Generated/Models/SharePointMigrationJobProgressEvent.cs new file mode 100644 index 00000000000..75c42b5aa09 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/SharePointMigrationJobProgressEvent.cs @@ -0,0 +1,192 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class SharePointMigrationJobProgressEvent : global::Microsoft.Graph.Models.SharePointMigrationEvent, IParsable + #pragma warning restore CS1591 + { + /// The number of bytes processed. Read-only. + public long? BytesProcessed + { + get { return BackingStore?.Get("bytesProcessed"); } + set { BackingStore?.Set("bytesProcessed", value); } + } + /// The number of bytes processed with version history excluded. Read-only. + public long? BytesProcessedOnlyCurrentVersion + { + get { return BackingStore?.Get("bytesProcessedOnlyCurrentVersion"); } + set { BackingStore?.Set("bytesProcessedOnlyCurrentVersion", value); } + } + /// CPU duration in milliseconds. Read-only. + public long? CpuDurationMs + { + get { return BackingStore?.Get("cpuDurationMs"); } + set { BackingStore?.Set("cpuDurationMs", value); } + } + /// The number of files processed. Read-only. + public long? FilesProcessed + { + get { return BackingStore?.Get("filesProcessed"); } + set { BackingStore?.Set("filesProcessed", value); } + } + /// The number of files processed with version history excluded. Read-only. + public long? FilesProcessedOnlyCurrentVersion + { + get { return BackingStore?.Get("filesProcessedOnlyCurrentVersion"); } + set { BackingStore?.Set("filesProcessedOnlyCurrentVersion", value); } + } + /// True if the job status is End. False if the job is In progress. Read-only. + public bool? IsCompleted + { + get { return BackingStore?.Get("isCompleted"); } + set { BackingStore?.Set("isCompleted", value); } + } + /// The unique identifier of the last object processed. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? LastProcessedObjectId + { + get { return BackingStore?.Get("lastProcessedObjectId"); } + set { BackingStore?.Set("lastProcessedObjectId", value); } + } +#nullable restore +#else + public string LastProcessedObjectId + { + get { return BackingStore?.Get("lastProcessedObjectId"); } + set { BackingStore?.Set("lastProcessedObjectId", value); } + } +#endif + /// The number of objects processed. Read-only. + public long? ObjectsProcessed + { + get { return BackingStore?.Get("objectsProcessed"); } + set { BackingStore?.Set("objectsProcessed", value); } + } + /// SQL duration in milliseconds. Read-only. + public long? SqlDurationMs + { + get { return BackingStore?.Get("sqlDurationMs"); } + set { BackingStore?.Set("sqlDurationMs", value); } + } + /// SQL query count. Read-only. + public long? SqlQueryCount + { + get { return BackingStore?.Get("sqlQueryCount"); } + set { BackingStore?.Set("sqlQueryCount", value); } + } + /// Total duration time in milliseconds. Read-only. + public long? TotalDurationMs + { + get { return BackingStore?.Get("totalDurationMs"); } + set { BackingStore?.Set("totalDurationMs", value); } + } + /// Total errors. Read-only. + public long? TotalErrors + { + get { return BackingStore?.Get("totalErrors"); } + set { BackingStore?.Set("totalErrors", value); } + } + /// Total bytes to be processed. Read-only. + public long? TotalExpectedBytes + { + get { return BackingStore?.Get("totalExpectedBytes"); } + set { BackingStore?.Set("totalExpectedBytes", value); } + } + /// The number of objects to process. Read-only. + public long? TotalExpectedObjects + { + get { return BackingStore?.Get("totalExpectedObjects"); } + set { BackingStore?.Set("totalExpectedObjects", value); } + } + /// The current retry count of the job. Read-only. + public int? TotalRetryCount + { + get { return BackingStore?.Get("totalRetryCount"); } + set { BackingStore?.Set("totalRetryCount", value); } + } + /// Total warnings. Read-only. + public long? TotalWarnings + { + get { return BackingStore?.Get("totalWarnings"); } + set { BackingStore?.Set("totalWarnings", value); } + } + /// Waiting time due to SQL throttling, in milliseconds. Read-only. + public long? WaitTimeOnSqlThrottlingMs + { + get { return BackingStore?.Get("waitTimeOnSqlThrottlingMs"); } + set { BackingStore?.Set("waitTimeOnSqlThrottlingMs", value); } + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.SharePointMigrationJobProgressEvent CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.SharePointMigrationJobProgressEvent(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "bytesProcessed", n => { BytesProcessed = n.GetLongValue(); } }, + { "bytesProcessedOnlyCurrentVersion", n => { BytesProcessedOnlyCurrentVersion = n.GetLongValue(); } }, + { "cpuDurationMs", n => { CpuDurationMs = n.GetLongValue(); } }, + { "filesProcessed", n => { FilesProcessed = n.GetLongValue(); } }, + { "filesProcessedOnlyCurrentVersion", n => { FilesProcessedOnlyCurrentVersion = n.GetLongValue(); } }, + { "isCompleted", n => { IsCompleted = n.GetBoolValue(); } }, + { "lastProcessedObjectId", n => { LastProcessedObjectId = n.GetStringValue(); } }, + { "objectsProcessed", n => { ObjectsProcessed = n.GetLongValue(); } }, + { "sqlDurationMs", n => { SqlDurationMs = n.GetLongValue(); } }, + { "sqlQueryCount", n => { SqlQueryCount = n.GetLongValue(); } }, + { "totalDurationMs", n => { TotalDurationMs = n.GetLongValue(); } }, + { "totalErrors", n => { TotalErrors = n.GetLongValue(); } }, + { "totalExpectedBytes", n => { TotalExpectedBytes = n.GetLongValue(); } }, + { "totalExpectedObjects", n => { TotalExpectedObjects = n.GetLongValue(); } }, + { "totalRetryCount", n => { TotalRetryCount = n.GetIntValue(); } }, + { "totalWarnings", n => { TotalWarnings = n.GetLongValue(); } }, + { "waitTimeOnSqlThrottlingMs", n => { WaitTimeOnSqlThrottlingMs = n.GetLongValue(); } }, + }; + } + /// + /// 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.WriteLongValue("bytesProcessed", BytesProcessed); + writer.WriteLongValue("bytesProcessedOnlyCurrentVersion", BytesProcessedOnlyCurrentVersion); + writer.WriteLongValue("cpuDurationMs", CpuDurationMs); + writer.WriteLongValue("filesProcessed", FilesProcessed); + writer.WriteLongValue("filesProcessedOnlyCurrentVersion", FilesProcessedOnlyCurrentVersion); + writer.WriteBoolValue("isCompleted", IsCompleted); + writer.WriteStringValue("lastProcessedObjectId", LastProcessedObjectId); + writer.WriteLongValue("objectsProcessed", ObjectsProcessed); + writer.WriteLongValue("sqlDurationMs", SqlDurationMs); + writer.WriteLongValue("sqlQueryCount", SqlQueryCount); + writer.WriteLongValue("totalDurationMs", TotalDurationMs); + writer.WriteLongValue("totalErrors", TotalErrors); + writer.WriteLongValue("totalExpectedBytes", TotalExpectedBytes); + writer.WriteLongValue("totalExpectedObjects", TotalExpectedObjects); + writer.WriteIntValue("totalRetryCount", TotalRetryCount); + writer.WriteLongValue("totalWarnings", TotalWarnings); + writer.WriteLongValue("waitTimeOnSqlThrottlingMs", WaitTimeOnSqlThrottlingMs); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/SharePointMigrationJobQueuedEvent.cs b/src/Microsoft.Graph/Generated/Models/SharePointMigrationJobQueuedEvent.cs new file mode 100644 index 00000000000..90b32688a0a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/SharePointMigrationJobQueuedEvent.cs @@ -0,0 +1,46 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class SharePointMigrationJobQueuedEvent : global::Microsoft.Graph.Models.SharePointMigrationEvent, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.SharePointMigrationJobQueuedEvent CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.SharePointMigrationJobQueuedEvent(); + } + /// + /// 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/SharePointMigrationJobStartEvent.cs b/src/Microsoft.Graph/Generated/Models/SharePointMigrationJobStartEvent.cs new file mode 100644 index 00000000000..a1fe30706f7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/SharePointMigrationJobStartEvent.cs @@ -0,0 +1,62 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class SharePointMigrationJobStartEvent : global::Microsoft.Graph.Models.SharePointMigrationEvent, IParsable + #pragma warning restore CS1591 + { + /// True if the job is restarted. False if it's the initial start. Read-only. + public bool? IsRestarted + { + get { return BackingStore?.Get("isRestarted"); } + set { BackingStore?.Set("isRestarted", value); } + } + /// The current retry count of the job. Read-only. + public int? TotalRetryCount + { + get { return BackingStore?.Get("totalRetryCount"); } + set { BackingStore?.Set("totalRetryCount", value); } + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.SharePointMigrationJobStartEvent CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.SharePointMigrationJobStartEvent(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "isRestarted", n => { IsRestarted = n.GetBoolValue(); } }, + { "totalRetryCount", n => { TotalRetryCount = n.GetIntValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteBoolValue("isRestarted", IsRestarted); + writer.WriteIntValue("totalRetryCount", TotalRetryCount); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/SharePointMigrationObjectType.cs b/src/Microsoft.Graph/Generated/Models/SharePointMigrationObjectType.cs new file mode 100644 index 00000000000..8cf4bdcfcf7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/SharePointMigrationObjectType.cs @@ -0,0 +1,52 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum SharePointMigrationObjectType + #pragma warning restore CS1591 + { + [EnumMember(Value = "site")] + #pragma warning disable CS1591 + Site, + #pragma warning restore CS1591 + [EnumMember(Value = "web")] + #pragma warning disable CS1591 + Web, + #pragma warning restore CS1591 + [EnumMember(Value = "folder")] + #pragma warning disable CS1591 + Folder, + #pragma warning restore CS1591 + [EnumMember(Value = "list")] + #pragma warning disable CS1591 + List, + #pragma warning restore CS1591 + [EnumMember(Value = "listItem")] + #pragma warning disable CS1591 + ListItem, + #pragma warning restore CS1591 + [EnumMember(Value = "file")] + #pragma warning disable CS1591 + File, + #pragma warning restore CS1591 + [EnumMember(Value = "alert")] + #pragma warning disable CS1591 + Alert, + #pragma warning restore CS1591 + [EnumMember(Value = "sharedWithObject")] + #pragma warning disable CS1591 + SharedWithObject, + #pragma warning restore CS1591 + [EnumMember(Value = "invalid")] + #pragma warning disable CS1591 + Invalid, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/SignIn.cs b/src/Microsoft.Graph/Generated/Models/SignIn.cs index 0a6f2cb2cd6..c89004b5fb8 100644 --- a/src/Microsoft.Graph/Generated/Models/SignIn.cs +++ b/src/Microsoft.Graph/Generated/Models/SignIn.cs @@ -190,7 +190,7 @@ public string ResourceId set { BackingStore?.Set("resourceId", value); } } #endif - /// The reason behind a specific state of a risky user, sign-in, or a risk event. The possible values are none, adminGeneratedTemporaryPassword, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, hidden, adminConfirmedUserCompromised, unknownFutureValue, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal, m365DAdminDismissedDetection, userChangedPasswordOnPremises, adminDismissedRiskForSignIn, adminConfirmedAccountSafe. Use the Prefer: include-unknown-enum-members request header to get the following value or values in this evolvable enum: adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal, m365DAdminDismissedDetection, userChangedPasswordOnPremises, adminDismissedRiskForSignIn, adminConfirmedAccountSafe.The value none means that Microsoft Entra risk detection did not flag the user or the sign-in as a risky event so far. Supports $filter (eq). Note: Details for this property are only available for Microsoft Entra ID P2 customers. All other customers are returned hidden. + /// The reason behind a specific state of a risky user, sign-in, or a risk event. The value none means that Microsoft Entra risk detection did not flag the user or the sign-in as a risky event so far. Supports $filter (eq). Note: Details for this property are only available for Microsoft Entra ID P2 customers. All other customers are returned hidden. public global::Microsoft.Graph.Models.RiskDetail? RiskDetail { get { return BackingStore?.Get("riskDetail"); } diff --git a/src/Microsoft.Graph/Generated/Models/SubjectRightsRequestHistory.cs b/src/Microsoft.Graph/Generated/Models/SubjectRightsRequestHistory.cs index a4d8b3c026e..da977475593 100644 --- a/src/Microsoft.Graph/Generated/Models/SubjectRightsRequestHistory.cs +++ b/src/Microsoft.Graph/Generated/Models/SubjectRightsRequestHistory.cs @@ -59,7 +59,7 @@ public string OdataType set { BackingStore?.Set("@odata.type", value); } } #endif - /// The stage when the entity was changed. Possible values are: contentRetrieval, contentReview, generateReport, contentDeletion, caseResolved, unknownFutureValue, approval. Use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: approval. + /// The stage when the entity was changed. Possible values are: contentRetrieval, contentReview, generateReport, contentDeletion, caseResolved, unknownFutureValue, approval. Use the Prefer: include-unknown-enum-members request header to get the following members in this evolvable enum: approval. public global::Microsoft.Graph.Models.SubjectRightsRequestStage? Stage { get { return BackingStore?.Get("stage"); } diff --git a/src/Microsoft.Graph/Generated/Models/SubjectRightsRequestStageDetail.cs b/src/Microsoft.Graph/Generated/Models/SubjectRightsRequestStageDetail.cs index 42bc8e7ebd2..1f4afad6710 100644 --- a/src/Microsoft.Graph/Generated/Models/SubjectRightsRequestStageDetail.cs +++ b/src/Microsoft.Graph/Generated/Models/SubjectRightsRequestStageDetail.cs @@ -53,7 +53,7 @@ public string OdataType set { BackingStore?.Set("@odata.type", value); } } #endif - /// The stage of the subject rights request. Possible values are: contentRetrieval, contentReview, generateReport, contentDeletion, caseResolved, unknownFutureValue, approval. Use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: approval. + /// The stage of the subject rights request. Possible values are: contentRetrieval, contentReview, generateReport, contentDeletion, caseResolved, unknownFutureValue, approval. Use the Prefer: include-unknown-enum-members request header to get the following members in this evolvable enum: approval. public global::Microsoft.Graph.Models.SubjectRightsRequestStage? Stage { get { return BackingStore?.Get("stage"); } diff --git a/src/Microsoft.Graph/Generated/Models/UnitMap.cs b/src/Microsoft.Graph/Generated/Models/UnitMap.cs new file mode 100644 index 00000000000..4f3e9e4ddf0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/UnitMap.cs @@ -0,0 +1,71 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class UnitMap : global::Microsoft.Graph.Models.BaseMapFeature, IParsable + #pragma warning restore CS1591 + { + /// The placeId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? PlaceId + { + get { return BackingStore?.Get("placeId"); } + set { BackingStore?.Set("placeId", value); } + } +#nullable restore +#else + public string PlaceId + { + get { return BackingStore?.Get("placeId"); } + set { BackingStore?.Set("placeId", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public UnitMap() : base() + { + OdataType = "#microsoft.graph.unitMap"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.UnitMap CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.UnitMap(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "placeId", n => { PlaceId = 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("placeId", PlaceId); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/UnitMapCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/UnitMapCollectionResponse.cs new file mode 100644 index 00000000000..df890740940 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/UnitMapCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class UnitMapCollectionResponse : global::Microsoft.Graph.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.UnitMapCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.UnitMapCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.UnitMap.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/WorkforceIntegration.cs b/src/Microsoft.Graph/Generated/Models/WorkforceIntegration.cs index fb4569442de..e197ed2514e 100644 --- a/src/Microsoft.Graph/Generated/Models/WorkforceIntegration.cs +++ b/src/Microsoft.Graph/Generated/Models/WorkforceIntegration.cs @@ -34,7 +34,7 @@ public string DisplayName set { BackingStore?.Set("displayName", value); } } #endif - /// Support to view eligibility-filtered results. Possible values are: none, swapRequest, offerShiftRequest, unknownFutureValue, timeOffReason. Use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: timeOffReason. + /// Support to view eligibility-filtered results. Possible values are: none, swapRequest, offerShiftRequest, unknownFutureValue, timeOffReason. Use the Prefer: include-unknown-enum-members request header to get the following members in this evolvable enum: timeOffReason. public global::Microsoft.Graph.Models.EligibilityFilteringEnabledEntities? EligibilityFilteringEnabledEntities { get { return BackingStore?.Get("eligibilityFilteringEnabledEntities"); } diff --git a/src/Microsoft.Graph/Generated/Models/Workspace.cs b/src/Microsoft.Graph/Generated/Models/Workspace.cs new file mode 100644 index 00000000000..ccac146d17d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Workspace.cs @@ -0,0 +1,133 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class Workspace : global::Microsoft.Graph.Models.Place, IParsable + #pragma warning restore CS1591 + { + /// The capacity property + public int? Capacity + { + get { return BackingStore?.Get("capacity"); } + set { BackingStore?.Set("capacity", value); } + } + /// The displayDeviceName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayDeviceName + { + get { return BackingStore?.Get("displayDeviceName"); } + set { BackingStore?.Set("displayDeviceName", value); } + } +#nullable restore +#else + public string DisplayDeviceName + { + get { return BackingStore?.Get("displayDeviceName"); } + set { BackingStore?.Set("displayDeviceName", value); } + } +#endif + /// The emailAddress property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? EmailAddress + { + get { return BackingStore?.Get("emailAddress"); } + set { BackingStore?.Set("emailAddress", value); } + } +#nullable restore +#else + public string EmailAddress + { + get { return BackingStore?.Get("emailAddress"); } + set { BackingStore?.Set("emailAddress", value); } + } +#endif + /// The mode property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.PlaceMode? Mode + { + get { return BackingStore?.Get("mode"); } + set { BackingStore?.Set("mode", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.PlaceMode Mode + { + get { return BackingStore?.Get("mode"); } + set { BackingStore?.Set("mode", value); } + } +#endif + /// The nickname property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Nickname + { + get { return BackingStore?.Get("nickname"); } + set { BackingStore?.Set("nickname", value); } + } +#nullable restore +#else + public string Nickname + { + get { return BackingStore?.Get("nickname"); } + set { BackingStore?.Set("nickname", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public Workspace() : base() + { + OdataType = "#microsoft.graph.workspace"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.Workspace CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.Workspace(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "capacity", n => { Capacity = n.GetIntValue(); } }, + { "displayDeviceName", n => { DisplayDeviceName = n.GetStringValue(); } }, + { "emailAddress", n => { EmailAddress = n.GetStringValue(); } }, + { "mode", n => { Mode = n.GetObjectValue(global::Microsoft.Graph.Models.PlaceMode.CreateFromDiscriminatorValue); } }, + { "nickname", n => { Nickname = 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.WriteIntValue("capacity", Capacity); + writer.WriteStringValue("displayDeviceName", DisplayDeviceName); + writer.WriteStringValue("emailAddress", EmailAddress); + writer.WriteObjectValue("mode", Mode); + writer.WriteStringValue("nickname", Nickname); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/WorkspaceCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/WorkspaceCollectionResponse.cs new file mode 100644 index 00000000000..d32fad827e6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WorkspaceCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class WorkspaceCollectionResponse : global::Microsoft.Graph.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.WorkspaceCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.WorkspaceCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.Workspace.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/Places/GraphBuilding/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Places/GraphBuilding/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..1439c05ae1f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Places/GraphBuilding/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Places.GraphBuilding.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}/places/graph.building/$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}/places/graph.building/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Places.GraphBuilding.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Places.GraphBuilding.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/Places/GraphBuilding/GraphBuildingRequestBuilder.cs b/src/Microsoft.Graph/Generated/Places/GraphBuilding/GraphBuildingRequestBuilder.cs new file mode 100644 index 00000000000..071de3280de --- /dev/null +++ b/src/Microsoft.Graph/Generated/Places/GraphBuilding/GraphBuildingRequestBuilder.cs @@ -0,0 +1,170 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Places.GraphBuilding.Count; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Places.GraphBuilding +{ + /// + /// Casts the previous resource to building. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GraphBuildingRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Places.GraphBuilding.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Places.GraphBuilding.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public GraphBuildingRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/places/graph.building{?%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 GraphBuildingRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/places/graph.building{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get the items of type microsoft.graph.building in the microsoft.graph.place collection + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.BuildingCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the items of type microsoft.graph.building in the microsoft.graph.place collection + /// + /// A + /// Configuration 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.Places.GraphBuilding.GraphBuildingRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Places.GraphBuilding.GraphBuildingRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the items of type microsoft.graph.building in the microsoft.graph.place collection + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GraphBuildingRequestBuilderGetQueryParameters + { + /// 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 GraphBuildingRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Places/GraphDesk/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Places/GraphDesk/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..83c9e0280bc --- /dev/null +++ b/src/Microsoft.Graph/Generated/Places/GraphDesk/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Places.GraphDesk.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}/places/graph.desk/$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}/places/graph.desk/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Places.GraphDesk.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Places.GraphDesk.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/Places/GraphDesk/GraphDeskRequestBuilder.cs b/src/Microsoft.Graph/Generated/Places/GraphDesk/GraphDeskRequestBuilder.cs new file mode 100644 index 00000000000..62f848de2ec --- /dev/null +++ b/src/Microsoft.Graph/Generated/Places/GraphDesk/GraphDeskRequestBuilder.cs @@ -0,0 +1,170 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Places.GraphDesk.Count; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Places.GraphDesk +{ + /// + /// Casts the previous resource to desk. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GraphDeskRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Places.GraphDesk.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Places.GraphDesk.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public GraphDeskRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/places/graph.desk{?%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 GraphDeskRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/places/graph.desk{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get the items of type microsoft.graph.desk in the microsoft.graph.place collection + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DeskCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the items of type microsoft.graph.desk in the microsoft.graph.place collection + /// + /// A + /// Configuration 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.Places.GraphDesk.GraphDeskRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Places.GraphDesk.GraphDeskRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the items of type microsoft.graph.desk in the microsoft.graph.place collection + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GraphDeskRequestBuilderGetQueryParameters + { + /// 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 GraphDeskRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Places/GraphFloor/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Places/GraphFloor/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..cd2d003cd8d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Places/GraphFloor/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Places.GraphFloor.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}/places/graph.floor/$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}/places/graph.floor/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Places.GraphFloor.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Places.GraphFloor.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/Places/GraphFloor/GraphFloorRequestBuilder.cs b/src/Microsoft.Graph/Generated/Places/GraphFloor/GraphFloorRequestBuilder.cs new file mode 100644 index 00000000000..bc7935fc750 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Places/GraphFloor/GraphFloorRequestBuilder.cs @@ -0,0 +1,170 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Places.GraphFloor.Count; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Places.GraphFloor +{ + /// + /// Casts the previous resource to floor. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GraphFloorRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Places.GraphFloor.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Places.GraphFloor.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public GraphFloorRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/places/graph.floor{?%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 GraphFloorRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/places/graph.floor{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get the items of type microsoft.graph.floor in the microsoft.graph.place collection + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.FloorCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the items of type microsoft.graph.floor in the microsoft.graph.place collection + /// + /// A + /// Configuration 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.Places.GraphFloor.GraphFloorRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Places.GraphFloor.GraphFloorRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the items of type microsoft.graph.floor in the microsoft.graph.place collection + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GraphFloorRequestBuilderGetQueryParameters + { + /// 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 GraphFloorRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Places/GraphSection/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Places/GraphSection/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..fd96b4cb982 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Places/GraphSection/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Places.GraphSection.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}/places/graph.section/$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}/places/graph.section/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Places.GraphSection.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Places.GraphSection.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/Places/GraphSection/GraphSectionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Places/GraphSection/GraphSectionRequestBuilder.cs new file mode 100644 index 00000000000..baac0703538 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Places/GraphSection/GraphSectionRequestBuilder.cs @@ -0,0 +1,170 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Places.GraphSection.Count; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Places.GraphSection +{ + /// + /// Casts the previous resource to section. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GraphSectionRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Places.GraphSection.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Places.GraphSection.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public GraphSectionRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/places/graph.section{?%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 GraphSectionRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/places/graph.section{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get the items of type microsoft.graph.section in the microsoft.graph.place collection + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SectionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the items of type microsoft.graph.section in the microsoft.graph.place collection + /// + /// A + /// Configuration 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.Places.GraphSection.GraphSectionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Places.GraphSection.GraphSectionRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the items of type microsoft.graph.section in the microsoft.graph.place collection + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GraphSectionRequestBuilderGetQueryParameters + { + /// 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 GraphSectionRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Places/GraphWorkspace/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Places/GraphWorkspace/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..2000ec4903d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Places/GraphWorkspace/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Places.GraphWorkspace.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}/places/graph.workspace/$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}/places/graph.workspace/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Places.GraphWorkspace.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Places.GraphWorkspace.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/Places/GraphWorkspace/GraphWorkspaceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Places/GraphWorkspace/GraphWorkspaceRequestBuilder.cs new file mode 100644 index 00000000000..d984abb0281 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Places/GraphWorkspace/GraphWorkspaceRequestBuilder.cs @@ -0,0 +1,170 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Places.GraphWorkspace.Count; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Places.GraphWorkspace +{ + /// + /// Casts the previous resource to workspace. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GraphWorkspaceRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Places.GraphWorkspace.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Places.GraphWorkspace.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public GraphWorkspaceRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/places/graph.workspace{?%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 GraphWorkspaceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/places/graph.workspace{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get the items of type microsoft.graph.workspace in the microsoft.graph.place collection + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.WorkspaceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the items of type microsoft.graph.workspace in the microsoft.graph.place collection + /// + /// A + /// Configuration 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.Places.GraphWorkspace.GraphWorkspaceRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Places.GraphWorkspace.GraphWorkspaceRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the items of type microsoft.graph.workspace in the microsoft.graph.place collection + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GraphWorkspaceRequestBuilderGetQueryParameters + { + /// 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 GraphWorkspaceRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Places/Item/Descendants/DescendantsGetResponse.cs b/src/Microsoft.Graph/Generated/Places/Item/Descendants/DescendantsGetResponse.cs new file mode 100644 index 00000000000..5892b3d0f7d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Places/Item/Descendants/DescendantsGetResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Places.Item.Descendants +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DescendantsGetResponse : global::Microsoft.Graph.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Places.Item.Descendants.DescendantsGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Places.Item.Descendants.DescendantsGetResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.Place.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/Places/Item/Descendants/DescendantsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Places/Item/Descendants/DescendantsRequestBuilder.cs new file mode 100644 index 00000000000..c6e8ac1437d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Places/Item/Descendants/DescendantsRequestBuilder.cs @@ -0,0 +1,187 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Places.Item.Descendants +{ + /// + /// Provides operations to call the descendants method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DescendantsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public DescendantsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/places/{place%2Did}/descendants(){?%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 DescendantsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/places/{place%2Did}/descendants(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Invoke function descendants + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsDescendantsGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsDescendantsGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Places.Item.Descendants.DescendantsGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function descendants + /// + /// A + /// Cancellation token to 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 GetAsDescendantsGetResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Places.Item.Descendants.DescendantsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function descendants + /// + /// A + /// Configuration 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.Places.Item.Descendants.DescendantsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Places.Item.Descendants.DescendantsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Invoke function descendants + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DescendantsRequestBuilderGetQueryParameters + { + /// 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 DescendantsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Places/Item/Descendants/DescendantsResponse.cs b/src/Microsoft.Graph/Generated/Places/Item/Descendants/DescendantsResponse.cs new file mode 100644 index 00000000000..b540d41fc32 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Places/Item/Descendants/DescendantsResponse.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.Places.Item.Descendants +{ + [Obsolete("This class is obsolete. Use DescendantsGetResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DescendantsResponse : global::Microsoft.Graph.Places.Item.Descendants.DescendantsGetResponse, 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.Places.Item.Descendants.DescendantsResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Places.Item.Descendants.DescendantsResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Places/Item/GraphBuilding/CheckIns/CheckInsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Places/Item/GraphBuilding/CheckIns/CheckInsRequestBuilder.cs new file mode 100644 index 00000000000..3ca26e94bd0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Places/Item/GraphBuilding/CheckIns/CheckInsRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Places.Item.GraphBuilding.CheckIns.Count; +using Microsoft.Graph.Places.Item.GraphBuilding.CheckIns.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.Places.Item.GraphBuilding.CheckIns +{ + /// + /// Provides operations to manage the checkIns property of the microsoft.graph.place entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CheckInsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Places.Item.GraphBuilding.CheckIns.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Places.Item.GraphBuilding.CheckIns.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the checkIns property of the microsoft.graph.place entity. + /// The unique identifier of checkInClaim + /// A + public global::Microsoft.Graph.Places.Item.GraphBuilding.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("checkInClaim%2DcalendarEventId", position); + return new global::Microsoft.Graph.Places.Item.GraphBuilding.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder(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 CheckInsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.building/checkIns{?%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 CheckInsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.building/checkIns{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get checkIns from places + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.CheckInClaimCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to checkIns for places + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Models.CheckInClaim body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.CheckInClaim body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.CheckInClaim.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get checkIns from places + /// + /// A + /// Configuration 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 checkIns for places + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.CheckInClaim body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.CheckInClaim 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.Places.Item.GraphBuilding.CheckIns.CheckInsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Places.Item.GraphBuilding.CheckIns.CheckInsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get checkIns from places + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CheckInsRequestBuilderGetQueryParameters + { + /// 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 CheckInsRequestBuilderGetRequestConfiguration : 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 CheckInsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Places/Item/GraphBuilding/CheckIns/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Places/Item/GraphBuilding/CheckIns/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..60fb61436ef --- /dev/null +++ b/src/Microsoft.Graph/Generated/Places/Item/GraphBuilding/CheckIns/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Places.Item.GraphBuilding.CheckIns.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}/places/{place%2Did}/graph.building/checkIns/$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}/places/{place%2Did}/graph.building/checkIns/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Places.Item.GraphBuilding.CheckIns.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Places.Item.GraphBuilding.CheckIns.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/Places/Item/GraphBuilding/CheckIns/Item/CheckInClaimCalendarEventItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Places/Item/GraphBuilding/CheckIns/Item/CheckInClaimCalendarEventItemRequestBuilder.cs new file mode 100644 index 00000000000..e032c218390 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Places/Item/GraphBuilding/CheckIns/Item/CheckInClaimCalendarEventItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Places.Item.GraphBuilding.CheckIns.Item +{ + /// + /// Provides operations to manage the checkIns property of the microsoft.graph.place entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CheckInClaimCalendarEventItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CheckInClaimCalendarEventItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.building/checkIns/{checkInClaim%2DcalendarEventId}{?%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 CheckInClaimCalendarEventItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.building/checkIns/{checkInClaim%2DcalendarEventId}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property checkIns for places + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get checkIns from places + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.CheckInClaim.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property checkIns in places + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.CheckInClaim body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.CheckInClaim body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.CheckInClaim.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property checkIns for places + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Get checkIns from places + /// + /// A + /// Configuration 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 checkIns in places + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.CheckInClaim body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.CheckInClaim 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.Places.Item.GraphBuilding.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Places.Item.GraphBuilding.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder(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 CheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get checkIns from places + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CheckInClaimCalendarEventItemRequestBuilderGetQueryParameters + { + /// 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 CheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration : 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 CheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Places/Item/GraphBuilding/GraphBuildingRequestBuilder.cs b/src/Microsoft.Graph/Generated/Places/Item/GraphBuilding/GraphBuildingRequestBuilder.cs new file mode 100644 index 00000000000..674dbb57059 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Places/Item/GraphBuilding/GraphBuildingRequestBuilder.cs @@ -0,0 +1,137 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Places.Item.GraphBuilding.CheckIns; +using Microsoft.Graph.Places.Item.GraphBuilding.Map; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Places.Item.GraphBuilding +{ + /// + /// Casts the previous resource to building. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GraphBuildingRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the checkIns property of the microsoft.graph.place entity. + public global::Microsoft.Graph.Places.Item.GraphBuilding.CheckIns.CheckInsRequestBuilder CheckIns + { + get => new global::Microsoft.Graph.Places.Item.GraphBuilding.CheckIns.CheckInsRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the map property of the microsoft.graph.building entity. + public global::Microsoft.Graph.Places.Item.GraphBuilding.Map.MapRequestBuilder Map + { + get => new global::Microsoft.Graph.Places.Item.GraphBuilding.Map.MapRequestBuilder(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 GraphBuildingRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.building{?%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 GraphBuildingRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.building{?%24expand,%24select}", rawUrl) + { + } + /// + /// Get the item of type microsoft.graph.place as microsoft.graph.building + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Building.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the item of type microsoft.graph.place as microsoft.graph.building + /// + /// A + /// Configuration 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.Places.Item.GraphBuilding.GraphBuildingRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Places.Item.GraphBuilding.GraphBuildingRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the item of type microsoft.graph.place as microsoft.graph.building + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GraphBuildingRequestBuilderGetQueryParameters + { + /// 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 GraphBuildingRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Places/Item/GraphBuilding/Map/Footprints/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Places/Item/GraphBuilding/Map/Footprints/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..3385973d424 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Places/Item/GraphBuilding/Map/Footprints/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Places.Item.GraphBuilding.Map.Footprints.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}/places/{place%2Did}/graph.building/map/footprints/$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}/places/{place%2Did}/graph.building/map/footprints/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Places.Item.GraphBuilding.Map.Footprints.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Places.Item.GraphBuilding.Map.Footprints.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/Places/Item/GraphBuilding/Map/Footprints/FootprintsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Places/Item/GraphBuilding/Map/Footprints/FootprintsRequestBuilder.cs new file mode 100644 index 00000000000..6c9ec2eead6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Places/Item/GraphBuilding/Map/Footprints/FootprintsRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Places.Item.GraphBuilding.Map.Footprints.Count; +using Microsoft.Graph.Places.Item.GraphBuilding.Map.Footprints.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.Places.Item.GraphBuilding.Map.Footprints +{ + /// + /// Provides operations to manage the footprints property of the microsoft.graph.buildingMap entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class FootprintsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Places.Item.GraphBuilding.Map.Footprints.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Places.Item.GraphBuilding.Map.Footprints.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the footprints property of the microsoft.graph.buildingMap entity. + /// The unique identifier of footprintMap + /// A + public global::Microsoft.Graph.Places.Item.GraphBuilding.Map.Footprints.Item.FootprintMapItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("footprintMap%2Did", position); + return new global::Microsoft.Graph.Places.Item.GraphBuilding.Map.Footprints.Item.FootprintMapItemRequestBuilder(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 FootprintsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.building/map/footprints{?%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 FootprintsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.building/map/footprints{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get footprints from places + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.FootprintMapCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to footprints for places + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Models.FootprintMap body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.FootprintMap body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.FootprintMap.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get footprints from places + /// + /// A + /// Configuration 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 footprints for places + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.FootprintMap body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.FootprintMap 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.Places.Item.GraphBuilding.Map.Footprints.FootprintsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Places.Item.GraphBuilding.Map.Footprints.FootprintsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get footprints from places + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class FootprintsRequestBuilderGetQueryParameters + { + /// 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 FootprintsRequestBuilderGetRequestConfiguration : 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 FootprintsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Places/Item/GraphBuilding/Map/Footprints/Item/FootprintMapItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Places/Item/GraphBuilding/Map/Footprints/Item/FootprintMapItemRequestBuilder.cs new file mode 100644 index 00000000000..c6e27749a2a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Places/Item/GraphBuilding/Map/Footprints/Item/FootprintMapItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Places.Item.GraphBuilding.Map.Footprints.Item +{ + /// + /// Provides operations to manage the footprints property of the microsoft.graph.buildingMap entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class FootprintMapItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public FootprintMapItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.building/map/footprints/{footprintMap%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 FootprintMapItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.building/map/footprints/{footprintMap%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property footprints for places + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get footprints from places + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.FootprintMap.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property footprints in places + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.FootprintMap body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.FootprintMap body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.FootprintMap.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property footprints for places + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Get footprints from places + /// + /// A + /// Configuration 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 footprints in places + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.FootprintMap body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.FootprintMap 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.Places.Item.GraphBuilding.Map.Footprints.Item.FootprintMapItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Places.Item.GraphBuilding.Map.Footprints.Item.FootprintMapItemRequestBuilder(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 FootprintMapItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get footprints from places + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class FootprintMapItemRequestBuilderGetQueryParameters + { + /// 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 FootprintMapItemRequestBuilderGetRequestConfiguration : 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 FootprintMapItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Places/Item/GraphBuilding/Map/Levels/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Places/Item/GraphBuilding/Map/Levels/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..b4c03ad79a2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Places/Item/GraphBuilding/Map/Levels/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.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}/places/{place%2Did}/graph.building/map/levels/$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}/places/{place%2Did}/graph.building/map/levels/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.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/Places/Item/GraphBuilding/Map/Levels/Item/Fixtures/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Places/Item/GraphBuilding/Map/Levels/Item/Fixtures/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..cc6bf5a81a8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Places/Item/GraphBuilding/Map/Levels/Item/Fixtures/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Fixtures.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}/places/{place%2Did}/graph.building/map/levels/{levelMap%2Did}/fixtures/$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}/places/{place%2Did}/graph.building/map/levels/{levelMap%2Did}/fixtures/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Fixtures.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Fixtures.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/Places/Item/GraphBuilding/Map/Levels/Item/Fixtures/FixturesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Places/Item/GraphBuilding/Map/Levels/Item/Fixtures/FixturesRequestBuilder.cs new file mode 100644 index 00000000000..7cbeb041a44 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Places/Item/GraphBuilding/Map/Levels/Item/Fixtures/FixturesRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Fixtures.Count; +using Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Fixtures.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.Places.Item.GraphBuilding.Map.Levels.Item.Fixtures +{ + /// + /// Provides operations to manage the fixtures property of the microsoft.graph.levelMap entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class FixturesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Fixtures.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Fixtures.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the fixtures property of the microsoft.graph.levelMap entity. + /// The unique identifier of fixtureMap + /// A + public global::Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Fixtures.Item.FixtureMapItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("fixtureMap%2Did", position); + return new global::Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Fixtures.Item.FixtureMapItemRequestBuilder(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 FixturesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.building/map/levels/{levelMap%2Did}/fixtures{?%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 FixturesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.building/map/levels/{levelMap%2Did}/fixtures{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get fixtures from places + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.FixtureMapCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to fixtures for places + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Models.FixtureMap body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.FixtureMap body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.FixtureMap.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get fixtures from places + /// + /// A + /// Configuration 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 fixtures for places + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.FixtureMap body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.FixtureMap 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.Places.Item.GraphBuilding.Map.Levels.Item.Fixtures.FixturesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Fixtures.FixturesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get fixtures from places + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class FixturesRequestBuilderGetQueryParameters + { + /// 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 FixturesRequestBuilderGetRequestConfiguration : 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 FixturesRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Places/Item/GraphBuilding/Map/Levels/Item/Fixtures/Item/FixtureMapItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Places/Item/GraphBuilding/Map/Levels/Item/Fixtures/Item/FixtureMapItemRequestBuilder.cs new file mode 100644 index 00000000000..6359d1f4fce --- /dev/null +++ b/src/Microsoft.Graph/Generated/Places/Item/GraphBuilding/Map/Levels/Item/Fixtures/Item/FixtureMapItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Fixtures.Item +{ + /// + /// Provides operations to manage the fixtures property of the microsoft.graph.levelMap entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class FixtureMapItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public FixtureMapItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.building/map/levels/{levelMap%2Did}/fixtures/{fixtureMap%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 FixtureMapItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.building/map/levels/{levelMap%2Did}/fixtures/{fixtureMap%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property fixtures for places + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get fixtures from places + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.FixtureMap.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property fixtures in places + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.FixtureMap body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.FixtureMap body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.FixtureMap.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property fixtures for places + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Get fixtures from places + /// + /// A + /// Configuration 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 fixtures in places + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.FixtureMap body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.FixtureMap 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.Places.Item.GraphBuilding.Map.Levels.Item.Fixtures.Item.FixtureMapItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Fixtures.Item.FixtureMapItemRequestBuilder(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 FixtureMapItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get fixtures from places + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class FixtureMapItemRequestBuilderGetQueryParameters + { + /// 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 FixtureMapItemRequestBuilderGetRequestConfiguration : 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 FixtureMapItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Places/Item/GraphBuilding/Map/Levels/Item/LevelMapItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Places/Item/GraphBuilding/Map/Levels/Item/LevelMapItemRequestBuilder.cs new file mode 100644 index 00000000000..f7ed4a3adf3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Places/Item/GraphBuilding/Map/Levels/Item/LevelMapItemRequestBuilder.cs @@ -0,0 +1,247 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Fixtures; +using Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Sections; +using Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Units; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item +{ + /// + /// Provides operations to manage the levels property of the microsoft.graph.buildingMap entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LevelMapItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the fixtures property of the microsoft.graph.levelMap entity. + public global::Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Fixtures.FixturesRequestBuilder Fixtures + { + get => new global::Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Fixtures.FixturesRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the sections property of the microsoft.graph.levelMap entity. + public global::Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Sections.SectionsRequestBuilder Sections + { + get => new global::Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Sections.SectionsRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the units property of the microsoft.graph.levelMap entity. + public global::Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Units.UnitsRequestBuilder Units + { + get => new global::Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Units.UnitsRequestBuilder(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 LevelMapItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.building/map/levels/{levelMap%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 LevelMapItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.building/map/levels/{levelMap%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property levels for places + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get levels from places + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.LevelMap.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property levels in places + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.LevelMap body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.LevelMap body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.LevelMap.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property levels for places + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Get levels from places + /// + /// A + /// Configuration 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 levels in places + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.LevelMap body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.LevelMap 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.Places.Item.GraphBuilding.Map.Levels.Item.LevelMapItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.LevelMapItemRequestBuilder(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 LevelMapItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get levels from places + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LevelMapItemRequestBuilderGetQueryParameters + { + /// 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 LevelMapItemRequestBuilderGetRequestConfiguration : 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 LevelMapItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Places/Item/GraphBuilding/Map/Levels/Item/Sections/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Places/Item/GraphBuilding/Map/Levels/Item/Sections/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..dd027bfbdff --- /dev/null +++ b/src/Microsoft.Graph/Generated/Places/Item/GraphBuilding/Map/Levels/Item/Sections/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Sections.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}/places/{place%2Did}/graph.building/map/levels/{levelMap%2Did}/sections/$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}/places/{place%2Did}/graph.building/map/levels/{levelMap%2Did}/sections/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Sections.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Sections.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/Places/Item/GraphBuilding/Map/Levels/Item/Sections/Item/SectionMapItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Places/Item/GraphBuilding/Map/Levels/Item/Sections/Item/SectionMapItemRequestBuilder.cs new file mode 100644 index 00000000000..752a3a07cc3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Places/Item/GraphBuilding/Map/Levels/Item/Sections/Item/SectionMapItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Sections.Item +{ + /// + /// Provides operations to manage the sections property of the microsoft.graph.levelMap entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SectionMapItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public SectionMapItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.building/map/levels/{levelMap%2Did}/sections/{sectionMap%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 SectionMapItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.building/map/levels/{levelMap%2Did}/sections/{sectionMap%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property sections for places + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get sections from places + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SectionMap.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property sections in places + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.SectionMap body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.SectionMap body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SectionMap.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property sections for places + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Get sections from places + /// + /// A + /// Configuration 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 sections in places + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.SectionMap body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.SectionMap 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.Places.Item.GraphBuilding.Map.Levels.Item.Sections.Item.SectionMapItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Sections.Item.SectionMapItemRequestBuilder(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 SectionMapItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get sections from places + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SectionMapItemRequestBuilderGetQueryParameters + { + /// 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 SectionMapItemRequestBuilderGetRequestConfiguration : 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 SectionMapItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Places/Item/GraphBuilding/Map/Levels/Item/Sections/SectionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Places/Item/GraphBuilding/Map/Levels/Item/Sections/SectionsRequestBuilder.cs new file mode 100644 index 00000000000..2b8f61eb495 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Places/Item/GraphBuilding/Map/Levels/Item/Sections/SectionsRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Sections.Count; +using Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Sections.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.Places.Item.GraphBuilding.Map.Levels.Item.Sections +{ + /// + /// Provides operations to manage the sections property of the microsoft.graph.levelMap entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SectionsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Sections.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Sections.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the sections property of the microsoft.graph.levelMap entity. + /// The unique identifier of sectionMap + /// A + public global::Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Sections.Item.SectionMapItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("sectionMap%2Did", position); + return new global::Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Sections.Item.SectionMapItemRequestBuilder(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 SectionsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.building/map/levels/{levelMap%2Did}/sections{?%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 SectionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.building/map/levels/{levelMap%2Did}/sections{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get sections from places + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SectionMapCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to sections for places + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Models.SectionMap body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.SectionMap body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SectionMap.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get sections from places + /// + /// A + /// Configuration 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 sections for places + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.SectionMap body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.SectionMap 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.Places.Item.GraphBuilding.Map.Levels.Item.Sections.SectionsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Sections.SectionsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get sections from places + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SectionsRequestBuilderGetQueryParameters + { + /// 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 SectionsRequestBuilderGetRequestConfiguration : 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 SectionsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Places/Item/GraphBuilding/Map/Levels/Item/Units/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Places/Item/GraphBuilding/Map/Levels/Item/Units/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..f0307d23a43 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Places/Item/GraphBuilding/Map/Levels/Item/Units/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Units.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}/places/{place%2Did}/graph.building/map/levels/{levelMap%2Did}/units/$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}/places/{place%2Did}/graph.building/map/levels/{levelMap%2Did}/units/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Units.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Units.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/Places/Item/GraphBuilding/Map/Levels/Item/Units/Item/UnitMapItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Places/Item/GraphBuilding/Map/Levels/Item/Units/Item/UnitMapItemRequestBuilder.cs new file mode 100644 index 00000000000..328fcdcbc68 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Places/Item/GraphBuilding/Map/Levels/Item/Units/Item/UnitMapItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Units.Item +{ + /// + /// Provides operations to manage the units property of the microsoft.graph.levelMap entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UnitMapItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public UnitMapItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.building/map/levels/{levelMap%2Did}/units/{unitMap%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 UnitMapItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.building/map/levels/{levelMap%2Did}/units/{unitMap%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property units for places + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get units from places + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.UnitMap.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property units in places + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.UnitMap body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.UnitMap body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.UnitMap.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property units for places + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Get units from places + /// + /// A + /// Configuration 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 units in places + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.UnitMap body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.UnitMap 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.Places.Item.GraphBuilding.Map.Levels.Item.Units.Item.UnitMapItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Units.Item.UnitMapItemRequestBuilder(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 UnitMapItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get units from places + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UnitMapItemRequestBuilderGetQueryParameters + { + /// 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 UnitMapItemRequestBuilderGetRequestConfiguration : 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 UnitMapItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Places/Item/GraphBuilding/Map/Levels/Item/Units/UnitsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Places/Item/GraphBuilding/Map/Levels/Item/Units/UnitsRequestBuilder.cs new file mode 100644 index 00000000000..f4ff66ba147 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Places/Item/GraphBuilding/Map/Levels/Item/Units/UnitsRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Units.Count; +using Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Units.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.Places.Item.GraphBuilding.Map.Levels.Item.Units +{ + /// + /// Provides operations to manage the units property of the microsoft.graph.levelMap entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UnitsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Units.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Units.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the units property of the microsoft.graph.levelMap entity. + /// The unique identifier of unitMap + /// A + public global::Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Units.Item.UnitMapItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("unitMap%2Did", position); + return new global::Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Units.Item.UnitMapItemRequestBuilder(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 UnitsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.building/map/levels/{levelMap%2Did}/units{?%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 UnitsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.building/map/levels/{levelMap%2Did}/units{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get units from places + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.UnitMapCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to units for places + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Models.UnitMap body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.UnitMap body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.UnitMap.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get units from places + /// + /// A + /// Configuration 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 units for places + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.UnitMap body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.UnitMap 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.Places.Item.GraphBuilding.Map.Levels.Item.Units.UnitsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Units.UnitsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get units from places + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UnitsRequestBuilderGetQueryParameters + { + /// 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 UnitsRequestBuilderGetRequestConfiguration : 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 UnitsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Places/Item/GraphBuilding/Map/Levels/LevelsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Places/Item/GraphBuilding/Map/Levels/LevelsRequestBuilder.cs new file mode 100644 index 00000000000..16299011b52 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Places/Item/GraphBuilding/Map/Levels/LevelsRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Count; +using Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.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.Places.Item.GraphBuilding.Map.Levels +{ + /// + /// Provides operations to manage the levels property of the microsoft.graph.buildingMap entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LevelsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the levels property of the microsoft.graph.buildingMap entity. + /// The unique identifier of levelMap + /// A + public global::Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.LevelMapItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("levelMap%2Did", position); + return new global::Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.LevelMapItemRequestBuilder(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 LevelsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.building/map/levels{?%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 LevelsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.building/map/levels{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get levels from places + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.LevelMapCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to levels for places + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Models.LevelMap body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.LevelMap body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.LevelMap.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get levels from places + /// + /// A + /// Configuration 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 levels for places + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.LevelMap body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.LevelMap 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.Places.Item.GraphBuilding.Map.Levels.LevelsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.LevelsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get levels from places + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LevelsRequestBuilderGetQueryParameters + { + /// 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 LevelsRequestBuilderGetRequestConfiguration : 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 LevelsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Places/Item/GraphBuilding/Map/MapRequestBuilder.cs b/src/Microsoft.Graph/Generated/Places/Item/GraphBuilding/Map/MapRequestBuilder.cs new file mode 100644 index 00000000000..a8a2c0b6ac9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Places/Item/GraphBuilding/Map/MapRequestBuilder.cs @@ -0,0 +1,241 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Places.Item.GraphBuilding.Map.Footprints; +using Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Places.Item.GraphBuilding.Map +{ + /// + /// Provides operations to manage the map property of the microsoft.graph.building entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MapRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the footprints property of the microsoft.graph.buildingMap entity. + public global::Microsoft.Graph.Places.Item.GraphBuilding.Map.Footprints.FootprintsRequestBuilder Footprints + { + get => new global::Microsoft.Graph.Places.Item.GraphBuilding.Map.Footprints.FootprintsRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the levels property of the microsoft.graph.buildingMap entity. + public global::Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.LevelsRequestBuilder Levels + { + get => new global::Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.LevelsRequestBuilder(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 MapRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.building/map{?%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 MapRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.building/map{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property map for places + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get map from places + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.BuildingMap.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property map in places + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.BuildingMap body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.BuildingMap body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.BuildingMap.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property map for places + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Get map from places + /// + /// A + /// Configuration 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 map in places + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.BuildingMap body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.BuildingMap 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.Places.Item.GraphBuilding.Map.MapRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Places.Item.GraphBuilding.Map.MapRequestBuilder(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 MapRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get map from places + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MapRequestBuilderGetQueryParameters + { + /// 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 MapRequestBuilderGetRequestConfiguration : 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 MapRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Places/Item/GraphDesk/CheckIns/CheckInsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Places/Item/GraphDesk/CheckIns/CheckInsRequestBuilder.cs new file mode 100644 index 00000000000..c008e9a9575 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Places/Item/GraphDesk/CheckIns/CheckInsRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Places.Item.GraphDesk.CheckIns.Count; +using Microsoft.Graph.Places.Item.GraphDesk.CheckIns.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.Places.Item.GraphDesk.CheckIns +{ + /// + /// Provides operations to manage the checkIns property of the microsoft.graph.place entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CheckInsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Places.Item.GraphDesk.CheckIns.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Places.Item.GraphDesk.CheckIns.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the checkIns property of the microsoft.graph.place entity. + /// The unique identifier of checkInClaim + /// A + public global::Microsoft.Graph.Places.Item.GraphDesk.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("checkInClaim%2DcalendarEventId", position); + return new global::Microsoft.Graph.Places.Item.GraphDesk.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder(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 CheckInsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.desk/checkIns{?%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 CheckInsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.desk/checkIns{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get checkIns from places + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.CheckInClaimCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to checkIns for places + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Models.CheckInClaim body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.CheckInClaim body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.CheckInClaim.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get checkIns from places + /// + /// A + /// Configuration 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 checkIns for places + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.CheckInClaim body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.CheckInClaim 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.Places.Item.GraphDesk.CheckIns.CheckInsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Places.Item.GraphDesk.CheckIns.CheckInsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get checkIns from places + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CheckInsRequestBuilderGetQueryParameters + { + /// 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 CheckInsRequestBuilderGetRequestConfiguration : 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 CheckInsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Places/Item/GraphDesk/CheckIns/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Places/Item/GraphDesk/CheckIns/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..bc39ba60845 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Places/Item/GraphDesk/CheckIns/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Places.Item.GraphDesk.CheckIns.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}/places/{place%2Did}/graph.desk/checkIns/$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}/places/{place%2Did}/graph.desk/checkIns/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Places.Item.GraphDesk.CheckIns.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Places.Item.GraphDesk.CheckIns.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/Places/Item/GraphDesk/CheckIns/Item/CheckInClaimCalendarEventItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Places/Item/GraphDesk/CheckIns/Item/CheckInClaimCalendarEventItemRequestBuilder.cs new file mode 100644 index 00000000000..dad70a66a80 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Places/Item/GraphDesk/CheckIns/Item/CheckInClaimCalendarEventItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Places.Item.GraphDesk.CheckIns.Item +{ + /// + /// Provides operations to manage the checkIns property of the microsoft.graph.place entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CheckInClaimCalendarEventItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CheckInClaimCalendarEventItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.desk/checkIns/{checkInClaim%2DcalendarEventId}{?%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 CheckInClaimCalendarEventItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.desk/checkIns/{checkInClaim%2DcalendarEventId}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property checkIns for places + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get checkIns from places + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.CheckInClaim.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property checkIns in places + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.CheckInClaim body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.CheckInClaim body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.CheckInClaim.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property checkIns for places + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Get checkIns from places + /// + /// A + /// Configuration 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 checkIns in places + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.CheckInClaim body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.CheckInClaim 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.Places.Item.GraphDesk.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Places.Item.GraphDesk.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder(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 CheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get checkIns from places + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CheckInClaimCalendarEventItemRequestBuilderGetQueryParameters + { + /// 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 CheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration : 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 CheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Places/Item/GraphDesk/GraphDeskRequestBuilder.cs b/src/Microsoft.Graph/Generated/Places/Item/GraphDesk/GraphDeskRequestBuilder.cs new file mode 100644 index 00000000000..e39887d80bd --- /dev/null +++ b/src/Microsoft.Graph/Generated/Places/Item/GraphDesk/GraphDeskRequestBuilder.cs @@ -0,0 +1,131 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Places.Item.GraphDesk.CheckIns; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Places.Item.GraphDesk +{ + /// + /// Casts the previous resource to desk. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GraphDeskRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the checkIns property of the microsoft.graph.place entity. + public global::Microsoft.Graph.Places.Item.GraphDesk.CheckIns.CheckInsRequestBuilder CheckIns + { + get => new global::Microsoft.Graph.Places.Item.GraphDesk.CheckIns.CheckInsRequestBuilder(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 GraphDeskRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.desk{?%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 GraphDeskRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.desk{?%24expand,%24select}", rawUrl) + { + } + /// + /// Get the item of type microsoft.graph.place as microsoft.graph.desk + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Desk.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the item of type microsoft.graph.place as microsoft.graph.desk + /// + /// A + /// Configuration 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.Places.Item.GraphDesk.GraphDeskRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Places.Item.GraphDesk.GraphDeskRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the item of type microsoft.graph.place as microsoft.graph.desk + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GraphDeskRequestBuilderGetQueryParameters + { + /// 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 GraphDeskRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Places/Item/GraphFloor/CheckIns/CheckInsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Places/Item/GraphFloor/CheckIns/CheckInsRequestBuilder.cs new file mode 100644 index 00000000000..052fb45d6f6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Places/Item/GraphFloor/CheckIns/CheckInsRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Places.Item.GraphFloor.CheckIns.Count; +using Microsoft.Graph.Places.Item.GraphFloor.CheckIns.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.Places.Item.GraphFloor.CheckIns +{ + /// + /// Provides operations to manage the checkIns property of the microsoft.graph.place entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CheckInsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Places.Item.GraphFloor.CheckIns.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Places.Item.GraphFloor.CheckIns.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the checkIns property of the microsoft.graph.place entity. + /// The unique identifier of checkInClaim + /// A + public global::Microsoft.Graph.Places.Item.GraphFloor.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("checkInClaim%2DcalendarEventId", position); + return new global::Microsoft.Graph.Places.Item.GraphFloor.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder(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 CheckInsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.floor/checkIns{?%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 CheckInsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.floor/checkIns{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get checkIns from places + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.CheckInClaimCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to checkIns for places + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Models.CheckInClaim body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.CheckInClaim body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.CheckInClaim.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get checkIns from places + /// + /// A + /// Configuration 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 checkIns for places + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.CheckInClaim body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.CheckInClaim 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.Places.Item.GraphFloor.CheckIns.CheckInsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Places.Item.GraphFloor.CheckIns.CheckInsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get checkIns from places + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CheckInsRequestBuilderGetQueryParameters + { + /// 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 CheckInsRequestBuilderGetRequestConfiguration : 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 CheckInsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Places/Item/GraphFloor/CheckIns/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Places/Item/GraphFloor/CheckIns/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..95575481098 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Places/Item/GraphFloor/CheckIns/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Places.Item.GraphFloor.CheckIns.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}/places/{place%2Did}/graph.floor/checkIns/$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}/places/{place%2Did}/graph.floor/checkIns/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Places.Item.GraphFloor.CheckIns.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Places.Item.GraphFloor.CheckIns.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/Places/Item/GraphFloor/CheckIns/Item/CheckInClaimCalendarEventItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Places/Item/GraphFloor/CheckIns/Item/CheckInClaimCalendarEventItemRequestBuilder.cs new file mode 100644 index 00000000000..18933e96244 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Places/Item/GraphFloor/CheckIns/Item/CheckInClaimCalendarEventItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Places.Item.GraphFloor.CheckIns.Item +{ + /// + /// Provides operations to manage the checkIns property of the microsoft.graph.place entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CheckInClaimCalendarEventItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CheckInClaimCalendarEventItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.floor/checkIns/{checkInClaim%2DcalendarEventId}{?%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 CheckInClaimCalendarEventItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.floor/checkIns/{checkInClaim%2DcalendarEventId}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property checkIns for places + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get checkIns from places + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.CheckInClaim.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property checkIns in places + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.CheckInClaim body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.CheckInClaim body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.CheckInClaim.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property checkIns for places + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Get checkIns from places + /// + /// A + /// Configuration 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 checkIns in places + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.CheckInClaim body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.CheckInClaim 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.Places.Item.GraphFloor.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Places.Item.GraphFloor.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder(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 CheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get checkIns from places + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CheckInClaimCalendarEventItemRequestBuilderGetQueryParameters + { + /// 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 CheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration : 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 CheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Places/Item/GraphFloor/GraphFloorRequestBuilder.cs b/src/Microsoft.Graph/Generated/Places/Item/GraphFloor/GraphFloorRequestBuilder.cs new file mode 100644 index 00000000000..8bc05461d27 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Places/Item/GraphFloor/GraphFloorRequestBuilder.cs @@ -0,0 +1,131 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Places.Item.GraphFloor.CheckIns; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Places.Item.GraphFloor +{ + /// + /// Casts the previous resource to floor. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GraphFloorRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the checkIns property of the microsoft.graph.place entity. + public global::Microsoft.Graph.Places.Item.GraphFloor.CheckIns.CheckInsRequestBuilder CheckIns + { + get => new global::Microsoft.Graph.Places.Item.GraphFloor.CheckIns.CheckInsRequestBuilder(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 GraphFloorRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.floor{?%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 GraphFloorRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.floor{?%24expand,%24select}", rawUrl) + { + } + /// + /// Get the item of type microsoft.graph.place as microsoft.graph.floor + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Floor.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the item of type microsoft.graph.place as microsoft.graph.floor + /// + /// A + /// Configuration 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.Places.Item.GraphFloor.GraphFloorRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Places.Item.GraphFloor.GraphFloorRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the item of type microsoft.graph.place as microsoft.graph.floor + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GraphFloorRequestBuilderGetQueryParameters + { + /// 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 GraphFloorRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Places/Item/GraphRoomList/GraphRoomListRequestBuilder.cs b/src/Microsoft.Graph/Generated/Places/Item/GraphRoomList/GraphRoomListRequestBuilder.cs index 0fdd257c766..d27567cc97e 100644 --- a/src/Microsoft.Graph/Generated/Places/Item/GraphRoomList/GraphRoomListRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Places/Item/GraphRoomList/GraphRoomListRequestBuilder.cs @@ -4,6 +4,7 @@ using Microsoft.Graph.Models; using Microsoft.Graph.Places.Item.GraphRoomList.CheckIns; using Microsoft.Graph.Places.Item.GraphRoomList.Rooms; +using Microsoft.Graph.Places.Item.GraphRoomList.Workspaces; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -30,6 +31,11 @@ public partial class GraphRoomListRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Places.Item.GraphRoomList.Rooms.RoomsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the workspaces property of the microsoft.graph.roomList entity. + public global::Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.WorkspacesRequestBuilder Workspaces + { + get => new global::Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.WorkspacesRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/Places/Item/GraphRoomList/Workspaces/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Places/Item/GraphRoomList/Workspaces/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..737120977bf --- /dev/null +++ b/src/Microsoft.Graph/Generated/Places/Item/GraphRoomList/Workspaces/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.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}/places/{place%2Did}/graph.roomList/workspaces/$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}/places/{place%2Did}/graph.roomList/workspaces/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.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/Places/Item/GraphRoomList/Workspaces/Item/CheckIns/CheckInsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Places/Item/GraphRoomList/Workspaces/Item/CheckIns/CheckInsRequestBuilder.cs new file mode 100644 index 00000000000..eef18d4eccc --- /dev/null +++ b/src/Microsoft.Graph/Generated/Places/Item/GraphRoomList/Workspaces/Item/CheckIns/CheckInsRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.CheckIns.Count; +using Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.CheckIns.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.Places.Item.GraphRoomList.Workspaces.Item.CheckIns +{ + /// + /// Provides operations to manage the checkIns property of the microsoft.graph.place entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CheckInsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.CheckIns.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.CheckIns.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the checkIns property of the microsoft.graph.place entity. + /// The unique identifier of checkInClaim + /// A + public global::Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("checkInClaim%2DcalendarEventId", position); + return new global::Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder(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 CheckInsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.roomList/workspaces/{workspace%2Did}/checkIns{?%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 CheckInsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.roomList/workspaces/{workspace%2Did}/checkIns{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get checkIns from places + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.CheckInClaimCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to checkIns for places + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Models.CheckInClaim body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.CheckInClaim body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.CheckInClaim.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get checkIns from places + /// + /// A + /// Configuration 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 checkIns for places + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.CheckInClaim body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.CheckInClaim 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.Places.Item.GraphRoomList.Workspaces.Item.CheckIns.CheckInsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.CheckIns.CheckInsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get checkIns from places + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CheckInsRequestBuilderGetQueryParameters + { + /// 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 CheckInsRequestBuilderGetRequestConfiguration : 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 CheckInsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Places/Item/GraphRoomList/Workspaces/Item/CheckIns/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Places/Item/GraphRoomList/Workspaces/Item/CheckIns/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..59ae7c9540f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Places/Item/GraphRoomList/Workspaces/Item/CheckIns/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.CheckIns.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}/places/{place%2Did}/graph.roomList/workspaces/{workspace%2Did}/checkIns/$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}/places/{place%2Did}/graph.roomList/workspaces/{workspace%2Did}/checkIns/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.CheckIns.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.CheckIns.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/Places/Item/GraphRoomList/Workspaces/Item/CheckIns/Item/CheckInClaimCalendarEventItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Places/Item/GraphRoomList/Workspaces/Item/CheckIns/Item/CheckInClaimCalendarEventItemRequestBuilder.cs new file mode 100644 index 00000000000..9331a57b60d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Places/Item/GraphRoomList/Workspaces/Item/CheckIns/Item/CheckInClaimCalendarEventItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.CheckIns.Item +{ + /// + /// Provides operations to manage the checkIns property of the microsoft.graph.place entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CheckInClaimCalendarEventItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CheckInClaimCalendarEventItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.roomList/workspaces/{workspace%2Did}/checkIns/{checkInClaim%2DcalendarEventId}{?%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 CheckInClaimCalendarEventItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.roomList/workspaces/{workspace%2Did}/checkIns/{checkInClaim%2DcalendarEventId}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property checkIns for places + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get checkIns from places + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.CheckInClaim.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property checkIns in places + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.CheckInClaim body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.CheckInClaim body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.CheckInClaim.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property checkIns for places + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Get checkIns from places + /// + /// A + /// Configuration 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 checkIns in places + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.CheckInClaim body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.CheckInClaim 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.Places.Item.GraphRoomList.Workspaces.Item.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder(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 CheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get checkIns from places + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CheckInClaimCalendarEventItemRequestBuilderGetQueryParameters + { + /// 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 CheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration : 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 CheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Places/Item/GraphRoomList/Workspaces/Item/WorkspaceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Places/Item/GraphRoomList/Workspaces/Item/WorkspaceItemRequestBuilder.cs new file mode 100644 index 00000000000..a0bd9c50490 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Places/Item/GraphRoomList/Workspaces/Item/WorkspaceItemRequestBuilder.cs @@ -0,0 +1,235 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.CheckIns; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item +{ + /// + /// Provides operations to manage the workspaces property of the microsoft.graph.roomList entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class WorkspaceItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the checkIns property of the microsoft.graph.place entity. + public global::Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.CheckIns.CheckInsRequestBuilder CheckIns + { + get => new global::Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.CheckIns.CheckInsRequestBuilder(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 WorkspaceItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.roomList/workspaces/{workspace%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 WorkspaceItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.roomList/workspaces/{workspace%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property workspaces for places + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get workspaces from places + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Workspace.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property workspaces in places + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.Workspace body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.Workspace body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Workspace.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property workspaces for places + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Get workspaces from places + /// + /// A + /// Configuration 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 workspaces in places + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.Workspace body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.Workspace 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.Places.Item.GraphRoomList.Workspaces.Item.WorkspaceItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.WorkspaceItemRequestBuilder(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 WorkspaceItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get workspaces from places + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class WorkspaceItemRequestBuilderGetQueryParameters + { + /// 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 WorkspaceItemRequestBuilderGetRequestConfiguration : 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 WorkspaceItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Places/Item/GraphRoomList/Workspaces/WorkspacesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Places/Item/GraphRoomList/Workspaces/WorkspacesRequestBuilder.cs new file mode 100644 index 00000000000..43ab3dbb063 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Places/Item/GraphRoomList/Workspaces/WorkspacesRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Count; +using Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.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.Places.Item.GraphRoomList.Workspaces +{ + /// + /// Provides operations to manage the workspaces property of the microsoft.graph.roomList entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class WorkspacesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the workspaces property of the microsoft.graph.roomList entity. + /// The unique identifier of workspace + /// A + public global::Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.WorkspaceItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("workspace%2Did", position); + return new global::Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.WorkspaceItemRequestBuilder(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 WorkspacesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.roomList/workspaces{?%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 WorkspacesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.roomList/workspaces{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get workspaces from places + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.WorkspaceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to workspaces for places + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Models.Workspace body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.Workspace body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Workspace.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get workspaces from places + /// + /// A + /// Configuration 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 workspaces for places + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.Workspace body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.Workspace 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.Places.Item.GraphRoomList.Workspaces.WorkspacesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.WorkspacesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get workspaces from places + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class WorkspacesRequestBuilderGetQueryParameters + { + /// 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 WorkspacesRequestBuilderGetRequestConfiguration : 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 WorkspacesRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Places/Item/GraphSection/CheckIns/CheckInsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Places/Item/GraphSection/CheckIns/CheckInsRequestBuilder.cs new file mode 100644 index 00000000000..b9077f106fc --- /dev/null +++ b/src/Microsoft.Graph/Generated/Places/Item/GraphSection/CheckIns/CheckInsRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Places.Item.GraphSection.CheckIns.Count; +using Microsoft.Graph.Places.Item.GraphSection.CheckIns.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.Places.Item.GraphSection.CheckIns +{ + /// + /// Provides operations to manage the checkIns property of the microsoft.graph.place entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CheckInsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Places.Item.GraphSection.CheckIns.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Places.Item.GraphSection.CheckIns.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the checkIns property of the microsoft.graph.place entity. + /// The unique identifier of checkInClaim + /// A + public global::Microsoft.Graph.Places.Item.GraphSection.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("checkInClaim%2DcalendarEventId", position); + return new global::Microsoft.Graph.Places.Item.GraphSection.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder(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 CheckInsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.section/checkIns{?%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 CheckInsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.section/checkIns{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get checkIns from places + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.CheckInClaimCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to checkIns for places + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Models.CheckInClaim body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.CheckInClaim body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.CheckInClaim.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get checkIns from places + /// + /// A + /// Configuration 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 checkIns for places + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.CheckInClaim body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.CheckInClaim 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.Places.Item.GraphSection.CheckIns.CheckInsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Places.Item.GraphSection.CheckIns.CheckInsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get checkIns from places + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CheckInsRequestBuilderGetQueryParameters + { + /// 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 CheckInsRequestBuilderGetRequestConfiguration : 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 CheckInsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Places/Item/GraphSection/CheckIns/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Places/Item/GraphSection/CheckIns/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..716c8b03877 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Places/Item/GraphSection/CheckIns/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Places.Item.GraphSection.CheckIns.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}/places/{place%2Did}/graph.section/checkIns/$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}/places/{place%2Did}/graph.section/checkIns/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Places.Item.GraphSection.CheckIns.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Places.Item.GraphSection.CheckIns.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/Places/Item/GraphSection/CheckIns/Item/CheckInClaimCalendarEventItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Places/Item/GraphSection/CheckIns/Item/CheckInClaimCalendarEventItemRequestBuilder.cs new file mode 100644 index 00000000000..790aadf2e0f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Places/Item/GraphSection/CheckIns/Item/CheckInClaimCalendarEventItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Places.Item.GraphSection.CheckIns.Item +{ + /// + /// Provides operations to manage the checkIns property of the microsoft.graph.place entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CheckInClaimCalendarEventItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CheckInClaimCalendarEventItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.section/checkIns/{checkInClaim%2DcalendarEventId}{?%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 CheckInClaimCalendarEventItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.section/checkIns/{checkInClaim%2DcalendarEventId}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property checkIns for places + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get checkIns from places + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.CheckInClaim.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property checkIns in places + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.CheckInClaim body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.CheckInClaim body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.CheckInClaim.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property checkIns for places + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Get checkIns from places + /// + /// A + /// Configuration 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 checkIns in places + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.CheckInClaim body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.CheckInClaim 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.Places.Item.GraphSection.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Places.Item.GraphSection.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder(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 CheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get checkIns from places + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CheckInClaimCalendarEventItemRequestBuilderGetQueryParameters + { + /// 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 CheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration : 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 CheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Places/Item/GraphSection/GraphSectionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Places/Item/GraphSection/GraphSectionRequestBuilder.cs new file mode 100644 index 00000000000..074d05c8c1d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Places/Item/GraphSection/GraphSectionRequestBuilder.cs @@ -0,0 +1,131 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Places.Item.GraphSection.CheckIns; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Places.Item.GraphSection +{ + /// + /// Casts the previous resource to section. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GraphSectionRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the checkIns property of the microsoft.graph.place entity. + public global::Microsoft.Graph.Places.Item.GraphSection.CheckIns.CheckInsRequestBuilder CheckIns + { + get => new global::Microsoft.Graph.Places.Item.GraphSection.CheckIns.CheckInsRequestBuilder(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 GraphSectionRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.section{?%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 GraphSectionRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.section{?%24expand,%24select}", rawUrl) + { + } + /// + /// Get the item of type microsoft.graph.place as microsoft.graph.section + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Section.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the item of type microsoft.graph.place as microsoft.graph.section + /// + /// A + /// Configuration 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.Places.Item.GraphSection.GraphSectionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Places.Item.GraphSection.GraphSectionRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the item of type microsoft.graph.place as microsoft.graph.section + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GraphSectionRequestBuilderGetQueryParameters + { + /// 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 GraphSectionRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Places/Item/GraphWorkspace/CheckIns/CheckInsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Places/Item/GraphWorkspace/CheckIns/CheckInsRequestBuilder.cs new file mode 100644 index 00000000000..631cc4a18a1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Places/Item/GraphWorkspace/CheckIns/CheckInsRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Places.Item.GraphWorkspace.CheckIns.Count; +using Microsoft.Graph.Places.Item.GraphWorkspace.CheckIns.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.Places.Item.GraphWorkspace.CheckIns +{ + /// + /// Provides operations to manage the checkIns property of the microsoft.graph.place entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CheckInsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Places.Item.GraphWorkspace.CheckIns.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Places.Item.GraphWorkspace.CheckIns.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the checkIns property of the microsoft.graph.place entity. + /// The unique identifier of checkInClaim + /// A + public global::Microsoft.Graph.Places.Item.GraphWorkspace.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("checkInClaim%2DcalendarEventId", position); + return new global::Microsoft.Graph.Places.Item.GraphWorkspace.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder(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 CheckInsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.workspace/checkIns{?%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 CheckInsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.workspace/checkIns{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get checkIns from places + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.CheckInClaimCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to checkIns for places + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Models.CheckInClaim body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.CheckInClaim body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.CheckInClaim.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get checkIns from places + /// + /// A + /// Configuration 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 checkIns for places + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.CheckInClaim body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.CheckInClaim 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.Places.Item.GraphWorkspace.CheckIns.CheckInsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Places.Item.GraphWorkspace.CheckIns.CheckInsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get checkIns from places + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CheckInsRequestBuilderGetQueryParameters + { + /// 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 CheckInsRequestBuilderGetRequestConfiguration : 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 CheckInsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Places/Item/GraphWorkspace/CheckIns/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Places/Item/GraphWorkspace/CheckIns/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..42f9b004a5b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Places/Item/GraphWorkspace/CheckIns/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Places.Item.GraphWorkspace.CheckIns.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}/places/{place%2Did}/graph.workspace/checkIns/$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}/places/{place%2Did}/graph.workspace/checkIns/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Places.Item.GraphWorkspace.CheckIns.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Places.Item.GraphWorkspace.CheckIns.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/Places/Item/GraphWorkspace/CheckIns/Item/CheckInClaimCalendarEventItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Places/Item/GraphWorkspace/CheckIns/Item/CheckInClaimCalendarEventItemRequestBuilder.cs new file mode 100644 index 00000000000..b6fdf47ccab --- /dev/null +++ b/src/Microsoft.Graph/Generated/Places/Item/GraphWorkspace/CheckIns/Item/CheckInClaimCalendarEventItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Places.Item.GraphWorkspace.CheckIns.Item +{ + /// + /// Provides operations to manage the checkIns property of the microsoft.graph.place entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CheckInClaimCalendarEventItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CheckInClaimCalendarEventItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.workspace/checkIns/{checkInClaim%2DcalendarEventId}{?%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 CheckInClaimCalendarEventItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.workspace/checkIns/{checkInClaim%2DcalendarEventId}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property checkIns for places + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get checkIns from places + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.CheckInClaim.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property checkIns in places + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.CheckInClaim body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.CheckInClaim body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.CheckInClaim.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property checkIns for places + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Get checkIns from places + /// + /// A + /// Configuration 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 checkIns in places + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.CheckInClaim body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.CheckInClaim 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.Places.Item.GraphWorkspace.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Places.Item.GraphWorkspace.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder(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 CheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get checkIns from places + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CheckInClaimCalendarEventItemRequestBuilderGetQueryParameters + { + /// 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 CheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration : 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 CheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Places/Item/GraphWorkspace/GraphWorkspaceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Places/Item/GraphWorkspace/GraphWorkspaceRequestBuilder.cs new file mode 100644 index 00000000000..090775d9469 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Places/Item/GraphWorkspace/GraphWorkspaceRequestBuilder.cs @@ -0,0 +1,131 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Places.Item.GraphWorkspace.CheckIns; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Places.Item.GraphWorkspace +{ + /// + /// Casts the previous resource to workspace. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GraphWorkspaceRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the checkIns property of the microsoft.graph.place entity. + public global::Microsoft.Graph.Places.Item.GraphWorkspace.CheckIns.CheckInsRequestBuilder CheckIns + { + get => new global::Microsoft.Graph.Places.Item.GraphWorkspace.CheckIns.CheckInsRequestBuilder(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 GraphWorkspaceRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.workspace{?%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 GraphWorkspaceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.workspace{?%24expand,%24select}", rawUrl) + { + } + /// + /// Get the item of type microsoft.graph.place as microsoft.graph.workspace + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Workspace.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the item of type microsoft.graph.place as microsoft.graph.workspace + /// + /// A + /// Configuration 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.Places.Item.GraphWorkspace.GraphWorkspaceRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Places.Item.GraphWorkspace.GraphWorkspaceRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the item of type microsoft.graph.place as microsoft.graph.workspace + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GraphWorkspaceRequestBuilderGetQueryParameters + { + /// 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 GraphWorkspaceRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Places/Item/PlaceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Places/Item/PlaceItemRequestBuilder.cs index c9b673f9abf..3ab6912750a 100644 --- a/src/Microsoft.Graph/Generated/Places/Item/PlaceItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Places/Item/PlaceItemRequestBuilder.cs @@ -3,8 +3,14 @@ using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; using Microsoft.Graph.Places.Item.CheckIns; +using Microsoft.Graph.Places.Item.Descendants; +using Microsoft.Graph.Places.Item.GraphBuilding; +using Microsoft.Graph.Places.Item.GraphDesk; +using Microsoft.Graph.Places.Item.GraphFloor; using Microsoft.Graph.Places.Item.GraphRoom; using Microsoft.Graph.Places.Item.GraphRoomList; +using Microsoft.Graph.Places.Item.GraphSection; +using Microsoft.Graph.Places.Item.GraphWorkspace; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -26,6 +32,26 @@ public partial class PlaceItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Places.Item.CheckIns.CheckInsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the descendants method. + public global::Microsoft.Graph.Places.Item.Descendants.DescendantsRequestBuilder Descendants + { + get => new global::Microsoft.Graph.Places.Item.Descendants.DescendantsRequestBuilder(PathParameters, RequestAdapter); + } + /// Casts the previous resource to building. + public global::Microsoft.Graph.Places.Item.GraphBuilding.GraphBuildingRequestBuilder GraphBuilding + { + get => new global::Microsoft.Graph.Places.Item.GraphBuilding.GraphBuildingRequestBuilder(PathParameters, RequestAdapter); + } + /// Casts the previous resource to desk. + public global::Microsoft.Graph.Places.Item.GraphDesk.GraphDeskRequestBuilder GraphDesk + { + get => new global::Microsoft.Graph.Places.Item.GraphDesk.GraphDeskRequestBuilder(PathParameters, RequestAdapter); + } + /// Casts the previous resource to floor. + public global::Microsoft.Graph.Places.Item.GraphFloor.GraphFloorRequestBuilder GraphFloor + { + get => new global::Microsoft.Graph.Places.Item.GraphFloor.GraphFloorRequestBuilder(PathParameters, RequestAdapter); + } /// Casts the previous resource to room. public global::Microsoft.Graph.Places.Item.GraphRoom.GraphRoomRequestBuilder GraphRoom { @@ -36,6 +62,16 @@ public partial class PlaceItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Places.Item.GraphRoomList.GraphRoomListRequestBuilder(PathParameters, RequestAdapter); } + /// Casts the previous resource to section. + public global::Microsoft.Graph.Places.Item.GraphSection.GraphSectionRequestBuilder GraphSection + { + get => new global::Microsoft.Graph.Places.Item.GraphSection.GraphSectionRequestBuilder(PathParameters, RequestAdapter); + } + /// Casts the previous resource to workspace. + public global::Microsoft.Graph.Places.Item.GraphWorkspace.GraphWorkspaceRequestBuilder GraphWorkspace + { + get => new global::Microsoft.Graph.Places.Item.GraphWorkspace.GraphWorkspaceRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/Places/PlacesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Places/PlacesRequestBuilder.cs index f3cf7c24f1e..f4d8d3274a0 100644 --- a/src/Microsoft.Graph/Generated/Places/PlacesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Places/PlacesRequestBuilder.cs @@ -3,8 +3,13 @@ using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; using Microsoft.Graph.Places.Count; +using Microsoft.Graph.Places.GraphBuilding; +using Microsoft.Graph.Places.GraphDesk; +using Microsoft.Graph.Places.GraphFloor; using Microsoft.Graph.Places.GraphRoom; using Microsoft.Graph.Places.GraphRoomList; +using Microsoft.Graph.Places.GraphSection; +using Microsoft.Graph.Places.GraphWorkspace; using Microsoft.Graph.Places.Item; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; @@ -27,6 +32,21 @@ public partial class PlacesRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Places.Count.CountRequestBuilder(PathParameters, RequestAdapter); } + /// Casts the previous resource to building. + public global::Microsoft.Graph.Places.GraphBuilding.GraphBuildingRequestBuilder GraphBuilding + { + get => new global::Microsoft.Graph.Places.GraphBuilding.GraphBuildingRequestBuilder(PathParameters, RequestAdapter); + } + /// Casts the previous resource to desk. + public global::Microsoft.Graph.Places.GraphDesk.GraphDeskRequestBuilder GraphDesk + { + get => new global::Microsoft.Graph.Places.GraphDesk.GraphDeskRequestBuilder(PathParameters, RequestAdapter); + } + /// Casts the previous resource to floor. + public global::Microsoft.Graph.Places.GraphFloor.GraphFloorRequestBuilder GraphFloor + { + get => new global::Microsoft.Graph.Places.GraphFloor.GraphFloorRequestBuilder(PathParameters, RequestAdapter); + } /// Casts the previous resource to room. public global::Microsoft.Graph.Places.GraphRoom.GraphRoomRequestBuilder GraphRoom { @@ -37,6 +57,16 @@ public partial class PlacesRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Places.GraphRoomList.GraphRoomListRequestBuilder(PathParameters, RequestAdapter); } + /// Casts the previous resource to section. + public global::Microsoft.Graph.Places.GraphSection.GraphSectionRequestBuilder GraphSection + { + get => new global::Microsoft.Graph.Places.GraphSection.GraphSectionRequestBuilder(PathParameters, RequestAdapter); + } + /// Casts the previous resource to workspace. + public global::Microsoft.Graph.Places.GraphWorkspace.GraphWorkspaceRequestBuilder GraphWorkspace + { + get => new global::Microsoft.Graph.Places.GraphWorkspace.GraphWorkspaceRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the collection of place entities. /// The unique identifier of place /// A diff --git a/src/Microsoft.Graph/Generated/Security/Identities/IdentitiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Identities/IdentitiesRequestBuilder.cs index 595252027c8..fbec137cc8d 100644 --- a/src/Microsoft.Graph/Generated/Security/Identities/IdentitiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Identities/IdentitiesRequestBuilder.cs @@ -3,6 +3,7 @@ using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models.Security; using Microsoft.Graph.Security.Identities.HealthIssues; +using Microsoft.Graph.Security.Identities.IdentityAccounts; using Microsoft.Graph.Security.Identities.SensorCandidateActivationConfiguration; using Microsoft.Graph.Security.Identities.SensorCandidates; using Microsoft.Graph.Security.Identities.Sensors; @@ -27,6 +28,11 @@ public partial class IdentitiesRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Security.Identities.HealthIssues.HealthIssuesRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the identityAccounts property of the microsoft.graph.security.identityContainer entity. + public global::Microsoft.Graph.Security.Identities.IdentityAccounts.IdentityAccountsRequestBuilder IdentityAccounts + { + get => new global::Microsoft.Graph.Security.Identities.IdentityAccounts.IdentityAccountsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the sensorCandidateActivationConfiguration property of the microsoft.graph.security.identityContainer entity. public global::Microsoft.Graph.Security.Identities.SensorCandidateActivationConfiguration.SensorCandidateActivationConfigurationRequestBuilder SensorCandidateActivationConfiguration { diff --git a/src/Microsoft.Graph/Generated/Security/Identities/IdentityAccounts/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Identities/IdentityAccounts/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..f16f77ca2f3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/Identities/IdentityAccounts/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Security.Identities.IdentityAccounts.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/identities/identityAccounts/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/identities/identityAccounts/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Security.Identities.IdentityAccounts.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Security.Identities.IdentityAccounts.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Security/Identities/IdentityAccounts/IdentityAccountsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Identities/IdentityAccounts/IdentityAccountsRequestBuilder.cs new file mode 100644 index 00000000000..a40dde751b3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/Identities/IdentityAccounts/IdentityAccountsRequestBuilder.cs @@ -0,0 +1,239 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models.Security; +using Microsoft.Graph.Security.Identities.IdentityAccounts.Count; +using Microsoft.Graph.Security.Identities.IdentityAccounts.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Security.Identities.IdentityAccounts +{ + /// + /// Provides operations to manage the identityAccounts property of the microsoft.graph.security.identityContainer entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class IdentityAccountsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Security.Identities.IdentityAccounts.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Security.Identities.IdentityAccounts.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the identityAccounts property of the microsoft.graph.security.identityContainer entity. + /// The unique identifier of identityAccounts + /// A + public global::Microsoft.Graph.Security.Identities.IdentityAccounts.Item.IdentityAccountsItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("identityAccounts%2Did", position); + return new global::Microsoft.Graph.Security.Identities.IdentityAccounts.Item.IdentityAccountsItemRequestBuilder(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 IdentityAccountsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/identities/identityAccounts{?%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 IdentityAccountsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/identities/identityAccounts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get a list of the identityAccounts objects and their properties. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Security.IdentityAccountsCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to identityAccounts for security + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Models.Security.IdentityAccounts body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.Security.IdentityAccounts body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Security.IdentityAccounts.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get a list of the identityAccounts objects and their properties. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to identityAccounts for security + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.Security.IdentityAccounts body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.Security.IdentityAccounts body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Security.Identities.IdentityAccounts.IdentityAccountsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Security.Identities.IdentityAccounts.IdentityAccountsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get a list of the identityAccounts objects and their properties. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class IdentityAccountsRequestBuilderGetQueryParameters + { + /// 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 IdentityAccountsRequestBuilderGetRequestConfiguration : 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 IdentityAccountsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Security/Identities/IdentityAccounts/Item/IdentityAccountsItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Identities/IdentityAccounts/Item/IdentityAccountsItemRequestBuilder.cs new file mode 100644 index 00000000000..994f4dbecd6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/Identities/IdentityAccounts/Item/IdentityAccountsItemRequestBuilder.cs @@ -0,0 +1,236 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models.Security; +using Microsoft.Graph.Security.Identities.IdentityAccounts.Item.MicrosoftGraphSecurityInvokeAction; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Security.Identities.IdentityAccounts.Item +{ + /// + /// Provides operations to manage the identityAccounts property of the microsoft.graph.security.identityContainer entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class IdentityAccountsItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the invokeAction method. + public global::Microsoft.Graph.Security.Identities.IdentityAccounts.Item.MicrosoftGraphSecurityInvokeAction.MicrosoftGraphSecurityInvokeActionRequestBuilder MicrosoftGraphSecurityInvokeAction + { + get => new global::Microsoft.Graph.Security.Identities.IdentityAccounts.Item.MicrosoftGraphSecurityInvokeAction.MicrosoftGraphSecurityInvokeActionRequestBuilder(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 IdentityAccountsItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/identities/identityAccounts/{identityAccounts%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 IdentityAccountsItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/identities/identityAccounts/{identityAccounts%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property identityAccounts for security + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read the properties and relationships of a single identity security account object. This allows retrieving information about available identity accounts. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Security.IdentityAccounts.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property identityAccounts in security + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.Security.IdentityAccounts body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.Security.IdentityAccounts body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Security.IdentityAccounts.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property identityAccounts for security + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Read the properties and relationships of a single identity security account object. This allows retrieving information about available identity accounts. + /// + /// A + /// Configuration 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 identityAccounts in security + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.Security.IdentityAccounts body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.Security.IdentityAccounts body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Security.Identities.IdentityAccounts.Item.IdentityAccountsItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Security.Identities.IdentityAccounts.Item.IdentityAccountsItemRequestBuilder(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 IdentityAccountsItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Read the properties and relationships of a single identity security account object. This allows retrieving information about available identity accounts. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class IdentityAccountsItemRequestBuilderGetQueryParameters + { + /// 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 IdentityAccountsItemRequestBuilderGetRequestConfiguration : 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 IdentityAccountsItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Security/Identities/IdentityAccounts/Item/MicrosoftGraphSecurityInvokeAction/InvokeActionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Security/Identities/IdentityAccounts/Item/MicrosoftGraphSecurityInvokeAction/InvokeActionPostRequestBody.cs new file mode 100644 index 00000000000..95825005fe5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/Identities/IdentityAccounts/Item/MicrosoftGraphSecurityInvokeAction/InvokeActionPostRequestBody.cs @@ -0,0 +1,98 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.Security; +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.Security.Identities.IdentityAccounts.Item.MicrosoftGraphSecurityInvokeAction +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class InvokeActionPostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// The accountId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? AccountId + { + get { return BackingStore?.Get("accountId"); } + set { BackingStore?.Set("accountId", value); } + } +#nullable restore +#else + public string AccountId + { + get { return BackingStore?.Get("accountId"); } + set { BackingStore?.Set("accountId", value); } + } +#endif + /// The action property + public global::Microsoft.Graph.Models.Security.ActionObject? Action + { + get { return BackingStore?.Get("action"); } + set { BackingStore?.Set("action", value); } + } + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The identityProvider property + public global::Microsoft.Graph.Models.Security.IdentityProvider? IdentityProvider + { + get { return BackingStore?.Get("identityProvider"); } + set { BackingStore?.Set("identityProvider", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public InvokeActionPostRequestBody() + { + 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.Security.Identities.IdentityAccounts.Item.MicrosoftGraphSecurityInvokeAction.InvokeActionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Security.Identities.IdentityAccounts.Item.MicrosoftGraphSecurityInvokeAction.InvokeActionPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "accountId", n => { AccountId = n.GetStringValue(); } }, + { "action", n => { Action = n.GetEnumValue(); } }, + { "identityProvider", n => { IdentityProvider = 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("accountId", AccountId); + writer.WriteEnumValue("action", Action); + writer.WriteEnumValue("identityProvider", IdentityProvider); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Security/Identities/IdentityAccounts/Item/MicrosoftGraphSecurityInvokeAction/MicrosoftGraphSecurityInvokeActionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Identities/IdentityAccounts/Item/MicrosoftGraphSecurityInvokeAction/MicrosoftGraphSecurityInvokeActionRequestBuilder.cs new file mode 100644 index 00000000000..70d0d37798b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/Identities/IdentityAccounts/Item/MicrosoftGraphSecurityInvokeAction/MicrosoftGraphSecurityInvokeActionRequestBuilder.cs @@ -0,0 +1,104 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models.Security; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Security.Identities.IdentityAccounts.Item.MicrosoftGraphSecurityInvokeAction +{ + /// + /// Provides operations to call the invokeAction method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphSecurityInvokeActionRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MicrosoftGraphSecurityInvokeActionRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/identities/identityAccounts/{identityAccounts%2Did}/microsoft.graph.security.invokeAction", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public MicrosoftGraphSecurityInvokeActionRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/identities/identityAccounts/{identityAccounts%2Did}/microsoft.graph.security.invokeAction", rawUrl) + { + } + /// + /// Perform actions such as revoking accounts and forcing password reset for identity accounts that are observed in Microsoft Defender for Identity. This action allows reading and performing identity security actions on behalf of the signed-in identity. + /// 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.Security.Identities.IdentityAccounts.Item.MicrosoftGraphSecurityInvokeAction.InvokeActionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Security.Identities.IdentityAccounts.Item.MicrosoftGraphSecurityInvokeAction.InvokeActionPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Security.InvokeActionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Perform actions such as revoking accounts and forcing password reset for identity accounts that are observed in Microsoft Defender for Identity. This action allows reading and performing identity security actions on behalf of the signed-in identity. + /// + /// 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.Security.Identities.IdentityAccounts.Item.MicrosoftGraphSecurityInvokeAction.InvokeActionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Security.Identities.IdentityAccounts.Item.MicrosoftGraphSecurityInvokeAction.InvokeActionPostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Security.Identities.IdentityAccounts.Item.MicrosoftGraphSecurityInvokeAction.MicrosoftGraphSecurityInvokeActionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Security.Identities.IdentityAccounts.Item.MicrosoftGraphSecurityInvokeAction.MicrosoftGraphSecurityInvokeActionRequestBuilder(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 MicrosoftGraphSecurityInvokeActionRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Solutions/VirtualEvents/Webinars/Item/Registrations/Item/Sessions/SessionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/VirtualEvents/Webinars/Item/Registrations/Item/Sessions/SessionsRequestBuilder.cs index ea1830ac94a..abe4c63b90d 100644 --- a/src/Microsoft.Graph/Generated/Solutions/VirtualEvents/Webinars/Item/Registrations/Item/Sessions/SessionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/VirtualEvents/Webinars/Item/Registrations/Item/Sessions/SessionsRequestBuilder.cs @@ -54,7 +54,7 @@ public SessionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b { } /// - /// Get a list of sessions summaries that a registrant registered for in a webinar. A session summary contains only the endDateTime, id, joinWebUrl, startDateTime, and subject of a virtual event session. The rest of session properties will be null. To get all the properties of a virtualEventSession, use the Get virtualEventSession method. + /// Get a list of sessions summaries that a registrant registered for in a webinar. A session summary contains only the endDateTime, id, joinWebUrl, startDateTime, and subject of a virtual event session. The remaining session properties are null. To get all the properties of a virtualEventSession, use the Get virtualEventSession method. /// Find more info here /// /// A @@ -78,7 +78,7 @@ public SessionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.VirtualEventSessionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get a list of sessions summaries that a registrant registered for in a webinar. A session summary contains only the endDateTime, id, joinWebUrl, startDateTime, and subject of a virtual event session. The rest of session properties will be null. To get all the properties of a virtualEventSession, use the Get virtualEventSession method. + /// Get a list of sessions summaries that a registrant registered for in a webinar. A session summary contains only the endDateTime, id, joinWebUrl, startDateTime, and subject of a virtual event session. The remaining session properties are null. To get all the properties of a virtualEventSession, use the Get virtualEventSession method. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -106,7 +106,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get a list of sessions summaries that a registrant registered for in a webinar. A session summary contains only the endDateTime, id, joinWebUrl, startDateTime, and subject of a virtual event session. The rest of session properties will be null. To get all the properties of a virtualEventSession, use the Get virtualEventSession method. + /// Get a list of sessions summaries that a registrant registered for in a webinar. A session summary contains only the endDateTime, id, joinWebUrl, startDateTime, and subject of a virtual event session. The remaining session properties are null. To get all the properties of a virtualEventSession, use the Get virtualEventSession method. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SessionsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/FileStorageContainerItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/FileStorageContainerItemRequestBuilder.cs index 589ec982a9b..b04522d8f79 100644 --- a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/FileStorageContainerItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/FileStorageContainerItemRequestBuilder.cs @@ -6,8 +6,10 @@ using Microsoft.Graph.Storage.FileStorage.Containers.Item.Columns; using Microsoft.Graph.Storage.FileStorage.Containers.Item.Drive; using Microsoft.Graph.Storage.FileStorage.Containers.Item.Lock; +using Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs; using Microsoft.Graph.Storage.FileStorage.Containers.Item.PermanentDelete; using Microsoft.Graph.Storage.FileStorage.Containers.Item.Permissions; +using Microsoft.Graph.Storage.FileStorage.Containers.Item.ProvisionMigrationContainers; using Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin; using Microsoft.Graph.Storage.FileStorage.Containers.Item.Restore; using Microsoft.Graph.Storage.FileStorage.Containers.Item.Unlock; @@ -47,6 +49,11 @@ public partial class FileStorageContainerItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.Lock.LockRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the migrationJobs property of the microsoft.graph.fileStorageContainer entity. + public global::Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.MigrationJobsRequestBuilder MigrationJobs + { + get => new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.MigrationJobsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the permanentDelete method. public global::Microsoft.Graph.Storage.FileStorage.Containers.Item.PermanentDelete.PermanentDeleteRequestBuilder PermanentDelete { @@ -57,6 +64,11 @@ public partial class FileStorageContainerItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.Permissions.PermissionsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the provisionMigrationContainers method. + public global::Microsoft.Graph.Storage.FileStorage.Containers.Item.ProvisionMigrationContainers.ProvisionMigrationContainersRequestBuilder ProvisionMigrationContainers + { + get => new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.ProvisionMigrationContainers.ProvisionMigrationContainersRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the recycleBin property of the microsoft.graph.fileStorageContainer entity. public global::Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.RecycleBinRequestBuilder RecycleBin { diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/MigrationJobs/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/MigrationJobs/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..b3f6478d8b6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/MigrationJobs/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/migrationJobs/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/migrationJobs/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/MigrationJobs/Item/ProgressEvents/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/MigrationJobs/Item/ProgressEvents/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..fc403e158c3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/MigrationJobs/Item/ProgressEvents/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.ProgressEvents.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/migrationJobs/{sharePointMigrationJob%2Did}/progressEvents/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/migrationJobs/{sharePointMigrationJob%2Did}/progressEvents/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.ProgressEvents.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.ProgressEvents.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/MigrationJobs/Item/ProgressEvents/Item/SharePointMigrationEventItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/MigrationJobs/Item/ProgressEvents/Item/SharePointMigrationEventItemRequestBuilder.cs new file mode 100644 index 00000000000..8110c4a3fb3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/MigrationJobs/Item/ProgressEvents/Item/SharePointMigrationEventItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.ProgressEvents.Item +{ + /// + /// Provides operations to manage the progressEvents property of the microsoft.graph.sharePointMigrationJob entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SharePointMigrationEventItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public SharePointMigrationEventItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/migrationJobs/{sharePointMigrationJob%2Did}/progressEvents/{sharePointMigrationEvent%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 SharePointMigrationEventItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/migrationJobs/{sharePointMigrationJob%2Did}/progressEvents/{sharePointMigrationEvent%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property progressEvents for storage + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// A collection of migration events that reflects the job status changes. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SharePointMigrationEvent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property progressEvents in storage + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.SharePointMigrationEvent body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.SharePointMigrationEvent body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SharePointMigrationEvent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property progressEvents for storage + /// + /// A + /// Configuration 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; + } + /// + /// A collection of migration events that reflects the job status changes. + /// + /// A + /// Configuration 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 progressEvents in storage + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.SharePointMigrationEvent body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.SharePointMigrationEvent body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.ProgressEvents.Item.SharePointMigrationEventItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.ProgressEvents.Item.SharePointMigrationEventItemRequestBuilder(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 SharePointMigrationEventItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// A collection of migration events that reflects the job status changes. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SharePointMigrationEventItemRequestBuilderGetQueryParameters + { + /// 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 SharePointMigrationEventItemRequestBuilderGetRequestConfiguration : 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 SharePointMigrationEventItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/MigrationJobs/Item/ProgressEvents/ProgressEventsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/MigrationJobs/Item/ProgressEvents/ProgressEventsRequestBuilder.cs new file mode 100644 index 00000000000..cac75777989 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/MigrationJobs/Item/ProgressEvents/ProgressEventsRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.ProgressEvents.Count; +using Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.ProgressEvents.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.ProgressEvents +{ + /// + /// Provides operations to manage the progressEvents property of the microsoft.graph.sharePointMigrationJob entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ProgressEventsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.ProgressEvents.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.ProgressEvents.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the progressEvents property of the microsoft.graph.sharePointMigrationJob entity. + /// The unique identifier of sharePointMigrationEvent + /// A + public global::Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.ProgressEvents.Item.SharePointMigrationEventItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("sharePointMigrationEvent%2Did", position); + return new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.ProgressEvents.Item.SharePointMigrationEventItemRequestBuilder(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 ProgressEventsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/migrationJobs/{sharePointMigrationJob%2Did}/progressEvents{?%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 ProgressEventsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/migrationJobs/{sharePointMigrationJob%2Did}/progressEvents{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// A collection of migration events that reflects the job status changes. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SharePointMigrationEventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to progressEvents for storage + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Models.SharePointMigrationEvent body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.SharePointMigrationEvent body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SharePointMigrationEvent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// A collection of migration events that reflects the job status changes. + /// + /// A + /// Configuration 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 progressEvents for storage + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.SharePointMigrationEvent body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.SharePointMigrationEvent body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.ProgressEvents.ProgressEventsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.ProgressEvents.ProgressEventsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// A collection of migration events that reflects the job status changes. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ProgressEventsRequestBuilderGetQueryParameters + { + /// 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 ProgressEventsRequestBuilderGetRequestConfiguration : 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 ProgressEventsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/MigrationJobs/Item/SharePointMigrationJobItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/MigrationJobs/Item/SharePointMigrationJobItemRequestBuilder.cs new file mode 100644 index 00000000000..78e4d26ad13 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/MigrationJobs/Item/SharePointMigrationJobItemRequestBuilder.cs @@ -0,0 +1,235 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.ProgressEvents; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item +{ + /// + /// Provides operations to manage the migrationJobs property of the microsoft.graph.fileStorageContainer entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SharePointMigrationJobItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the progressEvents property of the microsoft.graph.sharePointMigrationJob entity. + public global::Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.ProgressEvents.ProgressEventsRequestBuilder ProgressEvents + { + get => new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.ProgressEvents.ProgressEventsRequestBuilder(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 SharePointMigrationJobItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/migrationJobs/{sharePointMigrationJob%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 SharePointMigrationJobItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/migrationJobs/{sharePointMigrationJob%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property migrationJobs for storage + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The collection of sharePointMigrationJob objects local to the container. Read-write. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SharePointMigrationJob.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property migrationJobs in storage + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.SharePointMigrationJob body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.SharePointMigrationJob body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SharePointMigrationJob.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property migrationJobs for storage + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The collection of sharePointMigrationJob objects local to the container. Read-write. + /// + /// A + /// Configuration 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 migrationJobs in storage + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.SharePointMigrationJob body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.SharePointMigrationJob body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.SharePointMigrationJobItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.SharePointMigrationJobItemRequestBuilder(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 SharePointMigrationJobItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// The collection of sharePointMigrationJob objects local to the container. Read-write. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SharePointMigrationJobItemRequestBuilderGetQueryParameters + { + /// 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 SharePointMigrationJobItemRequestBuilderGetRequestConfiguration : 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 SharePointMigrationJobItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/MigrationJobs/MigrationJobsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/MigrationJobs/MigrationJobsRequestBuilder.cs new file mode 100644 index 00000000000..367d75303a6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/MigrationJobs/MigrationJobsRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Count; +using Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs +{ + /// + /// Provides operations to manage the migrationJobs property of the microsoft.graph.fileStorageContainer entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MigrationJobsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the migrationJobs property of the microsoft.graph.fileStorageContainer entity. + /// The unique identifier of sharePointMigrationJob + /// A + public global::Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.SharePointMigrationJobItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("sharePointMigrationJob%2Did", position); + return new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.SharePointMigrationJobItemRequestBuilder(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 MigrationJobsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/migrationJobs{?%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 MigrationJobsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/migrationJobs{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The collection of sharePointMigrationJob objects local to the container. Read-write. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SharePointMigrationJobCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to migrationJobs for storage + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Models.SharePointMigrationJob body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.SharePointMigrationJob body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SharePointMigrationJob.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The collection of sharePointMigrationJob objects local to the container. Read-write. + /// + /// A + /// Configuration 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 migrationJobs for storage + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.SharePointMigrationJob body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.SharePointMigrationJob body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.MigrationJobsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.MigrationJobsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The collection of sharePointMigrationJob objects local to the container. Read-write. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MigrationJobsRequestBuilderGetQueryParameters + { + /// 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 MigrationJobsRequestBuilderGetRequestConfiguration : 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 MigrationJobsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/ProvisionMigrationContainers/ProvisionMigrationContainersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/ProvisionMigrationContainers/ProvisionMigrationContainersRequestBuilder.cs new file mode 100644 index 00000000000..14f40350c10 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/ProvisionMigrationContainers/ProvisionMigrationContainersRequestBuilder.cs @@ -0,0 +1,98 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Storage.FileStorage.Containers.Item.ProvisionMigrationContainers +{ + /// + /// Provides operations to call the provisionMigrationContainers method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ProvisionMigrationContainersRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ProvisionMigrationContainersRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/provisionMigrationContainers", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ProvisionMigrationContainersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/provisionMigrationContainers", rawUrl) + { + } + /// + /// Invoke action provisionMigrationContainers + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SharePointMigrationContainerInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action provisionMigrationContainers + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.Containers.Item.ProvisionMigrationContainers.ProvisionMigrationContainersRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.ProvisionMigrationContainers.ProvisionMigrationContainersRequestBuilder(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 ProvisionMigrationContainersRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/FileStorageContainerItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/FileStorageContainerItemRequestBuilder.cs index 874b4b9ae24..74d2250e92f 100644 --- a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/FileStorageContainerItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/FileStorageContainerItemRequestBuilder.cs @@ -6,8 +6,10 @@ using Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Columns; using Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Drive; using Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Lock; +using Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs; using Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.PermanentDelete; using Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions; +using Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.ProvisionMigrationContainers; using Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin; using Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Restore; using Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Unlock; @@ -47,6 +49,11 @@ public partial class FileStorageContainerItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Lock.LockRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the migrationJobs property of the microsoft.graph.fileStorageContainer entity. + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.MigrationJobsRequestBuilder MigrationJobs + { + get => new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.MigrationJobsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the permanentDelete method. public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.PermanentDelete.PermanentDeleteRequestBuilder PermanentDelete { @@ -57,6 +64,11 @@ public partial class FileStorageContainerItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.PermissionsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the provisionMigrationContainers method. + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.ProvisionMigrationContainers.ProvisionMigrationContainersRequestBuilder ProvisionMigrationContainers + { + get => new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.ProvisionMigrationContainers.ProvisionMigrationContainersRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the recycleBin property of the microsoft.graph.fileStorageContainer entity. public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.RecycleBinRequestBuilder RecycleBin { diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/MigrationJobs/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/MigrationJobs/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..b43bcf87d83 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/MigrationJobs/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/migrationJobs/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/migrationJobs/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/MigrationJobs/Item/ProgressEvents/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/MigrationJobs/Item/ProgressEvents/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..60455a46d70 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/MigrationJobs/Item/ProgressEvents/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.ProgressEvents.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/migrationJobs/{sharePointMigrationJob%2Did}/progressEvents/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/migrationJobs/{sharePointMigrationJob%2Did}/progressEvents/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.ProgressEvents.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.ProgressEvents.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/MigrationJobs/Item/ProgressEvents/Item/SharePointMigrationEventItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/MigrationJobs/Item/ProgressEvents/Item/SharePointMigrationEventItemRequestBuilder.cs new file mode 100644 index 00000000000..8b94cf9ad0d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/MigrationJobs/Item/ProgressEvents/Item/SharePointMigrationEventItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.ProgressEvents.Item +{ + /// + /// Provides operations to manage the progressEvents property of the microsoft.graph.sharePointMigrationJob entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SharePointMigrationEventItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public SharePointMigrationEventItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/migrationJobs/{sharePointMigrationJob%2Did}/progressEvents/{sharePointMigrationEvent%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 SharePointMigrationEventItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/migrationJobs/{sharePointMigrationJob%2Did}/progressEvents/{sharePointMigrationEvent%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property progressEvents for storage + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// A collection of migration events that reflects the job status changes. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SharePointMigrationEvent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property progressEvents in storage + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.SharePointMigrationEvent body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.SharePointMigrationEvent body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SharePointMigrationEvent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property progressEvents for storage + /// + /// A + /// Configuration 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; + } + /// + /// A collection of migration events that reflects the job status changes. + /// + /// A + /// Configuration 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 progressEvents in storage + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.SharePointMigrationEvent body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.SharePointMigrationEvent body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.ProgressEvents.Item.SharePointMigrationEventItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.ProgressEvents.Item.SharePointMigrationEventItemRequestBuilder(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 SharePointMigrationEventItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// A collection of migration events that reflects the job status changes. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SharePointMigrationEventItemRequestBuilderGetQueryParameters + { + /// 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 SharePointMigrationEventItemRequestBuilderGetRequestConfiguration : 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 SharePointMigrationEventItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/MigrationJobs/Item/ProgressEvents/ProgressEventsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/MigrationJobs/Item/ProgressEvents/ProgressEventsRequestBuilder.cs new file mode 100644 index 00000000000..b1bdf410fc4 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/MigrationJobs/Item/ProgressEvents/ProgressEventsRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.ProgressEvents.Count; +using Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.ProgressEvents.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.ProgressEvents +{ + /// + /// Provides operations to manage the progressEvents property of the microsoft.graph.sharePointMigrationJob entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ProgressEventsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.ProgressEvents.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.ProgressEvents.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the progressEvents property of the microsoft.graph.sharePointMigrationJob entity. + /// The unique identifier of sharePointMigrationEvent + /// A + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.ProgressEvents.Item.SharePointMigrationEventItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("sharePointMigrationEvent%2Did", position); + return new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.ProgressEvents.Item.SharePointMigrationEventItemRequestBuilder(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 ProgressEventsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/migrationJobs/{sharePointMigrationJob%2Did}/progressEvents{?%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 ProgressEventsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/migrationJobs/{sharePointMigrationJob%2Did}/progressEvents{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// A collection of migration events that reflects the job status changes. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SharePointMigrationEventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to progressEvents for storage + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Models.SharePointMigrationEvent body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.SharePointMigrationEvent body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SharePointMigrationEvent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// A collection of migration events that reflects the job status changes. + /// + /// A + /// Configuration 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 progressEvents for storage + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.SharePointMigrationEvent body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.SharePointMigrationEvent body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.ProgressEvents.ProgressEventsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.ProgressEvents.ProgressEventsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// A collection of migration events that reflects the job status changes. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ProgressEventsRequestBuilderGetQueryParameters + { + /// 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 ProgressEventsRequestBuilderGetRequestConfiguration : 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 ProgressEventsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/MigrationJobs/Item/SharePointMigrationJobItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/MigrationJobs/Item/SharePointMigrationJobItemRequestBuilder.cs new file mode 100644 index 00000000000..f2f36de8f6c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/MigrationJobs/Item/SharePointMigrationJobItemRequestBuilder.cs @@ -0,0 +1,235 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.ProgressEvents; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item +{ + /// + /// Provides operations to manage the migrationJobs property of the microsoft.graph.fileStorageContainer entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SharePointMigrationJobItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the progressEvents property of the microsoft.graph.sharePointMigrationJob entity. + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.ProgressEvents.ProgressEventsRequestBuilder ProgressEvents + { + get => new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.ProgressEvents.ProgressEventsRequestBuilder(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 SharePointMigrationJobItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/migrationJobs/{sharePointMigrationJob%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 SharePointMigrationJobItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/migrationJobs/{sharePointMigrationJob%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property migrationJobs for storage + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The collection of sharePointMigrationJob objects local to the container. Read-write. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SharePointMigrationJob.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property migrationJobs in storage + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.SharePointMigrationJob body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.SharePointMigrationJob body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SharePointMigrationJob.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property migrationJobs for storage + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The collection of sharePointMigrationJob objects local to the container. Read-write. + /// + /// A + /// Configuration 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 migrationJobs in storage + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.SharePointMigrationJob body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.SharePointMigrationJob body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.SharePointMigrationJobItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.SharePointMigrationJobItemRequestBuilder(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 SharePointMigrationJobItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// The collection of sharePointMigrationJob objects local to the container. Read-write. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SharePointMigrationJobItemRequestBuilderGetQueryParameters + { + /// 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 SharePointMigrationJobItemRequestBuilderGetRequestConfiguration : 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 SharePointMigrationJobItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/MigrationJobs/MigrationJobsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/MigrationJobs/MigrationJobsRequestBuilder.cs new file mode 100644 index 00000000000..5d79874d69b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/MigrationJobs/MigrationJobsRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Count; +using Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs +{ + /// + /// Provides operations to manage the migrationJobs property of the microsoft.graph.fileStorageContainer entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MigrationJobsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the migrationJobs property of the microsoft.graph.fileStorageContainer entity. + /// The unique identifier of sharePointMigrationJob + /// A + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.SharePointMigrationJobItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("sharePointMigrationJob%2Did", position); + return new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.SharePointMigrationJobItemRequestBuilder(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 MigrationJobsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/migrationJobs{?%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 MigrationJobsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/migrationJobs{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The collection of sharePointMigrationJob objects local to the container. Read-write. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SharePointMigrationJobCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to migrationJobs for storage + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Models.SharePointMigrationJob body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.SharePointMigrationJob body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SharePointMigrationJob.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The collection of sharePointMigrationJob objects local to the container. Read-write. + /// + /// A + /// Configuration 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 migrationJobs for storage + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.SharePointMigrationJob body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.SharePointMigrationJob body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.MigrationJobsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.MigrationJobsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The collection of sharePointMigrationJob objects local to the container. Read-write. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MigrationJobsRequestBuilderGetQueryParameters + { + /// 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 MigrationJobsRequestBuilderGetRequestConfiguration : 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 MigrationJobsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/ProvisionMigrationContainers/ProvisionMigrationContainersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/ProvisionMigrationContainers/ProvisionMigrationContainersRequestBuilder.cs new file mode 100644 index 00000000000..d3082e7fbd3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/ProvisionMigrationContainers/ProvisionMigrationContainersRequestBuilder.cs @@ -0,0 +1,98 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.ProvisionMigrationContainers +{ + /// + /// Provides operations to call the provisionMigrationContainers method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ProvisionMigrationContainersRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ProvisionMigrationContainersRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/provisionMigrationContainers", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ProvisionMigrationContainersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/provisionMigrationContainers", rawUrl) + { + } + /// + /// Invoke action provisionMigrationContainers + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SharePointMigrationContainerInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action provisionMigrationContainers + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.ProvisionMigrationContainers.ProvisionMigrationContainersRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.ProvisionMigrationContainers.ProvisionMigrationContainersRequestBuilder(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 ProvisionMigrationContainersRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#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 a958f272319..07acf26057c 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/ChatItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/ChatItemRequestBuilder.cs @@ -11,6 +11,7 @@ using Microsoft.Graph.Users.Item.Chats.Item.Messages; using Microsoft.Graph.Users.Item.Chats.Item.PermissionGrants; using Microsoft.Graph.Users.Item.Chats.Item.PinnedMessages; +using Microsoft.Graph.Users.Item.Chats.Item.RemoveAllAccessForUser; using Microsoft.Graph.Users.Item.Chats.Item.SendActivityNotification; using Microsoft.Graph.Users.Item.Chats.Item.Tabs; using Microsoft.Graph.Users.Item.Chats.Item.UnhideForUser; @@ -75,6 +76,11 @@ public partial class ChatItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Users.Item.Chats.Item.PinnedMessages.PinnedMessagesRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the removeAllAccessForUser method. + public global::Microsoft.Graph.Users.Item.Chats.Item.RemoveAllAccessForUser.RemoveAllAccessForUserRequestBuilder RemoveAllAccessForUser + { + get => new global::Microsoft.Graph.Users.Item.Chats.Item.RemoveAllAccessForUser.RemoveAllAccessForUserRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the sendActivityNotification method. public global::Microsoft.Graph.Users.Item.Chats.Item.SendActivityNotification.SendActivityNotificationRequestBuilder SendActivityNotification { diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/RemoveAllAccessForUser/RemoveAllAccessForUserPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/RemoveAllAccessForUser/RemoveAllAccessForUserPostRequestBody.cs new file mode 100644 index 00000000000..204d8739a5e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/RemoveAllAccessForUser/RemoveAllAccessForUserPostRequestBody.cs @@ -0,0 +1,82 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Users.Item.Chats.Item.RemoveAllAccessForUser +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemoveAllAccessForUserPostRequestBody : 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 user property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.TeamworkUserIdentity? User + { + get { return BackingStore?.Get("user"); } + set { BackingStore?.Set("user", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.TeamworkUserIdentity User + { + get { return BackingStore?.Get("user"); } + set { BackingStore?.Set("user", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RemoveAllAccessForUserPostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Users.Item.Chats.Item.RemoveAllAccessForUser.RemoveAllAccessForUserPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Users.Item.Chats.Item.RemoveAllAccessForUser.RemoveAllAccessForUserPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "user", n => { User = n.GetObjectValue(global::Microsoft.Graph.Models.TeamworkUserIdentity.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("user", User); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/RemoveAllAccessForUser/RemoveAllAccessForUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/RemoveAllAccessForUser/RemoveAllAccessForUserRequestBuilder.cs new file mode 100644 index 00000000000..2c25a200815 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/RemoveAllAccessForUser/RemoveAllAccessForUserRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Users.Item.Chats.Item.RemoveAllAccessForUser +{ + /// + /// Provides operations to call the removeAllAccessForUser method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RemoveAllAccessForUserRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RemoveAllAccessForUserRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/removeAllAccessForUser", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RemoveAllAccessForUserRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/removeAllAccessForUser", rawUrl) + { + } + /// + /// Remove access to a chat for a user. + /// Find more info here + /// + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Users.Item.Chats.Item.RemoveAllAccessForUser.RemoveAllAccessForUserPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Users.Item.Chats.Item.RemoveAllAccessForUser.RemoveAllAccessForUserPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove access to a chat for a user. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Users.Item.Chats.Item.RemoveAllAccessForUser.RemoveAllAccessForUserPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Users.Item.Chats.Item.RemoveAllAccessForUser.RemoveAllAccessForUserPostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.Chats.Item.RemoveAllAccessForUser.RemoveAllAccessForUserRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.Chats.Item.RemoveAllAccessForUser.RemoveAllAccessForUserRequestBuilder(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 RemoveAllAccessForUserRequestBuilderPostRequestConfiguration : 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 7fb41cb3839..c074a117d87 100644 --- a/src/Microsoft.Graph/Generated/kiota-dom-export.txt +++ b/src/Microsoft.Graph/Generated/kiota-dom-export.txt @@ -3251,6 +3251,7 @@ Microsoft.Graph.Chats.Item.ChatItemRequestBuilder::|public|messages:global.Micro Microsoft.Graph.Chats.Item.ChatItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.Chat; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Chat Microsoft.Graph.Chats.Item.ChatItemRequestBuilder::|public|permissionGrants:global.Microsoft.Graph.Chats.Item.PermissionGrants.PermissionGrantsRequestBuilder Microsoft.Graph.Chats.Item.ChatItemRequestBuilder::|public|pinnedMessages:global.Microsoft.Graph.Chats.Item.PinnedMessages.PinnedMessagesRequestBuilder +Microsoft.Graph.Chats.Item.ChatItemRequestBuilder::|public|removeAllAccessForUser:global.Microsoft.Graph.Chats.Item.RemoveAllAccessForUser.RemoveAllAccessForUserRequestBuilder Microsoft.Graph.Chats.Item.ChatItemRequestBuilder::|public|sendActivityNotification:global.Microsoft.Graph.Chats.Item.SendActivityNotification.SendActivityNotificationRequestBuilder Microsoft.Graph.Chats.Item.ChatItemRequestBuilder::|public|tabs:global.Microsoft.Graph.Chats.Item.Tabs.TabsRequestBuilder Microsoft.Graph.Chats.Item.ChatItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation @@ -3940,6 +3941,21 @@ Microsoft.Graph.Chats.Item.PinnedMessages.pinnedMessagesRequestBuilder::|public| Microsoft.Graph.Chats.Item.PinnedMessages.pinnedMessagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Chats.Item.PinnedMessages.pinnedMessagesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.PinnedChatMessageInfo; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Chats.Item.PinnedMessages.pinnedMessagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Chats.Item.PinnedMessages.PinnedMessagesRequestBuilder +Microsoft.Graph.Chats.Item.RemoveAllAccessForUser.removeAllAccessForUserPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Chats.Item.RemoveAllAccessForUser.removeAllAccessForUserPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Chats.Item.RemoveAllAccessForUser.removeAllAccessForUserPostRequestBody::|public|constructor():void +Microsoft.Graph.Chats.Item.RemoveAllAccessForUser.removeAllAccessForUserPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Chats.Item.RemoveAllAccessForUser.removeAllAccessForUserPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Chats.Item.RemoveAllAccessForUser.removeAllAccessForUserPostRequestBody::|public|User:global.Microsoft.Graph.Models.TeamworkUserIdentity +Microsoft.Graph.Chats.Item.RemoveAllAccessForUser.removeAllAccessForUserPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Chats.Item.RemoveAllAccessForUser.RemoveAllAccessForUserPostRequestBody +Microsoft.Graph.Chats.Item.RemoveAllAccessForUser.removeAllAccessForUserPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Chats.Item.RemoveAllAccessForUser.removeAllAccessForUserRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Chats.Item.RemoveAllAccessForUser.removeAllAccessForUserRequestBuilder.removeAllAccessForUserRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Chats.Item.RemoveAllAccessForUser.removeAllAccessForUserRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.RemoveAllAccessForUser.removeAllAccessForUserRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.RemoveAllAccessForUser.removeAllAccessForUserRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Chats.Item.RemoveAllAccessForUser.RemoveAllAccessForUserPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Chats.Item.RemoveAllAccessForUser.removeAllAccessForUserRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Chats.Item.RemoveAllAccessForUser.RemoveAllAccessForUserPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Chats.Item.RemoveAllAccessForUser.removeAllAccessForUserRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Chats.Item.RemoveAllAccessForUser.RemoveAllAccessForUserRequestBuilder Microsoft.Graph.Chats.Item.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|ActivityType:string Microsoft.Graph.Chats.Item.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Chats.Item.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|BackingStore:IBackingStore @@ -80214,6 +80230,7 @@ Microsoft.Graph.Me.Chats.Item.ChatItemRequestBuilder::|public|messages:global.Mi Microsoft.Graph.Me.Chats.Item.ChatItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.Chat; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Chat Microsoft.Graph.Me.Chats.Item.ChatItemRequestBuilder::|public|permissionGrants:global.Microsoft.Graph.Me.Chats.Item.PermissionGrants.PermissionGrantsRequestBuilder Microsoft.Graph.Me.Chats.Item.ChatItemRequestBuilder::|public|pinnedMessages:global.Microsoft.Graph.Me.Chats.Item.PinnedMessages.PinnedMessagesRequestBuilder +Microsoft.Graph.Me.Chats.Item.ChatItemRequestBuilder::|public|removeAllAccessForUser:global.Microsoft.Graph.Me.Chats.Item.RemoveAllAccessForUser.RemoveAllAccessForUserRequestBuilder Microsoft.Graph.Me.Chats.Item.ChatItemRequestBuilder::|public|sendActivityNotification:global.Microsoft.Graph.Me.Chats.Item.SendActivityNotification.SendActivityNotificationRequestBuilder Microsoft.Graph.Me.Chats.Item.ChatItemRequestBuilder::|public|tabs:global.Microsoft.Graph.Me.Chats.Item.Tabs.TabsRequestBuilder Microsoft.Graph.Me.Chats.Item.ChatItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation @@ -80903,6 +80920,21 @@ Microsoft.Graph.Me.Chats.Item.PinnedMessages.pinnedMessagesRequestBuilder::|publ Microsoft.Graph.Me.Chats.Item.PinnedMessages.pinnedMessagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Me.Chats.Item.PinnedMessages.pinnedMessagesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.PinnedChatMessageInfo; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Me.Chats.Item.PinnedMessages.pinnedMessagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.PinnedMessages.PinnedMessagesRequestBuilder +Microsoft.Graph.Me.Chats.Item.RemoveAllAccessForUser.removeAllAccessForUserPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Me.Chats.Item.RemoveAllAccessForUser.removeAllAccessForUserPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Me.Chats.Item.RemoveAllAccessForUser.removeAllAccessForUserPostRequestBody::|public|constructor():void +Microsoft.Graph.Me.Chats.Item.RemoveAllAccessForUser.removeAllAccessForUserPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Me.Chats.Item.RemoveAllAccessForUser.removeAllAccessForUserPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Me.Chats.Item.RemoveAllAccessForUser.removeAllAccessForUserPostRequestBody::|public|User:global.Microsoft.Graph.Models.TeamworkUserIdentity +Microsoft.Graph.Me.Chats.Item.RemoveAllAccessForUser.removeAllAccessForUserPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Chats.Item.RemoveAllAccessForUser.RemoveAllAccessForUserPostRequestBody +Microsoft.Graph.Me.Chats.Item.RemoveAllAccessForUser.removeAllAccessForUserPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Me.Chats.Item.RemoveAllAccessForUser.removeAllAccessForUserRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.Chats.Item.RemoveAllAccessForUser.removeAllAccessForUserRequestBuilder.removeAllAccessForUserRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Chats.Item.RemoveAllAccessForUser.removeAllAccessForUserRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.RemoveAllAccessForUser.removeAllAccessForUserRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.RemoveAllAccessForUser.removeAllAccessForUserRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Chats.Item.RemoveAllAccessForUser.RemoveAllAccessForUserPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Me.Chats.Item.RemoveAllAccessForUser.removeAllAccessForUserRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Chats.Item.RemoveAllAccessForUser.RemoveAllAccessForUserPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Chats.Item.RemoveAllAccessForUser.removeAllAccessForUserRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.RemoveAllAccessForUser.RemoveAllAccessForUserRequestBuilder Microsoft.Graph.Me.Chats.Item.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|ActivityType:string Microsoft.Graph.Me.Chats.Item.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Me.Chats.Item.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|BackingStore:IBackingStore @@ -95304,6 +95336,14 @@ Microsoft.Graph.Models.assignedLicense::|public|Serialize(writer:ISerializationW Microsoft.Graph.Models.assignedLicense::|public|SkuId:Guid? Microsoft.Graph.Models.assignedLicense::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.AssignedLicense Microsoft.Graph.Models.assignedLicense~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.assignedPlaceMode-->global.Microsoft.Graph.Models.PlaceMode +Microsoft.Graph.Models.assignedPlaceMode::|public|AssignedUserEmailAddress:string +Microsoft.Graph.Models.assignedPlaceMode::|public|AssignedUserId:string +Microsoft.Graph.Models.assignedPlaceMode::|public|constructor():void +Microsoft.Graph.Models.assignedPlaceMode::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.assignedPlaceMode::|public|OdataType:string +Microsoft.Graph.Models.assignedPlaceMode::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.assignedPlaceMode::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.AssignedPlaceMode Microsoft.Graph.Models.assignedPlan::|public|AdditionalData:IDictionary Microsoft.Graph.Models.assignedPlan::|public|AssignedDateTime:DateTimeOffset? Microsoft.Graph.Models.assignedPlan::|public|BackingStore:IBackingStore @@ -96491,6 +96531,12 @@ Microsoft.Graph.Models.baseItemVersion::|public|OdataType:string Microsoft.Graph.Models.baseItemVersion::|public|Publication:global.Microsoft.Graph.Models.PublicationFacet Microsoft.Graph.Models.baseItemVersion::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.baseItemVersion::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.BaseItemVersion +Microsoft.Graph.Models.baseMapFeature-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.baseMapFeature::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.baseMapFeature::|public|OdataType:string +Microsoft.Graph.Models.baseMapFeature::|public|Properties:string +Microsoft.Graph.Models.baseMapFeature::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.baseMapFeature::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.BaseMapFeature Microsoft.Graph.Models.baseSitePage-->global.Microsoft.Graph.Models.BaseItem Microsoft.Graph.Models.baseSitePage::|public|constructor():void Microsoft.Graph.Models.baseSitePage::|public|GetFieldDeserializers():IDictionary> @@ -97107,6 +97153,28 @@ Microsoft.Graph.Models.bucketAggregationSortProperty::0000-count Microsoft.Graph.Models.bucketAggregationSortProperty::0001-keyAsString Microsoft.Graph.Models.bucketAggregationSortProperty::0002-keyAsNumber Microsoft.Graph.Models.bucketAggregationSortProperty::0003-unknownFutureValue +Microsoft.Graph.Models.building-->global.Microsoft.Graph.Models.Place +Microsoft.Graph.Models.building::|public|constructor():void +Microsoft.Graph.Models.building::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.building::|public|Map:global.Microsoft.Graph.Models.BuildingMap +Microsoft.Graph.Models.building::|public|OdataType:string +Microsoft.Graph.Models.building::|public|ResourceLinks:List +Microsoft.Graph.Models.building::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.building::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.Building +Microsoft.Graph.Models.buildingCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Models.buildingCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.buildingCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.buildingCollectionResponse::|public|Value:List +Microsoft.Graph.Models.buildingCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.BuildingCollectionResponse +Microsoft.Graph.Models.buildingMap-->global.Microsoft.Graph.Models.BaseMapFeature +Microsoft.Graph.Models.buildingMap::|public|constructor():void +Microsoft.Graph.Models.buildingMap::|public|Footprints:List +Microsoft.Graph.Models.buildingMap::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.buildingMap::|public|Levels:List +Microsoft.Graph.Models.buildingMap::|public|OdataType:string +Microsoft.Graph.Models.buildingMap::|public|PlaceId:string +Microsoft.Graph.Models.buildingMap::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.buildingMap::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.BuildingMap Microsoft.Graph.Models.builtInIdentityProvider-->global.Microsoft.Graph.Models.IdentityProviderBase Microsoft.Graph.Models.builtInIdentityProvider::|public|constructor():void Microsoft.Graph.Models.builtInIdentityProvider::|public|GetFieldDeserializers():IDictionary> @@ -99263,6 +99331,7 @@ Microsoft.Graph.Models.communicationsEncryptedIdentity::|public|Serialize(writer Microsoft.Graph.Models.communicationsEncryptedIdentity::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.CommunicationsEncryptedIdentity Microsoft.Graph.Models.communicationsGuestIdentity-->global.Microsoft.Graph.Models.Identity Microsoft.Graph.Models.communicationsGuestIdentity::|public|constructor():void +Microsoft.Graph.Models.communicationsGuestIdentity::|public|Email:string Microsoft.Graph.Models.communicationsGuestIdentity::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Models.communicationsGuestIdentity::|public|OdataType:string Microsoft.Graph.Models.communicationsGuestIdentity::|public|Serialize(writer:ISerializationWriter):void @@ -100057,6 +100126,11 @@ Microsoft.Graph.Models.copilotAdminSetting::|public|LimitedMode:global.Microsoft Microsoft.Graph.Models.copilotAdminSetting::|public|OdataType:string Microsoft.Graph.Models.copilotAdminSetting::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.copilotAdminSetting::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.CopilotAdminSetting +Microsoft.Graph.Models.copilotReportRoot-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.copilotReportRoot::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.copilotReportRoot::|public|OdataType:string +Microsoft.Graph.Models.copilotReportRoot::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.copilotReportRoot::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.CopilotReportRoot Microsoft.Graph.Models.CopyNotebookModel::|public|AdditionalData:IDictionary Microsoft.Graph.Models.CopyNotebookModel::|public|BackingStore:IBackingStore Microsoft.Graph.Models.CopyNotebookModel::|public|constructor():void @@ -100816,6 +100890,20 @@ Microsoft.Graph.Models.deltaParticipants::|public|Participants:Listglobal.Microsoft.Graph.Models.Place +Microsoft.Graph.Models.desk::|public|constructor():void +Microsoft.Graph.Models.desk::|public|DisplayDeviceName:string +Microsoft.Graph.Models.desk::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.desk::|public|MailboxDetails:global.Microsoft.Graph.Models.MailboxDetails +Microsoft.Graph.Models.desk::|public|Mode:global.Microsoft.Graph.Models.PlaceMode +Microsoft.Graph.Models.desk::|public|OdataType:string +Microsoft.Graph.Models.desk::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.desk::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.Desk +Microsoft.Graph.Models.deskCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Models.deskCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.deskCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.deskCollectionResponse::|public|Value:List +Microsoft.Graph.Models.deskCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.DeskCollectionResponse Microsoft.Graph.Models.destinationType::0000-new Microsoft.Graph.Models.destinationType::0001-inPlace Microsoft.Graph.Models.destinationType::0002-unknownFutureValue @@ -102447,6 +102535,12 @@ Microsoft.Graph.Models.driveRestoreArtifactsBulkAdditionRequestCollectionRespons Microsoft.Graph.Models.driveRestoreArtifactsBulkAdditionRequestCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.driveRestoreArtifactsBulkAdditionRequestCollectionResponse::|public|Value:List Microsoft.Graph.Models.driveRestoreArtifactsBulkAdditionRequestCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.DriveRestoreArtifactsBulkAdditionRequestCollectionResponse +Microsoft.Graph.Models.dropInPlaceMode-->global.Microsoft.Graph.Models.PlaceMode +Microsoft.Graph.Models.dropInPlaceMode::|public|constructor():void +Microsoft.Graph.Models.dropInPlaceMode::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.dropInPlaceMode::|public|OdataType:string +Microsoft.Graph.Models.dropInPlaceMode::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.dropInPlaceMode::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.DropInPlaceMode Microsoft.Graph.Models.eBookInstallSummary-->global.Microsoft.Graph.Models.Entity Microsoft.Graph.Models.eBookInstallSummary::|public|FailedDeviceCount:int? Microsoft.Graph.Models.eBookInstallSummary::|public|FailedUserCount:int? @@ -104513,6 +104607,7 @@ Microsoft.Graph.Models.fileStorageContainer::|public|DisplayName:string Microsoft.Graph.Models.fileStorageContainer::|public|Drive:global.Microsoft.Graph.Models.Drive Microsoft.Graph.Models.fileStorageContainer::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Models.fileStorageContainer::|public|LockState:global.Microsoft.Graph.Models.SiteLockState? +Microsoft.Graph.Models.fileStorageContainer::|public|MigrationJobs:List Microsoft.Graph.Models.fileStorageContainer::|public|OdataType:string Microsoft.Graph.Models.fileStorageContainer::|public|Permissions:List Microsoft.Graph.Models.fileStorageContainer::|public|RecycleBin:global.Microsoft.Graph.Models.RecycleBin @@ -104633,6 +104728,30 @@ Microsoft.Graph.Models.firewallPacketQueueingMethodType::0004-queueBoth Microsoft.Graph.Models.firewallPreSharedKeyEncodingMethodType::0000-deviceDefault Microsoft.Graph.Models.firewallPreSharedKeyEncodingMethodType::0001-none Microsoft.Graph.Models.firewallPreSharedKeyEncodingMethodType::0002-utF8 +Microsoft.Graph.Models.fixtureMap-->global.Microsoft.Graph.Models.BaseMapFeature +Microsoft.Graph.Models.fixtureMap::|public|constructor():void +Microsoft.Graph.Models.fixtureMap::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.fixtureMap::|public|OdataType:string +Microsoft.Graph.Models.fixtureMap::|public|PlaceId:string +Microsoft.Graph.Models.fixtureMap::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.fixtureMap::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.FixtureMap +Microsoft.Graph.Models.fixtureMapCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Models.fixtureMapCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.fixtureMapCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.fixtureMapCollectionResponse::|public|Value:List +Microsoft.Graph.Models.fixtureMapCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.FixtureMapCollectionResponse +Microsoft.Graph.Models.floor-->global.Microsoft.Graph.Models.Place +Microsoft.Graph.Models.floor::|public|constructor():void +Microsoft.Graph.Models.floor::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.floor::|public|OdataType:string +Microsoft.Graph.Models.floor::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.floor::|public|SortOrder:int? +Microsoft.Graph.Models.floor::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.Floor +Microsoft.Graph.Models.floorCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Models.floorCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.floorCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.floorCollectionResponse::|public|Value:List +Microsoft.Graph.Models.floorCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.FloorCollectionResponse Microsoft.Graph.Models.folder::|public|AdditionalData:IDictionary Microsoft.Graph.Models.folder::|public|BackingStore:IBackingStore Microsoft.Graph.Models.folder::|public|ChildCount:int? @@ -104669,6 +104788,17 @@ Microsoft.Graph.Models.followupFlagStatus::0000-notFlagged Microsoft.Graph.Models.followupFlagStatus::0001-complete Microsoft.Graph.Models.followupFlagStatus::0002-flagged Microsoft.Graph.Models.followupFlag~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.footprintMap-->global.Microsoft.Graph.Models.BaseMapFeature +Microsoft.Graph.Models.footprintMap::|public|constructor():void +Microsoft.Graph.Models.footprintMap::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.footprintMap::|public|OdataType:string +Microsoft.Graph.Models.footprintMap::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.footprintMap::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.FootprintMap +Microsoft.Graph.Models.footprintMapCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Models.footprintMapCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.footprintMapCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.footprintMapCollectionResponse::|public|Value:List +Microsoft.Graph.Models.footprintMapCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.FootprintMapCollectionResponse Microsoft.Graph.Models.fraudProtectionConfiguration::|public|AdditionalData:IDictionary Microsoft.Graph.Models.fraudProtectionConfiguration::|public|BackingStore:IBackingStore Microsoft.Graph.Models.fraudProtectionConfiguration::|public|constructor():void @@ -105444,6 +105574,13 @@ Microsoft.Graph.Models.IdentityGovernance.triggerAttribute::|public|OdataType:st Microsoft.Graph.Models.IdentityGovernance.triggerAttribute::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.IdentityGovernance.triggerAttribute::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentityGovernance.TriggerAttribute Microsoft.Graph.Models.IdentityGovernance.triggerAttribute~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.IdentityGovernance.userInactivityTrigger-->global.Microsoft.Graph.Models.IdentityGovernance.WorkflowExecutionTrigger +Microsoft.Graph.Models.IdentityGovernance.userInactivityTrigger::|public|constructor():void +Microsoft.Graph.Models.IdentityGovernance.userInactivityTrigger::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.IdentityGovernance.userInactivityTrigger::|public|InactivityPeriodInDays:int? +Microsoft.Graph.Models.IdentityGovernance.userInactivityTrigger::|public|OdataType:string +Microsoft.Graph.Models.IdentityGovernance.userInactivityTrigger::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.IdentityGovernance.userInactivityTrigger::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentityGovernance.UserInactivityTrigger Microsoft.Graph.Models.IdentityGovernance.userProcessingResult-->global.Microsoft.Graph.Models.Entity Microsoft.Graph.Models.IdentityGovernance.userProcessingResult::|public|CompletedDateTime:DateTimeOffset? Microsoft.Graph.Models.IdentityGovernance.userProcessingResult::|public|FailedTasksCount:int? @@ -106979,6 +107116,21 @@ Microsoft.Graph.Models.level::0000-beginner Microsoft.Graph.Models.level::0001-intermediate Microsoft.Graph.Models.level::0002-advanced Microsoft.Graph.Models.level::0003-unknownFutureValue +Microsoft.Graph.Models.levelMap-->global.Microsoft.Graph.Models.BaseMapFeature +Microsoft.Graph.Models.levelMap::|public|constructor():void +Microsoft.Graph.Models.levelMap::|public|Fixtures:List +Microsoft.Graph.Models.levelMap::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.levelMap::|public|OdataType:string +Microsoft.Graph.Models.levelMap::|public|PlaceId:string +Microsoft.Graph.Models.levelMap::|public|Sections:List +Microsoft.Graph.Models.levelMap::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.levelMap::|public|Units:List +Microsoft.Graph.Models.levelMap::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.LevelMap +Microsoft.Graph.Models.levelMapCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Models.levelMapCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.levelMapCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.levelMapCollectionResponse::|public|Value:List +Microsoft.Graph.Models.levelMapCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.LevelMapCollectionResponse Microsoft.Graph.Models.licenseAssignmentState::|public|AdditionalData:IDictionary Microsoft.Graph.Models.licenseAssignmentState::|public|AssignedByGroup:string Microsoft.Graph.Models.licenseAssignmentState::|public|BackingStore:IBackingStore @@ -107480,6 +107632,16 @@ Microsoft.Graph.Models.mailAssessmentRequest::|public|OdataType:string Microsoft.Graph.Models.mailAssessmentRequest::|public|RecipientEmail:string Microsoft.Graph.Models.mailAssessmentRequest::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.mailAssessmentRequest::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.MailAssessmentRequest +Microsoft.Graph.Models.mailboxDetails::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.mailboxDetails::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.mailboxDetails::|public|constructor():void +Microsoft.Graph.Models.mailboxDetails::|public|EmailAddress:string +Microsoft.Graph.Models.mailboxDetails::|public|ExternalDirectoryObjectId:string +Microsoft.Graph.Models.mailboxDetails::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.mailboxDetails::|public|OdataType:string +Microsoft.Graph.Models.mailboxDetails::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.mailboxDetails::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.MailboxDetails +Microsoft.Graph.Models.mailboxDetails~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.mailboxProtectionRule-->global.Microsoft.Graph.Models.ProtectionRuleBase Microsoft.Graph.Models.mailboxProtectionRule::|public|constructor():void Microsoft.Graph.Models.mailboxProtectionRule::|public|GetFieldDeserializers():IDictionary> @@ -111224,10 +111386,22 @@ Microsoft.Graph.Models.place::|public|CheckIns:List> +Microsoft.Graph.Models.place::|public|IsWheelChairAccessible:bool? +Microsoft.Graph.Models.place::|public|Label:string Microsoft.Graph.Models.place::|public|OdataType:string +Microsoft.Graph.Models.place::|public|ParentId:string Microsoft.Graph.Models.place::|public|Phone:string Microsoft.Graph.Models.place::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.place::|public|Tags:List Microsoft.Graph.Models.place::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.Place +Microsoft.Graph.Models.placeMode::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.placeMode::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.placeMode::|public|constructor():void +Microsoft.Graph.Models.placeMode::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.placeMode::|public|OdataType:string +Microsoft.Graph.Models.placeMode::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.placeMode::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.PlaceMode +Microsoft.Graph.Models.placeMode~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.planner-->global.Microsoft.Graph.Models.Entity Microsoft.Graph.Models.planner::|public|Buckets:List Microsoft.Graph.Models.planner::|public|GetFieldDeserializers():IDictionary> @@ -114441,6 +114615,12 @@ Microsoft.Graph.Models.resellerDelegatedAdminRelationship::|public|IsPartnerCons Microsoft.Graph.Models.resellerDelegatedAdminRelationship::|public|OdataType:string Microsoft.Graph.Models.resellerDelegatedAdminRelationship::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.resellerDelegatedAdminRelationship::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ResellerDelegatedAdminRelationship +Microsoft.Graph.Models.reservablePlaceMode-->global.Microsoft.Graph.Models.PlaceMode +Microsoft.Graph.Models.reservablePlaceMode::|public|constructor():void +Microsoft.Graph.Models.reservablePlaceMode::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.reservablePlaceMode::|public|OdataType:string +Microsoft.Graph.Models.reservablePlaceMode::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.reservablePlaceMode::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ReservablePlaceMode Microsoft.Graph.Models.resetPasscodeActionResult-->global.Microsoft.Graph.Models.DeviceActionResult Microsoft.Graph.Models.resetPasscodeActionResult::|public|ErrorCode:int? Microsoft.Graph.Models.resetPasscodeActionResult::|public|GetFieldDeserializers():IDictionary> @@ -114468,6 +114648,19 @@ Microsoft.Graph.Models.resourceAction::|public|OdataType:string Microsoft.Graph.Models.resourceAction::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.resourceAction::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ResourceAction Microsoft.Graph.Models.resourceAction~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.resourceLink::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.resourceLink::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.resourceLink::|public|constructor():void +Microsoft.Graph.Models.resourceLink::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.resourceLink::|public|LinkType:global.Microsoft.Graph.Models.ResourceLinkType? +Microsoft.Graph.Models.resourceLink::|public|Name:string +Microsoft.Graph.Models.resourceLink::|public|OdataType:string +Microsoft.Graph.Models.resourceLink::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.resourceLink::|public|Value:string +Microsoft.Graph.Models.resourceLink::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ResourceLink +Microsoft.Graph.Models.resourceLinkType::0000-url +Microsoft.Graph.Models.resourceLinkType::0001-unknownFutureValue +Microsoft.Graph.Models.resourceLink~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.resourceOperation-->global.Microsoft.Graph.Models.Entity Microsoft.Graph.Models.resourceOperation::|public|ActionName:string Microsoft.Graph.Models.resourceOperation::|public|Description:string @@ -115059,12 +115252,9 @@ Microsoft.Graph.Models.room::|public|EmailAddress:string Microsoft.Graph.Models.room::|public|FloorLabel:string Microsoft.Graph.Models.room::|public|FloorNumber:int? Microsoft.Graph.Models.room::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Models.room::|public|IsWheelChairAccessible:bool? -Microsoft.Graph.Models.room::|public|Label:string Microsoft.Graph.Models.room::|public|Nickname:string Microsoft.Graph.Models.room::|public|OdataType:string Microsoft.Graph.Models.room::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Models.room::|public|Tags:List Microsoft.Graph.Models.room::|public|VideoDeviceName:string Microsoft.Graph.Models.room::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.Room Microsoft.Graph.Models.roomCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse @@ -115079,6 +115269,7 @@ Microsoft.Graph.Models.roomList::|public|GetFieldDeserializers():IDictionary Microsoft.Graph.Models.roomList::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.roomList::|public|Workspaces:List Microsoft.Graph.Models.roomList::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.RoomList Microsoft.Graph.Models.roomListCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse Microsoft.Graph.Models.roomListCollectionResponse::|public|GetFieldDeserializers():IDictionary> @@ -115623,6 +115814,17 @@ Microsoft.Graph.Models.searchResult::|public|OnClickTelemetryUrl:string Microsoft.Graph.Models.searchResult::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.searchResult::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.SearchResult Microsoft.Graph.Models.searchResult~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.section-->global.Microsoft.Graph.Models.Place +Microsoft.Graph.Models.section::|public|constructor():void +Microsoft.Graph.Models.section::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.section::|public|OdataType:string +Microsoft.Graph.Models.section::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.section::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.Section +Microsoft.Graph.Models.sectionCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Models.sectionCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.sectionCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.sectionCollectionResponse::|public|Value:List +Microsoft.Graph.Models.sectionCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.SectionCollectionResponse Microsoft.Graph.Models.sectionEmphasisType::0000-none Microsoft.Graph.Models.sectionEmphasisType::0001-neutral Microsoft.Graph.Models.sectionEmphasisType::0002-soft @@ -115655,6 +115857,18 @@ Microsoft.Graph.Models.sectionLinks::|public|OneNoteWebUrl:global.Microsoft.Grap Microsoft.Graph.Models.sectionLinks::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.sectionLinks::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.SectionLinks Microsoft.Graph.Models.sectionLinks~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.sectionMap-->global.Microsoft.Graph.Models.BaseMapFeature +Microsoft.Graph.Models.sectionMap::|public|constructor():void +Microsoft.Graph.Models.sectionMap::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.sectionMap::|public|OdataType:string +Microsoft.Graph.Models.sectionMap::|public|PlaceId:string +Microsoft.Graph.Models.sectionMap::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.sectionMap::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.SectionMap +Microsoft.Graph.Models.sectionMapCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Models.sectionMapCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.sectionMapCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.sectionMapCollectionResponse::|public|Value:List +Microsoft.Graph.Models.sectionMapCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.SectionMapCollectionResponse Microsoft.Graph.Models.secureScore-->global.Microsoft.Graph.Models.Entity Microsoft.Graph.Models.secureScore::|public|ActiveUserCount:int? Microsoft.Graph.Models.secureScore::|public|AverageComparativeScores:List @@ -115723,11 +115937,29 @@ Microsoft.Graph.Models.secureSignInSessionControl::|public|GetFieldDeserializers Microsoft.Graph.Models.secureSignInSessionControl::|public|OdataType:string Microsoft.Graph.Models.secureSignInSessionControl::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.secureSignInSessionControl::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.SecureSignInSessionControl +Microsoft.Graph.Models.Security.account::|public|Actions:List +Microsoft.Graph.Models.Security.account::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.Security.account::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.Security.account::|public|constructor():void +Microsoft.Graph.Models.Security.account::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.Security.account::|public|Identifier:string +Microsoft.Graph.Models.Security.account::|public|IdentityProvider:global.Microsoft.Graph.Models.Security.IdentityProvider? +Microsoft.Graph.Models.Security.account::|public|OdataType:string +Microsoft.Graph.Models.Security.account::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.Security.account::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.Security.Account +Microsoft.Graph.Models.Security.account~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.Security.actionAfterRetentionPeriod::0000-none Microsoft.Graph.Models.Security.actionAfterRetentionPeriod::0001-delete Microsoft.Graph.Models.Security.actionAfterRetentionPeriod::0002-startDispositionReview Microsoft.Graph.Models.Security.actionAfterRetentionPeriod::0003-relabel Microsoft.Graph.Models.Security.actionAfterRetentionPeriod::0004-unknownFutureValue +Microsoft.Graph.Models.Security.actionObject::0000-disable +Microsoft.Graph.Models.Security.actionObject::0001-enable +Microsoft.Graph.Models.Security.actionObject::0002-forcePasswordReset +Microsoft.Graph.Models.Security.actionObject::0003-revokeAllSessions +Microsoft.Graph.Models.Security.actionObject::0004-requireUserToSignInAgain +Microsoft.Graph.Models.Security.actionObject::0005-markUserAsCompromised +Microsoft.Graph.Models.Security.actionObject::0006-unknownFutureValue Microsoft.Graph.Models.Security.additionalDataOptions::0000-allVersions Microsoft.Graph.Models.Security.additionalDataOptions::0001-linkedFiles Microsoft.Graph.Models.Security.additionalDataOptions::0002-unknownFutureValue @@ -115752,6 +115984,21 @@ Microsoft.Graph.Models.Security.additionalOptions::0011-condensePaths Microsoft.Graph.Models.Security.additionalOptions::0012-friendlyName Microsoft.Graph.Models.Security.additionalOptions::0013-splitSource Microsoft.Graph.Models.Security.additionalOptions::0014-includeReport +Microsoft.Graph.Models.Security.aiAgentEvidence-->global.Microsoft.Graph.Models.Security.AlertEvidence +Microsoft.Graph.Models.Security.aiAgentEvidence::|public|AgentId:string +Microsoft.Graph.Models.Security.aiAgentEvidence::|public|AgentName:string +Microsoft.Graph.Models.Security.aiAgentEvidence::|public|constructor():void +Microsoft.Graph.Models.Security.aiAgentEvidence::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.Security.aiAgentEvidence::|public|HostingPlatformType:global.Microsoft.Graph.Models.Security.AiAgentPlatform? +Microsoft.Graph.Models.Security.aiAgentEvidence::|public|Instructions:string +Microsoft.Graph.Models.Security.aiAgentEvidence::|public|OdataType:string +Microsoft.Graph.Models.Security.aiAgentEvidence::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.Security.aiAgentEvidence::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.Security.AiAgentEvidence +Microsoft.Graph.Models.Security.aiAgentPlatform::0000-unknown +Microsoft.Graph.Models.Security.aiAgentPlatform::0001-azureAIFoundry +Microsoft.Graph.Models.Security.aiAgentPlatform::0002-copilotStudio +Microsoft.Graph.Models.Security.aiAgentPlatform::0003-copilot +Microsoft.Graph.Models.Security.aiAgentPlatform::0004-unknownFutureValue Microsoft.Graph.Models.Security.alert-->global.Microsoft.Graph.Models.Entity Microsoft.Graph.Models.Security.alert::|public|ActorDisplayName:string Microsoft.Graph.Models.Security.alert::|public|AdditionalDataProperty:global.Microsoft.Graph.Models.Security.Dictionary @@ -117155,15 +117402,36 @@ Microsoft.Graph.Models.Security.hyperlink::|public|Serialize(writer:ISerializati Microsoft.Graph.Models.Security.hyperlink::|public|Url:string Microsoft.Graph.Models.Security.hyperlink::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.Security.Hyperlink Microsoft.Graph.Models.Security.hyperlink~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.Security.identityAccounts-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.Security.identityAccounts::|public|Accounts:List +Microsoft.Graph.Models.Security.identityAccounts::|public|CloudSecurityIdentifier:string +Microsoft.Graph.Models.Security.identityAccounts::|public|DisplayName:string +Microsoft.Graph.Models.Security.identityAccounts::|public|Domain:string +Microsoft.Graph.Models.Security.identityAccounts::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.Security.identityAccounts::|public|IsEnabled:bool? +Microsoft.Graph.Models.Security.identityAccounts::|public|OdataType:string +Microsoft.Graph.Models.Security.identityAccounts::|public|OnPremisesSecurityIdentifier:string +Microsoft.Graph.Models.Security.identityAccounts::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.Security.identityAccounts::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.Security.IdentityAccounts +Microsoft.Graph.Models.Security.identityAccountsCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Models.Security.identityAccountsCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.Security.identityAccountsCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.Security.identityAccountsCollectionResponse::|public|Value:List +Microsoft.Graph.Models.Security.identityAccountsCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.Security.IdentityAccountsCollectionResponse Microsoft.Graph.Models.Security.identityContainer-->global.Microsoft.Graph.Models.Entity Microsoft.Graph.Models.Security.identityContainer::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Models.Security.identityContainer::|public|HealthIssues:List +Microsoft.Graph.Models.Security.identityContainer::|public|IdentityAccounts:List Microsoft.Graph.Models.Security.identityContainer::|public|OdataType:string Microsoft.Graph.Models.Security.identityContainer::|public|SensorCandidateActivationConfiguration:global.Microsoft.Graph.Models.Security.SensorCandidateActivationConfiguration Microsoft.Graph.Models.Security.identityContainer::|public|SensorCandidates:List Microsoft.Graph.Models.Security.identityContainer::|public|Sensors:List Microsoft.Graph.Models.Security.identityContainer::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.Security.identityContainer::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.Security.IdentityContainer +Microsoft.Graph.Models.Security.identityProvider::0000-entraID +Microsoft.Graph.Models.Security.identityProvider::0001-activeDirectory +Microsoft.Graph.Models.Security.identityProvider::0002-okta +Microsoft.Graph.Models.Security.identityProvider::0003-unknownFutureValue Microsoft.Graph.Models.Security.incident-->global.Microsoft.Graph.Models.Entity Microsoft.Graph.Models.Security.incident::|public|Alerts:List Microsoft.Graph.Models.Security.incident::|public|AssignedTo:string @@ -117275,6 +117543,18 @@ Microsoft.Graph.Models.Security.investigationState::0015-partiallyInvestigated Microsoft.Graph.Models.Security.investigationState::0016-terminatedByUser Microsoft.Graph.Models.Security.investigationState::0017-terminatedBySystem Microsoft.Graph.Models.Security.investigationState::0018-unknownFutureValue +Microsoft.Graph.Models.Security.invokeActionResult::|public|AccountId:string +Microsoft.Graph.Models.Security.invokeActionResult::|public|Action:global.Microsoft.Graph.Models.Security.ActionObject? +Microsoft.Graph.Models.Security.invokeActionResult::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.Security.invokeActionResult::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.Security.invokeActionResult::|public|constructor():void +Microsoft.Graph.Models.Security.invokeActionResult::|public|CorrelationId:string +Microsoft.Graph.Models.Security.invokeActionResult::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.Security.invokeActionResult::|public|IdentityProvider:global.Microsoft.Graph.Models.Security.IdentityProvider? +Microsoft.Graph.Models.Security.invokeActionResult::|public|OdataType:string +Microsoft.Graph.Models.Security.invokeActionResult::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.Security.invokeActionResult::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.Security.InvokeActionResult +Microsoft.Graph.Models.Security.invokeActionResult~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.Security.ioTDeviceEvidence-->global.Microsoft.Graph.Models.Security.AlertEvidence Microsoft.Graph.Models.Security.ioTDeviceEvidence::|public|constructor():void Microsoft.Graph.Models.Security.ioTDeviceEvidence::|public|DeviceId:string @@ -118169,6 +118449,14 @@ Microsoft.Graph.Models.Security.urlEvidence::|public|OdataType:string Microsoft.Graph.Models.Security.urlEvidence::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.Security.urlEvidence::|public|Url:string Microsoft.Graph.Models.Security.urlEvidence::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.Security.UrlEvidence +Microsoft.Graph.Models.Security.user-->global.Microsoft.Graph.Models.Security.IdentityAccounts +Microsoft.Graph.Models.Security.user::|public|constructor():void +Microsoft.Graph.Models.Security.user::|public|EmailAddress:string +Microsoft.Graph.Models.Security.user::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.Security.user::|public|OdataType:string +Microsoft.Graph.Models.Security.user::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.Security.user::|public|UserPrincipalName:string +Microsoft.Graph.Models.Security.user::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.Security.User Microsoft.Graph.Models.Security.userAccount::|public|AccountName:string Microsoft.Graph.Models.Security.userAccount::|public|ActiveDirectoryObjectGuid:Guid? Microsoft.Graph.Models.Security.userAccount::|public|AdditionalData:IDictionary @@ -119020,6 +119308,129 @@ Microsoft.Graph.Models.sharepointIds::|public|TenantId:string Microsoft.Graph.Models.sharepointIds::|public|WebId:string Microsoft.Graph.Models.sharepointIds::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.SharepointIds Microsoft.Graph.Models.sharepointIds~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.sharePointMigrationContainerInfo::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.sharePointMigrationContainerInfo::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.sharePointMigrationContainerInfo::|public|constructor():void +Microsoft.Graph.Models.sharePointMigrationContainerInfo::|public|DataContainerUri:string +Microsoft.Graph.Models.sharePointMigrationContainerInfo::|public|EncryptionKey:string +Microsoft.Graph.Models.sharePointMigrationContainerInfo::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.sharePointMigrationContainerInfo::|public|MetadataContainerUri:string +Microsoft.Graph.Models.sharePointMigrationContainerInfo::|public|OdataType:string +Microsoft.Graph.Models.sharePointMigrationContainerInfo::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.sharePointMigrationContainerInfo::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.SharePointMigrationContainerInfo +Microsoft.Graph.Models.sharePointMigrationContainerInfo~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.sharePointMigrationEvent-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.sharePointMigrationEvent::|public|CorrelationId:string +Microsoft.Graph.Models.sharePointMigrationEvent::|public|EventDateTime:DateTimeOffset? +Microsoft.Graph.Models.sharePointMigrationEvent::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.sharePointMigrationEvent::|public|JobId:string +Microsoft.Graph.Models.sharePointMigrationEvent::|public|OdataType:string +Microsoft.Graph.Models.sharePointMigrationEvent::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.sharePointMigrationEvent::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.SharePointMigrationEvent +Microsoft.Graph.Models.sharePointMigrationEventCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Models.sharePointMigrationEventCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.sharePointMigrationEventCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.sharePointMigrationEventCollectionResponse::|public|Value:List +Microsoft.Graph.Models.sharePointMigrationEventCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.SharePointMigrationEventCollectionResponse +Microsoft.Graph.Models.sharePointMigrationFinishManifestFileUploadEvent-->global.Microsoft.Graph.Models.SharePointMigrationEvent +Microsoft.Graph.Models.sharePointMigrationFinishManifestFileUploadEvent::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.sharePointMigrationFinishManifestFileUploadEvent::|public|ManifestFileName:string +Microsoft.Graph.Models.sharePointMigrationFinishManifestFileUploadEvent::|public|OdataType:string +Microsoft.Graph.Models.sharePointMigrationFinishManifestFileUploadEvent::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.sharePointMigrationFinishManifestFileUploadEvent::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.SharePointMigrationFinishManifestFileUploadEvent +Microsoft.Graph.Models.sharePointMigrationJob-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.sharePointMigrationJob::|public|ContainerInfo:global.Microsoft.Graph.Models.SharePointMigrationContainerInfo +Microsoft.Graph.Models.sharePointMigrationJob::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.sharePointMigrationJob::|public|OdataType:string +Microsoft.Graph.Models.sharePointMigrationJob::|public|ProgressEvents:List +Microsoft.Graph.Models.sharePointMigrationJob::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.sharePointMigrationJob::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.SharePointMigrationJob +Microsoft.Graph.Models.sharePointMigrationJobCancelledEvent-->global.Microsoft.Graph.Models.SharePointMigrationEvent +Microsoft.Graph.Models.sharePointMigrationJobCancelledEvent::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.sharePointMigrationJobCancelledEvent::|public|IsCancelledByUser:bool? +Microsoft.Graph.Models.sharePointMigrationJobCancelledEvent::|public|OdataType:string +Microsoft.Graph.Models.sharePointMigrationJobCancelledEvent::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.sharePointMigrationJobCancelledEvent::|public|TotalRetryCount:int? +Microsoft.Graph.Models.sharePointMigrationJobCancelledEvent::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.SharePointMigrationJobCancelledEvent +Microsoft.Graph.Models.sharePointMigrationJobCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Models.sharePointMigrationJobCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.sharePointMigrationJobCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.sharePointMigrationJobCollectionResponse::|public|Value:List +Microsoft.Graph.Models.sharePointMigrationJobCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.SharePointMigrationJobCollectionResponse +Microsoft.Graph.Models.sharePointMigrationJobDeletedEvent-->global.Microsoft.Graph.Models.SharePointMigrationEvent +Microsoft.Graph.Models.sharePointMigrationJobDeletedEvent::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.sharePointMigrationJobDeletedEvent::|public|OdataType:string +Microsoft.Graph.Models.sharePointMigrationJobDeletedEvent::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.sharePointMigrationJobDeletedEvent::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.SharePointMigrationJobDeletedEvent +Microsoft.Graph.Models.sharePointMigrationJobErrorEvent-->global.Microsoft.Graph.Models.SharePointMigrationEvent +Microsoft.Graph.Models.sharePointMigrationJobErrorEvent::|public|Error:global.Microsoft.Graph.Models.PublicError +Microsoft.Graph.Models.sharePointMigrationJobErrorEvent::|public|ErrorLevel:global.Microsoft.Graph.Models.SharePointMigrationJobErrorLevel? +Microsoft.Graph.Models.sharePointMigrationJobErrorEvent::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.sharePointMigrationJobErrorEvent::|public|ObjectId:string +Microsoft.Graph.Models.sharePointMigrationJobErrorEvent::|public|ObjectType:global.Microsoft.Graph.Models.SharePointMigrationObjectType? +Microsoft.Graph.Models.sharePointMigrationJobErrorEvent::|public|ObjectUrl:string +Microsoft.Graph.Models.sharePointMigrationJobErrorEvent::|public|OdataType:string +Microsoft.Graph.Models.sharePointMigrationJobErrorEvent::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.sharePointMigrationJobErrorEvent::|public|TotalRetryCount:int? +Microsoft.Graph.Models.sharePointMigrationJobErrorEvent::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.SharePointMigrationJobErrorEvent +Microsoft.Graph.Models.sharePointMigrationJobErrorLevel::0000-important +Microsoft.Graph.Models.sharePointMigrationJobErrorLevel::0001-warning +Microsoft.Graph.Models.sharePointMigrationJobErrorLevel::0002-error +Microsoft.Graph.Models.sharePointMigrationJobErrorLevel::0003-fatalError +Microsoft.Graph.Models.sharePointMigrationJobErrorLevel::0004-unknownFutureValue +Microsoft.Graph.Models.sharePointMigrationJobPostponedEvent-->global.Microsoft.Graph.Models.SharePointMigrationEvent +Microsoft.Graph.Models.sharePointMigrationJobPostponedEvent::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.sharePointMigrationJobPostponedEvent::|public|JobsInQueue:long? +Microsoft.Graph.Models.sharePointMigrationJobPostponedEvent::|public|NextPickupDateTime:DateTimeOffset? +Microsoft.Graph.Models.sharePointMigrationJobPostponedEvent::|public|OdataType:string +Microsoft.Graph.Models.sharePointMigrationJobPostponedEvent::|public|Reason:string +Microsoft.Graph.Models.sharePointMigrationJobPostponedEvent::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.sharePointMigrationJobPostponedEvent::|public|TotalRetryCount:int? +Microsoft.Graph.Models.sharePointMigrationJobPostponedEvent::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.SharePointMigrationJobPostponedEvent +Microsoft.Graph.Models.sharePointMigrationJobProgressEvent-->global.Microsoft.Graph.Models.SharePointMigrationEvent +Microsoft.Graph.Models.sharePointMigrationJobProgressEvent::|public|BytesProcessed:long? +Microsoft.Graph.Models.sharePointMigrationJobProgressEvent::|public|BytesProcessedOnlyCurrentVersion:long? +Microsoft.Graph.Models.sharePointMigrationJobProgressEvent::|public|CpuDurationMs:long? +Microsoft.Graph.Models.sharePointMigrationJobProgressEvent::|public|FilesProcessed:long? +Microsoft.Graph.Models.sharePointMigrationJobProgressEvent::|public|FilesProcessedOnlyCurrentVersion:long? +Microsoft.Graph.Models.sharePointMigrationJobProgressEvent::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.sharePointMigrationJobProgressEvent::|public|IsCompleted:bool? +Microsoft.Graph.Models.sharePointMigrationJobProgressEvent::|public|LastProcessedObjectId:string +Microsoft.Graph.Models.sharePointMigrationJobProgressEvent::|public|ObjectsProcessed:long? +Microsoft.Graph.Models.sharePointMigrationJobProgressEvent::|public|OdataType:string +Microsoft.Graph.Models.sharePointMigrationJobProgressEvent::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.sharePointMigrationJobProgressEvent::|public|SqlDurationMs:long? +Microsoft.Graph.Models.sharePointMigrationJobProgressEvent::|public|SqlQueryCount:long? +Microsoft.Graph.Models.sharePointMigrationJobProgressEvent::|public|TotalDurationMs:long? +Microsoft.Graph.Models.sharePointMigrationJobProgressEvent::|public|TotalErrors:long? +Microsoft.Graph.Models.sharePointMigrationJobProgressEvent::|public|TotalExpectedBytes:long? +Microsoft.Graph.Models.sharePointMigrationJobProgressEvent::|public|TotalExpectedObjects:long? +Microsoft.Graph.Models.sharePointMigrationJobProgressEvent::|public|TotalRetryCount:int? +Microsoft.Graph.Models.sharePointMigrationJobProgressEvent::|public|TotalWarnings:long? +Microsoft.Graph.Models.sharePointMigrationJobProgressEvent::|public|WaitTimeOnSqlThrottlingMs:long? +Microsoft.Graph.Models.sharePointMigrationJobProgressEvent::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.SharePointMigrationJobProgressEvent +Microsoft.Graph.Models.sharePointMigrationJobQueuedEvent-->global.Microsoft.Graph.Models.SharePointMigrationEvent +Microsoft.Graph.Models.sharePointMigrationJobQueuedEvent::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.sharePointMigrationJobQueuedEvent::|public|OdataType:string +Microsoft.Graph.Models.sharePointMigrationJobQueuedEvent::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.sharePointMigrationJobQueuedEvent::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.SharePointMigrationJobQueuedEvent +Microsoft.Graph.Models.sharePointMigrationJobStartEvent-->global.Microsoft.Graph.Models.SharePointMigrationEvent +Microsoft.Graph.Models.sharePointMigrationJobStartEvent::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.sharePointMigrationJobStartEvent::|public|IsRestarted:bool? +Microsoft.Graph.Models.sharePointMigrationJobStartEvent::|public|OdataType:string +Microsoft.Graph.Models.sharePointMigrationJobStartEvent::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.sharePointMigrationJobStartEvent::|public|TotalRetryCount:int? +Microsoft.Graph.Models.sharePointMigrationJobStartEvent::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.SharePointMigrationJobStartEvent +Microsoft.Graph.Models.sharePointMigrationObjectType::0000-site +Microsoft.Graph.Models.sharePointMigrationObjectType::0001-web +Microsoft.Graph.Models.sharePointMigrationObjectType::0002-folder +Microsoft.Graph.Models.sharePointMigrationObjectType::0003-list +Microsoft.Graph.Models.sharePointMigrationObjectType::0004-listItem +Microsoft.Graph.Models.sharePointMigrationObjectType::0005-file +Microsoft.Graph.Models.sharePointMigrationObjectType::0006-alert +Microsoft.Graph.Models.sharePointMigrationObjectType::0007-sharedWithObject +Microsoft.Graph.Models.sharePointMigrationObjectType::0008-invalid +Microsoft.Graph.Models.sharePointMigrationObjectType::0009-unknownFutureValue Microsoft.Graph.Models.sharePointOneDriveOptions::|public|AdditionalData:IDictionary Microsoft.Graph.Models.sharePointOneDriveOptions::|public|BackingStore:IBackingStore Microsoft.Graph.Models.sharePointOneDriveOptions::|public|constructor():void @@ -122406,6 +122817,18 @@ Microsoft.Graph.Models.unifiedStorageQuota::|public|State:string Microsoft.Graph.Models.unifiedStorageQuota::|public|Total:long? Microsoft.Graph.Models.unifiedStorageQuota::|public|Used:long? Microsoft.Graph.Models.unifiedStorageQuota::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.UnifiedStorageQuota +Microsoft.Graph.Models.unitMap-->global.Microsoft.Graph.Models.BaseMapFeature +Microsoft.Graph.Models.unitMap::|public|constructor():void +Microsoft.Graph.Models.unitMap::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.unitMap::|public|OdataType:string +Microsoft.Graph.Models.unitMap::|public|PlaceId:string +Microsoft.Graph.Models.unitMap::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.unitMap::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.UnitMap +Microsoft.Graph.Models.unitMapCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Models.unitMapCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.unitMapCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.unitMapCollectionResponse::|public|Value:List +Microsoft.Graph.Models.unitMapCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.UnitMapCollectionResponse Microsoft.Graph.Models.unmuteParticipantOperation-->global.Microsoft.Graph.Models.CommsOperation Microsoft.Graph.Models.unmuteParticipantOperation::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Models.unmuteParticipantOperation::|public|OdataType:string @@ -126343,6 +126766,22 @@ Microsoft.Graph.Models.workingTimeSchedule::|public|GetFieldDeserializers():IDic Microsoft.Graph.Models.workingTimeSchedule::|public|OdataType:string Microsoft.Graph.Models.workingTimeSchedule::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.workingTimeSchedule::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.WorkingTimeSchedule +Microsoft.Graph.Models.workspace-->global.Microsoft.Graph.Models.Place +Microsoft.Graph.Models.workspace::|public|Capacity:int? +Microsoft.Graph.Models.workspace::|public|constructor():void +Microsoft.Graph.Models.workspace::|public|DisplayDeviceName:string +Microsoft.Graph.Models.workspace::|public|EmailAddress:string +Microsoft.Graph.Models.workspace::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.workspace::|public|Mode:global.Microsoft.Graph.Models.PlaceMode +Microsoft.Graph.Models.workspace::|public|Nickname:string +Microsoft.Graph.Models.workspace::|public|OdataType:string +Microsoft.Graph.Models.workspace::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.workspace::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.Workspace +Microsoft.Graph.Models.workspaceCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Models.workspaceCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.workspaceCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.workspaceCollectionResponse::|public|Value:List +Microsoft.Graph.Models.workspaceCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.WorkspaceCollectionResponse Microsoft.Graph.Models.x509CertificateAffinityLevel::0000-low Microsoft.Graph.Models.x509CertificateAffinityLevel::0001-high Microsoft.Graph.Models.x509CertificateAffinityLevel::0002-unknownFutureValue @@ -127331,6 +127770,81 @@ Microsoft.Graph.Places.Count.CountRequestBuilder::|public|constructor(rawUrl:str Microsoft.Graph.Places.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? Microsoft.Graph.Places.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Places.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Places.Count.CountRequestBuilder +Microsoft.Graph.Places.GraphBuilding.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Places.GraphBuilding.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Places.GraphBuilding.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Places.GraphBuilding.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.GraphBuilding.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.GraphBuilding.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.GraphBuilding.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Places.GraphBuilding.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.GraphBuilding.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Places.GraphBuilding.Count.CountRequestBuilder +Microsoft.Graph.Places.GraphBuilding.graphBuildingRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Places.GraphBuilding.graphBuildingRequestBuilder.graphBuildingRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Places.GraphBuilding.graphBuildingRequestBuilder.graphBuildingRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Places.GraphBuilding.graphBuildingRequestBuilder.graphBuildingRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Places.GraphBuilding.graphBuildingRequestBuilder.graphBuildingRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Places.GraphBuilding.graphBuildingRequestBuilder.graphBuildingRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Places.GraphBuilding.graphBuildingRequestBuilder.graphBuildingRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Places.GraphBuilding.graphBuildingRequestBuilder.graphBuildingRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Places.GraphBuilding.graphBuildingRequestBuilder.graphBuildingRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Places.GraphBuilding.graphBuildingRequestBuilder.graphBuildingRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.GraphBuilding.graphBuildingRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.GraphBuilding.graphBuildingRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.GraphBuilding.graphBuildingRequestBuilder::|public|Count:global.Microsoft.Graph.Places.GraphBuilding.Count.CountRequestBuilder +Microsoft.Graph.Places.GraphBuilding.graphBuildingRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.BuildingCollectionResponse +Microsoft.Graph.Places.GraphBuilding.graphBuildingRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.GraphBuilding.graphBuildingRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Places.GraphBuilding.GraphBuildingRequestBuilder +Microsoft.Graph.Places.GraphDesk.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Places.GraphDesk.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Places.GraphDesk.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Places.GraphDesk.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.GraphDesk.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.GraphDesk.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.GraphDesk.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Places.GraphDesk.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.GraphDesk.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Places.GraphDesk.Count.CountRequestBuilder +Microsoft.Graph.Places.GraphDesk.graphDeskRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Places.GraphDesk.graphDeskRequestBuilder.graphDeskRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Places.GraphDesk.graphDeskRequestBuilder.graphDeskRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Places.GraphDesk.graphDeskRequestBuilder.graphDeskRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Places.GraphDesk.graphDeskRequestBuilder.graphDeskRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Places.GraphDesk.graphDeskRequestBuilder.graphDeskRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Places.GraphDesk.graphDeskRequestBuilder.graphDeskRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Places.GraphDesk.graphDeskRequestBuilder.graphDeskRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Places.GraphDesk.graphDeskRequestBuilder.graphDeskRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Places.GraphDesk.graphDeskRequestBuilder.graphDeskRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.GraphDesk.graphDeskRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.GraphDesk.graphDeskRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.GraphDesk.graphDeskRequestBuilder::|public|Count:global.Microsoft.Graph.Places.GraphDesk.Count.CountRequestBuilder +Microsoft.Graph.Places.GraphDesk.graphDeskRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DeskCollectionResponse +Microsoft.Graph.Places.GraphDesk.graphDeskRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.GraphDesk.graphDeskRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Places.GraphDesk.GraphDeskRequestBuilder +Microsoft.Graph.Places.GraphFloor.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Places.GraphFloor.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Places.GraphFloor.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Places.GraphFloor.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.GraphFloor.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.GraphFloor.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.GraphFloor.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Places.GraphFloor.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.GraphFloor.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Places.GraphFloor.Count.CountRequestBuilder +Microsoft.Graph.Places.GraphFloor.graphFloorRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Places.GraphFloor.graphFloorRequestBuilder.graphFloorRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Places.GraphFloor.graphFloorRequestBuilder.graphFloorRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Places.GraphFloor.graphFloorRequestBuilder.graphFloorRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Places.GraphFloor.graphFloorRequestBuilder.graphFloorRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Places.GraphFloor.graphFloorRequestBuilder.graphFloorRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Places.GraphFloor.graphFloorRequestBuilder.graphFloorRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Places.GraphFloor.graphFloorRequestBuilder.graphFloorRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Places.GraphFloor.graphFloorRequestBuilder.graphFloorRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Places.GraphFloor.graphFloorRequestBuilder.graphFloorRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.GraphFloor.graphFloorRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.GraphFloor.graphFloorRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.GraphFloor.graphFloorRequestBuilder::|public|Count:global.Microsoft.Graph.Places.GraphFloor.Count.CountRequestBuilder +Microsoft.Graph.Places.GraphFloor.graphFloorRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.FloorCollectionResponse +Microsoft.Graph.Places.GraphFloor.graphFloorRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.GraphFloor.graphFloorRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Places.GraphFloor.GraphFloorRequestBuilder Microsoft.Graph.Places.GraphRoom.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Places.GraphRoom.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Places.GraphRoom.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -127381,6 +127895,56 @@ Microsoft.Graph.Places.GraphRoomList.graphRoomListRequestBuilder::|public|Count: Microsoft.Graph.Places.GraphRoomList.graphRoomListRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.RoomListCollectionResponse Microsoft.Graph.Places.GraphRoomList.graphRoomListRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Places.GraphRoomList.graphRoomListRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Places.GraphRoomList.GraphRoomListRequestBuilder +Microsoft.Graph.Places.GraphSection.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Places.GraphSection.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Places.GraphSection.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Places.GraphSection.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.GraphSection.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.GraphSection.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.GraphSection.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Places.GraphSection.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.GraphSection.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Places.GraphSection.Count.CountRequestBuilder +Microsoft.Graph.Places.GraphSection.graphSectionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Places.GraphSection.graphSectionRequestBuilder.graphSectionRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Places.GraphSection.graphSectionRequestBuilder.graphSectionRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Places.GraphSection.graphSectionRequestBuilder.graphSectionRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Places.GraphSection.graphSectionRequestBuilder.graphSectionRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Places.GraphSection.graphSectionRequestBuilder.graphSectionRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Places.GraphSection.graphSectionRequestBuilder.graphSectionRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Places.GraphSection.graphSectionRequestBuilder.graphSectionRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Places.GraphSection.graphSectionRequestBuilder.graphSectionRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Places.GraphSection.graphSectionRequestBuilder.graphSectionRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.GraphSection.graphSectionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.GraphSection.graphSectionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.GraphSection.graphSectionRequestBuilder::|public|Count:global.Microsoft.Graph.Places.GraphSection.Count.CountRequestBuilder +Microsoft.Graph.Places.GraphSection.graphSectionRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SectionCollectionResponse +Microsoft.Graph.Places.GraphSection.graphSectionRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.GraphSection.graphSectionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Places.GraphSection.GraphSectionRequestBuilder +Microsoft.Graph.Places.GraphWorkspace.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Places.GraphWorkspace.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Places.GraphWorkspace.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Places.GraphWorkspace.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.GraphWorkspace.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.GraphWorkspace.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.GraphWorkspace.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Places.GraphWorkspace.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.GraphWorkspace.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Places.GraphWorkspace.Count.CountRequestBuilder +Microsoft.Graph.Places.GraphWorkspace.graphWorkspaceRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Places.GraphWorkspace.graphWorkspaceRequestBuilder.graphWorkspaceRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Places.GraphWorkspace.graphWorkspaceRequestBuilder.graphWorkspaceRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Places.GraphWorkspace.graphWorkspaceRequestBuilder.graphWorkspaceRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Places.GraphWorkspace.graphWorkspaceRequestBuilder.graphWorkspaceRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Places.GraphWorkspace.graphWorkspaceRequestBuilder.graphWorkspaceRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Places.GraphWorkspace.graphWorkspaceRequestBuilder.graphWorkspaceRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Places.GraphWorkspace.graphWorkspaceRequestBuilder.graphWorkspaceRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Places.GraphWorkspace.graphWorkspaceRequestBuilder.graphWorkspaceRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Places.GraphWorkspace.graphWorkspaceRequestBuilder.graphWorkspaceRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.GraphWorkspace.graphWorkspaceRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.GraphWorkspace.graphWorkspaceRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.GraphWorkspace.graphWorkspaceRequestBuilder::|public|Count:global.Microsoft.Graph.Places.GraphWorkspace.Count.CountRequestBuilder +Microsoft.Graph.Places.GraphWorkspace.graphWorkspaceRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.WorkspaceCollectionResponse +Microsoft.Graph.Places.GraphWorkspace.graphWorkspaceRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.GraphWorkspace.graphWorkspaceRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Places.GraphWorkspace.GraphWorkspaceRequestBuilder Microsoft.Graph.Places.Item.CheckIns.checkInsRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Places.Item.CheckIns.checkInsRequestBuilder.checkInsRequestBuilderGetQueryParameters::|public|Count:bool? Microsoft.Graph.Places.Item.CheckIns.checkInsRequestBuilder.checkInsRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -127425,6 +127989,432 @@ Microsoft.Graph.Places.Item.CheckIns.Item.CheckInClaimCalendarEventItemRequestBu Microsoft.Graph.Places.Item.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Places.Item.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.CheckInClaim; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Places.Item.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Places.Item.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder +Microsoft.Graph.Places.Item.Descendants.descendantsGetResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Places.Item.Descendants.descendantsGetResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Places.Item.Descendants.descendantsGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Places.Item.Descendants.descendantsGetResponse::|public|Value:List +Microsoft.Graph.Places.Item.Descendants.descendantsGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Places.Item.Descendants.DescendantsGetResponse +Microsoft.Graph.Places.Item.Descendants.descendantsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Places.Item.Descendants.descendantsRequestBuilder.descendantsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Places.Item.Descendants.descendantsRequestBuilder.descendantsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Places.Item.Descendants.descendantsRequestBuilder.descendantsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Places.Item.Descendants.descendantsRequestBuilder.descendantsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Places.Item.Descendants.descendantsRequestBuilder.descendantsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Places.Item.Descendants.descendantsRequestBuilder.descendantsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Places.Item.Descendants.descendantsRequestBuilder.descendantsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Places.Item.Descendants.descendantsRequestBuilder.descendantsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Places.Item.Descendants.descendantsRequestBuilder.descendantsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.Item.Descendants.descendantsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.Descendants.descendantsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.Descendants.descendantsRequestBuilder::|public|GetAsDescendantsGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Places.Item.Descendants.DescendantsGetResponse +Microsoft.Graph.Places.Item.Descendants.descendantsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Places.Item.Descendants.DescendantsResponse +Microsoft.Graph.Places.Item.Descendants.descendantsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.Item.Descendants.descendantsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Places.Item.Descendants.DescendantsRequestBuilder +Microsoft.Graph.Places.Item.Descendants.descendantsResponse-->global.Microsoft.Graph.Places.Item.Descendants.DescendantsGetResponse +Microsoft.Graph.Places.Item.Descendants.descendantsResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Places.Item.Descendants.DescendantsResponse +Microsoft.Graph.Places.Item.GraphBuilding.CheckIns.checkInsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Places.Item.GraphBuilding.CheckIns.checkInsRequestBuilder.checkInsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Places.Item.GraphBuilding.CheckIns.checkInsRequestBuilder.checkInsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Places.Item.GraphBuilding.CheckIns.checkInsRequestBuilder.checkInsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Places.Item.GraphBuilding.CheckIns.checkInsRequestBuilder.checkInsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Places.Item.GraphBuilding.CheckIns.checkInsRequestBuilder.checkInsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Places.Item.GraphBuilding.CheckIns.checkInsRequestBuilder.checkInsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Places.Item.GraphBuilding.CheckIns.checkInsRequestBuilder.checkInsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Places.Item.GraphBuilding.CheckIns.checkInsRequestBuilder.checkInsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Places.Item.GraphBuilding.CheckIns.checkInsRequestBuilder.checkInsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.Item.GraphBuilding.CheckIns.checkInsRequestBuilder.checkInsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.Item.GraphBuilding.CheckIns.checkInsRequestBuilder::[CheckInClaimCalendarEventId:string]:global.Microsoft.Graph.Places.Item.GraphBuilding.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder +Microsoft.Graph.Places.Item.GraphBuilding.CheckIns.checkInsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphBuilding.CheckIns.checkInsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphBuilding.CheckIns.checkInsRequestBuilder::|public|Count:global.Microsoft.Graph.Places.Item.GraphBuilding.CheckIns.Count.CountRequestBuilder +Microsoft.Graph.Places.Item.GraphBuilding.CheckIns.checkInsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CheckInClaimCollectionResponse +Microsoft.Graph.Places.Item.GraphBuilding.CheckIns.checkInsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.CheckInClaim; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CheckInClaim +Microsoft.Graph.Places.Item.GraphBuilding.CheckIns.checkInsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.Item.GraphBuilding.CheckIns.checkInsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.CheckInClaim; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.Item.GraphBuilding.CheckIns.checkInsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Places.Item.GraphBuilding.CheckIns.CheckInsRequestBuilder +Microsoft.Graph.Places.Item.GraphBuilding.CheckIns.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Places.Item.GraphBuilding.CheckIns.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Places.Item.GraphBuilding.CheckIns.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Places.Item.GraphBuilding.CheckIns.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.Item.GraphBuilding.CheckIns.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphBuilding.CheckIns.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphBuilding.CheckIns.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Places.Item.GraphBuilding.CheckIns.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.Item.GraphBuilding.CheckIns.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Places.Item.GraphBuilding.CheckIns.Count.CountRequestBuilder +Microsoft.Graph.Places.Item.GraphBuilding.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Places.Item.GraphBuilding.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder.CheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.Item.GraphBuilding.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder.CheckInClaimCalendarEventItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Places.Item.GraphBuilding.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder.CheckInClaimCalendarEventItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Places.Item.GraphBuilding.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder.CheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.Item.GraphBuilding.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder.CheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.Item.GraphBuilding.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphBuilding.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphBuilding.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Places.Item.GraphBuilding.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CheckInClaim +Microsoft.Graph.Places.Item.GraphBuilding.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.CheckInClaim; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CheckInClaim +Microsoft.Graph.Places.Item.GraphBuilding.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.Item.GraphBuilding.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.Item.GraphBuilding.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.CheckInClaim; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.Item.GraphBuilding.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Places.Item.GraphBuilding.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder +Microsoft.Graph.Places.Item.GraphBuilding.graphBuildingRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Places.Item.GraphBuilding.graphBuildingRequestBuilder.graphBuildingRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Places.Item.GraphBuilding.graphBuildingRequestBuilder.graphBuildingRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Places.Item.GraphBuilding.graphBuildingRequestBuilder.graphBuildingRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.Item.GraphBuilding.graphBuildingRequestBuilder::|public|checkIns:global.Microsoft.Graph.Places.Item.GraphBuilding.CheckIns.CheckInsRequestBuilder +Microsoft.Graph.Places.Item.GraphBuilding.graphBuildingRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphBuilding.graphBuildingRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphBuilding.graphBuildingRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Building +Microsoft.Graph.Places.Item.GraphBuilding.graphBuildingRequestBuilder::|public|map:global.Microsoft.Graph.Places.Item.GraphBuilding.Map.MapRequestBuilder +Microsoft.Graph.Places.Item.GraphBuilding.graphBuildingRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.Item.GraphBuilding.graphBuildingRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Places.Item.GraphBuilding.GraphBuildingRequestBuilder +Microsoft.Graph.Places.Item.GraphBuilding.Map.Footprints.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Places.Item.GraphBuilding.Map.Footprints.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Places.Item.GraphBuilding.Map.Footprints.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Places.Item.GraphBuilding.Map.Footprints.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.Item.GraphBuilding.Map.Footprints.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphBuilding.Map.Footprints.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphBuilding.Map.Footprints.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Places.Item.GraphBuilding.Map.Footprints.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.Item.GraphBuilding.Map.Footprints.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Places.Item.GraphBuilding.Map.Footprints.Count.CountRequestBuilder +Microsoft.Graph.Places.Item.GraphBuilding.Map.Footprints.footprintsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Places.Item.GraphBuilding.Map.Footprints.footprintsRequestBuilder.footprintsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Places.Item.GraphBuilding.Map.Footprints.footprintsRequestBuilder.footprintsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Places.Item.GraphBuilding.Map.Footprints.footprintsRequestBuilder.footprintsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Places.Item.GraphBuilding.Map.Footprints.footprintsRequestBuilder.footprintsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Places.Item.GraphBuilding.Map.Footprints.footprintsRequestBuilder.footprintsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Places.Item.GraphBuilding.Map.Footprints.footprintsRequestBuilder.footprintsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Places.Item.GraphBuilding.Map.Footprints.footprintsRequestBuilder.footprintsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Places.Item.GraphBuilding.Map.Footprints.footprintsRequestBuilder.footprintsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Places.Item.GraphBuilding.Map.Footprints.footprintsRequestBuilder.footprintsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.Item.GraphBuilding.Map.Footprints.footprintsRequestBuilder.footprintsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.Item.GraphBuilding.Map.Footprints.footprintsRequestBuilder::[FootprintMapId:string]:global.Microsoft.Graph.Places.Item.GraphBuilding.Map.Footprints.Item.FootprintMapItemRequestBuilder +Microsoft.Graph.Places.Item.GraphBuilding.Map.Footprints.footprintsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphBuilding.Map.Footprints.footprintsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphBuilding.Map.Footprints.footprintsRequestBuilder::|public|Count:global.Microsoft.Graph.Places.Item.GraphBuilding.Map.Footprints.Count.CountRequestBuilder +Microsoft.Graph.Places.Item.GraphBuilding.Map.Footprints.footprintsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.FootprintMapCollectionResponse +Microsoft.Graph.Places.Item.GraphBuilding.Map.Footprints.footprintsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.FootprintMap; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.FootprintMap +Microsoft.Graph.Places.Item.GraphBuilding.Map.Footprints.footprintsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.Item.GraphBuilding.Map.Footprints.footprintsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.FootprintMap; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.Item.GraphBuilding.Map.Footprints.footprintsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Places.Item.GraphBuilding.Map.Footprints.FootprintsRequestBuilder +Microsoft.Graph.Places.Item.GraphBuilding.Map.Footprints.Item.FootprintMapItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Places.Item.GraphBuilding.Map.Footprints.Item.FootprintMapItemRequestBuilder.FootprintMapItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.Item.GraphBuilding.Map.Footprints.Item.FootprintMapItemRequestBuilder.FootprintMapItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Places.Item.GraphBuilding.Map.Footprints.Item.FootprintMapItemRequestBuilder.FootprintMapItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Places.Item.GraphBuilding.Map.Footprints.Item.FootprintMapItemRequestBuilder.FootprintMapItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.Item.GraphBuilding.Map.Footprints.Item.FootprintMapItemRequestBuilder.FootprintMapItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.Item.GraphBuilding.Map.Footprints.Item.FootprintMapItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphBuilding.Map.Footprints.Item.FootprintMapItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphBuilding.Map.Footprints.Item.FootprintMapItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Places.Item.GraphBuilding.Map.Footprints.Item.FootprintMapItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.FootprintMap +Microsoft.Graph.Places.Item.GraphBuilding.Map.Footprints.Item.FootprintMapItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.FootprintMap; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.FootprintMap +Microsoft.Graph.Places.Item.GraphBuilding.Map.Footprints.Item.FootprintMapItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.Item.GraphBuilding.Map.Footprints.Item.FootprintMapItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.Item.GraphBuilding.Map.Footprints.Item.FootprintMapItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.FootprintMap; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.Item.GraphBuilding.Map.Footprints.Item.FootprintMapItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Places.Item.GraphBuilding.Map.Footprints.Item.FootprintMapItemRequestBuilder +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Count.CountRequestBuilder +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Fixtures.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Fixtures.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Fixtures.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Fixtures.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Fixtures.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Fixtures.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Fixtures.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Fixtures.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Fixtures.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Fixtures.Count.CountRequestBuilder +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Fixtures.fixturesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Fixtures.fixturesRequestBuilder.fixturesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Fixtures.fixturesRequestBuilder.fixturesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Fixtures.fixturesRequestBuilder.fixturesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Fixtures.fixturesRequestBuilder.fixturesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Fixtures.fixturesRequestBuilder.fixturesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Fixtures.fixturesRequestBuilder.fixturesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Fixtures.fixturesRequestBuilder.fixturesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Fixtures.fixturesRequestBuilder.fixturesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Fixtures.fixturesRequestBuilder.fixturesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Fixtures.fixturesRequestBuilder.fixturesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Fixtures.fixturesRequestBuilder::[FixtureMapId:string]:global.Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Fixtures.Item.FixtureMapItemRequestBuilder +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Fixtures.fixturesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Fixtures.fixturesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Fixtures.fixturesRequestBuilder::|public|Count:global.Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Fixtures.Count.CountRequestBuilder +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Fixtures.fixturesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.FixtureMapCollectionResponse +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Fixtures.fixturesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.FixtureMap; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.FixtureMap +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Fixtures.fixturesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Fixtures.fixturesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.FixtureMap; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Fixtures.fixturesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Fixtures.FixturesRequestBuilder +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Fixtures.Item.FixtureMapItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Fixtures.Item.FixtureMapItemRequestBuilder.FixtureMapItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Fixtures.Item.FixtureMapItemRequestBuilder.FixtureMapItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Fixtures.Item.FixtureMapItemRequestBuilder.FixtureMapItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Fixtures.Item.FixtureMapItemRequestBuilder.FixtureMapItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Fixtures.Item.FixtureMapItemRequestBuilder.FixtureMapItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Fixtures.Item.FixtureMapItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Fixtures.Item.FixtureMapItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Fixtures.Item.FixtureMapItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Fixtures.Item.FixtureMapItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.FixtureMap +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Fixtures.Item.FixtureMapItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.FixtureMap; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.FixtureMap +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Fixtures.Item.FixtureMapItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Fixtures.Item.FixtureMapItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Fixtures.Item.FixtureMapItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.FixtureMap; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Fixtures.Item.FixtureMapItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Fixtures.Item.FixtureMapItemRequestBuilder +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.LevelMapItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.LevelMapItemRequestBuilder.LevelMapItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.LevelMapItemRequestBuilder.LevelMapItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.LevelMapItemRequestBuilder.LevelMapItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.LevelMapItemRequestBuilder.LevelMapItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.LevelMapItemRequestBuilder.LevelMapItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.LevelMapItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.LevelMapItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.LevelMapItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.LevelMapItemRequestBuilder::|public|fixtures:global.Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Fixtures.FixturesRequestBuilder +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.LevelMapItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.LevelMap +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.LevelMapItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.LevelMap; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.LevelMap +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.LevelMapItemRequestBuilder::|public|sections:global.Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Sections.SectionsRequestBuilder +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.LevelMapItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.LevelMapItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.LevelMapItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.LevelMap; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.LevelMapItemRequestBuilder::|public|units:global.Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Units.UnitsRequestBuilder +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.LevelMapItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.LevelMapItemRequestBuilder +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Sections.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Sections.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Sections.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Sections.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Sections.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Sections.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Sections.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Sections.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Sections.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Sections.Count.CountRequestBuilder +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Sections.Item.SectionMapItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Sections.Item.SectionMapItemRequestBuilder.SectionMapItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Sections.Item.SectionMapItemRequestBuilder.SectionMapItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Sections.Item.SectionMapItemRequestBuilder.SectionMapItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Sections.Item.SectionMapItemRequestBuilder.SectionMapItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Sections.Item.SectionMapItemRequestBuilder.SectionMapItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Sections.Item.SectionMapItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Sections.Item.SectionMapItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Sections.Item.SectionMapItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Sections.Item.SectionMapItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SectionMap +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Sections.Item.SectionMapItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.SectionMap; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SectionMap +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Sections.Item.SectionMapItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Sections.Item.SectionMapItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Sections.Item.SectionMapItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.SectionMap; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Sections.Item.SectionMapItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Sections.Item.SectionMapItemRequestBuilder +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Sections.sectionsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Sections.sectionsRequestBuilder.sectionsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Sections.sectionsRequestBuilder.sectionsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Sections.sectionsRequestBuilder.sectionsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Sections.sectionsRequestBuilder.sectionsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Sections.sectionsRequestBuilder.sectionsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Sections.sectionsRequestBuilder.sectionsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Sections.sectionsRequestBuilder.sectionsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Sections.sectionsRequestBuilder.sectionsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Sections.sectionsRequestBuilder.sectionsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Sections.sectionsRequestBuilder.sectionsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Sections.sectionsRequestBuilder::[SectionMapId:string]:global.Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Sections.Item.SectionMapItemRequestBuilder +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Sections.sectionsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Sections.sectionsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Sections.sectionsRequestBuilder::|public|Count:global.Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Sections.Count.CountRequestBuilder +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Sections.sectionsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SectionMapCollectionResponse +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Sections.sectionsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.SectionMap; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SectionMap +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Sections.sectionsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Sections.sectionsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.SectionMap; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Sections.sectionsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Sections.SectionsRequestBuilder +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Units.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Units.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Units.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Units.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Units.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Units.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Units.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Units.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Units.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Units.Count.CountRequestBuilder +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Units.Item.UnitMapItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Units.Item.UnitMapItemRequestBuilder.UnitMapItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Units.Item.UnitMapItemRequestBuilder.UnitMapItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Units.Item.UnitMapItemRequestBuilder.UnitMapItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Units.Item.UnitMapItemRequestBuilder.UnitMapItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Units.Item.UnitMapItemRequestBuilder.UnitMapItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Units.Item.UnitMapItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Units.Item.UnitMapItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Units.Item.UnitMapItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Units.Item.UnitMapItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.UnitMap +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Units.Item.UnitMapItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.UnitMap; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.UnitMap +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Units.Item.UnitMapItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Units.Item.UnitMapItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Units.Item.UnitMapItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.UnitMap; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Units.Item.UnitMapItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Units.Item.UnitMapItemRequestBuilder +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Units.unitsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Units.unitsRequestBuilder.unitsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Units.unitsRequestBuilder.unitsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Units.unitsRequestBuilder.unitsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Units.unitsRequestBuilder.unitsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Units.unitsRequestBuilder.unitsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Units.unitsRequestBuilder.unitsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Units.unitsRequestBuilder.unitsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Units.unitsRequestBuilder.unitsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Units.unitsRequestBuilder.unitsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Units.unitsRequestBuilder.unitsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Units.unitsRequestBuilder::[UnitMapId:string]:global.Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Units.Item.UnitMapItemRequestBuilder +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Units.unitsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Units.unitsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Units.unitsRequestBuilder::|public|Count:global.Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Units.Count.CountRequestBuilder +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Units.unitsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.UnitMapCollectionResponse +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Units.unitsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.UnitMap; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.UnitMap +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Units.unitsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Units.unitsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.UnitMap; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Units.unitsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.Units.UnitsRequestBuilder +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.levelsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.levelsRequestBuilder.levelsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.levelsRequestBuilder.levelsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.levelsRequestBuilder.levelsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.levelsRequestBuilder.levelsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.levelsRequestBuilder.levelsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.levelsRequestBuilder.levelsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.levelsRequestBuilder.levelsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.levelsRequestBuilder.levelsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.levelsRequestBuilder.levelsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.levelsRequestBuilder.levelsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.levelsRequestBuilder::[LevelMapId:string]:global.Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Item.LevelMapItemRequestBuilder +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.levelsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.levelsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.levelsRequestBuilder::|public|Count:global.Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.Count.CountRequestBuilder +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.levelsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.LevelMapCollectionResponse +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.levelsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.LevelMap; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.LevelMap +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.levelsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.levelsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.LevelMap; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.levelsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.LevelsRequestBuilder +Microsoft.Graph.Places.Item.GraphBuilding.Map.mapRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Places.Item.GraphBuilding.Map.mapRequestBuilder.mapRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.Item.GraphBuilding.Map.mapRequestBuilder.mapRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Places.Item.GraphBuilding.Map.mapRequestBuilder.mapRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Places.Item.GraphBuilding.Map.mapRequestBuilder.mapRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.Item.GraphBuilding.Map.mapRequestBuilder.mapRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.Item.GraphBuilding.Map.mapRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphBuilding.Map.mapRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphBuilding.Map.mapRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Places.Item.GraphBuilding.Map.mapRequestBuilder::|public|footprints:global.Microsoft.Graph.Places.Item.GraphBuilding.Map.Footprints.FootprintsRequestBuilder +Microsoft.Graph.Places.Item.GraphBuilding.Map.mapRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.BuildingMap +Microsoft.Graph.Places.Item.GraphBuilding.Map.mapRequestBuilder::|public|levels:global.Microsoft.Graph.Places.Item.GraphBuilding.Map.Levels.LevelsRequestBuilder +Microsoft.Graph.Places.Item.GraphBuilding.Map.mapRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.BuildingMap; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.BuildingMap +Microsoft.Graph.Places.Item.GraphBuilding.Map.mapRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.Item.GraphBuilding.Map.mapRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.Item.GraphBuilding.Map.mapRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.BuildingMap; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.Item.GraphBuilding.Map.mapRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Places.Item.GraphBuilding.Map.MapRequestBuilder +Microsoft.Graph.Places.Item.GraphDesk.CheckIns.checkInsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Places.Item.GraphDesk.CheckIns.checkInsRequestBuilder.checkInsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Places.Item.GraphDesk.CheckIns.checkInsRequestBuilder.checkInsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Places.Item.GraphDesk.CheckIns.checkInsRequestBuilder.checkInsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Places.Item.GraphDesk.CheckIns.checkInsRequestBuilder.checkInsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Places.Item.GraphDesk.CheckIns.checkInsRequestBuilder.checkInsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Places.Item.GraphDesk.CheckIns.checkInsRequestBuilder.checkInsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Places.Item.GraphDesk.CheckIns.checkInsRequestBuilder.checkInsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Places.Item.GraphDesk.CheckIns.checkInsRequestBuilder.checkInsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Places.Item.GraphDesk.CheckIns.checkInsRequestBuilder.checkInsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.Item.GraphDesk.CheckIns.checkInsRequestBuilder.checkInsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.Item.GraphDesk.CheckIns.checkInsRequestBuilder::[CheckInClaimCalendarEventId:string]:global.Microsoft.Graph.Places.Item.GraphDesk.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder +Microsoft.Graph.Places.Item.GraphDesk.CheckIns.checkInsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphDesk.CheckIns.checkInsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphDesk.CheckIns.checkInsRequestBuilder::|public|Count:global.Microsoft.Graph.Places.Item.GraphDesk.CheckIns.Count.CountRequestBuilder +Microsoft.Graph.Places.Item.GraphDesk.CheckIns.checkInsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CheckInClaimCollectionResponse +Microsoft.Graph.Places.Item.GraphDesk.CheckIns.checkInsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.CheckInClaim; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CheckInClaim +Microsoft.Graph.Places.Item.GraphDesk.CheckIns.checkInsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.Item.GraphDesk.CheckIns.checkInsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.CheckInClaim; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.Item.GraphDesk.CheckIns.checkInsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Places.Item.GraphDesk.CheckIns.CheckInsRequestBuilder +Microsoft.Graph.Places.Item.GraphDesk.CheckIns.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Places.Item.GraphDesk.CheckIns.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Places.Item.GraphDesk.CheckIns.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Places.Item.GraphDesk.CheckIns.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.Item.GraphDesk.CheckIns.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphDesk.CheckIns.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphDesk.CheckIns.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Places.Item.GraphDesk.CheckIns.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.Item.GraphDesk.CheckIns.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Places.Item.GraphDesk.CheckIns.Count.CountRequestBuilder +Microsoft.Graph.Places.Item.GraphDesk.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Places.Item.GraphDesk.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder.CheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.Item.GraphDesk.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder.CheckInClaimCalendarEventItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Places.Item.GraphDesk.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder.CheckInClaimCalendarEventItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Places.Item.GraphDesk.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder.CheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.Item.GraphDesk.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder.CheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.Item.GraphDesk.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphDesk.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphDesk.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Places.Item.GraphDesk.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CheckInClaim +Microsoft.Graph.Places.Item.GraphDesk.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.CheckInClaim; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CheckInClaim +Microsoft.Graph.Places.Item.GraphDesk.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.Item.GraphDesk.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.Item.GraphDesk.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.CheckInClaim; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.Item.GraphDesk.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Places.Item.GraphDesk.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder +Microsoft.Graph.Places.Item.GraphDesk.graphDeskRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Places.Item.GraphDesk.graphDeskRequestBuilder.graphDeskRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Places.Item.GraphDesk.graphDeskRequestBuilder.graphDeskRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Places.Item.GraphDesk.graphDeskRequestBuilder.graphDeskRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.Item.GraphDesk.graphDeskRequestBuilder::|public|checkIns:global.Microsoft.Graph.Places.Item.GraphDesk.CheckIns.CheckInsRequestBuilder +Microsoft.Graph.Places.Item.GraphDesk.graphDeskRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphDesk.graphDeskRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphDesk.graphDeskRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Desk +Microsoft.Graph.Places.Item.GraphDesk.graphDeskRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.Item.GraphDesk.graphDeskRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Places.Item.GraphDesk.GraphDeskRequestBuilder +Microsoft.Graph.Places.Item.GraphFloor.CheckIns.checkInsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Places.Item.GraphFloor.CheckIns.checkInsRequestBuilder.checkInsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Places.Item.GraphFloor.CheckIns.checkInsRequestBuilder.checkInsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Places.Item.GraphFloor.CheckIns.checkInsRequestBuilder.checkInsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Places.Item.GraphFloor.CheckIns.checkInsRequestBuilder.checkInsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Places.Item.GraphFloor.CheckIns.checkInsRequestBuilder.checkInsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Places.Item.GraphFloor.CheckIns.checkInsRequestBuilder.checkInsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Places.Item.GraphFloor.CheckIns.checkInsRequestBuilder.checkInsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Places.Item.GraphFloor.CheckIns.checkInsRequestBuilder.checkInsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Places.Item.GraphFloor.CheckIns.checkInsRequestBuilder.checkInsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.Item.GraphFloor.CheckIns.checkInsRequestBuilder.checkInsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.Item.GraphFloor.CheckIns.checkInsRequestBuilder::[CheckInClaimCalendarEventId:string]:global.Microsoft.Graph.Places.Item.GraphFloor.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder +Microsoft.Graph.Places.Item.GraphFloor.CheckIns.checkInsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphFloor.CheckIns.checkInsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphFloor.CheckIns.checkInsRequestBuilder::|public|Count:global.Microsoft.Graph.Places.Item.GraphFloor.CheckIns.Count.CountRequestBuilder +Microsoft.Graph.Places.Item.GraphFloor.CheckIns.checkInsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CheckInClaimCollectionResponse +Microsoft.Graph.Places.Item.GraphFloor.CheckIns.checkInsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.CheckInClaim; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CheckInClaim +Microsoft.Graph.Places.Item.GraphFloor.CheckIns.checkInsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.Item.GraphFloor.CheckIns.checkInsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.CheckInClaim; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.Item.GraphFloor.CheckIns.checkInsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Places.Item.GraphFloor.CheckIns.CheckInsRequestBuilder +Microsoft.Graph.Places.Item.GraphFloor.CheckIns.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Places.Item.GraphFloor.CheckIns.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Places.Item.GraphFloor.CheckIns.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Places.Item.GraphFloor.CheckIns.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.Item.GraphFloor.CheckIns.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphFloor.CheckIns.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphFloor.CheckIns.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Places.Item.GraphFloor.CheckIns.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.Item.GraphFloor.CheckIns.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Places.Item.GraphFloor.CheckIns.Count.CountRequestBuilder +Microsoft.Graph.Places.Item.GraphFloor.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Places.Item.GraphFloor.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder.CheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.Item.GraphFloor.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder.CheckInClaimCalendarEventItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Places.Item.GraphFloor.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder.CheckInClaimCalendarEventItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Places.Item.GraphFloor.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder.CheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.Item.GraphFloor.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder.CheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.Item.GraphFloor.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphFloor.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphFloor.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Places.Item.GraphFloor.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CheckInClaim +Microsoft.Graph.Places.Item.GraphFloor.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.CheckInClaim; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CheckInClaim +Microsoft.Graph.Places.Item.GraphFloor.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.Item.GraphFloor.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.Item.GraphFloor.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.CheckInClaim; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.Item.GraphFloor.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Places.Item.GraphFloor.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder +Microsoft.Graph.Places.Item.GraphFloor.graphFloorRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Places.Item.GraphFloor.graphFloorRequestBuilder.graphFloorRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Places.Item.GraphFloor.graphFloorRequestBuilder.graphFloorRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Places.Item.GraphFloor.graphFloorRequestBuilder.graphFloorRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.Item.GraphFloor.graphFloorRequestBuilder::|public|checkIns:global.Microsoft.Graph.Places.Item.GraphFloor.CheckIns.CheckInsRequestBuilder +Microsoft.Graph.Places.Item.GraphFloor.graphFloorRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphFloor.graphFloorRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphFloor.graphFloorRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Floor +Microsoft.Graph.Places.Item.GraphFloor.graphFloorRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.Item.GraphFloor.graphFloorRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Places.Item.GraphFloor.GraphFloorRequestBuilder Microsoft.Graph.Places.Item.GraphRoom.CheckIns.checkInsRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Places.Item.GraphRoom.CheckIns.checkInsRequestBuilder.checkInsRequestBuilderGetQueryParameters::|public|Count:bool? Microsoft.Graph.Places.Item.GraphRoom.CheckIns.checkInsRequestBuilder.checkInsRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -127534,6 +128524,7 @@ Microsoft.Graph.Places.Item.GraphRoomList.graphRoomListRequestBuilder::|public|G Microsoft.Graph.Places.Item.GraphRoomList.graphRoomListRequestBuilder::|public|rooms:global.Microsoft.Graph.Places.Item.GraphRoomList.Rooms.RoomsRequestBuilder Microsoft.Graph.Places.Item.GraphRoomList.graphRoomListRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Places.Item.GraphRoomList.graphRoomListRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Places.Item.GraphRoomList.GraphRoomListRequestBuilder +Microsoft.Graph.Places.Item.GraphRoomList.graphRoomListRequestBuilder::|public|workspaces:global.Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.WorkspacesRequestBuilder Microsoft.Graph.Places.Item.GraphRoomList.Rooms.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Places.Item.GraphRoomList.Rooms.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Places.Item.GraphRoomList.Rooms.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -127623,6 +128614,203 @@ Microsoft.Graph.Places.Item.GraphRoomList.Rooms.roomsRequestBuilder::|public|Pos Microsoft.Graph.Places.Item.GraphRoomList.Rooms.roomsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Places.Item.GraphRoomList.Rooms.roomsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.Room; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Places.Item.GraphRoomList.Rooms.roomsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Places.Item.GraphRoomList.Rooms.RoomsRequestBuilder +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Count.CountRequestBuilder +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.CheckIns.checkInsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.CheckIns.checkInsRequestBuilder.checkInsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.CheckIns.checkInsRequestBuilder.checkInsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.CheckIns.checkInsRequestBuilder.checkInsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.CheckIns.checkInsRequestBuilder.checkInsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.CheckIns.checkInsRequestBuilder.checkInsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.CheckIns.checkInsRequestBuilder.checkInsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.CheckIns.checkInsRequestBuilder.checkInsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.CheckIns.checkInsRequestBuilder.checkInsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.CheckIns.checkInsRequestBuilder.checkInsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.CheckIns.checkInsRequestBuilder.checkInsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.CheckIns.checkInsRequestBuilder::[CheckInClaimCalendarEventId:string]:global.Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.CheckIns.checkInsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.CheckIns.checkInsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.CheckIns.checkInsRequestBuilder::|public|Count:global.Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.CheckIns.Count.CountRequestBuilder +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.CheckIns.checkInsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CheckInClaimCollectionResponse +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.CheckIns.checkInsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.CheckInClaim; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CheckInClaim +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.CheckIns.checkInsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.CheckIns.checkInsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.CheckInClaim; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.CheckIns.checkInsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.CheckIns.CheckInsRequestBuilder +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.CheckIns.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.CheckIns.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.CheckIns.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.CheckIns.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.CheckIns.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.CheckIns.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.CheckIns.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.CheckIns.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.CheckIns.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.CheckIns.Count.CountRequestBuilder +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder.CheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder.CheckInClaimCalendarEventItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder.CheckInClaimCalendarEventItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder.CheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder.CheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CheckInClaim +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.CheckInClaim; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CheckInClaim +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.CheckInClaim; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.WorkspaceItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.WorkspaceItemRequestBuilder.WorkspaceItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.WorkspaceItemRequestBuilder.WorkspaceItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.WorkspaceItemRequestBuilder.WorkspaceItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.WorkspaceItemRequestBuilder.WorkspaceItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.WorkspaceItemRequestBuilder.WorkspaceItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.WorkspaceItemRequestBuilder::|public|checkIns:global.Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.CheckIns.CheckInsRequestBuilder +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.WorkspaceItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.WorkspaceItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.WorkspaceItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.WorkspaceItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Workspace +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.WorkspaceItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.Workspace; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Workspace +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.WorkspaceItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.WorkspaceItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.WorkspaceItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.Workspace; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.WorkspaceItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.WorkspaceItemRequestBuilder +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.workspacesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.workspacesRequestBuilder.workspacesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.workspacesRequestBuilder.workspacesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.workspacesRequestBuilder.workspacesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.workspacesRequestBuilder.workspacesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.workspacesRequestBuilder.workspacesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.workspacesRequestBuilder.workspacesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.workspacesRequestBuilder.workspacesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.workspacesRequestBuilder.workspacesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.workspacesRequestBuilder.workspacesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.workspacesRequestBuilder.workspacesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.workspacesRequestBuilder::[WorkspaceId:string]:global.Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Item.WorkspaceItemRequestBuilder +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.workspacesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.workspacesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.workspacesRequestBuilder::|public|Count:global.Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.Count.CountRequestBuilder +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.workspacesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.WorkspaceCollectionResponse +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.workspacesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.Workspace; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Workspace +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.workspacesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.workspacesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.Workspace; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.workspacesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Places.Item.GraphRoomList.Workspaces.WorkspacesRequestBuilder +Microsoft.Graph.Places.Item.GraphSection.CheckIns.checkInsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Places.Item.GraphSection.CheckIns.checkInsRequestBuilder.checkInsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Places.Item.GraphSection.CheckIns.checkInsRequestBuilder.checkInsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Places.Item.GraphSection.CheckIns.checkInsRequestBuilder.checkInsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Places.Item.GraphSection.CheckIns.checkInsRequestBuilder.checkInsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Places.Item.GraphSection.CheckIns.checkInsRequestBuilder.checkInsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Places.Item.GraphSection.CheckIns.checkInsRequestBuilder.checkInsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Places.Item.GraphSection.CheckIns.checkInsRequestBuilder.checkInsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Places.Item.GraphSection.CheckIns.checkInsRequestBuilder.checkInsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Places.Item.GraphSection.CheckIns.checkInsRequestBuilder.checkInsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.Item.GraphSection.CheckIns.checkInsRequestBuilder.checkInsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.Item.GraphSection.CheckIns.checkInsRequestBuilder::[CheckInClaimCalendarEventId:string]:global.Microsoft.Graph.Places.Item.GraphSection.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder +Microsoft.Graph.Places.Item.GraphSection.CheckIns.checkInsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphSection.CheckIns.checkInsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphSection.CheckIns.checkInsRequestBuilder::|public|Count:global.Microsoft.Graph.Places.Item.GraphSection.CheckIns.Count.CountRequestBuilder +Microsoft.Graph.Places.Item.GraphSection.CheckIns.checkInsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CheckInClaimCollectionResponse +Microsoft.Graph.Places.Item.GraphSection.CheckIns.checkInsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.CheckInClaim; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CheckInClaim +Microsoft.Graph.Places.Item.GraphSection.CheckIns.checkInsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.Item.GraphSection.CheckIns.checkInsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.CheckInClaim; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.Item.GraphSection.CheckIns.checkInsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Places.Item.GraphSection.CheckIns.CheckInsRequestBuilder +Microsoft.Graph.Places.Item.GraphSection.CheckIns.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Places.Item.GraphSection.CheckIns.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Places.Item.GraphSection.CheckIns.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Places.Item.GraphSection.CheckIns.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.Item.GraphSection.CheckIns.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphSection.CheckIns.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphSection.CheckIns.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Places.Item.GraphSection.CheckIns.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.Item.GraphSection.CheckIns.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Places.Item.GraphSection.CheckIns.Count.CountRequestBuilder +Microsoft.Graph.Places.Item.GraphSection.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Places.Item.GraphSection.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder.CheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.Item.GraphSection.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder.CheckInClaimCalendarEventItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Places.Item.GraphSection.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder.CheckInClaimCalendarEventItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Places.Item.GraphSection.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder.CheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.Item.GraphSection.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder.CheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.Item.GraphSection.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphSection.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphSection.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Places.Item.GraphSection.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CheckInClaim +Microsoft.Graph.Places.Item.GraphSection.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.CheckInClaim; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CheckInClaim +Microsoft.Graph.Places.Item.GraphSection.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.Item.GraphSection.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.Item.GraphSection.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.CheckInClaim; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.Item.GraphSection.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Places.Item.GraphSection.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder +Microsoft.Graph.Places.Item.GraphSection.graphSectionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Places.Item.GraphSection.graphSectionRequestBuilder.graphSectionRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Places.Item.GraphSection.graphSectionRequestBuilder.graphSectionRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Places.Item.GraphSection.graphSectionRequestBuilder.graphSectionRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.Item.GraphSection.graphSectionRequestBuilder::|public|checkIns:global.Microsoft.Graph.Places.Item.GraphSection.CheckIns.CheckInsRequestBuilder +Microsoft.Graph.Places.Item.GraphSection.graphSectionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphSection.graphSectionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphSection.graphSectionRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Section +Microsoft.Graph.Places.Item.GraphSection.graphSectionRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.Item.GraphSection.graphSectionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Places.Item.GraphSection.GraphSectionRequestBuilder +Microsoft.Graph.Places.Item.GraphWorkspace.CheckIns.checkInsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Places.Item.GraphWorkspace.CheckIns.checkInsRequestBuilder.checkInsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Places.Item.GraphWorkspace.CheckIns.checkInsRequestBuilder.checkInsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Places.Item.GraphWorkspace.CheckIns.checkInsRequestBuilder.checkInsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Places.Item.GraphWorkspace.CheckIns.checkInsRequestBuilder.checkInsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Places.Item.GraphWorkspace.CheckIns.checkInsRequestBuilder.checkInsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Places.Item.GraphWorkspace.CheckIns.checkInsRequestBuilder.checkInsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Places.Item.GraphWorkspace.CheckIns.checkInsRequestBuilder.checkInsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Places.Item.GraphWorkspace.CheckIns.checkInsRequestBuilder.checkInsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Places.Item.GraphWorkspace.CheckIns.checkInsRequestBuilder.checkInsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.Item.GraphWorkspace.CheckIns.checkInsRequestBuilder.checkInsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.Item.GraphWorkspace.CheckIns.checkInsRequestBuilder::[CheckInClaimCalendarEventId:string]:global.Microsoft.Graph.Places.Item.GraphWorkspace.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder +Microsoft.Graph.Places.Item.GraphWorkspace.CheckIns.checkInsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphWorkspace.CheckIns.checkInsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphWorkspace.CheckIns.checkInsRequestBuilder::|public|Count:global.Microsoft.Graph.Places.Item.GraphWorkspace.CheckIns.Count.CountRequestBuilder +Microsoft.Graph.Places.Item.GraphWorkspace.CheckIns.checkInsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CheckInClaimCollectionResponse +Microsoft.Graph.Places.Item.GraphWorkspace.CheckIns.checkInsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.CheckInClaim; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CheckInClaim +Microsoft.Graph.Places.Item.GraphWorkspace.CheckIns.checkInsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.Item.GraphWorkspace.CheckIns.checkInsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.CheckInClaim; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.Item.GraphWorkspace.CheckIns.checkInsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Places.Item.GraphWorkspace.CheckIns.CheckInsRequestBuilder +Microsoft.Graph.Places.Item.GraphWorkspace.CheckIns.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Places.Item.GraphWorkspace.CheckIns.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Places.Item.GraphWorkspace.CheckIns.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Places.Item.GraphWorkspace.CheckIns.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.Item.GraphWorkspace.CheckIns.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphWorkspace.CheckIns.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphWorkspace.CheckIns.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Places.Item.GraphWorkspace.CheckIns.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.Item.GraphWorkspace.CheckIns.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Places.Item.GraphWorkspace.CheckIns.Count.CountRequestBuilder +Microsoft.Graph.Places.Item.GraphWorkspace.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Places.Item.GraphWorkspace.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder.CheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.Item.GraphWorkspace.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder.CheckInClaimCalendarEventItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Places.Item.GraphWorkspace.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder.CheckInClaimCalendarEventItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Places.Item.GraphWorkspace.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder.CheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.Item.GraphWorkspace.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder.CheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.Item.GraphWorkspace.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphWorkspace.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphWorkspace.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Places.Item.GraphWorkspace.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CheckInClaim +Microsoft.Graph.Places.Item.GraphWorkspace.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.CheckInClaim; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.CheckInClaim +Microsoft.Graph.Places.Item.GraphWorkspace.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.Item.GraphWorkspace.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.Item.GraphWorkspace.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.CheckInClaim; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.Item.GraphWorkspace.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Places.Item.GraphWorkspace.CheckIns.Item.CheckInClaimCalendarEventItemRequestBuilder +Microsoft.Graph.Places.Item.GraphWorkspace.graphWorkspaceRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Places.Item.GraphWorkspace.graphWorkspaceRequestBuilder.graphWorkspaceRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Places.Item.GraphWorkspace.graphWorkspaceRequestBuilder.graphWorkspaceRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Places.Item.GraphWorkspace.graphWorkspaceRequestBuilder.graphWorkspaceRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Places.Item.GraphWorkspace.graphWorkspaceRequestBuilder::|public|checkIns:global.Microsoft.Graph.Places.Item.GraphWorkspace.CheckIns.CheckInsRequestBuilder +Microsoft.Graph.Places.Item.GraphWorkspace.graphWorkspaceRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphWorkspace.graphWorkspaceRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Places.Item.GraphWorkspace.graphWorkspaceRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Workspace +Microsoft.Graph.Places.Item.GraphWorkspace.graphWorkspaceRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Places.Item.GraphWorkspace.graphWorkspaceRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Places.Item.GraphWorkspace.GraphWorkspaceRequestBuilder Microsoft.Graph.Places.Item.PlaceItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Places.Item.PlaceItemRequestBuilder.PlaceItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Places.Item.PlaceItemRequestBuilder.PlaceItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration @@ -127630,8 +128818,14 @@ Microsoft.Graph.Places.Item.PlaceItemRequestBuilder::|public|checkIns:global.Mic Microsoft.Graph.Places.Item.PlaceItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Places.Item.PlaceItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Places.Item.PlaceItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Places.Item.PlaceItemRequestBuilder::|public|descendants:global.Microsoft.Graph.Places.Item.Descendants.DescendantsRequestBuilder +Microsoft.Graph.Places.Item.PlaceItemRequestBuilder::|public|graphBuilding:global.Microsoft.Graph.Places.Item.GraphBuilding.GraphBuildingRequestBuilder +Microsoft.Graph.Places.Item.PlaceItemRequestBuilder::|public|graphDesk:global.Microsoft.Graph.Places.Item.GraphDesk.GraphDeskRequestBuilder +Microsoft.Graph.Places.Item.PlaceItemRequestBuilder::|public|graphFloor:global.Microsoft.Graph.Places.Item.GraphFloor.GraphFloorRequestBuilder Microsoft.Graph.Places.Item.PlaceItemRequestBuilder::|public|graphRoom:global.Microsoft.Graph.Places.Item.GraphRoom.GraphRoomRequestBuilder Microsoft.Graph.Places.Item.PlaceItemRequestBuilder::|public|graphRoomList:global.Microsoft.Graph.Places.Item.GraphRoomList.GraphRoomListRequestBuilder +Microsoft.Graph.Places.Item.PlaceItemRequestBuilder::|public|graphSection:global.Microsoft.Graph.Places.Item.GraphSection.GraphSectionRequestBuilder +Microsoft.Graph.Places.Item.PlaceItemRequestBuilder::|public|graphWorkspace:global.Microsoft.Graph.Places.Item.GraphWorkspace.GraphWorkspaceRequestBuilder Microsoft.Graph.Places.Item.PlaceItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.Place; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Place Microsoft.Graph.Places.Item.PlaceItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Places.Item.PlaceItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.Place; requestConfiguration?:Action>):RequestInformation @@ -127642,8 +128836,13 @@ Microsoft.Graph.Places.placesRequestBuilder::[PlaceId:string]:global.Microsoft.G Microsoft.Graph.Places.placesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Places.placesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Places.placesRequestBuilder::|public|Count:global.Microsoft.Graph.Places.Count.CountRequestBuilder +Microsoft.Graph.Places.placesRequestBuilder::|public|graphBuilding:global.Microsoft.Graph.Places.GraphBuilding.GraphBuildingRequestBuilder +Microsoft.Graph.Places.placesRequestBuilder::|public|graphDesk:global.Microsoft.Graph.Places.GraphDesk.GraphDeskRequestBuilder +Microsoft.Graph.Places.placesRequestBuilder::|public|graphFloor:global.Microsoft.Graph.Places.GraphFloor.GraphFloorRequestBuilder Microsoft.Graph.Places.placesRequestBuilder::|public|graphRoom:global.Microsoft.Graph.Places.GraphRoom.GraphRoomRequestBuilder Microsoft.Graph.Places.placesRequestBuilder::|public|graphRoomList:global.Microsoft.Graph.Places.GraphRoomList.GraphRoomListRequestBuilder +Microsoft.Graph.Places.placesRequestBuilder::|public|graphSection:global.Microsoft.Graph.Places.GraphSection.GraphSectionRequestBuilder +Microsoft.Graph.Places.placesRequestBuilder::|public|graphWorkspace:global.Microsoft.Graph.Places.GraphWorkspace.GraphWorkspaceRequestBuilder Microsoft.Graph.Places.placesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.Place; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Place Microsoft.Graph.Places.placesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.Place; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Places.placesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Places.PlacesRequestBuilder @@ -137062,6 +138261,7 @@ Microsoft.Graph.Security.Identities.identitiesRequestBuilder::|public|constructo Microsoft.Graph.Security.Identities.identitiesRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Security.Identities.identitiesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Security.IdentityContainer Microsoft.Graph.Security.Identities.identitiesRequestBuilder::|public|healthIssues:global.Microsoft.Graph.Security.Identities.HealthIssues.HealthIssuesRequestBuilder +Microsoft.Graph.Security.Identities.identitiesRequestBuilder::|public|identityAccounts:global.Microsoft.Graph.Security.Identities.IdentityAccounts.IdentityAccountsRequestBuilder Microsoft.Graph.Security.Identities.identitiesRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.Security.IdentityContainer; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Security.IdentityContainer Microsoft.Graph.Security.Identities.identitiesRequestBuilder::|public|sensorCandidateActivationConfiguration:global.Microsoft.Graph.Security.Identities.SensorCandidateActivationConfiguration.SensorCandidateActivationConfigurationRequestBuilder Microsoft.Graph.Security.Identities.identitiesRequestBuilder::|public|sensorCandidates:global.Microsoft.Graph.Security.Identities.SensorCandidates.SensorCandidatesRequestBuilder @@ -137070,6 +138270,68 @@ Microsoft.Graph.Security.Identities.identitiesRequestBuilder::|public|ToDeleteRe Microsoft.Graph.Security.Identities.identitiesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Security.Identities.identitiesRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.Security.IdentityContainer; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Security.Identities.identitiesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Security.Identities.IdentitiesRequestBuilder +Microsoft.Graph.Security.Identities.IdentityAccounts.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Security.Identities.IdentityAccounts.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Security.Identities.IdentityAccounts.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Security.Identities.IdentityAccounts.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Security.Identities.IdentityAccounts.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Security.Identities.IdentityAccounts.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Security.Identities.IdentityAccounts.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Security.Identities.IdentityAccounts.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Security.Identities.IdentityAccounts.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Security.Identities.IdentityAccounts.Count.CountRequestBuilder +Microsoft.Graph.Security.Identities.IdentityAccounts.identityAccountsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Security.Identities.IdentityAccounts.identityAccountsRequestBuilder.identityAccountsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Security.Identities.IdentityAccounts.identityAccountsRequestBuilder.identityAccountsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Security.Identities.IdentityAccounts.identityAccountsRequestBuilder.identityAccountsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Security.Identities.IdentityAccounts.identityAccountsRequestBuilder.identityAccountsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Security.Identities.IdentityAccounts.identityAccountsRequestBuilder.identityAccountsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Security.Identities.IdentityAccounts.identityAccountsRequestBuilder.identityAccountsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Security.Identities.IdentityAccounts.identityAccountsRequestBuilder.identityAccountsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Security.Identities.IdentityAccounts.identityAccountsRequestBuilder.identityAccountsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Security.Identities.IdentityAccounts.identityAccountsRequestBuilder.identityAccountsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Security.Identities.IdentityAccounts.identityAccountsRequestBuilder.identityAccountsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Security.Identities.IdentityAccounts.identityAccountsRequestBuilder::[IdentityAccountsId:string]:global.Microsoft.Graph.Security.Identities.IdentityAccounts.Item.IdentityAccountsItemRequestBuilder +Microsoft.Graph.Security.Identities.IdentityAccounts.identityAccountsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Security.Identities.IdentityAccounts.identityAccountsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Security.Identities.IdentityAccounts.identityAccountsRequestBuilder::|public|Count:global.Microsoft.Graph.Security.Identities.IdentityAccounts.Count.CountRequestBuilder +Microsoft.Graph.Security.Identities.IdentityAccounts.identityAccountsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Security.IdentityAccountsCollectionResponse +Microsoft.Graph.Security.Identities.IdentityAccounts.identityAccountsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.Security.IdentityAccounts; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Security.IdentityAccounts +Microsoft.Graph.Security.Identities.IdentityAccounts.identityAccountsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Security.Identities.IdentityAccounts.identityAccountsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.Security.IdentityAccounts; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Security.Identities.IdentityAccounts.identityAccountsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Security.Identities.IdentityAccounts.IdentityAccountsRequestBuilder +Microsoft.Graph.Security.Identities.IdentityAccounts.Item.IdentityAccountsItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Security.Identities.IdentityAccounts.Item.IdentityAccountsItemRequestBuilder.IdentityAccountsItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Security.Identities.IdentityAccounts.Item.IdentityAccountsItemRequestBuilder.IdentityAccountsItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Security.Identities.IdentityAccounts.Item.IdentityAccountsItemRequestBuilder.IdentityAccountsItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Security.Identities.IdentityAccounts.Item.IdentityAccountsItemRequestBuilder.IdentityAccountsItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Security.Identities.IdentityAccounts.Item.IdentityAccountsItemRequestBuilder.IdentityAccountsItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Security.Identities.IdentityAccounts.Item.IdentityAccountsItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Security.Identities.IdentityAccounts.Item.IdentityAccountsItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Security.Identities.IdentityAccounts.Item.IdentityAccountsItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Security.Identities.IdentityAccounts.Item.IdentityAccountsItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Security.IdentityAccounts +Microsoft.Graph.Security.Identities.IdentityAccounts.Item.IdentityAccountsItemRequestBuilder::|public|microsoftGraphSecurityInvokeAction:global.Microsoft.Graph.Security.Identities.IdentityAccounts.Item.MicrosoftGraphSecurityInvokeAction.MicrosoftGraphSecurityInvokeActionRequestBuilder +Microsoft.Graph.Security.Identities.IdentityAccounts.Item.IdentityAccountsItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.Security.IdentityAccounts; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Security.IdentityAccounts +Microsoft.Graph.Security.Identities.IdentityAccounts.Item.IdentityAccountsItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Security.Identities.IdentityAccounts.Item.IdentityAccountsItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Security.Identities.IdentityAccounts.Item.IdentityAccountsItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.Security.IdentityAccounts; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Security.Identities.IdentityAccounts.Item.IdentityAccountsItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Security.Identities.IdentityAccounts.Item.IdentityAccountsItemRequestBuilder +Microsoft.Graph.Security.Identities.IdentityAccounts.Item.MicrosoftGraphSecurityInvokeAction.invokeActionPostRequestBody::|public|AccountId:string +Microsoft.Graph.Security.Identities.IdentityAccounts.Item.MicrosoftGraphSecurityInvokeAction.invokeActionPostRequestBody::|public|Action:global.Microsoft.Graph.Models.Security.ActionObject? +Microsoft.Graph.Security.Identities.IdentityAccounts.Item.MicrosoftGraphSecurityInvokeAction.invokeActionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Security.Identities.IdentityAccounts.Item.MicrosoftGraphSecurityInvokeAction.invokeActionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Security.Identities.IdentityAccounts.Item.MicrosoftGraphSecurityInvokeAction.invokeActionPostRequestBody::|public|constructor():void +Microsoft.Graph.Security.Identities.IdentityAccounts.Item.MicrosoftGraphSecurityInvokeAction.invokeActionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Security.Identities.IdentityAccounts.Item.MicrosoftGraphSecurityInvokeAction.invokeActionPostRequestBody::|public|IdentityProvider:global.Microsoft.Graph.Models.Security.IdentityProvider? +Microsoft.Graph.Security.Identities.IdentityAccounts.Item.MicrosoftGraphSecurityInvokeAction.invokeActionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Security.Identities.IdentityAccounts.Item.MicrosoftGraphSecurityInvokeAction.invokeActionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Security.Identities.IdentityAccounts.Item.MicrosoftGraphSecurityInvokeAction.InvokeActionPostRequestBody +Microsoft.Graph.Security.Identities.IdentityAccounts.Item.MicrosoftGraphSecurityInvokeAction.invokeActionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Security.Identities.IdentityAccounts.Item.MicrosoftGraphSecurityInvokeAction.microsoftGraphSecurityInvokeActionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Security.Identities.IdentityAccounts.Item.MicrosoftGraphSecurityInvokeAction.microsoftGraphSecurityInvokeActionRequestBuilder.microsoftGraphSecurityInvokeActionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Security.Identities.IdentityAccounts.Item.MicrosoftGraphSecurityInvokeAction.microsoftGraphSecurityInvokeActionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Security.Identities.IdentityAccounts.Item.MicrosoftGraphSecurityInvokeAction.microsoftGraphSecurityInvokeActionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Security.Identities.IdentityAccounts.Item.MicrosoftGraphSecurityInvokeAction.microsoftGraphSecurityInvokeActionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Security.Identities.IdentityAccounts.Item.MicrosoftGraphSecurityInvokeAction.InvokeActionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Security.InvokeActionResult +Microsoft.Graph.Security.Identities.IdentityAccounts.Item.MicrosoftGraphSecurityInvokeAction.microsoftGraphSecurityInvokeActionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Security.Identities.IdentityAccounts.Item.MicrosoftGraphSecurityInvokeAction.InvokeActionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Security.Identities.IdentityAccounts.Item.MicrosoftGraphSecurityInvokeAction.microsoftGraphSecurityInvokeActionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Security.Identities.IdentityAccounts.Item.MicrosoftGraphSecurityInvokeAction.MicrosoftGraphSecurityInvokeActionRequestBuilder Microsoft.Graph.Security.Identities.SensorCandidateActivationConfiguration.sensorCandidateActivationConfigurationRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Security.Identities.SensorCandidateActivationConfiguration.sensorCandidateActivationConfigurationRequestBuilder.sensorCandidateActivationConfigurationRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Security.Identities.SensorCandidateActivationConfiguration.sensorCandidateActivationConfigurationRequestBuilder.sensorCandidateActivationConfigurationRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -155592,9 +156854,11 @@ Microsoft.Graph.Storage.FileStorage.Containers.Item.FileStorageContainerItemRequ Microsoft.Graph.Storage.FileStorage.Containers.Item.FileStorageContainerItemRequestBuilder::|public|drive:global.Microsoft.Graph.Storage.FileStorage.Containers.Item.Drive.DriveRequestBuilder Microsoft.Graph.Storage.FileStorage.Containers.Item.FileStorageContainerItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.FileStorageContainer Microsoft.Graph.Storage.FileStorage.Containers.Item.FileStorageContainerItemRequestBuilder::|public|lock:global.Microsoft.Graph.Storage.FileStorage.Containers.Item.Lock.LockRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.FileStorageContainerItemRequestBuilder::|public|migrationJobs:global.Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.MigrationJobsRequestBuilder Microsoft.Graph.Storage.FileStorage.Containers.Item.FileStorageContainerItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.FileStorageContainer; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.FileStorageContainer Microsoft.Graph.Storage.FileStorage.Containers.Item.FileStorageContainerItemRequestBuilder::|public|permanentDelete:global.Microsoft.Graph.Storage.FileStorage.Containers.Item.PermanentDelete.PermanentDeleteRequestBuilder Microsoft.Graph.Storage.FileStorage.Containers.Item.FileStorageContainerItemRequestBuilder::|public|permissions:global.Microsoft.Graph.Storage.FileStorage.Containers.Item.Permissions.PermissionsRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.FileStorageContainerItemRequestBuilder::|public|provisionMigrationContainers:global.Microsoft.Graph.Storage.FileStorage.Containers.Item.ProvisionMigrationContainers.ProvisionMigrationContainersRequestBuilder Microsoft.Graph.Storage.FileStorage.Containers.Item.FileStorageContainerItemRequestBuilder::|public|recycleBin:global.Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.RecycleBinRequestBuilder Microsoft.Graph.Storage.FileStorage.Containers.Item.FileStorageContainerItemRequestBuilder::|public|restore:global.Microsoft.Graph.Storage.FileStorage.Containers.Item.Restore.RestoreRequestBuilder Microsoft.Graph.Storage.FileStorage.Containers.Item.FileStorageContainerItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation @@ -155617,6 +156881,95 @@ Microsoft.Graph.Storage.FileStorage.Containers.Item.Lock.lockRequestBuilder::|pu Microsoft.Graph.Storage.FileStorage.Containers.Item.Lock.lockRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Storage.FileStorage.Containers.Item.Lock.LockPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Storage.FileStorage.Containers.Item.Lock.lockRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Storage.FileStorage.Containers.Item.Lock.LockPostRequestBody; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Storage.FileStorage.Containers.Item.Lock.lockRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.Containers.Item.Lock.LockRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Count.CountRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.ProgressEvents.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.ProgressEvents.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.ProgressEvents.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.ProgressEvents.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.ProgressEvents.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.ProgressEvents.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.ProgressEvents.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.ProgressEvents.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.ProgressEvents.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.ProgressEvents.Count.CountRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.ProgressEvents.Item.SharePointMigrationEventItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.ProgressEvents.Item.SharePointMigrationEventItemRequestBuilder.SharePointMigrationEventItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.ProgressEvents.Item.SharePointMigrationEventItemRequestBuilder.SharePointMigrationEventItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.ProgressEvents.Item.SharePointMigrationEventItemRequestBuilder.SharePointMigrationEventItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.ProgressEvents.Item.SharePointMigrationEventItemRequestBuilder.SharePointMigrationEventItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.ProgressEvents.Item.SharePointMigrationEventItemRequestBuilder.SharePointMigrationEventItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.ProgressEvents.Item.SharePointMigrationEventItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.ProgressEvents.Item.SharePointMigrationEventItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.ProgressEvents.Item.SharePointMigrationEventItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.ProgressEvents.Item.SharePointMigrationEventItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SharePointMigrationEvent +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.ProgressEvents.Item.SharePointMigrationEventItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.SharePointMigrationEvent; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SharePointMigrationEvent +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.ProgressEvents.Item.SharePointMigrationEventItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.ProgressEvents.Item.SharePointMigrationEventItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.ProgressEvents.Item.SharePointMigrationEventItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.SharePointMigrationEvent; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.ProgressEvents.Item.SharePointMigrationEventItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.ProgressEvents.Item.SharePointMigrationEventItemRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.ProgressEvents.progressEventsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.ProgressEvents.progressEventsRequestBuilder.progressEventsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.ProgressEvents.progressEventsRequestBuilder.progressEventsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.ProgressEvents.progressEventsRequestBuilder.progressEventsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.ProgressEvents.progressEventsRequestBuilder.progressEventsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.ProgressEvents.progressEventsRequestBuilder.progressEventsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.ProgressEvents.progressEventsRequestBuilder.progressEventsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.ProgressEvents.progressEventsRequestBuilder.progressEventsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.ProgressEvents.progressEventsRequestBuilder.progressEventsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.ProgressEvents.progressEventsRequestBuilder.progressEventsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.ProgressEvents.progressEventsRequestBuilder.progressEventsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.ProgressEvents.progressEventsRequestBuilder::[SharePointMigrationEventId:string]:global.Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.ProgressEvents.Item.SharePointMigrationEventItemRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.ProgressEvents.progressEventsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.ProgressEvents.progressEventsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.ProgressEvents.progressEventsRequestBuilder::|public|Count:global.Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.ProgressEvents.Count.CountRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.ProgressEvents.progressEventsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SharePointMigrationEventCollectionResponse +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.ProgressEvents.progressEventsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.SharePointMigrationEvent; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SharePointMigrationEvent +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.ProgressEvents.progressEventsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.ProgressEvents.progressEventsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.SharePointMigrationEvent; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.ProgressEvents.progressEventsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.ProgressEvents.ProgressEventsRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.SharePointMigrationJobItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.SharePointMigrationJobItemRequestBuilder.SharePointMigrationJobItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.SharePointMigrationJobItemRequestBuilder.SharePointMigrationJobItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.SharePointMigrationJobItemRequestBuilder.SharePointMigrationJobItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.SharePointMigrationJobItemRequestBuilder.SharePointMigrationJobItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.SharePointMigrationJobItemRequestBuilder.SharePointMigrationJobItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.SharePointMigrationJobItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.SharePointMigrationJobItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.SharePointMigrationJobItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.SharePointMigrationJobItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SharePointMigrationJob +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.SharePointMigrationJobItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.SharePointMigrationJob; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SharePointMigrationJob +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.SharePointMigrationJobItemRequestBuilder::|public|progressEvents:global.Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.ProgressEvents.ProgressEventsRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.SharePointMigrationJobItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.SharePointMigrationJobItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.SharePointMigrationJobItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.SharePointMigrationJob; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.SharePointMigrationJobItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.SharePointMigrationJobItemRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.migrationJobsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.migrationJobsRequestBuilder.migrationJobsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.migrationJobsRequestBuilder.migrationJobsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.migrationJobsRequestBuilder.migrationJobsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.migrationJobsRequestBuilder.migrationJobsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.migrationJobsRequestBuilder.migrationJobsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.migrationJobsRequestBuilder.migrationJobsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.migrationJobsRequestBuilder.migrationJobsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.migrationJobsRequestBuilder.migrationJobsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.migrationJobsRequestBuilder.migrationJobsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.migrationJobsRequestBuilder.migrationJobsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.migrationJobsRequestBuilder::[SharePointMigrationJobId:string]:global.Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Item.SharePointMigrationJobItemRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.migrationJobsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.migrationJobsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.migrationJobsRequestBuilder::|public|Count:global.Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.Count.CountRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.migrationJobsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SharePointMigrationJobCollectionResponse +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.migrationJobsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.SharePointMigrationJob; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SharePointMigrationJob +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.migrationJobsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.migrationJobsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.SharePointMigrationJob; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.migrationJobsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.Containers.Item.MigrationJobs.MigrationJobsRequestBuilder Microsoft.Graph.Storage.FileStorage.Containers.Item.PermanentDelete.permanentDeleteRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Storage.FileStorage.Containers.Item.PermanentDelete.permanentDeleteRequestBuilder.permanentDeleteRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Storage.FileStorage.Containers.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -155693,6 +157046,13 @@ Microsoft.Graph.Storage.FileStorage.Containers.Item.Permissions.permissionsReque Microsoft.Graph.Storage.FileStorage.Containers.Item.Permissions.permissionsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Storage.FileStorage.Containers.Item.Permissions.permissionsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.Permission; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Storage.FileStorage.Containers.Item.Permissions.permissionsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.Containers.Item.Permissions.PermissionsRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.ProvisionMigrationContainers.provisionMigrationContainersRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.ProvisionMigrationContainers.provisionMigrationContainersRequestBuilder.provisionMigrationContainersRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.Containers.Item.ProvisionMigrationContainers.provisionMigrationContainersRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.ProvisionMigrationContainers.provisionMigrationContainersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.ProvisionMigrationContainers.provisionMigrationContainersRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SharePointMigrationContainerInfo +Microsoft.Graph.Storage.FileStorage.Containers.Item.ProvisionMigrationContainers.provisionMigrationContainersRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.Containers.Item.ProvisionMigrationContainers.provisionMigrationContainersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.Containers.Item.ProvisionMigrationContainers.ProvisionMigrationContainersRequestBuilder Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser.createdByUserRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser.createdByUserRequestBuilder.createdByUserRequestBuilderGetQueryParameters::|public|Expand:string[] Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser.createdByUserRequestBuilder.createdByUserRequestBuilderGetQueryParameters::|public|Select:string[] @@ -156076,9 +157436,11 @@ Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.FileStorageContainerI Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.FileStorageContainerItemRequestBuilder::|public|drive:global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Drive.DriveRequestBuilder Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.FileStorageContainerItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.FileStorageContainer Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.FileStorageContainerItemRequestBuilder::|public|lock:global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Lock.LockRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.FileStorageContainerItemRequestBuilder::|public|migrationJobs:global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.MigrationJobsRequestBuilder Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.FileStorageContainerItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.FileStorageContainer; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.FileStorageContainer Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.FileStorageContainerItemRequestBuilder::|public|permanentDelete:global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.PermanentDelete.PermanentDeleteRequestBuilder Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.FileStorageContainerItemRequestBuilder::|public|permissions:global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.PermissionsRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.FileStorageContainerItemRequestBuilder::|public|provisionMigrationContainers:global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.ProvisionMigrationContainers.ProvisionMigrationContainersRequestBuilder Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.FileStorageContainerItemRequestBuilder::|public|recycleBin:global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.RecycleBinRequestBuilder Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.FileStorageContainerItemRequestBuilder::|public|restore:global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Restore.RestoreRequestBuilder Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.FileStorageContainerItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation @@ -156101,6 +157463,95 @@ Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Lock.lockRequestBuild Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Lock.lockRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Lock.LockPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Lock.lockRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Lock.LockPostRequestBody; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Lock.lockRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Lock.LockRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Count.CountRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.ProgressEvents.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.ProgressEvents.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.ProgressEvents.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.ProgressEvents.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.ProgressEvents.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.ProgressEvents.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.ProgressEvents.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.ProgressEvents.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.ProgressEvents.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.ProgressEvents.Count.CountRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.ProgressEvents.Item.SharePointMigrationEventItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.ProgressEvents.Item.SharePointMigrationEventItemRequestBuilder.SharePointMigrationEventItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.ProgressEvents.Item.SharePointMigrationEventItemRequestBuilder.SharePointMigrationEventItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.ProgressEvents.Item.SharePointMigrationEventItemRequestBuilder.SharePointMigrationEventItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.ProgressEvents.Item.SharePointMigrationEventItemRequestBuilder.SharePointMigrationEventItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.ProgressEvents.Item.SharePointMigrationEventItemRequestBuilder.SharePointMigrationEventItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.ProgressEvents.Item.SharePointMigrationEventItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.ProgressEvents.Item.SharePointMigrationEventItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.ProgressEvents.Item.SharePointMigrationEventItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.ProgressEvents.Item.SharePointMigrationEventItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SharePointMigrationEvent +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.ProgressEvents.Item.SharePointMigrationEventItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.SharePointMigrationEvent; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SharePointMigrationEvent +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.ProgressEvents.Item.SharePointMigrationEventItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.ProgressEvents.Item.SharePointMigrationEventItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.ProgressEvents.Item.SharePointMigrationEventItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.SharePointMigrationEvent; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.ProgressEvents.Item.SharePointMigrationEventItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.ProgressEvents.Item.SharePointMigrationEventItemRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.ProgressEvents.progressEventsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.ProgressEvents.progressEventsRequestBuilder.progressEventsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.ProgressEvents.progressEventsRequestBuilder.progressEventsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.ProgressEvents.progressEventsRequestBuilder.progressEventsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.ProgressEvents.progressEventsRequestBuilder.progressEventsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.ProgressEvents.progressEventsRequestBuilder.progressEventsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.ProgressEvents.progressEventsRequestBuilder.progressEventsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.ProgressEvents.progressEventsRequestBuilder.progressEventsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.ProgressEvents.progressEventsRequestBuilder.progressEventsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.ProgressEvents.progressEventsRequestBuilder.progressEventsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.ProgressEvents.progressEventsRequestBuilder.progressEventsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.ProgressEvents.progressEventsRequestBuilder::[SharePointMigrationEventId:string]:global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.ProgressEvents.Item.SharePointMigrationEventItemRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.ProgressEvents.progressEventsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.ProgressEvents.progressEventsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.ProgressEvents.progressEventsRequestBuilder::|public|Count:global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.ProgressEvents.Count.CountRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.ProgressEvents.progressEventsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SharePointMigrationEventCollectionResponse +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.ProgressEvents.progressEventsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.SharePointMigrationEvent; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SharePointMigrationEvent +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.ProgressEvents.progressEventsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.ProgressEvents.progressEventsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.SharePointMigrationEvent; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.ProgressEvents.progressEventsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.ProgressEvents.ProgressEventsRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.SharePointMigrationJobItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.SharePointMigrationJobItemRequestBuilder.SharePointMigrationJobItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.SharePointMigrationJobItemRequestBuilder.SharePointMigrationJobItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.SharePointMigrationJobItemRequestBuilder.SharePointMigrationJobItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.SharePointMigrationJobItemRequestBuilder.SharePointMigrationJobItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.SharePointMigrationJobItemRequestBuilder.SharePointMigrationJobItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.SharePointMigrationJobItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.SharePointMigrationJobItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.SharePointMigrationJobItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.SharePointMigrationJobItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SharePointMigrationJob +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.SharePointMigrationJobItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.SharePointMigrationJob; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SharePointMigrationJob +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.SharePointMigrationJobItemRequestBuilder::|public|progressEvents:global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.ProgressEvents.ProgressEventsRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.SharePointMigrationJobItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.SharePointMigrationJobItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.SharePointMigrationJobItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.SharePointMigrationJob; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.SharePointMigrationJobItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.SharePointMigrationJobItemRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.migrationJobsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.migrationJobsRequestBuilder.migrationJobsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.migrationJobsRequestBuilder.migrationJobsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.migrationJobsRequestBuilder.migrationJobsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.migrationJobsRequestBuilder.migrationJobsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.migrationJobsRequestBuilder.migrationJobsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.migrationJobsRequestBuilder.migrationJobsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.migrationJobsRequestBuilder.migrationJobsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.migrationJobsRequestBuilder.migrationJobsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.migrationJobsRequestBuilder.migrationJobsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.migrationJobsRequestBuilder.migrationJobsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.migrationJobsRequestBuilder::[SharePointMigrationJobId:string]:global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Item.SharePointMigrationJobItemRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.migrationJobsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.migrationJobsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.migrationJobsRequestBuilder::|public|Count:global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.Count.CountRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.migrationJobsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SharePointMigrationJobCollectionResponse +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.migrationJobsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.SharePointMigrationJob; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SharePointMigrationJob +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.migrationJobsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.migrationJobsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.SharePointMigrationJob; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.migrationJobsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.MigrationJobs.MigrationJobsRequestBuilder Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.PermanentDelete.permanentDeleteRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.PermanentDelete.permanentDeleteRequestBuilder.permanentDeleteRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -156177,6 +157628,13 @@ Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.permissio Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.permissionsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.permissionsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.Permission; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.permissionsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.PermissionsRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.ProvisionMigrationContainers.provisionMigrationContainersRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.ProvisionMigrationContainers.provisionMigrationContainersRequestBuilder.provisionMigrationContainersRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.ProvisionMigrationContainers.provisionMigrationContainersRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.ProvisionMigrationContainers.provisionMigrationContainersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.ProvisionMigrationContainers.provisionMigrationContainersRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SharePointMigrationContainerInfo +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.ProvisionMigrationContainers.provisionMigrationContainersRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.ProvisionMigrationContainers.provisionMigrationContainersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.ProvisionMigrationContainers.ProvisionMigrationContainersRequestBuilder Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser.createdByUserRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser.createdByUserRequestBuilder.createdByUserRequestBuilderGetQueryParameters::|public|Expand:string[] Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser.createdByUserRequestBuilder.createdByUserRequestBuilderGetQueryParameters::|public|Select:string[] @@ -163653,6 +165111,7 @@ Microsoft.Graph.Users.Item.Chats.Item.ChatItemRequestBuilder::|public|messages:g Microsoft.Graph.Users.Item.Chats.Item.ChatItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.Chat; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Chat Microsoft.Graph.Users.Item.Chats.Item.ChatItemRequestBuilder::|public|permissionGrants:global.Microsoft.Graph.Users.Item.Chats.Item.PermissionGrants.PermissionGrantsRequestBuilder Microsoft.Graph.Users.Item.Chats.Item.ChatItemRequestBuilder::|public|pinnedMessages:global.Microsoft.Graph.Users.Item.Chats.Item.PinnedMessages.PinnedMessagesRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.ChatItemRequestBuilder::|public|removeAllAccessForUser:global.Microsoft.Graph.Users.Item.Chats.Item.RemoveAllAccessForUser.RemoveAllAccessForUserRequestBuilder Microsoft.Graph.Users.Item.Chats.Item.ChatItemRequestBuilder::|public|sendActivityNotification:global.Microsoft.Graph.Users.Item.Chats.Item.SendActivityNotification.SendActivityNotificationRequestBuilder Microsoft.Graph.Users.Item.Chats.Item.ChatItemRequestBuilder::|public|tabs:global.Microsoft.Graph.Users.Item.Chats.Item.Tabs.TabsRequestBuilder Microsoft.Graph.Users.Item.Chats.Item.ChatItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation @@ -164342,6 +165801,21 @@ Microsoft.Graph.Users.Item.Chats.Item.PinnedMessages.pinnedMessagesRequestBuilde Microsoft.Graph.Users.Item.Chats.Item.PinnedMessages.pinnedMessagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Users.Item.Chats.Item.PinnedMessages.pinnedMessagesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.PinnedChatMessageInfo; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Users.Item.Chats.Item.PinnedMessages.pinnedMessagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Chats.Item.PinnedMessages.PinnedMessagesRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.RemoveAllAccessForUser.removeAllAccessForUserPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Users.Item.Chats.Item.RemoveAllAccessForUser.removeAllAccessForUserPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Users.Item.Chats.Item.RemoveAllAccessForUser.removeAllAccessForUserPostRequestBody::|public|constructor():void +Microsoft.Graph.Users.Item.Chats.Item.RemoveAllAccessForUser.removeAllAccessForUserPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Users.Item.Chats.Item.RemoveAllAccessForUser.removeAllAccessForUserPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Users.Item.Chats.Item.RemoveAllAccessForUser.removeAllAccessForUserPostRequestBody::|public|User:global.Microsoft.Graph.Models.TeamworkUserIdentity +Microsoft.Graph.Users.Item.Chats.Item.RemoveAllAccessForUser.removeAllAccessForUserPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.Chats.Item.RemoveAllAccessForUser.RemoveAllAccessForUserPostRequestBody +Microsoft.Graph.Users.Item.Chats.Item.RemoveAllAccessForUser.removeAllAccessForUserPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Users.Item.Chats.Item.RemoveAllAccessForUser.removeAllAccessForUserRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.RemoveAllAccessForUser.removeAllAccessForUserRequestBuilder.removeAllAccessForUserRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Chats.Item.RemoveAllAccessForUser.removeAllAccessForUserRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.RemoveAllAccessForUser.removeAllAccessForUserRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.RemoveAllAccessForUser.removeAllAccessForUserRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Users.Item.Chats.Item.RemoveAllAccessForUser.RemoveAllAccessForUserPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Users.Item.Chats.Item.RemoveAllAccessForUser.removeAllAccessForUserRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Users.Item.Chats.Item.RemoveAllAccessForUser.RemoveAllAccessForUserPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Chats.Item.RemoveAllAccessForUser.removeAllAccessForUserRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Chats.Item.RemoveAllAccessForUser.RemoveAllAccessForUserRequestBuilder Microsoft.Graph.Users.Item.Chats.Item.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|ActivityType:string Microsoft.Graph.Users.Item.Chats.Item.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Users.Item.Chats.Item.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|BackingStore:IBackingStore diff --git a/src/Microsoft.Graph/Generated/kiota-lock.json b/src/Microsoft.Graph/Generated/kiota-lock.json index 92295d81c26..c04822fe30f 100644 --- a/src/Microsoft.Graph/Generated/kiota-lock.json +++ b/src/Microsoft.Graph/Generated/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "FF91BA4A660FA1647B835E3687A5FCE3B3BA4BB1C1438380F04F316B2BD123EAAD31D1DBB7953F23BDE813C86EFB05963A34489066F7069AF5939BE15D86CD36", + "descriptionHash": "FCFE883795FF09A1CBA6B38952BB79BBAC7DEF04B5B731DAAD13FBE361CDAD01333C493D17F11526386BD7140AB31D5B561469F70A380A740739D528D7AB7B87", "descriptionLocation": "../../msgraph-metadata/clean_v10_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.30.0",