From 0c4d1c5770a7a6fce4b4d650559babe53dcca3e1 Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Tue, 31 Dec 2024 10:54:07 +0000 Subject: [PATCH] feat(generation): update request builders and models Update generated files with build 175190 --- .../Item/Members/MembersRequestBuilder.cs | 6 + .../Members/Remove/RemovePostRequestBody.cs | 82 ++++ .../Item/Members/Remove/RemovePostResponse.cs | 65 +++ .../Members/Remove/RemoveRequestBuilder.cs | 130 ++++++ .../Item/Members/Remove/RemoveResponse.cs | 28 ++ .../Item/Messages/MessagesRequestBuilder.cs | 6 +- .../DeviceAppManagementRequestBuilder.cs | 4 +- .../ManagedAppPoliciesRequestBuilder.cs | 8 +- ...anagedAppRegistrationItemRequestBuilder.cs | 8 +- .../ManagedAppStatusItemRequestBuilder.cs | 8 +- .../ManagedAppStatusesRequestBuilder.cs | 8 +- .../Assignments/AssignmentsRequestBuilder.cs | 14 +- ...anagedEBookAssignmentItemRequestBuilder.cs | 8 +- ...obileAppConfigurationItemRequestBuilder.cs | 8 +- .../MobileAppConfigurationsRequestBuilder.cs | 8 +- .../Item/MobileAppItemRequestBuilder.cs | 20 +- .../MobileApps/MobileAppsRequestBuilder.cs | 14 +- .../DeviceCompliancePoliciesRequestBuilder.cs | 6 +- ...eviceCompliancePolicyItemRequestBuilder.cs | 20 +- .../DeviceConfigurationsRequestBuilder.cs | 14 +- .../DeviceConfigurationItemRequestBuilder.cs | 20 +- ...eEnrollmentConfigurationsRequestBuilder.cs | 6 +- ...rollmentConfigurationItemRequestBuilder.cs | 20 +- .../Item/RoleDefinitionItemRequestBuilder.cs | 20 +- .../RetentionLabelRequestBuilder.cs | 6 +- .../RangeNamespace/RangeRequestBuilder.cs | 6 +- .../RangeNamespace/RangeRequestBuilder.cs | 6 +- .../GroupLifecyclePoliciesRequestBuilder.cs | 4 +- .../Item/AddGroup/AddGroupRequestBuilder.cs | 6 +- .../Item/ConversationItemRequestBuilder.cs | 10 +- .../Item/AddGroup/AddGroupRequestBuilder.cs | 6 +- .../Item/Members/MembersRequestBuilder.cs | 6 + .../Members/Remove/RemovePostRequestBody.cs | 82 ++++ .../Item/Members/Remove/RemovePostResponse.cs | 65 +++ .../Members/Remove/RemoveRequestBuilder.cs | 130 ++++++ .../Item/Members/Remove/RemoveResponse.cs | 28 ++ .../Team/Members/MembersRequestBuilder.cs | 6 + .../Members/Remove/RemovePostRequestBody.cs | 82 ++++ .../Team/Members/Remove/RemovePostResponse.cs | 65 +++ .../Members/Remove/RemoveRequestBuilder.cs | 130 ++++++ .../Team/Members/Remove/RemoveResponse.cs | 28 ++ .../Members/MembersRequestBuilder.cs | 6 + .../Members/Remove/RemovePostRequestBody.cs | 82 ++++ .../Members/Remove/RemovePostResponse.cs | 65 +++ .../Members/Remove/RemoveRequestBuilder.cs | 130 ++++++ .../Members/Remove/RemoveResponse.cs | 28 ++ .../ConversationThreadItemRequestBuilder.cs | 2 +- .../Item/NamedLocationItemRequestBuilder.cs | 14 +- .../Item/AccessPackageItemRequestBuilder.cs | 8 +- ...ustomCalloutExtensionItemRequestBuilder.cs | 20 +- .../Item/AgreementItemRequestBuilder.cs | 8 +- .../Item/Members/MembersRequestBuilder.cs | 6 + .../Members/Remove/RemovePostRequestBody.cs | 82 ++++ .../Item/Members/Remove/RemovePostResponse.cs | 65 +++ .../Members/Remove/RemoveRequestBuilder.cs | 130 ++++++ .../Item/Members/Remove/RemoveResponse.cs | 28 ++ .../Item/Members/MembersRequestBuilder.cs | 6 + .../Members/Remove/RemovePostRequestBody.cs | 82 ++++ .../Item/Members/Remove/RemovePostResponse.cs | 65 +++ .../Members/Remove/RemoveRequestBuilder.cs | 130 ++++++ .../Item/Members/Remove/RemoveResponse.cs | 28 ++ .../Item/Members/MembersRequestBuilder.cs | 6 + .../Members/Remove/RemovePostRequestBody.cs | 82 ++++ .../Item/Members/Remove/RemovePostResponse.cs | 65 +++ .../Members/Remove/RemoveRequestBuilder.cs | 130 ++++++ .../Item/Members/Remove/RemoveResponse.cs | 28 ++ .../Members/MembersRequestBuilder.cs | 6 + .../Members/Remove/RemovePostRequestBody.cs | 82 ++++ .../Members/Remove/RemovePostResponse.cs | 65 +++ .../Members/Remove/RemoveRequestBuilder.cs | 130 ++++++ .../Members/Remove/RemoveResponse.cs | 28 ++ .../ChildFoldersRequestBuilder.cs | 6 +- .../Attachments/AttachmentsRequestBuilder.cs | 8 +- .../Item/MessageItemRequestBuilder.cs | 14 +- .../Item/Value/ContentRequestBuilder.cs | 6 +- .../Me/Messages/MessagesRequestBuilder.cs | 6 +- .../Generated/Models/ActionResultPart.cs | 2 +- .../Generated/Models/ConversationMember.cs | 2 +- src/Microsoft.Graph/Generated/Models/Quota.cs | 2 +- src/Microsoft.Graph/Generated/Models/Team.cs | 10 +- .../Generated/Models/WorkbookRangeView.cs | 2 +- .../BannerLogo/BannerLogoRequestBuilder.cs | 6 +- .../Item/OrganizationItemRequestBuilder.cs | 14 +- .../OrganizationRequestBuilder.cs | 8 +- .../Item/Lists/Item/ListItemRequestBuilder.cs | 8 +- .../Generated/Sites/SitesRequestBuilder.cs | 8 +- .../ConversationMemberItemRequestBuilder.cs | 12 +- .../Item/Members/MembersRequestBuilder.cs | 6 + .../Members/Remove/RemovePostRequestBody.cs | 82 ++++ .../Item/Members/Remove/RemovePostResponse.cs | 65 +++ .../Members/Remove/RemoveRequestBuilder.cs | 130 ++++++ .../Item/Members/Remove/RemoveResponse.cs | 28 ++ .../Item/Replies/RepliesRequestBuilder.cs | 6 +- .../Item/Messages/MessagesRequestBuilder.cs | 6 +- .../Item/Members/MembersRequestBuilder.cs | 6 + .../Members/Remove/RemovePostRequestBody.cs | 82 ++++ .../Item/Members/Remove/RemovePostResponse.cs | 65 +++ .../Members/Remove/RemoveRequestBuilder.cs | 130 ++++++ .../Item/Members/Remove/RemoveResponse.cs | 28 ++ .../Members/MembersRequestBuilder.cs | 6 + .../Members/Remove/RemovePostRequestBody.cs | 82 ++++ .../Members/Remove/RemovePostResponse.cs | 65 +++ .../Members/Remove/RemoveRequestBuilder.cs | 130 ++++++ .../Members/Remove/RemoveResponse.cs | 28 ++ .../Item/Members/MembersRequestBuilder.cs | 6 + .../Members/Remove/RemovePostRequestBody.cs | 82 ++++ .../Item/Members/Remove/RemovePostResponse.cs | 65 +++ .../Members/Remove/RemoveRequestBuilder.cs | 130 ++++++ .../Item/Members/Remove/RemoveResponse.cs | 28 ++ .../Item/Members/MembersRequestBuilder.cs | 6 + .../Members/Remove/RemovePostRequestBody.cs | 82 ++++ .../Item/Members/Remove/RemovePostResponse.cs | 65 +++ .../Members/Remove/RemoveRequestBuilder.cs | 130 ++++++ .../Item/Members/Remove/RemoveResponse.cs | 28 ++ .../Item/Members/MembersRequestBuilder.cs | 6 + .../Members/Remove/RemovePostRequestBody.cs | 82 ++++ .../Item/Members/Remove/RemovePostResponse.cs | 65 +++ .../Members/Remove/RemoveRequestBuilder.cs | 130 ++++++ .../Item/Members/Remove/RemoveResponse.cs | 28 ++ .../Item/Members/MembersRequestBuilder.cs | 6 + .../Members/Remove/RemovePostRequestBody.cs | 82 ++++ .../Item/Members/Remove/RemovePostResponse.cs | 65 +++ .../Members/Remove/RemoveRequestBuilder.cs | 130 ++++++ .../Item/Members/Remove/RemoveResponse.cs | 28 ++ .../Members/MembersRequestBuilder.cs | 6 + .../Members/Remove/RemovePostRequestBody.cs | 82 ++++ .../Members/Remove/RemovePostResponse.cs | 65 +++ .../Members/Remove/RemoveRequestBuilder.cs | 130 ++++++ .../Members/Remove/RemoveResponse.cs | 28 ++ .../Item/Presence/PresenceRequestBuilder.cs | 8 +- .../Users/Item/UserItemRequestBuilder.cs | 8 +- .../Generated/Users/UsersRequestBuilder.cs | 8 +- ...sersWithUserPrincipalNameRequestBuilder.cs | 8 +- .../Generated/kiota-dom-export.txt | 384 ++++++++++++++++++ src/Microsoft.Graph/Generated/kiota-lock.json | 2 +- 135 files changed, 5598 insertions(+), 238 deletions(-) create mode 100644 src/Microsoft.Graph/Generated/Chats/Item/Members/Remove/RemovePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Chats/Item/Members/Remove/RemovePostResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Chats/Item/Members/Remove/RemoveRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Chats/Item/Members/Remove/RemoveResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Members/Remove/RemovePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Members/Remove/RemovePostResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Members/Remove/RemoveRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Members/Remove/RemoveResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Groups/Item/Team/Members/Remove/RemovePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Groups/Item/Team/Members/Remove/RemovePostResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Groups/Item/Team/Members/Remove/RemoveRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Groups/Item/Team/Members/Remove/RemoveResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Members/Remove/RemovePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Members/Remove/RemovePostResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Members/Remove/RemoveRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Members/Remove/RemoveResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Me/Chats/Item/Members/Remove/RemovePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Me/Chats/Item/Members/Remove/RemovePostResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Me/Chats/Item/Members/Remove/RemoveRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Me/Chats/Item/Members/Remove/RemoveResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Members/Remove/RemovePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Members/Remove/RemovePostResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Members/Remove/RemoveRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Members/Remove/RemoveResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Members/Remove/RemovePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Members/Remove/RemovePostResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Members/Remove/RemoveRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Members/Remove/RemoveResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Members/Remove/RemovePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Members/Remove/RemovePostResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Members/Remove/RemoveRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Members/Remove/RemoveResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/Remove/RemovePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/Remove/RemovePostResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/Remove/RemoveRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/Remove/RemoveResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Teams/Item/Members/Remove/RemovePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Teams/Item/Members/Remove/RemovePostResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Teams/Item/Members/Remove/RemoveRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Teams/Item/Members/Remove/RemoveResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Members/Remove/RemovePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Members/Remove/RemovePostResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Members/Remove/RemoveRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Members/Remove/RemoveResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/Remove/RemovePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/Remove/RemovePostResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/Remove/RemoveRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/Remove/RemoveResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Members/Remove/RemovePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Members/Remove/RemovePostResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Members/Remove/RemoveRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Members/Remove/RemoveResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/Remove/RemovePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/Remove/RemovePostResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/Remove/RemoveRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/Remove/RemoveResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Members/Remove/RemovePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Members/Remove/RemovePostResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Members/Remove/RemoveRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Members/Remove/RemoveResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/Remove/RemovePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/Remove/RemovePostResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/Remove/RemoveRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/Remove/RemoveResponse.cs diff --git a/src/Microsoft.Graph/Generated/Chats/Item/Members/MembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/Members/MembersRequestBuilder.cs index 5a334bbff6e..703cea8b144 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/Members/MembersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/Members/MembersRequestBuilder.cs @@ -3,6 +3,7 @@ using Microsoft.Graph.Chats.Item.Members.Add; using Microsoft.Graph.Chats.Item.Members.Count; using Microsoft.Graph.Chats.Item.Members.Item; +using Microsoft.Graph.Chats.Item.Members.Remove; using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; using Microsoft.Kiota.Abstractions.Extensions; @@ -31,6 +32,11 @@ public partial class MembersRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Chats.Item.Members.Count.CountRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the remove method. + public global::Microsoft.Graph.Chats.Item.Members.Remove.RemoveRequestBuilder Remove + { + get => new global::Microsoft.Graph.Chats.Item.Members.Remove.RemoveRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the members property of the microsoft.graph.chat entity. /// The unique identifier of conversationMember /// A diff --git a/src/Microsoft.Graph/Generated/Chats/Item/Members/Remove/RemovePostRequestBody.cs b/src/Microsoft.Graph/Generated/Chats/Item/Members/Remove/RemovePostRequestBody.cs new file mode 100644 index 00000000000..b3fe8db9b00 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Chats/Item/Members/Remove/RemovePostRequestBody.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.Members.Remove +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemovePostRequestBody : 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 values property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Values + { + get { return BackingStore?.Get?>("values"); } + set { BackingStore?.Set("values", value); } + } +#nullable restore +#else + public List Values + { + get { return BackingStore?.Get>("values"); } + set { BackingStore?.Set("values", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RemovePostRequestBody() + { + 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.Members.Remove.RemovePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Chats.Item.Members.Remove.RemovePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "values", n => { Values = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ConversationMember.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfObjectValues("values", Values); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Chats/Item/Members/Remove/RemovePostResponse.cs b/src/Microsoft.Graph/Generated/Chats/Item/Members/Remove/RemovePostResponse.cs new file mode 100644 index 00000000000..88821af0b6f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Chats/Item/Members/Remove/RemovePostResponse.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.Chats.Item.Members.Remove +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemovePostResponse : 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.Chats.Item.Members.Remove.RemovePostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Chats.Item.Members.Remove.RemovePostResponse(); + } + /// + /// 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.ActionResultPart.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Chats/Item/Members/Remove/RemoveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/Members/Remove/RemoveRequestBuilder.cs new file mode 100644 index 00000000000..0109a6fa037 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Chats/Item/Members/Remove/RemoveRequestBuilder.cs @@ -0,0 +1,130 @@ +// +#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.Members.Remove +{ + /// + /// Provides operations to call the remove method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RemoveRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RemoveRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/chats/{chat%2Did}/members/remove", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RemoveRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/chats/{chat%2Did}/members/remove", rawUrl) + { + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// 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 PostAsRemovePostResponseAsync(global::Microsoft.Graph.Chats.Item.Members.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsRemovePostResponseAsync(global::Microsoft.Graph.Chats.Item.Members.Remove.RemovePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.Chats.Item.Members.Remove.RemovePostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("This method is obsolete. Use PostAsRemovePostResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Chats.Item.Members.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Chats.Item.Members.Remove.RemovePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.Chats.Item.Members.Remove.RemoveResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// + /// 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.Members.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Chats.Item.Members.Remove.RemovePostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.Members.Remove.RemoveRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Chats.Item.Members.Remove.RemoveRequestBuilder(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 RemoveRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Chats/Item/Members/Remove/RemoveResponse.cs b/src/Microsoft.Graph/Generated/Chats/Item/Members/Remove/RemoveResponse.cs new file mode 100644 index 00000000000..a607a4caa17 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Chats/Item/Members/Remove/RemoveResponse.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.Chats.Item.Members.Remove +{ + [Obsolete("This class is obsolete. Use RemovePostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemoveResponse : global::Microsoft.Graph.Chats.Item.Members.Remove.RemovePostResponse, 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.Chats.Item.Members.Remove.RemoveResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Chats.Item.Members.Remove.RemoveResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Chats/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/Messages/MessagesRequestBuilder.cs index 3019f21f44b..c3696c46462 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/Messages/MessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/Messages/MessagesRequestBuilder.cs @@ -84,8 +84,8 @@ public MessagesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Send a new chatMessage in the specified channel or a chat. - /// Find more info here + /// Send a new chatMessage in the specified chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message. + /// Find more info here /// /// A /// The request body @@ -129,7 +129,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Send a new chatMessage in the specified channel or a chat. + /// Send a new chatMessage in the specified chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.cs index e56e27db2fc..7325c1ddbd1 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.cs @@ -126,7 +126,7 @@ public DeviceAppManagementRequestBuilder(string rawUrl, IRequestAdapter requestA } /// /// Read properties and relationships of the deviceAppManagement object. - /// Find more info here + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -150,7 +150,7 @@ public DeviceAppManagementRequestBuilder(string rawUrl, IRequestAdapter requestA } /// /// Update the properties of a deviceAppManagement object. - /// Find more info here + /// Find more info here /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilder.cs index 69696c786c1..c925a09da79 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilder.cs @@ -54,8 +54,8 @@ public ManagedAppPoliciesRequestBuilder(string rawUrl, IRequestAdapter requestAd { } /// - /// List properties and relationships of the targetedManagedAppProtection objects. - /// Find more info here + /// List properties and relationships of the managedAppProtection objects. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -103,7 +103,7 @@ public ManagedAppPoliciesRequestBuilder(string rawUrl, IRequestAdapter requestAd return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ManagedAppPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List properties and relationships of the targetedManagedAppProtection objects. + /// List properties and relationships of the managedAppProtection objects. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -153,7 +153,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.DeviceAppManagement.ManagedAppPolicies.ManagedAppPoliciesRequestBuilder(rawUrl, RequestAdapter); } /// - /// List properties and relationships of the targetedManagedAppProtection objects. + /// List properties and relationships of the managedAppProtection objects. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ManagedAppPoliciesRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.cs index e61314f6134..3ca3fc016b7 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.cs @@ -75,8 +75,8 @@ public async Task DeleteAsync(Action - /// Read properties and relationships of the androidManagedAppRegistration object. - /// Find more info here + /// Read properties and relationships of the iosManagedAppRegistration object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -143,7 +143,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the androidManagedAppRegistration object. + /// Read properties and relationships of the iosManagedAppRegistration object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -201,7 +201,7 @@ public partial class ManagedAppRegistrationItemRequestBuilderDeleteRequestConfig { } /// - /// Read properties and relationships of the androidManagedAppRegistration object. + /// Read properties and relationships of the iosManagedAppRegistration object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ManagedAppRegistrationItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilder.cs index 895b67bd9e8..1157db7ad13 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilder.cs @@ -57,8 +57,8 @@ public async Task DeleteAsync(Action - /// Read properties and relationships of the managedAppStatusRaw object. - /// Find more info here + /// Read properties and relationships of the managedAppStatus object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -125,7 +125,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the managedAppStatusRaw object. + /// Read properties and relationships of the managedAppStatus object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -183,7 +183,7 @@ public partial class ManagedAppStatusItemRequestBuilderDeleteRequestConfiguratio { } /// - /// Read properties and relationships of the managedAppStatusRaw object. + /// Read properties and relationships of the managedAppStatus object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ManagedAppStatusItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppStatuses/ManagedAppStatusesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppStatuses/ManagedAppStatusesRequestBuilder.cs index c6e88a5f1d5..373b86368d7 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppStatuses/ManagedAppStatusesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppStatuses/ManagedAppStatusesRequestBuilder.cs @@ -54,8 +54,8 @@ public ManagedAppStatusesRequestBuilder(string rawUrl, IRequestAdapter requestAd { } /// - /// List properties and relationships of the managedAppStatusRaw objects. - /// Find more info here + /// List properties and relationships of the managedAppStatus objects. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -103,7 +103,7 @@ public ManagedAppStatusesRequestBuilder(string rawUrl, IRequestAdapter requestAd return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ManagedAppStatus.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List properties and relationships of the managedAppStatusRaw objects. + /// List properties and relationships of the managedAppStatus objects. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -153,7 +153,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.DeviceAppManagement.ManagedAppStatuses.ManagedAppStatusesRequestBuilder(rawUrl, RequestAdapter); } /// - /// List properties and relationships of the managedAppStatusRaw objects. + /// List properties and relationships of the managedAppStatus objects. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ManagedAppStatusesRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilder.cs index 60dd6571bb0..f16e11a0cdf 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilder.cs @@ -54,8 +54,8 @@ public AssignmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) { } /// - /// List properties and relationships of the iosVppEBookAssignment objects. - /// Find more info here + /// List properties and relationships of the managedEBookAssignment objects. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -78,8 +78,8 @@ public AssignmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ManagedEBookAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new iosVppEBookAssignment object. - /// Find more info here + /// Create a new managedEBookAssignment object. + /// Find more info here /// /// A /// The request body @@ -104,7 +104,7 @@ public AssignmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ManagedEBookAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List properties and relationships of the iosVppEBookAssignment objects. + /// List properties and relationships of the managedEBookAssignment objects. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -123,7 +123,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new iosVppEBookAssignment object. + /// Create a new managedEBookAssignment object. /// /// A /// The request body @@ -154,7 +154,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.DeviceAppManagement.ManagedEBooks.Item.Assignments.AssignmentsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List properties and relationships of the iosVppEBookAssignment objects. + /// List properties and relationships of the managedEBookAssignment objects. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class AssignmentsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.cs index 5d92308132f..5528a522158 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.cs @@ -58,8 +58,8 @@ public async Task DeleteAsync(Action - /// Read properties and relationships of the iosVppEBookAssignment object. - /// Find more info here + /// Read properties and relationships of the managedEBookAssignment object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -127,7 +127,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the iosVppEBookAssignment object. + /// Read properties and relationships of the managedEBookAssignment object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -185,7 +185,7 @@ public partial class ManagedEBookAssignmentItemRequestBuilderDeleteRequestConfig { } /// - /// Read properties and relationships of the iosVppEBookAssignment object. + /// Read properties and relationships of the managedEBookAssignment object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ManagedEBookAssignmentItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilder.cs index 82bb6bccc65..e1062f6f1d2 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilder.cs @@ -94,8 +94,8 @@ public async Task DeleteAsync(Action - /// Read properties and relationships of the iosMobileAppConfiguration object. - /// Find more info here + /// Read properties and relationships of the managedDeviceMobileAppConfiguration object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -163,7 +163,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the iosMobileAppConfiguration object. + /// Read properties and relationships of the managedDeviceMobileAppConfiguration object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -221,7 +221,7 @@ public partial class ManagedDeviceMobileAppConfigurationItemRequestBuilderDelete { } /// - /// Read properties and relationships of the iosMobileAppConfiguration object. + /// Read properties and relationships of the managedDeviceMobileAppConfiguration object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ManagedDeviceMobileAppConfigurationItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/MobileAppConfigurationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/MobileAppConfigurationsRequestBuilder.cs index 1ba9b0ffa86..b4abbbe9e48 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/MobileAppConfigurationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/MobileAppConfigurationsRequestBuilder.cs @@ -54,8 +54,8 @@ public MobileAppConfigurationsRequestBuilder(string rawUrl, IRequestAdapter requ { } /// - /// List properties and relationships of the iosMobileAppConfiguration objects. - /// Find more info here + /// List properties and relationships of the managedDeviceMobileAppConfiguration objects. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -104,7 +104,7 @@ public MobileAppConfigurationsRequestBuilder(string rawUrl, IRequestAdapter requ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ManagedDeviceMobileAppConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List properties and relationships of the iosMobileAppConfiguration objects. + /// List properties and relationships of the managedDeviceMobileAppConfiguration objects. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -154,7 +154,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.DeviceAppManagement.MobileAppConfigurations.MobileAppConfigurationsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List properties and relationships of the iosMobileAppConfiguration objects. + /// List properties and relationships of the managedDeviceMobileAppConfiguration objects. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppConfigurationsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.cs index 0514f3c0da2..63a524fc462 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.cs @@ -149,8 +149,8 @@ public MobileAppItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// Deletes a iosStoreApp. - /// Find more info here + /// Deletes a microsoftStoreForBusinessApp. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -172,8 +172,8 @@ public async Task DeleteAsync(Action - /// Read properties and relationships of the windowsWebApp object. - /// Find more info here + /// Read properties and relationships of the iosStoreApp object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -196,8 +196,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.MobileApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of a androidLobApp object. - /// Find more info here + /// Update the properties of a webApp object. + /// Find more info here /// /// A /// The request body @@ -222,7 +222,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.MobileApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Deletes a iosStoreApp. + /// Deletes a microsoftStoreForBusinessApp. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -241,7 +241,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the windowsWebApp object. + /// Read properties and relationships of the iosStoreApp object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -260,7 +260,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a androidLobApp object. + /// Update the properties of a webApp object. /// /// A /// The request body @@ -299,7 +299,7 @@ public partial class MobileAppItemRequestBuilderDeleteRequestConfiguration : Req { } /// - /// Read properties and relationships of the windowsWebApp object. + /// Read properties and relationships of the iosStoreApp object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.cs index 88f79877cba..47915039bac 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.cs @@ -150,8 +150,8 @@ public MobileAppsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : { } /// - /// List properties and relationships of the webApp objects. - /// Find more info here + /// List properties and relationships of the androidLobApp objects. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -174,8 +174,8 @@ public MobileAppsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MobileAppCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new macOSOfficeSuiteApp object. - /// Find more info here + /// Create a new microsoftStoreForBusinessApp object. + /// Find more info here /// /// A /// The request body @@ -200,7 +200,7 @@ public MobileAppsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MobileApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List properties and relationships of the webApp objects. + /// List properties and relationships of the androidLobApp objects. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -219,7 +219,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new macOSOfficeSuiteApp object. + /// Create a new microsoftStoreForBusinessApp object. /// /// A /// The request body @@ -250,7 +250,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.DeviceAppManagement.MobileApps.MobileAppsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List properties and relationships of the webApp objects. + /// List properties and relationships of the androidLobApp objects. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.cs index 2d2671e64ec..376b5fdb633 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.cs @@ -78,8 +78,8 @@ public DeviceCompliancePoliciesRequestBuilder(string rawUrl, IRequestAdapter req return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DeviceCompliancePolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new androidCompliancePolicy object. - /// Find more info here + /// Create a new windows10CompliancePolicy object. + /// Find more info here /// /// A /// The request body @@ -123,7 +123,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new androidCompliancePolicy object. + /// Create a new windows10CompliancePolicy object. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.cs index 679cd18c3b3..0e7e8a2a367 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.cs @@ -89,8 +89,8 @@ public DeviceCompliancePolicyItemRequestBuilder(string rawUrl, IRequestAdapter r { } /// - /// Deletes a windows10MobileCompliancePolicy. - /// Find more info here + /// Deletes a iosCompliancePolicy. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -112,8 +112,8 @@ public async Task DeleteAsync(Action - /// Read properties and relationships of the windowsPhone81CompliancePolicy object. - /// Find more info here + /// Read properties and relationships of the deviceCompliancePolicy object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -136,8 +136,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.DeviceCompliancePolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of a windows10CompliancePolicy object. - /// Find more info here + /// Update the properties of a windows81CompliancePolicy object. + /// Find more info here /// /// A /// The request body @@ -162,7 +162,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.DeviceCompliancePolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Deletes a windows10MobileCompliancePolicy. + /// Deletes a iosCompliancePolicy. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -181,7 +181,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the windowsPhone81CompliancePolicy object. + /// Read properties and relationships of the deviceCompliancePolicy object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -200,7 +200,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a windows10CompliancePolicy object. + /// Update the properties of a windows81CompliancePolicy object. /// /// A /// The request body @@ -239,7 +239,7 @@ public partial class DeviceCompliancePolicyItemRequestBuilderDeleteRequestConfig { } /// - /// Read properties and relationships of the windowsPhone81CompliancePolicy object. + /// Read properties and relationships of the deviceCompliancePolicy object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DeviceCompliancePolicyItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.cs index edf38fdeb5c..5361f6070e3 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.cs @@ -54,8 +54,8 @@ public DeviceConfigurationsRequestBuilder(string rawUrl, IRequestAdapter request { } /// - /// List properties and relationships of the androidGeneralDeviceConfiguration objects. - /// Find more info here + /// List properties and relationships of the windowsDefenderAdvancedThreatProtectionConfiguration objects. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -78,8 +78,8 @@ public DeviceConfigurationsRequestBuilder(string rawUrl, IRequestAdapter request return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DeviceConfigurationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new windows81GeneralConfiguration object. - /// Find more info here + /// Create a new macOSDeviceFeaturesConfiguration object. + /// Find more info here /// /// A /// The request body @@ -104,7 +104,7 @@ public DeviceConfigurationsRequestBuilder(string rawUrl, IRequestAdapter request return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DeviceConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List properties and relationships of the androidGeneralDeviceConfiguration objects. + /// List properties and relationships of the windowsDefenderAdvancedThreatProtectionConfiguration objects. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -123,7 +123,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new windows81GeneralConfiguration object. + /// Create a new macOSDeviceFeaturesConfiguration object. /// /// A /// The request body @@ -154,7 +154,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.DeviceManagement.DeviceConfigurations.DeviceConfigurationsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List properties and relationships of the androidGeneralDeviceConfiguration objects. + /// List properties and relationships of the windowsDefenderAdvancedThreatProtectionConfiguration objects. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DeviceConfigurationsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.cs index 844295a9417..c434319d482 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.cs @@ -78,8 +78,8 @@ public DeviceConfigurationItemRequestBuilder(string rawUrl, IRequestAdapter requ { } /// - /// Deletes a iosDeviceFeaturesConfiguration. - /// Find more info here + /// Deletes a iosUpdateConfiguration. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -101,8 +101,8 @@ public async Task DeleteAsync(Action - /// Read properties and relationships of the androidCustomConfiguration object. - /// Find more info here + /// Read properties and relationships of the editionUpgradeConfiguration object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -135,8 +135,8 @@ public async Task DeleteAsync(Action - /// Update the properties of a windows10SecureAssessmentConfiguration object. - /// Find more info here + /// Update the properties of a editionUpgradeConfiguration object. + /// Find more info here /// /// A /// The request body @@ -161,7 +161,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.DeviceConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Deletes a iosDeviceFeaturesConfiguration. + /// Deletes a iosUpdateConfiguration. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -180,7 +180,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the androidCustomConfiguration object. + /// Read properties and relationships of the editionUpgradeConfiguration object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -199,7 +199,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a windows10SecureAssessmentConfiguration object. + /// Update the properties of a editionUpgradeConfiguration object. /// /// A /// The request body @@ -238,7 +238,7 @@ public partial class DeviceConfigurationItemRequestBuilderDeleteRequestConfigura { } /// - /// Read properties and relationships of the androidCustomConfiguration object. + /// Read properties and relationships of the editionUpgradeConfiguration object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DeviceConfigurationItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.cs index ce9a5f3a974..0cd5cb811f1 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.cs @@ -78,8 +78,8 @@ public DeviceEnrollmentConfigurationsRequestBuilder(string rawUrl, IRequestAdapt return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DeviceEnrollmentConfigurationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new deviceEnrollmentPlatformRestrictionsConfiguration object. - /// Find more info here + /// Create a new deviceEnrollmentLimitConfiguration object. + /// Find more info here /// /// A /// The request body @@ -123,7 +123,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new deviceEnrollmentPlatformRestrictionsConfiguration object. + /// Create a new deviceEnrollmentLimitConfiguration object. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.cs index 8041893cb0c..a786eb1d074 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.cs @@ -53,8 +53,8 @@ public DeviceEnrollmentConfigurationItemRequestBuilder(string rawUrl, IRequestAd { } /// - /// Deletes a deviceEnrollmentLimitConfiguration. - /// Find more info here + /// Deletes a deviceEnrollmentWindowsHelloForBusinessConfiguration. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -76,8 +76,8 @@ public async Task DeleteAsync(Action - /// Read properties and relationships of the deviceEnrollmentLimitConfiguration object. - /// Find more info here + /// Read properties and relationships of the deviceEnrollmentConfiguration object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -100,8 +100,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.DeviceEnrollmentConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of a deviceEnrollmentLimitConfiguration object. - /// Find more info here + /// Update the properties of a deviceEnrollmentPlatformRestrictionsConfiguration object. + /// Find more info here /// /// A /// The request body @@ -126,7 +126,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.DeviceEnrollmentConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Deletes a deviceEnrollmentLimitConfiguration. + /// Deletes a deviceEnrollmentWindowsHelloForBusinessConfiguration. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -145,7 +145,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the deviceEnrollmentLimitConfiguration object. + /// Read properties and relationships of the deviceEnrollmentConfiguration object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -164,7 +164,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a deviceEnrollmentLimitConfiguration object. + /// Update the properties of a deviceEnrollmentPlatformRestrictionsConfiguration object. /// /// A /// The request body @@ -203,7 +203,7 @@ public partial class DeviceEnrollmentConfigurationItemRequestBuilderDeleteReques { } /// - /// Read properties and relationships of the deviceEnrollmentLimitConfiguration object. + /// Read properties and relationships of the deviceEnrollmentConfiguration object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilder.cs index 6b47b3a2bb0..51097566aef 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilder.cs @@ -41,8 +41,8 @@ public RoleDefinitionItemRequestBuilder(string rawUrl, IRequestAdapter requestAd { } /// - /// Deletes a deviceAndAppManagementRoleDefinition. - /// Find more info here + /// Deletes a roleDefinition. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -64,8 +64,8 @@ public async Task DeleteAsync(Action - /// Read properties and relationships of the roleDefinition object. - /// Find more info here + /// Read properties and relationships of the deviceAndAppManagementRoleDefinition object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -88,8 +88,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.RoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of a roleDefinition object. - /// Find more info here + /// Update the properties of a deviceAndAppManagementRoleDefinition object. + /// Find more info here /// /// A /// The request body @@ -114,7 +114,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.RoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Deletes a deviceAndAppManagementRoleDefinition. + /// Deletes a roleDefinition. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -133,7 +133,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the roleDefinition object. + /// Read properties and relationships of the deviceAndAppManagementRoleDefinition object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a roleDefinition object. + /// Update the properties of a deviceAndAppManagementRoleDefinition object. /// /// A /// The request body @@ -191,7 +191,7 @@ public partial class RoleDefinitionItemRequestBuilderDeleteRequestConfiguration { } /// - /// Read properties and relationships of the roleDefinition object. + /// Read properties and relationships of the deviceAndAppManagementRoleDefinition object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RoleDefinitionItemRequestBuilderGetQueryParameters 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 8105210adb6..20b5cd67330 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 @@ -81,8 +81,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.ItemRetentionLabel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive. - /// Find more info here + /// Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. 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 /// The request body @@ -145,7 +145,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive. + /// Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Names/Item/RangeNamespace/RangeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Names/Item/RangeNamespace/RangeRequestBuilder.cs index 726b8921fcc..71c308b355f 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Names/Item/RangeNamespace/RangeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Names/Item/RangeNamespace/RangeRequestBuilder.cs @@ -213,8 +213,8 @@ public RangeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base { } /// - /// Retrieve the properties and relationships of range object. - /// Find more info here + /// Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -301,7 +301,7 @@ public RangeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return new global::Microsoft.Graph.Drives.Item.Items.Item.Workbook.Names.Item.RangeNamespace.RowWithRow.RowWithRowRequestBuilder(PathParameters, RequestAdapter, row); } /// - /// Retrieve the properties and relationships of range object. + /// Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/RangeNamespace/RangeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/RangeNamespace/RangeRequestBuilder.cs index 90ed8c416f3..8dbe5755a48 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/RangeNamespace/RangeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/RangeNamespace/RangeRequestBuilder.cs @@ -213,8 +213,8 @@ public RangeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base { } /// - /// Retrieve the properties and relationships of range object. - /// Find more info here + /// Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -301,7 +301,7 @@ public RangeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return new global::Microsoft.Graph.Drives.Item.Items.Item.Workbook.Worksheets.Item.Names.Item.RangeNamespace.RowWithRow.RowWithRowRequestBuilder(PathParameters, RequestAdapter, row); } /// - /// Retrieve the properties and relationships of range object. + /// Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/GroupLifecyclePolicies/GroupLifecyclePoliciesRequestBuilder.cs b/src/Microsoft.Graph/Generated/GroupLifecyclePolicies/GroupLifecyclePoliciesRequestBuilder.cs index 72b19af6489..a64924b4697 100644 --- a/src/Microsoft.Graph/Generated/GroupLifecyclePolicies/GroupLifecyclePoliciesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/GroupLifecyclePolicies/GroupLifecyclePoliciesRequestBuilder.cs @@ -78,7 +78,7 @@ public GroupLifecyclePoliciesRequestBuilder(string rawUrl, IRequestAdapter reque return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.GroupLifecyclePolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Creates a new groupLifecyclePolicy. + /// Creates a new groupLifecyclePolicy. Only one policy exists in the tenant. /// Find more info here /// /// A @@ -123,7 +123,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Creates a new groupLifecyclePolicy. + /// Creates a new groupLifecyclePolicy. Only one policy exists in the tenant. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/GroupLifecyclePolicies/Item/AddGroup/AddGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/GroupLifecyclePolicies/Item/AddGroup/AddGroupRequestBuilder.cs index 07845c19db0..56371b03a9c 100644 --- a/src/Microsoft.Graph/Generated/GroupLifecyclePolicies/Item/AddGroup/AddGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/GroupLifecyclePolicies/Item/AddGroup/AddGroupRequestBuilder.cs @@ -34,7 +34,7 @@ public AddGroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b { } /// - /// Adds specific groups to a lifecycle policy. This action limits the group lifecycle policy to a set of groups only if the managedGroupTypes property of groupLifecyclePolicy is set to Selected. + /// Add a group to a groupLifecyclePolicy. This action is supported only if the managedGroupTypes property of the policy is set to Selected. /// Find more info here /// /// A @@ -60,7 +60,7 @@ public AddGroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.GroupLifecyclePolicies.Item.AddGroup.AddGroupPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Adds specific groups to a lifecycle policy. This action limits the group lifecycle policy to a set of groups only if the managedGroupTypes property of groupLifecyclePolicy is set to Selected. + /// Add a group to a groupLifecyclePolicy. This action is supported only if the managedGroupTypes property of the policy is set to Selected. /// Find more info here /// /// A @@ -87,7 +87,7 @@ public AddGroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.GroupLifecyclePolicies.Item.AddGroup.AddGroupResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Adds specific groups to a lifecycle policy. This action limits the group lifecycle policy to a set of groups only if the managedGroupTypes property of groupLifecyclePolicy is set to Selected. + /// Add a group to a groupLifecyclePolicy. This action is supported only if the managedGroupTypes property of the policy is set to Selected. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.cs index 5559ddb44ef..8e3c4a9200b 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.cs @@ -42,7 +42,7 @@ public ConversationItemRequestBuilder(string rawUrl, IRequestAdapter requestAdap } /// /// Delete conversation. - /// Find more info here + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -64,8 +64,8 @@ public async Task DeleteAsync(Action - /// The group's conversations. - /// Find more info here + /// Retrieve the properties and relationships of conversation object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -107,7 +107,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// The group's conversations. + /// Retrieve the properties and relationships of conversation object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -143,7 +143,7 @@ public partial class ConversationItemRequestBuilderDeleteRequestConfiguration : { } /// - /// The group's conversations. + /// Retrieve the properties and relationships of conversation object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ConversationItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Groups/Item/GroupLifecyclePolicies/Item/AddGroup/AddGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/GroupLifecyclePolicies/Item/AddGroup/AddGroupRequestBuilder.cs index ac9a473a4f2..d21cc22e3a0 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/GroupLifecyclePolicies/Item/AddGroup/AddGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/GroupLifecyclePolicies/Item/AddGroup/AddGroupRequestBuilder.cs @@ -34,7 +34,7 @@ public AddGroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b { } /// - /// Adds specific groups to a lifecycle policy. This action limits the group lifecycle policy to a set of groups only if the managedGroupTypes property of groupLifecyclePolicy is set to Selected. + /// Add a group to a groupLifecyclePolicy. This action is supported only if the managedGroupTypes property of the policy is set to Selected. /// Find more info here /// /// A @@ -60,7 +60,7 @@ public AddGroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Groups.Item.GroupLifecyclePolicies.Item.AddGroup.AddGroupPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Adds specific groups to a lifecycle policy. This action limits the group lifecycle policy to a set of groups only if the managedGroupTypes property of groupLifecyclePolicy is set to Selected. + /// Add a group to a groupLifecyclePolicy. This action is supported only if the managedGroupTypes property of the policy is set to Selected. /// Find more info here /// /// A @@ -87,7 +87,7 @@ public AddGroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Groups.Item.GroupLifecyclePolicies.Item.AddGroup.AddGroupResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Adds specific groups to a lifecycle policy. This action limits the group lifecycle policy to a set of groups only if the managedGroupTypes property of groupLifecyclePolicy is set to Selected. + /// Add a group to a groupLifecyclePolicy. This action is supported only if the managedGroupTypes property of the policy is set to Selected. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Members/MembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Members/MembersRequestBuilder.cs index 2e66c6d2b71..249dbad8e0d 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Members/MembersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Members/MembersRequestBuilder.cs @@ -3,6 +3,7 @@ using Microsoft.Graph.Groups.Item.Team.Channels.Item.Members.Add; using Microsoft.Graph.Groups.Item.Team.Channels.Item.Members.Count; using Microsoft.Graph.Groups.Item.Team.Channels.Item.Members.Item; +using Microsoft.Graph.Groups.Item.Team.Channels.Item.Members.Remove; using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; using Microsoft.Kiota.Abstractions.Extensions; @@ -31,6 +32,11 @@ public partial class MembersRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Groups.Item.Team.Channels.Item.Members.Count.CountRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the remove method. + public global::Microsoft.Graph.Groups.Item.Team.Channels.Item.Members.Remove.RemoveRequestBuilder Remove + { + get => new global::Microsoft.Graph.Groups.Item.Team.Channels.Item.Members.Remove.RemoveRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the members property of the microsoft.graph.channel entity. /// The unique identifier of conversationMember /// A diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Members/Remove/RemovePostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Members/Remove/RemovePostRequestBody.cs new file mode 100644 index 00000000000..05b3e7b1db0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Members/Remove/RemovePostRequestBody.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.Groups.Item.Team.Channels.Item.Members.Remove +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemovePostRequestBody : 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 values property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Values + { + get { return BackingStore?.Get?>("values"); } + set { BackingStore?.Set("values", value); } + } +#nullable restore +#else + public List Values + { + get { return BackingStore?.Get>("values"); } + set { BackingStore?.Set("values", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RemovePostRequestBody() + { + 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.Groups.Item.Team.Channels.Item.Members.Remove.RemovePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Groups.Item.Team.Channels.Item.Members.Remove.RemovePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "values", n => { Values = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ConversationMember.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfObjectValues("values", Values); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Members/Remove/RemovePostResponse.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Members/Remove/RemovePostResponse.cs new file mode 100644 index 00000000000..2a8a98e7cfc --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Members/Remove/RemovePostResponse.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.Groups.Item.Team.Channels.Item.Members.Remove +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemovePostResponse : 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.Groups.Item.Team.Channels.Item.Members.Remove.RemovePostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Groups.Item.Team.Channels.Item.Members.Remove.RemovePostResponse(); + } + /// + /// 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.ActionResultPart.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Members/Remove/RemoveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Members/Remove/RemoveRequestBuilder.cs new file mode 100644 index 00000000000..7b74edc9aaf --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Members/Remove/RemoveRequestBuilder.cs @@ -0,0 +1,130 @@ +// +#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.Groups.Item.Team.Channels.Item.Members.Remove +{ + /// + /// Provides operations to call the remove method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RemoveRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RemoveRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/members/remove", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RemoveRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/members/remove", rawUrl) + { + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// 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 PostAsRemovePostResponseAsync(global::Microsoft.Graph.Groups.Item.Team.Channels.Item.Members.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsRemovePostResponseAsync(global::Microsoft.Graph.Groups.Item.Team.Channels.Item.Members.Remove.RemovePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.Groups.Item.Team.Channels.Item.Members.Remove.RemovePostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("This method is obsolete. Use PostAsRemovePostResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Groups.Item.Team.Channels.Item.Members.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Groups.Item.Team.Channels.Item.Members.Remove.RemovePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.Groups.Item.Team.Channels.Item.Members.Remove.RemoveResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// + /// 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.Groups.Item.Team.Channels.Item.Members.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Groups.Item.Team.Channels.Item.Members.Remove.RemovePostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.Groups.Item.Team.Channels.Item.Members.Remove.RemoveRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Groups.Item.Team.Channels.Item.Members.Remove.RemoveRequestBuilder(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 RemoveRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Members/Remove/RemoveResponse.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Members/Remove/RemoveResponse.cs new file mode 100644 index 00000000000..9b022c914e3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Members/Remove/RemoveResponse.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.Groups.Item.Team.Channels.Item.Members.Remove +{ + [Obsolete("This class is obsolete. Use RemovePostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemoveResponse : global::Microsoft.Graph.Groups.Item.Team.Channels.Item.Members.Remove.RemovePostResponse, 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.Groups.Item.Team.Channels.Item.Members.Remove.RemoveResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Groups.Item.Team.Channels.Item.Members.Remove.RemoveResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Members/MembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Members/MembersRequestBuilder.cs index 7dc419eb1ed..c6da49c5ee6 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Members/MembersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Members/MembersRequestBuilder.cs @@ -3,6 +3,7 @@ using Microsoft.Graph.Groups.Item.Team.Members.Add; using Microsoft.Graph.Groups.Item.Team.Members.Count; using Microsoft.Graph.Groups.Item.Team.Members.Item; +using Microsoft.Graph.Groups.Item.Team.Members.Remove; using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; using Microsoft.Kiota.Abstractions.Extensions; @@ -31,6 +32,11 @@ public partial class MembersRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Groups.Item.Team.Members.Count.CountRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the remove method. + public global::Microsoft.Graph.Groups.Item.Team.Members.Remove.RemoveRequestBuilder Remove + { + get => new global::Microsoft.Graph.Groups.Item.Team.Members.Remove.RemoveRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the members property of the microsoft.graph.team entity. /// The unique identifier of conversationMember /// A diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Members/Remove/RemovePostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Members/Remove/RemovePostRequestBody.cs new file mode 100644 index 00000000000..32924be441e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Members/Remove/RemovePostRequestBody.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.Groups.Item.Team.Members.Remove +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemovePostRequestBody : 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 values property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Values + { + get { return BackingStore?.Get?>("values"); } + set { BackingStore?.Set("values", value); } + } +#nullable restore +#else + public List Values + { + get { return BackingStore?.Get>("values"); } + set { BackingStore?.Set("values", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RemovePostRequestBody() + { + 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.Groups.Item.Team.Members.Remove.RemovePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Groups.Item.Team.Members.Remove.RemovePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "values", n => { Values = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ConversationMember.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfObjectValues("values", Values); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Members/Remove/RemovePostResponse.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Members/Remove/RemovePostResponse.cs new file mode 100644 index 00000000000..10afb108c99 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Members/Remove/RemovePostResponse.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.Groups.Item.Team.Members.Remove +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemovePostResponse : 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.Groups.Item.Team.Members.Remove.RemovePostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Groups.Item.Team.Members.Remove.RemovePostResponse(); + } + /// + /// 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.ActionResultPart.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Members/Remove/RemoveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Members/Remove/RemoveRequestBuilder.cs new file mode 100644 index 00000000000..d56f7597f70 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Members/Remove/RemoveRequestBuilder.cs @@ -0,0 +1,130 @@ +// +#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.Groups.Item.Team.Members.Remove +{ + /// + /// Provides operations to call the remove method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RemoveRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RemoveRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/members/remove", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RemoveRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/members/remove", rawUrl) + { + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// 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 PostAsRemovePostResponseAsync(global::Microsoft.Graph.Groups.Item.Team.Members.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsRemovePostResponseAsync(global::Microsoft.Graph.Groups.Item.Team.Members.Remove.RemovePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.Groups.Item.Team.Members.Remove.RemovePostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("This method is obsolete. Use PostAsRemovePostResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Groups.Item.Team.Members.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Groups.Item.Team.Members.Remove.RemovePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.Groups.Item.Team.Members.Remove.RemoveResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// + /// 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.Groups.Item.Team.Members.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Groups.Item.Team.Members.Remove.RemovePostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.Groups.Item.Team.Members.Remove.RemoveRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Groups.Item.Team.Members.Remove.RemoveRequestBuilder(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 RemoveRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Members/Remove/RemoveResponse.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Members/Remove/RemoveResponse.cs new file mode 100644 index 00000000000..28371b9b7d4 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Members/Remove/RemoveResponse.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.Groups.Item.Team.Members.Remove +{ + [Obsolete("This class is obsolete. Use RemovePostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemoveResponse : global::Microsoft.Graph.Groups.Item.Team.Members.Remove.RemovePostResponse, 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.Groups.Item.Team.Members.Remove.RemoveResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Groups.Item.Team.Members.Remove.RemoveResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Members/MembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Members/MembersRequestBuilder.cs index 284f2708bd3..2310e1e0312 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Members/MembersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Members/MembersRequestBuilder.cs @@ -3,6 +3,7 @@ using Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Members.Add; using Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Members.Count; using Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Members.Item; +using Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Members.Remove; using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; using Microsoft.Kiota.Abstractions.Extensions; @@ -31,6 +32,11 @@ public partial class MembersRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Members.Count.CountRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the remove method. + public global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Members.Remove.RemoveRequestBuilder Remove + { + get => new global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Members.Remove.RemoveRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the members property of the microsoft.graph.channel entity. /// The unique identifier of conversationMember /// A diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Members/Remove/RemovePostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Members/Remove/RemovePostRequestBody.cs new file mode 100644 index 00000000000..0b8162645da --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Members/Remove/RemovePostRequestBody.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.Groups.Item.Team.PrimaryChannel.Members.Remove +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemovePostRequestBody : 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 values property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Values + { + get { return BackingStore?.Get?>("values"); } + set { BackingStore?.Set("values", value); } + } +#nullable restore +#else + public List Values + { + get { return BackingStore?.Get>("values"); } + set { BackingStore?.Set("values", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RemovePostRequestBody() + { + 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.Groups.Item.Team.PrimaryChannel.Members.Remove.RemovePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Members.Remove.RemovePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "values", n => { Values = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ConversationMember.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfObjectValues("values", Values); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Members/Remove/RemovePostResponse.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Members/Remove/RemovePostResponse.cs new file mode 100644 index 00000000000..0f0897b1f7e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Members/Remove/RemovePostResponse.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.Groups.Item.Team.PrimaryChannel.Members.Remove +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemovePostResponse : 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.Groups.Item.Team.PrimaryChannel.Members.Remove.RemovePostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Members.Remove.RemovePostResponse(); + } + /// + /// 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.ActionResultPart.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Members/Remove/RemoveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Members/Remove/RemoveRequestBuilder.cs new file mode 100644 index 00000000000..2ef161a437c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Members/Remove/RemoveRequestBuilder.cs @@ -0,0 +1,130 @@ +// +#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.Groups.Item.Team.PrimaryChannel.Members.Remove +{ + /// + /// Provides operations to call the remove method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RemoveRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RemoveRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/members/remove", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RemoveRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/members/remove", rawUrl) + { + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// 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 PostAsRemovePostResponseAsync(global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Members.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsRemovePostResponseAsync(global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Members.Remove.RemovePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.Groups.Item.Team.PrimaryChannel.Members.Remove.RemovePostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("This method is obsolete. Use PostAsRemovePostResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Members.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Members.Remove.RemovePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.Groups.Item.Team.PrimaryChannel.Members.Remove.RemoveResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// + /// 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.Groups.Item.Team.PrimaryChannel.Members.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Members.Remove.RemovePostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.Groups.Item.Team.PrimaryChannel.Members.Remove.RemoveRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Members.Remove.RemoveRequestBuilder(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 RemoveRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Members/Remove/RemoveResponse.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Members/Remove/RemoveResponse.cs new file mode 100644 index 00000000000..e7567c0753a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Members/Remove/RemoveResponse.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.Groups.Item.Team.PrimaryChannel.Members.Remove +{ + [Obsolete("This class is obsolete. Use RemovePostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemoveResponse : global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Members.Remove.RemovePostResponse, 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.Groups.Item.Team.PrimaryChannel.Members.Remove.RemoveResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Members.Remove.RemoveResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.cs index 56c1c896e66..3a199b4e810 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.cs @@ -48,7 +48,7 @@ public ConversationThreadItemRequestBuilder(string rawUrl, IRequestAdapter reque } /// /// Delete conversationThread. - /// Find more info here + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.cs index ac83f8441ba..9a5fe47ab29 100644 --- a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.cs @@ -58,8 +58,8 @@ public async Task DeleteAsync(Action - /// Retrieve the properties and relationships of an ipNamedLocation object. - /// Find more info here + /// Retrieve the properties and relationships of a countryNamedLocation object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -82,8 +82,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.NamedLocation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of a countryNamedLocation object. - /// Find more info here + /// Update the properties of an ipNamedLocation object. + /// Find more info here /// /// A /// The request body @@ -127,7 +127,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of an ipNamedLocation object. + /// Retrieve the properties and relationships of a countryNamedLocation object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -146,7 +146,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a countryNamedLocation object. + /// Update the properties of an ipNamedLocation object. /// /// A /// The request body @@ -185,7 +185,7 @@ public partial class NamedLocationItemRequestBuilderDeleteRequestConfiguration : { } /// - /// Retrieve the properties and relationships of an ipNamedLocation object. + /// Retrieve the properties and relationships of a countryNamedLocation object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class NamedLocationItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilder.cs index a83372be3ae..947869285ba 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilder.cs @@ -100,8 +100,8 @@ public async Task DeleteAsync(Action - /// Retrieve the properties and relationships of an accessPackage object. - /// Find more info here + /// Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -169,7 +169,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of an accessPackage object. + /// Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -227,7 +227,7 @@ public partial class AccessPackageItemRequestBuilderDeleteRequestConfiguration : { } /// - /// Retrieve the properties and relationships of an accessPackage object. + /// Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class AccessPackageItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.cs index 94c7ad4eb10..c3573ad76e9 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.cs @@ -35,8 +35,8 @@ public CustomCalloutExtensionItemRequestBuilder(string rawUrl, IRequestAdapter r { } /// - /// Delete an accessPackageAssignmentWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: - /// Find more info here + /// Delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -58,8 +58,8 @@ public async Task DeleteAsync(Action - /// Read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. - /// Find more info here + /// Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -82,8 +82,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.CustomCalloutExtension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of an accessPackageAssignmentRequestWorkflowExtension object. - /// Find more info here + /// Update the properties of an accessPackageAssignmentWorkflowExtension object. + /// Find more info here /// /// A /// The request body @@ -108,7 +108,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.CustomCalloutExtension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete an accessPackageAssignmentWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: + /// Delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -127,7 +127,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. + /// Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -146,7 +146,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of an accessPackageAssignmentRequestWorkflowExtension object. + /// Update the properties of an accessPackageAssignmentWorkflowExtension object. /// /// A /// The request body @@ -185,7 +185,7 @@ public partial class CustomCalloutExtensionItemRequestBuilderDeleteRequestConfig { } /// - /// Read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. + /// Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class CustomCalloutExtensionItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilder.cs index e583dd92780..d71dc4fd232 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilder.cs @@ -76,8 +76,8 @@ public async Task DeleteAsync(Action - /// Retrieve the properties and relationships of an agreement object. - /// Find more info here + /// Retrieve all files related to an agreement. This includes the default file and all localized files. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -145,7 +145,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of an agreement object. + /// Retrieve all files related to an agreement. This includes the default file and all localized files. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -203,7 +203,7 @@ public partial class AgreementItemRequestBuilderDeleteRequestConfiguration : Req { } /// - /// Retrieve the properties and relationships of an agreement object. + /// Retrieve all files related to an agreement. This includes the default file and all localized files. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class AgreementItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Members/MembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Members/MembersRequestBuilder.cs index e08d0cbf534..0fba7e4f47b 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Members/MembersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/Members/MembersRequestBuilder.cs @@ -3,6 +3,7 @@ using Microsoft.Graph.Me.Chats.Item.Members.Add; using Microsoft.Graph.Me.Chats.Item.Members.Count; using Microsoft.Graph.Me.Chats.Item.Members.Item; +using Microsoft.Graph.Me.Chats.Item.Members.Remove; using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; using Microsoft.Kiota.Abstractions.Extensions; @@ -31,6 +32,11 @@ public partial class MembersRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Me.Chats.Item.Members.Count.CountRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the remove method. + public global::Microsoft.Graph.Me.Chats.Item.Members.Remove.RemoveRequestBuilder Remove + { + get => new global::Microsoft.Graph.Me.Chats.Item.Members.Remove.RemoveRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the members property of the microsoft.graph.chat entity. /// The unique identifier of conversationMember /// A diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Members/Remove/RemovePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Members/Remove/RemovePostRequestBody.cs new file mode 100644 index 00000000000..a0520bbb13e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/Members/Remove/RemovePostRequestBody.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.Members.Remove +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemovePostRequestBody : 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 values property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Values + { + get { return BackingStore?.Get?>("values"); } + set { BackingStore?.Set("values", value); } + } +#nullable restore +#else + public List Values + { + get { return BackingStore?.Get>("values"); } + set { BackingStore?.Set("values", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RemovePostRequestBody() + { + 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.Members.Remove.RemovePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.Chats.Item.Members.Remove.RemovePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "values", n => { Values = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ConversationMember.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfObjectValues("values", Values); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Members/Remove/RemovePostResponse.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Members/Remove/RemovePostResponse.cs new file mode 100644 index 00000000000..0dab394ec7a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/Members/Remove/RemovePostResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Me.Chats.Item.Members.Remove +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemovePostResponse : global::Microsoft.Graph.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Me.Chats.Item.Members.Remove.RemovePostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.Chats.Item.Members.Remove.RemovePostResponse(); + } + /// + /// 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.ActionResultPart.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Members/Remove/RemoveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Members/Remove/RemoveRequestBuilder.cs new file mode 100644 index 00000000000..97e47220e3a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/Members/Remove/RemoveRequestBuilder.cs @@ -0,0 +1,130 @@ +// +#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.Members.Remove +{ + /// + /// Provides operations to call the remove method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RemoveRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RemoveRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/members/remove", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RemoveRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/members/remove", rawUrl) + { + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// 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 PostAsRemovePostResponseAsync(global::Microsoft.Graph.Me.Chats.Item.Members.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsRemovePostResponseAsync(global::Microsoft.Graph.Me.Chats.Item.Members.Remove.RemovePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.Me.Chats.Item.Members.Remove.RemovePostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("This method is obsolete. Use PostAsRemovePostResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Me.Chats.Item.Members.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Me.Chats.Item.Members.Remove.RemovePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.Me.Chats.Item.Members.Remove.RemoveResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// + /// 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.Members.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Chats.Item.Members.Remove.RemovePostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.Members.Remove.RemoveRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.Chats.Item.Members.Remove.RemoveRequestBuilder(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 RemoveRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Members/Remove/RemoveResponse.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Members/Remove/RemoveResponse.cs new file mode 100644 index 00000000000..e5c0a9b91f5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/Members/Remove/RemoveResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Me.Chats.Item.Members.Remove +{ + [Obsolete("This class is obsolete. Use RemovePostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemoveResponse : global::Microsoft.Graph.Me.Chats.Item.Members.Remove.RemovePostResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Me.Chats.Item.Members.Remove.RemoveResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.Chats.Item.Members.Remove.RemoveResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Members/MembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Members/MembersRequestBuilder.cs index 0dda757b0dd..c6f0c55e395 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Members/MembersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Members/MembersRequestBuilder.cs @@ -3,6 +3,7 @@ using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Add; using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Count; using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Item; +using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove; using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; using Microsoft.Kiota.Abstractions.Extensions; @@ -31,6 +32,11 @@ public partial class MembersRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Count.CountRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the remove method. + public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.RemoveRequestBuilder Remove + { + get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.RemoveRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the members property of the microsoft.graph.channel entity. /// The unique identifier of conversationMember /// A diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Members/Remove/RemovePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Members/Remove/RemovePostRequestBody.cs new file mode 100644 index 00000000000..08a50c6d48c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Members/Remove/RemovePostRequestBody.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.JoinedTeams.Item.Channels.Item.Members.Remove +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemovePostRequestBody : 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 values property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Values + { + get { return BackingStore?.Get?>("values"); } + set { BackingStore?.Set("values", value); } + } +#nullable restore +#else + public List Values + { + get { return BackingStore?.Get>("values"); } + set { BackingStore?.Set("values", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RemovePostRequestBody() + { + 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.JoinedTeams.Item.Channels.Item.Members.Remove.RemovePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.RemovePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "values", n => { Values = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ConversationMember.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfObjectValues("values", Values); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Members/Remove/RemovePostResponse.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Members/Remove/RemovePostResponse.cs new file mode 100644 index 00000000000..7e20afa1c17 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Members/Remove/RemovePostResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemovePostResponse : global::Microsoft.Graph.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.RemovePostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.RemovePostResponse(); + } + /// + /// 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.ActionResultPart.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Members/Remove/RemoveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Members/Remove/RemoveRequestBuilder.cs new file mode 100644 index 00000000000..308ecc2d9ae --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Members/Remove/RemoveRequestBuilder.cs @@ -0,0 +1,130 @@ +// +#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.JoinedTeams.Item.Channels.Item.Members.Remove +{ + /// + /// Provides operations to call the remove method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RemoveRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RemoveRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/members/remove", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RemoveRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/members/remove", rawUrl) + { + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// 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 PostAsRemovePostResponseAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsRemovePostResponseAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.RemovePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.Me.JoinedTeams.Item.Channels.Item.Members.Remove.RemovePostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("This method is obsolete. Use PostAsRemovePostResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.RemovePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.Me.JoinedTeams.Item.Channels.Item.Members.Remove.RemoveResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// + /// 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.JoinedTeams.Item.Channels.Item.Members.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.RemovePostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.JoinedTeams.Item.Channels.Item.Members.Remove.RemoveRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.RemoveRequestBuilder(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 RemoveRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Members/Remove/RemoveResponse.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Members/Remove/RemoveResponse.cs new file mode 100644 index 00000000000..eeac7022dbe --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Members/Remove/RemoveResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove +{ + [Obsolete("This class is obsolete. Use RemovePostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemoveResponse : global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.RemovePostResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.RemoveResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.RemoveResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Members/MembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Members/MembersRequestBuilder.cs index 6a9413faf83..ee94cde2bcf 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Members/MembersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Members/MembersRequestBuilder.cs @@ -3,6 +3,7 @@ using Microsoft.Graph.Me.JoinedTeams.Item.Members.Add; using Microsoft.Graph.Me.JoinedTeams.Item.Members.Count; using Microsoft.Graph.Me.JoinedTeams.Item.Members.Item; +using Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove; using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; using Microsoft.Kiota.Abstractions.Extensions; @@ -31,6 +32,11 @@ public partial class MembersRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Members.Count.CountRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the remove method. + public global::Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.RemoveRequestBuilder Remove + { + get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.RemoveRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the members property of the microsoft.graph.team entity. /// The unique identifier of conversationMember /// A diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Members/Remove/RemovePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Members/Remove/RemovePostRequestBody.cs new file mode 100644 index 00000000000..6680f054004 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Members/Remove/RemovePostRequestBody.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.JoinedTeams.Item.Members.Remove +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemovePostRequestBody : 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 values property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Values + { + get { return BackingStore?.Get?>("values"); } + set { BackingStore?.Set("values", value); } + } +#nullable restore +#else + public List Values + { + get { return BackingStore?.Get>("values"); } + set { BackingStore?.Set("values", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RemovePostRequestBody() + { + 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.JoinedTeams.Item.Members.Remove.RemovePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.RemovePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "values", n => { Values = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ConversationMember.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfObjectValues("values", Values); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Members/Remove/RemovePostResponse.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Members/Remove/RemovePostResponse.cs new file mode 100644 index 00000000000..a759def05f9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Members/Remove/RemovePostResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemovePostResponse : global::Microsoft.Graph.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.RemovePostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.RemovePostResponse(); + } + /// + /// 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.ActionResultPart.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Members/Remove/RemoveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Members/Remove/RemoveRequestBuilder.cs new file mode 100644 index 00000000000..8d3055642ad --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Members/Remove/RemoveRequestBuilder.cs @@ -0,0 +1,130 @@ +// +#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.JoinedTeams.Item.Members.Remove +{ + /// + /// Provides operations to call the remove method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RemoveRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RemoveRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/members/remove", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RemoveRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/members/remove", rawUrl) + { + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// 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 PostAsRemovePostResponseAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsRemovePostResponseAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.RemovePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.Me.JoinedTeams.Item.Members.Remove.RemovePostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("This method is obsolete. Use PostAsRemovePostResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.RemovePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.Me.JoinedTeams.Item.Members.Remove.RemoveResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// + /// 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.JoinedTeams.Item.Members.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.RemovePostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.JoinedTeams.Item.Members.Remove.RemoveRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.RemoveRequestBuilder(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 RemoveRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Members/Remove/RemoveResponse.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Members/Remove/RemoveResponse.cs new file mode 100644 index 00000000000..b6da2630f95 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Members/Remove/RemoveResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove +{ + [Obsolete("This class is obsolete. Use RemovePostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemoveResponse : global::Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.RemovePostResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.RemoveResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.RemoveResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Members/MembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Members/MembersRequestBuilder.cs index f489b208c18..41ce0bcc88d 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Members/MembersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Members/MembersRequestBuilder.cs @@ -3,6 +3,7 @@ using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Add; using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Count; using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Item; +using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove; using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; using Microsoft.Kiota.Abstractions.Extensions; @@ -31,6 +32,11 @@ public partial class MembersRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Count.CountRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the remove method. + public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemoveRequestBuilder Remove + { + get => new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemoveRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the members property of the microsoft.graph.channel entity. /// The unique identifier of conversationMember /// A diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Members/Remove/RemovePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Members/Remove/RemovePostRequestBody.cs new file mode 100644 index 00000000000..33035bebea0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Members/Remove/RemovePostRequestBody.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.JoinedTeams.Item.PrimaryChannel.Members.Remove +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemovePostRequestBody : 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 values property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Values + { + get { return BackingStore?.Get?>("values"); } + set { BackingStore?.Set("values", value); } + } +#nullable restore +#else + public List Values + { + get { return BackingStore?.Get>("values"); } + set { BackingStore?.Set("values", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RemovePostRequestBody() + { + 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.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemovePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemovePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "values", n => { Values = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ConversationMember.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfObjectValues("values", Values); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Members/Remove/RemovePostResponse.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Members/Remove/RemovePostResponse.cs new file mode 100644 index 00000000000..d6eff2f74e8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Members/Remove/RemovePostResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemovePostResponse : global::Microsoft.Graph.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemovePostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemovePostResponse(); + } + /// + /// 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.ActionResultPart.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Members/Remove/RemoveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Members/Remove/RemoveRequestBuilder.cs new file mode 100644 index 00000000000..a9c8a8d797e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Members/Remove/RemoveRequestBuilder.cs @@ -0,0 +1,130 @@ +// +#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.JoinedTeams.Item.PrimaryChannel.Members.Remove +{ + /// + /// Provides operations to call the remove method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RemoveRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RemoveRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/members/remove", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RemoveRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/members/remove", rawUrl) + { + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// 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 PostAsRemovePostResponseAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsRemovePostResponseAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemovePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemovePostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("This method is obsolete. Use PostAsRemovePostResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemovePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemoveResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// + /// 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.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemovePostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemoveRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemoveRequestBuilder(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 RemoveRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Members/Remove/RemoveResponse.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Members/Remove/RemoveResponse.cs new file mode 100644 index 00000000000..a483d37e3ed --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Members/Remove/RemoveResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove +{ + [Obsolete("This class is obsolete. Use RemovePostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemoveResponse : global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemovePostResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemoveResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemoveResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/ChildFoldersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/ChildFoldersRequestBuilder.cs index 219fd552cee..e76565a8a5e 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/ChildFoldersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/ChildFoldersRequestBuilder.cs @@ -84,8 +84,8 @@ public ChildFoldersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MailFolderCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new mailSearchFolder in the specified user's mailbox. - /// Find more info here + /// Use this API to create a new child mailFolder. If you intend a new folder to be hidden, you must set the isHidden property to true on creation. + /// Find more info here /// /// A /// The request body @@ -129,7 +129,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new mailSearchFolder in the specified user's mailbox. + /// Use this API to create a new child mailFolder. If you intend a new folder to be hidden, you must set the isHidden property to true on creation. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/Attachments/AttachmentsRequestBuilder.cs index 0d6103aea33..0dd4bc918a6 100644 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Messages/Item/Attachments/AttachmentsRequestBuilder.cs @@ -60,8 +60,8 @@ public AttachmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) { } /// - /// Retrieve a list of attachment objects. - /// Find more info here + /// Retrieve a list of attachment objects attached to a message. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -110,7 +110,7 @@ public AttachmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve a list of attachment objects. + /// Retrieve a list of attachment objects attached to a message. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -160,7 +160,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.Me.Messages.Item.Attachments.AttachmentsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Retrieve a list of attachment objects. + /// Retrieve a list of attachment objects attached to a message. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class AttachmentsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/MessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/MessageItemRequestBuilder.cs index 7c79f6e052a..320ab453616 100644 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/MessageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Messages/Item/MessageItemRequestBuilder.cs @@ -107,8 +107,8 @@ public MessageItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) { } /// - /// Delete eventMessage. - /// Find more info here + /// Delete a message in the specified user's mailbox, or delete a relationship of the message. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -130,8 +130,8 @@ public async Task DeleteAsync(Action - /// Retrieve the properties and relationships of a message object. You can use the $value parameter to get the MIME content of a message. See also an example below. There are two scenarios where an app can get a message in another user's mail folder: Since the message resource supports extensions, you can also use the GET operation to get custom properties and extension data in a message instance. - /// Find more info here + /// Get the properties and relationships of the eventMessage object. Apply the $expand parameter on the event navigation property to get the associated event in an attendee's calendar. Currently, this operation returns event message bodies in only HTML format. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -180,7 +180,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete eventMessage. + /// Delete a message in the specified user's mailbox, or delete a relationship of the message. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -199,7 +199,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of a message object. You can use the $value parameter to get the MIME content of a message. See also an example below. There are two scenarios where an app can get a message in another user's mail folder: Since the message resource supports extensions, you can also use the GET operation to get custom properties and extension data in a message instance. + /// Get the properties and relationships of the eventMessage object. Apply the $expand parameter on the event navigation property to get the associated event in an attendee's calendar. Currently, this operation returns event message bodies in only HTML format. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -257,7 +257,7 @@ public partial class MessageItemRequestBuilderDeleteRequestConfiguration : Reque { } /// - /// Retrieve the properties and relationships of a message object. You can use the $value parameter to get the MIME content of a message. See also an example below. There are two scenarios where an app can get a message in another user's mail folder: Since the message resource supports extensions, you can also use the GET operation to get custom properties and extension data in a message instance. + /// Get the properties and relationships of the eventMessage object. Apply the $expand parameter on the event navigation property to get the associated event in an attendee's calendar. Currently, this operation returns event message bodies in only HTML format. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MessageItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/Value/ContentRequestBuilder.cs index 655322be1c7..4cd03c99b02 100644 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/Value/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Messages/Item/Value/ContentRequestBuilder.cs @@ -34,8 +34,8 @@ public ContentRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Delete eventMessage. - /// Find more info here + /// Delete a message in the specified user's mailbox, or delete a relationship of the message. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -107,7 +107,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete eventMessage. + /// Delete a message in the specified user's mailbox, or delete a relationship of the message. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Me/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/MessagesRequestBuilder.cs index 0cc565adb32..a754b1125dd 100644 --- a/src/Microsoft.Graph/Generated/Me/Messages/MessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Messages/MessagesRequestBuilder.cs @@ -84,8 +84,8 @@ public MessagesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a draft of a new message in either JSON or MIME format. When using JSON format, you can:- Include an attachment to the message.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- /* Add any attachments and S/MIME properties to the MIME content. By default, this operation saves the draft in the Drafts folder. Send the draft message in a subsequent operation. Alternatively, send a new message in a single operation, or create a draft to forward, reply and reply-all to an existing message. - /// Find more info here + /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + /// Find more info here /// /// A /// The request body @@ -129,7 +129,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a draft of a new message in either JSON or MIME format. When using JSON format, you can:- Include an attachment to the message.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- /* Add any attachments and S/MIME properties to the MIME content. By default, this operation saves the draft in the Drafts folder. Send the draft message in a subsequent operation. Alternatively, send a new message in a single operation, or create a draft to forward, reply and reply-all to an existing message. + /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Models/ActionResultPart.cs b/src/Microsoft.Graph/Generated/Models/ActionResultPart.cs index 04e0b77ec03..8eee4c47b42 100644 --- a/src/Microsoft.Graph/Generated/Models/ActionResultPart.cs +++ b/src/Microsoft.Graph/Generated/Models/ActionResultPart.cs @@ -21,7 +21,7 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The error that occurred, if any, during the course of the bulk operation. + /// The error that occurred, if any, during the bulk operation. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Models.PublicError? Error diff --git a/src/Microsoft.Graph/Generated/Models/ConversationMember.cs b/src/Microsoft.Graph/Generated/Models/ConversationMember.cs index be0cc7366bf..a889383c9e6 100644 --- a/src/Microsoft.Graph/Generated/Models/ConversationMember.cs +++ b/src/Microsoft.Graph/Generated/Models/ConversationMember.cs @@ -28,7 +28,7 @@ public string DisplayName set { BackingStore?.Set("displayName", value); } } #endif - /// The roles for that user. This property contains additional qualifiers only when relevant - for example, if the member has owner privileges, the roles property contains owner as one of the values. Similarly, if the member is an in-tenant guest, the roles property contains guest as one of the values. A basic member should not have any values specified in the roles property. An Out-of-tenant external member is assigned the owner role. + /// The roles for that user. This property contains more qualifiers only when relevant - for example, if the member has owner privileges, the roles property contains owner as one of the values. Similarly, if the member is an in-tenant guest, the roles property contains guest as one of the values. A basic member shouldn't have any values specified in the roles property. An Out-of-tenant external member is assigned the owner role. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Roles diff --git a/src/Microsoft.Graph/Generated/Models/Quota.cs b/src/Microsoft.Graph/Generated/Models/Quota.cs index dfbfc23d6d5..e8b73fc9837 100644 --- a/src/Microsoft.Graph/Generated/Models/Quota.cs +++ b/src/Microsoft.Graph/Generated/Models/Quota.cs @@ -43,7 +43,7 @@ public string OdataType set { BackingStore?.Set("@odata.type", value); } } #endif - /// Total space remaining before reaching the quota limit, in bytes. Read-only. + /// Total space remaining before reaching the capacity limit, in bytes. Read-only. public long? Remaining { get { return BackingStore?.Get("remaining"); } diff --git a/src/Microsoft.Graph/Generated/Models/Team.cs b/src/Microsoft.Graph/Generated/Models/Team.cs index 6101f06cd8e..3f8e5b0c9c1 100644 --- a/src/Microsoft.Graph/Generated/Models/Team.cs +++ b/src/Microsoft.Graph/Generated/Models/Team.cs @@ -44,7 +44,7 @@ public partial class Team : global::Microsoft.Graph.Models.Entity, IParsable set { BackingStore?.Set("channels", value); } } #endif - /// An optional label. Typically describes the data or business sensitivity of the team. Must match one of a pre-configured set in the tenant's directory. + /// An optional label. Typically describes the data or business sensitivity of the team. Must match one of a preconfigured set in the tenant's directory. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Classification @@ -66,7 +66,7 @@ public DateTimeOffset? CreatedDateTime get { return BackingStore?.Get("createdDateTime"); } set { BackingStore?.Set("createdDateTime", value); } } - /// An optional description for the team. Maximum length: 1024 characters. + /// An optional description for the team. Maximum length: 1,024 characters. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Description @@ -178,7 +178,7 @@ public string DisplayName set { BackingStore?.Set("installedApps", value); } } #endif - /// A unique ID for the team that has been used in a few places such as the audit log/Office 365 Management Activity API. + /// A unique ID for the team that was used in a few places such as the audit log/Office 365 Management Activity API. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? InternalId @@ -328,7 +328,7 @@ public bool? IsArchived set { BackingStore?.Set("schedule", value); } } #endif - /// Optional. Indicates whether the team is intended for a particular use case. Each team specialization has access to unique behaviors and experiences targeted to its use case. + /// Optional. Indicates whether the team is intended for a particular use case. Each team specialization has access to unique behaviors and experiences targeted to its use case. public global::Microsoft.Graph.Models.TeamSpecialization? Specialization { get { return BackingStore?.Get("specialization"); } @@ -404,7 +404,7 @@ public string TenantId get { return BackingStore?.Get("visibility"); } set { BackingStore?.Set("visibility", value); } } - /// A hyperlink that will go to the team in the Microsoft Teams client. This is the URL that you get when you right-click a team in the Microsoft Teams client and select Get link to team. This URL should be treated as an opaque blob, and not parsed. + /// A hyperlink that goes to the team in the Microsoft Teams client. You get this URL when you right-click a team in the Microsoft Teams client and select Get link to team. This URL should be treated as an opaque blob, and not parsed. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? WebUrl diff --git a/src/Microsoft.Graph/Generated/Models/WorkbookRangeView.cs b/src/Microsoft.Graph/Generated/Models/WorkbookRangeView.cs index c8c2b93a758..1e0d018a01e 100644 --- a/src/Microsoft.Graph/Generated/Models/WorkbookRangeView.cs +++ b/src/Microsoft.Graph/Generated/Models/WorkbookRangeView.cs @@ -110,7 +110,7 @@ public int? RowCount get { return BackingStore?.Get("rowCount"); } set { BackingStore?.Set("rowCount", value); } } - /// The collection of range views associated with the range. Read-only. Read-only. + /// The collection of range views associated with the range. Read-only.Read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Rows diff --git a/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/BannerLogo/BannerLogoRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/BannerLogo/BannerLogoRequestBuilder.cs index 287622cdd2f..c5d1a24955a 100644 --- a/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/BannerLogo/BannerLogoRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/BannerLogo/BannerLogoRequestBuilder.cs @@ -56,8 +56,8 @@ public async Task DeleteAsync(Action - /// Retrieve the default organizational branding object, if the Accept-Language header is set to 0 or default. If no default organizational branding object exists, this method returns a 404 Not Found error. If the Accept-Language header is set to an existing locale identified by the value of its id, this method retrieves the branding for the specified locale. This method retrieves only non-Stream properties, for example, usernameHintText and signInPageText. To retrieve Stream types of the default branding, for example, bannerLogo and backgroundImage, use the GET organizationalBrandingLocalization method. - /// Find more info here + /// Read the properties and relationships of an organizationalBrandingLocalization object. To retrieve a localization branding object, specify the value of id in the URL. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -127,7 +127,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the default organizational branding object, if the Accept-Language header is set to 0 or default. If no default organizational branding object exists, this method returns a 404 Not Found error. If the Accept-Language header is set to an existing locale identified by the value of its id, this method retrieves the branding for the specified locale. This method retrieves only non-Stream properties, for example, usernameHintText and signInPageText. To retrieve Stream types of the default branding, for example, bannerLogo and backgroundImage, use the GET organizationalBrandingLocalization method. + /// Read the properties and relationships of an organizationalBrandingLocalization object. To retrieve a localization branding object, specify the value of id in the URL. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Organization/Item/OrganizationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/Item/OrganizationItemRequestBuilder.cs index 181da8e8a7d..763d7af93bf 100644 --- a/src/Microsoft.Graph/Generated/Organization/Item/OrganizationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Organization/Item/OrganizationItemRequestBuilder.cs @@ -111,8 +111,8 @@ public async Task DeleteAsync(Action - /// Get the properties and relationships of the currently authenticated organization. Since the organization resource supports extensions, you can also use the GET operation to get custom properties and extension data in an organization instance. - /// Find more info here + /// Read properties and relationships of the organization object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -135,8 +135,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.Organization.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of the currently authenticated organization. In this case, organization is defined as a collection of exactly one record, and so its ID must be specified in the request. The ID is also known as the tenantId of the organization. - /// Find more info here + /// Update the properties of a organization object. + /// Find more info here /// /// A /// The request body @@ -180,7 +180,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get the properties and relationships of the currently authenticated organization. Since the organization resource supports extensions, you can also use the GET operation to get custom properties and extension data in an organization instance. + /// Read properties and relationships of the organization object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -199,7 +199,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of the currently authenticated organization. In this case, organization is defined as a collection of exactly one record, and so its ID must be specified in the request. The ID is also known as the tenantId of the organization. + /// Update the properties of a organization object. /// /// A /// The request body @@ -238,7 +238,7 @@ public partial class OrganizationItemRequestBuilderDeleteRequestConfiguration : { } /// - /// Get the properties and relationships of the currently authenticated organization. Since the organization resource supports extensions, you can also use the GET operation to get custom properties and extension data in an organization instance. + /// Read properties and relationships of the organization object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class OrganizationItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Organization/OrganizationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/OrganizationRequestBuilder.cs index f902904958c..cc8a37c53f4 100644 --- a/src/Microsoft.Graph/Generated/Organization/OrganizationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Organization/OrganizationRequestBuilder.cs @@ -78,8 +78,8 @@ public OrganizationRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) { } /// - /// List properties and relationships of the organization objects. - /// Find more info here + /// Retrieve a list of organization objects. There's only one organization object in the collection. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -127,7 +127,7 @@ public OrganizationRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Organization.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List properties and relationships of the organization objects. + /// Retrieve a list of organization objects. There's only one organization object in the collection. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -177,7 +177,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.Organization.OrganizationRequestBuilder(rawUrl, RequestAdapter); } /// - /// List properties and relationships of the organization objects. + /// Retrieve a list of organization objects. There's only one organization object in the collection. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class OrganizationRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ListItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ListItemRequestBuilder.cs index 1ed1cda92af..942a4deb640 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ListItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ListItemRequestBuilder.cs @@ -105,8 +105,8 @@ public async Task DeleteAsync(Action - /// Get a list of rich long-running operations associated with a list. - /// Find more info here + /// Returns the metadata for a list. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -173,7 +173,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get a list of rich long-running operations associated with a list. + /// Returns the metadata for a list. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -231,7 +231,7 @@ public partial class ListItemRequestBuilderDeleteRequestConfiguration : RequestC { } /// - /// Get a list of rich long-running operations associated with a list. + /// Returns the metadata for a list. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ListItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Sites/SitesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/SitesRequestBuilder.cs index 48b3f1b9544..047d4e1dbc9 100644 --- a/src/Microsoft.Graph/Generated/Sites/SitesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/SitesRequestBuilder.cs @@ -78,8 +78,8 @@ public SitesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base { } /// - /// List all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale. - /// Find more info here + /// Search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public SitesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SiteCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale. + /// Search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -130,7 +130,7 @@ public RequestInformation ToGetRequestInformation(Action - /// List all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale. + /// Search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SitesRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs index 29a32f6c4f5..4d2987bbbec 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs @@ -35,8 +35,8 @@ public ConversationMemberItemRequestBuilder(string rawUrl, IRequestAdapter reque { } /// - /// Delete a conversationMember from a channel. - /// Find more info here + /// Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -82,8 +82,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the role of a conversationMember in a team or channel. - /// Find more info here + /// Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. + /// Find more info here /// /// A /// The request body @@ -108,7 +108,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete a conversationMember from a channel. + /// Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -146,7 +146,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the role of a conversationMember in a team or channel. + /// Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/MembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/MembersRequestBuilder.cs index 649b8e42f91..3e00204db8a 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/MembersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/MembersRequestBuilder.cs @@ -5,6 +5,7 @@ using Microsoft.Graph.Teams.Item.Channels.Item.Members.Add; using Microsoft.Graph.Teams.Item.Channels.Item.Members.Count; using Microsoft.Graph.Teams.Item.Channels.Item.Members.Item; +using Microsoft.Graph.Teams.Item.Channels.Item.Members.Remove; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -31,6 +32,11 @@ public partial class MembersRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Teams.Item.Channels.Item.Members.Count.CountRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the remove method. + public global::Microsoft.Graph.Teams.Item.Channels.Item.Members.Remove.RemoveRequestBuilder Remove + { + get => new global::Microsoft.Graph.Teams.Item.Channels.Item.Members.Remove.RemoveRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the members property of the microsoft.graph.channel entity. /// The unique identifier of conversationMember /// A diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/Remove/RemovePostRequestBody.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/Remove/RemovePostRequestBody.cs new file mode 100644 index 00000000000..4f3daf22b05 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/Remove/RemovePostRequestBody.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.Teams.Item.Channels.Item.Members.Remove +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemovePostRequestBody : 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 values property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Values + { + get { return BackingStore?.Get?>("values"); } + set { BackingStore?.Set("values", value); } + } +#nullable restore +#else + public List Values + { + get { return BackingStore?.Get>("values"); } + set { BackingStore?.Set("values", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RemovePostRequestBody() + { + 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.Teams.Item.Channels.Item.Members.Remove.RemovePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Teams.Item.Channels.Item.Members.Remove.RemovePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "values", n => { Values = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ConversationMember.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfObjectValues("values", Values); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/Remove/RemovePostResponse.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/Remove/RemovePostResponse.cs new file mode 100644 index 00000000000..a710a760a21 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/Remove/RemovePostResponse.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.Teams.Item.Channels.Item.Members.Remove +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemovePostResponse : 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.Teams.Item.Channels.Item.Members.Remove.RemovePostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Teams.Item.Channels.Item.Members.Remove.RemovePostResponse(); + } + /// + /// 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.ActionResultPart.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/Remove/RemoveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/Remove/RemoveRequestBuilder.cs new file mode 100644 index 00000000000..4829d2e3278 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/Remove/RemoveRequestBuilder.cs @@ -0,0 +1,130 @@ +// +#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.Teams.Item.Channels.Item.Members.Remove +{ + /// + /// Provides operations to call the remove method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RemoveRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RemoveRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/members/remove", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RemoveRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/members/remove", rawUrl) + { + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// 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 PostAsRemovePostResponseAsync(global::Microsoft.Graph.Teams.Item.Channels.Item.Members.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsRemovePostResponseAsync(global::Microsoft.Graph.Teams.Item.Channels.Item.Members.Remove.RemovePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.Teams.Item.Channels.Item.Members.Remove.RemovePostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("This method is obsolete. Use PostAsRemovePostResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Teams.Item.Channels.Item.Members.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Teams.Item.Channels.Item.Members.Remove.RemovePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.Teams.Item.Channels.Item.Members.Remove.RemoveResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// + /// 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.Teams.Item.Channels.Item.Members.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Teams.Item.Channels.Item.Members.Remove.RemovePostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.Teams.Item.Channels.Item.Members.Remove.RemoveRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Teams.Item.Channels.Item.Members.Remove.RemoveRequestBuilder(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 RemoveRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/Remove/RemoveResponse.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/Remove/RemoveResponse.cs new file mode 100644 index 00000000000..b0b33323be9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/Remove/RemoveResponse.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.Teams.Item.Channels.Item.Members.Remove +{ + [Obsolete("This class is obsolete. Use RemovePostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemoveResponse : global::Microsoft.Graph.Teams.Item.Channels.Item.Members.Remove.RemovePostResponse, 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.Teams.Item.Channels.Item.Members.Remove.RemoveResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Teams.Item.Channels.Item.Members.Remove.RemoveResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs index 8cfa4d643f9..412850ccbe4 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs @@ -84,8 +84,8 @@ public RepliesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new reply to a chatMessage in a specified channel. - /// Find more info here + /// Send a new reply to a chatMessage in a specified channel. + /// Find more info here /// /// A /// The request body @@ -129,7 +129,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new reply to a chatMessage in a specified channel. + /// Send a new reply to a chatMessage in a specified channel. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs index 50dcc9bd6e4..fb4aaa14aec 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs @@ -84,8 +84,8 @@ public MessagesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Send a new chatMessage in the specified channel or a chat. - /// Find more info here + /// Send a new chatMessage in the specified channel. + /// Find more info here /// /// A /// The request body @@ -129,7 +129,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Send a new chatMessage in the specified channel or a chat. + /// Send a new chatMessage in the specified channel. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Members/MembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Members/MembersRequestBuilder.cs index 49d68810388..70ec571a81f 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Members/MembersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Members/MembersRequestBuilder.cs @@ -5,6 +5,7 @@ using Microsoft.Graph.Teams.Item.Members.Add; using Microsoft.Graph.Teams.Item.Members.Count; using Microsoft.Graph.Teams.Item.Members.Item; +using Microsoft.Graph.Teams.Item.Members.Remove; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -31,6 +32,11 @@ public partial class MembersRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Teams.Item.Members.Count.CountRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the remove method. + public global::Microsoft.Graph.Teams.Item.Members.Remove.RemoveRequestBuilder Remove + { + get => new global::Microsoft.Graph.Teams.Item.Members.Remove.RemoveRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the members property of the microsoft.graph.team entity. /// The unique identifier of conversationMember /// A diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Members/Remove/RemovePostRequestBody.cs b/src/Microsoft.Graph/Generated/Teams/Item/Members/Remove/RemovePostRequestBody.cs new file mode 100644 index 00000000000..8e6950fef08 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Members/Remove/RemovePostRequestBody.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.Teams.Item.Members.Remove +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemovePostRequestBody : 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 values property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Values + { + get { return BackingStore?.Get?>("values"); } + set { BackingStore?.Set("values", value); } + } +#nullable restore +#else + public List Values + { + get { return BackingStore?.Get>("values"); } + set { BackingStore?.Set("values", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RemovePostRequestBody() + { + 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.Teams.Item.Members.Remove.RemovePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Teams.Item.Members.Remove.RemovePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "values", n => { Values = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ConversationMember.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfObjectValues("values", Values); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Members/Remove/RemovePostResponse.cs b/src/Microsoft.Graph/Generated/Teams/Item/Members/Remove/RemovePostResponse.cs new file mode 100644 index 00000000000..7daa60ce7a8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Members/Remove/RemovePostResponse.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.Teams.Item.Members.Remove +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemovePostResponse : 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.Teams.Item.Members.Remove.RemovePostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Teams.Item.Members.Remove.RemovePostResponse(); + } + /// + /// 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.ActionResultPart.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Members/Remove/RemoveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Members/Remove/RemoveRequestBuilder.cs new file mode 100644 index 00000000000..fd1ae0218e7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Members/Remove/RemoveRequestBuilder.cs @@ -0,0 +1,130 @@ +// +#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.Teams.Item.Members.Remove +{ + /// + /// Provides operations to call the remove method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RemoveRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RemoveRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/members/remove", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RemoveRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/members/remove", rawUrl) + { + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// 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 PostAsRemovePostResponseAsync(global::Microsoft.Graph.Teams.Item.Members.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsRemovePostResponseAsync(global::Microsoft.Graph.Teams.Item.Members.Remove.RemovePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.Teams.Item.Members.Remove.RemovePostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("This method is obsolete. Use PostAsRemovePostResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Teams.Item.Members.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Teams.Item.Members.Remove.RemovePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.Teams.Item.Members.Remove.RemoveResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// + /// 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.Teams.Item.Members.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Teams.Item.Members.Remove.RemovePostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.Teams.Item.Members.Remove.RemoveRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Teams.Item.Members.Remove.RemoveRequestBuilder(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 RemoveRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Members/Remove/RemoveResponse.cs b/src/Microsoft.Graph/Generated/Teams/Item/Members/Remove/RemoveResponse.cs new file mode 100644 index 00000000000..416a1224ba4 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Members/Remove/RemoveResponse.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.Teams.Item.Members.Remove +{ + [Obsolete("This class is obsolete. Use RemovePostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemoveResponse : global::Microsoft.Graph.Teams.Item.Members.Remove.RemovePostResponse, 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.Teams.Item.Members.Remove.RemoveResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Teams.Item.Members.Remove.RemoveResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Members/MembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Members/MembersRequestBuilder.cs index b315ff27a60..efa40f8a2ca 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Members/MembersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Members/MembersRequestBuilder.cs @@ -5,6 +5,7 @@ using Microsoft.Graph.Teams.Item.PrimaryChannel.Members.Add; using Microsoft.Graph.Teams.Item.PrimaryChannel.Members.Count; using Microsoft.Graph.Teams.Item.PrimaryChannel.Members.Item; +using Microsoft.Graph.Teams.Item.PrimaryChannel.Members.Remove; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -31,6 +32,11 @@ public partial class MembersRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Teams.Item.PrimaryChannel.Members.Count.CountRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the remove method. + public global::Microsoft.Graph.Teams.Item.PrimaryChannel.Members.Remove.RemoveRequestBuilder Remove + { + get => new global::Microsoft.Graph.Teams.Item.PrimaryChannel.Members.Remove.RemoveRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the members property of the microsoft.graph.channel entity. /// The unique identifier of conversationMember /// A diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Members/Remove/RemovePostRequestBody.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Members/Remove/RemovePostRequestBody.cs new file mode 100644 index 00000000000..8e78d5e3cf2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Members/Remove/RemovePostRequestBody.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.Teams.Item.PrimaryChannel.Members.Remove +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemovePostRequestBody : 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 values property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Values + { + get { return BackingStore?.Get?>("values"); } + set { BackingStore?.Set("values", value); } + } +#nullable restore +#else + public List Values + { + get { return BackingStore?.Get>("values"); } + set { BackingStore?.Set("values", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RemovePostRequestBody() + { + 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.Teams.Item.PrimaryChannel.Members.Remove.RemovePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Teams.Item.PrimaryChannel.Members.Remove.RemovePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "values", n => { Values = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ConversationMember.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfObjectValues("values", Values); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Members/Remove/RemovePostResponse.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Members/Remove/RemovePostResponse.cs new file mode 100644 index 00000000000..8771ae16b2e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Members/Remove/RemovePostResponse.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.Teams.Item.PrimaryChannel.Members.Remove +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemovePostResponse : 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.Teams.Item.PrimaryChannel.Members.Remove.RemovePostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Teams.Item.PrimaryChannel.Members.Remove.RemovePostResponse(); + } + /// + /// 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.ActionResultPart.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Members/Remove/RemoveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Members/Remove/RemoveRequestBuilder.cs new file mode 100644 index 00000000000..35ca70943d3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Members/Remove/RemoveRequestBuilder.cs @@ -0,0 +1,130 @@ +// +#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.Teams.Item.PrimaryChannel.Members.Remove +{ + /// + /// Provides operations to call the remove method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RemoveRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RemoveRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/primaryChannel/members/remove", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RemoveRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/primaryChannel/members/remove", rawUrl) + { + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// 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 PostAsRemovePostResponseAsync(global::Microsoft.Graph.Teams.Item.PrimaryChannel.Members.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsRemovePostResponseAsync(global::Microsoft.Graph.Teams.Item.PrimaryChannel.Members.Remove.RemovePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.Teams.Item.PrimaryChannel.Members.Remove.RemovePostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("This method is obsolete. Use PostAsRemovePostResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Teams.Item.PrimaryChannel.Members.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Teams.Item.PrimaryChannel.Members.Remove.RemovePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.Teams.Item.PrimaryChannel.Members.Remove.RemoveResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// + /// 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.Teams.Item.PrimaryChannel.Members.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Teams.Item.PrimaryChannel.Members.Remove.RemovePostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.Teams.Item.PrimaryChannel.Members.Remove.RemoveRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Teams.Item.PrimaryChannel.Members.Remove.RemoveRequestBuilder(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 RemoveRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Members/Remove/RemoveResponse.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Members/Remove/RemoveResponse.cs new file mode 100644 index 00000000000..94374db91b8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Members/Remove/RemoveResponse.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.Teams.Item.PrimaryChannel.Members.Remove +{ + [Obsolete("This class is obsolete. Use RemovePostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemoveResponse : global::Microsoft.Graph.Teams.Item.PrimaryChannel.Members.Remove.RemovePostResponse, 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.Teams.Item.PrimaryChannel.Members.Remove.RemoveResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Teams.Item.PrimaryChannel.Members.Remove.RemoveResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/MembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/MembersRequestBuilder.cs index 0bf943e03c9..5d1e4f6aced 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/MembersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/MembersRequestBuilder.cs @@ -5,6 +5,7 @@ using Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Members.Add; using Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Members.Count; using Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Members.Item; +using Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Members.Remove; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -31,6 +32,11 @@ public partial class MembersRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Members.Count.CountRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the remove method. + public global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Members.Remove.RemoveRequestBuilder Remove + { + get => new global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Members.Remove.RemoveRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the members property of the microsoft.graph.channel entity. /// The unique identifier of conversationMember /// A diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/Remove/RemovePostRequestBody.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/Remove/RemovePostRequestBody.cs new file mode 100644 index 00000000000..13dda038708 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/Remove/RemovePostRequestBody.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.Teamwork.DeletedTeams.Item.Channels.Item.Members.Remove +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemovePostRequestBody : 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 values property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Values + { + get { return BackingStore?.Get?>("values"); } + set { BackingStore?.Set("values", value); } + } +#nullable restore +#else + public List Values + { + get { return BackingStore?.Get>("values"); } + set { BackingStore?.Set("values", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RemovePostRequestBody() + { + 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.Teamwork.DeletedTeams.Item.Channels.Item.Members.Remove.RemovePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Members.Remove.RemovePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "values", n => { Values = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ConversationMember.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfObjectValues("values", Values); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/Remove/RemovePostResponse.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/Remove/RemovePostResponse.cs new file mode 100644 index 00000000000..c6f37e3bf1d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/Remove/RemovePostResponse.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.Teamwork.DeletedTeams.Item.Channels.Item.Members.Remove +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemovePostResponse : 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.Teamwork.DeletedTeams.Item.Channels.Item.Members.Remove.RemovePostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Members.Remove.RemovePostResponse(); + } + /// + /// 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.ActionResultPart.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/Remove/RemoveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/Remove/RemoveRequestBuilder.cs new file mode 100644 index 00000000000..165ee25ad66 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/Remove/RemoveRequestBuilder.cs @@ -0,0 +1,130 @@ +// +#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.Teamwork.DeletedTeams.Item.Channels.Item.Members.Remove +{ + /// + /// Provides operations to call the remove method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RemoveRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RemoveRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/members/remove", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RemoveRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/members/remove", rawUrl) + { + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// 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 PostAsRemovePostResponseAsync(global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Members.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsRemovePostResponseAsync(global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Members.Remove.RemovePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.Teamwork.DeletedTeams.Item.Channels.Item.Members.Remove.RemovePostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("This method is obsolete. Use PostAsRemovePostResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Members.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Members.Remove.RemovePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.Teamwork.DeletedTeams.Item.Channels.Item.Members.Remove.RemoveResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// + /// 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.Teamwork.DeletedTeams.Item.Channels.Item.Members.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Members.Remove.RemovePostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.Teamwork.DeletedTeams.Item.Channels.Item.Members.Remove.RemoveRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Members.Remove.RemoveRequestBuilder(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 RemoveRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/Remove/RemoveResponse.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/Remove/RemoveResponse.cs new file mode 100644 index 00000000000..5ff435a18c6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/Remove/RemoveResponse.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.Teamwork.DeletedTeams.Item.Channels.Item.Members.Remove +{ + [Obsolete("This class is obsolete. Use RemovePostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemoveResponse : global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Members.Remove.RemovePostResponse, 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.Teamwork.DeletedTeams.Item.Channels.Item.Members.Remove.RemoveResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Members.Remove.RemoveResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Members/MembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Members/MembersRequestBuilder.cs index 02e8b248230..283839554e8 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Members/MembersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Members/MembersRequestBuilder.cs @@ -5,6 +5,7 @@ using Microsoft.Graph.Users.Item.Chats.Item.Members.Add; using Microsoft.Graph.Users.Item.Chats.Item.Members.Count; using Microsoft.Graph.Users.Item.Chats.Item.Members.Item; +using Microsoft.Graph.Users.Item.Chats.Item.Members.Remove; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -31,6 +32,11 @@ public partial class MembersRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Users.Item.Chats.Item.Members.Count.CountRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the remove method. + public global::Microsoft.Graph.Users.Item.Chats.Item.Members.Remove.RemoveRequestBuilder Remove + { + get => new global::Microsoft.Graph.Users.Item.Chats.Item.Members.Remove.RemoveRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the members property of the microsoft.graph.chat entity. /// The unique identifier of conversationMember /// A diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Members/Remove/RemovePostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Members/Remove/RemovePostRequestBody.cs new file mode 100644 index 00000000000..95916e903f7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Members/Remove/RemovePostRequestBody.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.Members.Remove +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemovePostRequestBody : 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 values property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Values + { + get { return BackingStore?.Get?>("values"); } + set { BackingStore?.Set("values", value); } + } +#nullable restore +#else + public List Values + { + get { return BackingStore?.Get>("values"); } + set { BackingStore?.Set("values", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RemovePostRequestBody() + { + 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.Members.Remove.RemovePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Users.Item.Chats.Item.Members.Remove.RemovePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "values", n => { Values = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ConversationMember.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfObjectValues("values", Values); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Members/Remove/RemovePostResponse.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Members/Remove/RemovePostResponse.cs new file mode 100644 index 00000000000..6d351353337 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Members/Remove/RemovePostResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Users.Item.Chats.Item.Members.Remove +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemovePostResponse : global::Microsoft.Graph.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Users.Item.Chats.Item.Members.Remove.RemovePostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Users.Item.Chats.Item.Members.Remove.RemovePostResponse(); + } + /// + /// 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.ActionResultPart.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Members/Remove/RemoveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Members/Remove/RemoveRequestBuilder.cs new file mode 100644 index 00000000000..2baae331c8f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Members/Remove/RemoveRequestBuilder.cs @@ -0,0 +1,130 @@ +// +#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.Members.Remove +{ + /// + /// Provides operations to call the remove method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RemoveRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RemoveRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/members/remove", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RemoveRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/members/remove", rawUrl) + { + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// 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 PostAsRemovePostResponseAsync(global::Microsoft.Graph.Users.Item.Chats.Item.Members.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsRemovePostResponseAsync(global::Microsoft.Graph.Users.Item.Chats.Item.Members.Remove.RemovePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.Users.Item.Chats.Item.Members.Remove.RemovePostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("This method is obsolete. Use PostAsRemovePostResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Users.Item.Chats.Item.Members.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Users.Item.Chats.Item.Members.Remove.RemovePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.Users.Item.Chats.Item.Members.Remove.RemoveResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// + /// 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.Members.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Users.Item.Chats.Item.Members.Remove.RemovePostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.Members.Remove.RemoveRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.Chats.Item.Members.Remove.RemoveRequestBuilder(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 RemoveRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Members/Remove/RemoveResponse.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Members/Remove/RemoveResponse.cs new file mode 100644 index 00000000000..19ecb8eb388 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Members/Remove/RemoveResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Users.Item.Chats.Item.Members.Remove +{ + [Obsolete("This class is obsolete. Use RemovePostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemoveResponse : global::Microsoft.Graph.Users.Item.Chats.Item.Members.Remove.RemovePostResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Users.Item.Chats.Item.Members.Remove.RemoveResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Users.Item.Chats.Item.Members.Remove.RemoveResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/MembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/MembersRequestBuilder.cs index e8ad01ee3f4..51e19324334 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/MembersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/MembersRequestBuilder.cs @@ -5,6 +5,7 @@ using Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Members.Add; using Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Members.Count; using Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Members.Item; +using Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Members.Remove; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -31,6 +32,11 @@ public partial class MembersRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Members.Count.CountRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the remove method. + public global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Members.Remove.RemoveRequestBuilder Remove + { + get => new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Members.Remove.RemoveRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the members property of the microsoft.graph.channel entity. /// The unique identifier of conversationMember /// A diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/Remove/RemovePostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/Remove/RemovePostRequestBody.cs new file mode 100644 index 00000000000..f22788e8ca2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/Remove/RemovePostRequestBody.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.JoinedTeams.Item.Channels.Item.Members.Remove +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemovePostRequestBody : 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 values property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Values + { + get { return BackingStore?.Get?>("values"); } + set { BackingStore?.Set("values", value); } + } +#nullable restore +#else + public List Values + { + get { return BackingStore?.Get>("values"); } + set { BackingStore?.Set("values", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RemovePostRequestBody() + { + 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.JoinedTeams.Item.Channels.Item.Members.Remove.RemovePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Members.Remove.RemovePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "values", n => { Values = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ConversationMember.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfObjectValues("values", Values); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/Remove/RemovePostResponse.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/Remove/RemovePostResponse.cs new file mode 100644 index 00000000000..a9ac66cacb1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/Remove/RemovePostResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Members.Remove +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemovePostResponse : global::Microsoft.Graph.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Members.Remove.RemovePostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Members.Remove.RemovePostResponse(); + } + /// + /// 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.ActionResultPart.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/Remove/RemoveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/Remove/RemoveRequestBuilder.cs new file mode 100644 index 00000000000..7d3d69e68e7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/Remove/RemoveRequestBuilder.cs @@ -0,0 +1,130 @@ +// +#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.JoinedTeams.Item.Channels.Item.Members.Remove +{ + /// + /// Provides operations to call the remove method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RemoveRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RemoveRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/channels/{channel%2Did}/members/remove", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RemoveRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/channels/{channel%2Did}/members/remove", rawUrl) + { + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// 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 PostAsRemovePostResponseAsync(global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Members.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsRemovePostResponseAsync(global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Members.Remove.RemovePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.Users.Item.JoinedTeams.Item.Channels.Item.Members.Remove.RemovePostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("This method is obsolete. Use PostAsRemovePostResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Members.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Members.Remove.RemovePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.Users.Item.JoinedTeams.Item.Channels.Item.Members.Remove.RemoveResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// + /// 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.JoinedTeams.Item.Channels.Item.Members.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Members.Remove.RemovePostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.JoinedTeams.Item.Channels.Item.Members.Remove.RemoveRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Members.Remove.RemoveRequestBuilder(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 RemoveRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/Remove/RemoveResponse.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/Remove/RemoveResponse.cs new file mode 100644 index 00000000000..25ded2541b0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/Remove/RemoveResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Members.Remove +{ + [Obsolete("This class is obsolete. Use RemovePostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemoveResponse : global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Members.Remove.RemovePostResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Members.Remove.RemoveResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Members.Remove.RemoveResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Members/MembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Members/MembersRequestBuilder.cs index dc94091da78..cffef7f530a 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Members/MembersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Members/MembersRequestBuilder.cs @@ -5,6 +5,7 @@ using Microsoft.Graph.Users.Item.JoinedTeams.Item.Members.Add; using Microsoft.Graph.Users.Item.JoinedTeams.Item.Members.Count; using Microsoft.Graph.Users.Item.JoinedTeams.Item.Members.Item; +using Microsoft.Graph.Users.Item.JoinedTeams.Item.Members.Remove; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -31,6 +32,11 @@ public partial class MembersRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Members.Count.CountRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the remove method. + public global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Members.Remove.RemoveRequestBuilder Remove + { + get => new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Members.Remove.RemoveRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the members property of the microsoft.graph.team entity. /// The unique identifier of conversationMember /// A diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Members/Remove/RemovePostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Members/Remove/RemovePostRequestBody.cs new file mode 100644 index 00000000000..9ff527e1fd2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Members/Remove/RemovePostRequestBody.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.JoinedTeams.Item.Members.Remove +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemovePostRequestBody : 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 values property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Values + { + get { return BackingStore?.Get?>("values"); } + set { BackingStore?.Set("values", value); } + } +#nullable restore +#else + public List Values + { + get { return BackingStore?.Get>("values"); } + set { BackingStore?.Set("values", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RemovePostRequestBody() + { + 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.JoinedTeams.Item.Members.Remove.RemovePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Members.Remove.RemovePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "values", n => { Values = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ConversationMember.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfObjectValues("values", Values); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Members/Remove/RemovePostResponse.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Members/Remove/RemovePostResponse.cs new file mode 100644 index 00000000000..19ff945003d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Members/Remove/RemovePostResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Users.Item.JoinedTeams.Item.Members.Remove +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemovePostResponse : global::Microsoft.Graph.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Members.Remove.RemovePostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Members.Remove.RemovePostResponse(); + } + /// + /// 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.ActionResultPart.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Members/Remove/RemoveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Members/Remove/RemoveRequestBuilder.cs new file mode 100644 index 00000000000..bfac78b18dd --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Members/Remove/RemoveRequestBuilder.cs @@ -0,0 +1,130 @@ +// +#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.JoinedTeams.Item.Members.Remove +{ + /// + /// Provides operations to call the remove method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RemoveRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RemoveRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/members/remove", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RemoveRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/members/remove", rawUrl) + { + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// 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 PostAsRemovePostResponseAsync(global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Members.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsRemovePostResponseAsync(global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Members.Remove.RemovePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.Users.Item.JoinedTeams.Item.Members.Remove.RemovePostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("This method is obsolete. Use PostAsRemovePostResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Members.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Members.Remove.RemovePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.Users.Item.JoinedTeams.Item.Members.Remove.RemoveResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// + /// 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.JoinedTeams.Item.Members.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Members.Remove.RemovePostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.JoinedTeams.Item.Members.Remove.RemoveRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Members.Remove.RemoveRequestBuilder(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 RemoveRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Members/Remove/RemoveResponse.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Members/Remove/RemoveResponse.cs new file mode 100644 index 00000000000..29e0e632d2c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Members/Remove/RemoveResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Users.Item.JoinedTeams.Item.Members.Remove +{ + [Obsolete("This class is obsolete. Use RemovePostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemoveResponse : global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Members.Remove.RemovePostResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Members.Remove.RemoveResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Members.Remove.RemoveResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/MembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/MembersRequestBuilder.cs index 530e5571356..9b1bf9d7ae9 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/MembersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/MembersRequestBuilder.cs @@ -5,6 +5,7 @@ using Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Members.Add; using Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Members.Count; using Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Members.Item; +using Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Members.Remove; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -31,6 +32,11 @@ public partial class MembersRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Members.Count.CountRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the remove method. + public global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemoveRequestBuilder Remove + { + get => new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemoveRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the members property of the microsoft.graph.channel entity. /// The unique identifier of conversationMember /// A diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/Remove/RemovePostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/Remove/RemovePostRequestBody.cs new file mode 100644 index 00000000000..3d57f463abe --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/Remove/RemovePostRequestBody.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.JoinedTeams.Item.PrimaryChannel.Members.Remove +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemovePostRequestBody : 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 values property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Values + { + get { return BackingStore?.Get?>("values"); } + set { BackingStore?.Set("values", value); } + } +#nullable restore +#else + public List Values + { + get { return BackingStore?.Get>("values"); } + set { BackingStore?.Set("values", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RemovePostRequestBody() + { + 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.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemovePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemovePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "values", n => { Values = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ConversationMember.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfObjectValues("values", Values); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/Remove/RemovePostResponse.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/Remove/RemovePostResponse.cs new file mode 100644 index 00000000000..aa304df2452 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/Remove/RemovePostResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Members.Remove +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemovePostResponse : global::Microsoft.Graph.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemovePostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemovePostResponse(); + } + /// + /// 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.ActionResultPart.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/Remove/RemoveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/Remove/RemoveRequestBuilder.cs new file mode 100644 index 00000000000..90b91bc31cc --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/Remove/RemoveRequestBuilder.cs @@ -0,0 +1,130 @@ +// +#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.JoinedTeams.Item.PrimaryChannel.Members.Remove +{ + /// + /// Provides operations to call the remove method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RemoveRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RemoveRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/primaryChannel/members/remove", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RemoveRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/primaryChannel/members/remove", rawUrl) + { + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// 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 PostAsRemovePostResponseAsync(global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsRemovePostResponseAsync(global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemovePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.Users.Item.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemovePostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("This method is obsolete. Use PostAsRemovePostResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemovePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.Users.Item.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemoveResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// + /// 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.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemovePostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemoveRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemoveRequestBuilder(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 RemoveRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/Remove/RemoveResponse.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/Remove/RemoveResponse.cs new file mode 100644 index 00000000000..2c662ecf523 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/Remove/RemoveResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Members.Remove +{ + [Obsolete("This class is obsolete. Use RemovePostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemoveResponse : global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemovePostResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemoveResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemoveResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Presence/PresenceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Presence/PresenceRequestBuilder.cs index bc25f2f806a..50bfa4b8f23 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Presence/PresenceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Presence/PresenceRequestBuilder.cs @@ -87,8 +87,8 @@ public async Task DeleteAsync(Action - /// Set a presence status message for a user. An optional expiration date and time can be supplied. - /// Find more info here + /// Get a user's presence information. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -155,7 +155,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Set a presence status message for a user. An optional expiration date and time can be supplied. + /// Get a user's presence information. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -213,7 +213,7 @@ public partial class PresenceRequestBuilderDeleteRequestConfiguration : RequestC { } /// - /// Set a presence status message for a user. An optional expiration date and time can be supplied. + /// Get a user's presence information. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class PresenceRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Users/Item/UserItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/UserItemRequestBuilder.cs index fd3582ef811..32ca9c636ea 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/UserItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/UserItemRequestBuilder.cs @@ -481,8 +481,8 @@ public UserItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b { } /// - /// Deletes a user. - /// Find more info here + /// Delete a user object. When deleted, user resources, including their mailbox and license assignments, are moved to a temporary container and if the user is restored within 30 days, these objects are restored to them. The user is also restored to any groups they were a member of. After 30 days and if not restored, the user object is permanently deleted and their assigned resources freed. To manage the deleted user object, see deletedItems. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -541,7 +541,7 @@ public async Task DeleteAsync(Action /// Update the properties of a user object. - /// Find more info here + /// Find more info here /// /// A /// The request body @@ -578,7 +578,7 @@ public async Task DeleteAsync(Action - /// Deletes a user. + /// Delete a user object. When deleted, user resources, including their mailbox and license assignments, are moved to a temporary container and if the user is restored within 30 days, these objects are restored to them. The user is also restored to any groups they were a member of. After 30 days and if not restored, the user object is permanently deleted and their assigned resources freed. To manage the deleted user object, see deletedItems. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/UsersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/UsersRequestBuilder.cs index cfcba19ed69..c7f7767ef33 100644 --- a/src/Microsoft.Graph/Generated/Users/UsersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/UsersRequestBuilder.cs @@ -78,8 +78,8 @@ public UsersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base { } /// - /// Retrieve a list of user objects. - /// Find more info here + /// List properties and relationships of the user objects. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -128,7 +128,7 @@ public UsersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve a list of user objects. + /// List properties and relationships of the user objects. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -178,7 +178,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.Users.UsersRequestBuilder(rawUrl, RequestAdapter); } /// - /// Retrieve a list of user objects. + /// List properties and relationships of the user objects. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class UsersRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/UsersWithUserPrincipalName/UsersWithUserPrincipalNameRequestBuilder.cs b/src/Microsoft.Graph/Generated/UsersWithUserPrincipalName/UsersWithUserPrincipalNameRequestBuilder.cs index 7c3b13d730f..8c873b87bda 100644 --- a/src/Microsoft.Graph/Generated/UsersWithUserPrincipalName/UsersWithUserPrincipalNameRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/UsersWithUserPrincipalName/UsersWithUserPrincipalNameRequestBuilder.cs @@ -37,8 +37,8 @@ public UsersWithUserPrincipalNameRequestBuilder(string rawUrl, IRequestAdapter r { } /// - /// Deletes a user. - /// Find more info here + /// Delete a user object. When deleted, user resources, including their mailbox and license assignments, are moved to a temporary container and if the user is restored within 30 days, these objects are restored to them. The user is also restored to any groups they were a member of. After 30 days and if not restored, the user object is permanently deleted and their assigned resources freed. To manage the deleted user object, see deletedItems. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -85,7 +85,7 @@ public async Task DeleteAsync(Action /// Update the properties of a user object. - /// Find more info here + /// Find more info here /// /// A /// The request body @@ -110,7 +110,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Deletes a user. + /// Delete a user object. When deleted, user resources, including their mailbox and license assignments, are moved to a temporary container and if the user is restored within 30 days, these objects are restored to them. The user is also restored to any groups they were a member of. After 30 days and if not restored, the user object is permanently deleted and their assigned resources freed. To manage the deleted user object, see deletedItems. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/kiota-dom-export.txt b/src/Microsoft.Graph/Generated/kiota-dom-export.txt index ddabc61331c..429a3a90e72 100644 --- a/src/Microsoft.Graph/Generated/kiota-dom-export.txt +++ b/src/Microsoft.Graph/Generated/kiota-dom-export.txt @@ -3416,9 +3416,33 @@ Microsoft.Graph.Chats.Item.Members.membersRequestBuilder::|public|constructor(ra Microsoft.Graph.Chats.Item.Members.membersRequestBuilder::|public|Count:global.Microsoft.Graph.Chats.Item.Members.Count.CountRequestBuilder Microsoft.Graph.Chats.Item.Members.membersRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMemberCollectionResponse Microsoft.Graph.Chats.Item.Members.membersRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMember +Microsoft.Graph.Chats.Item.Members.membersRequestBuilder::|public|remove:global.Microsoft.Graph.Chats.Item.Members.Remove.RemoveRequestBuilder Microsoft.Graph.Chats.Item.Members.membersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Chats.Item.Members.membersRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Chats.Item.Members.membersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Chats.Item.Members.MembersRequestBuilder +Microsoft.Graph.Chats.Item.Members.Remove.removePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Chats.Item.Members.Remove.removePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Chats.Item.Members.Remove.removePostRequestBody::|public|constructor():void +Microsoft.Graph.Chats.Item.Members.Remove.removePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Chats.Item.Members.Remove.removePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Chats.Item.Members.Remove.removePostRequestBody::|public|Values:List +Microsoft.Graph.Chats.Item.Members.Remove.removePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Chats.Item.Members.Remove.RemovePostRequestBody +Microsoft.Graph.Chats.Item.Members.Remove.removePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Chats.Item.Members.Remove.removePostResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Chats.Item.Members.Remove.removePostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Chats.Item.Members.Remove.removePostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Chats.Item.Members.Remove.removePostResponse::|public|Value:List +Microsoft.Graph.Chats.Item.Members.Remove.removePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Chats.Item.Members.Remove.RemovePostResponse +Microsoft.Graph.Chats.Item.Members.Remove.removeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Chats.Item.Members.Remove.removeRequestBuilder.removeRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Chats.Item.Members.Remove.removeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.Members.Remove.removeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.Members.Remove.removeRequestBuilder::|public|PostAsRemovePostResponseAsync(body:global.Microsoft.Graph.Chats.Item.Members.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Chats.Item.Members.Remove.RemovePostResponse +Microsoft.Graph.Chats.Item.Members.Remove.removeRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Chats.Item.Members.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Chats.Item.Members.Remove.RemoveResponse +Microsoft.Graph.Chats.Item.Members.Remove.removeRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Chats.Item.Members.Remove.RemovePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Chats.Item.Members.Remove.removeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Chats.Item.Members.Remove.RemoveRequestBuilder +Microsoft.Graph.Chats.Item.Members.Remove.removeResponse-->global.Microsoft.Graph.Chats.Item.Members.Remove.RemovePostResponse +Microsoft.Graph.Chats.Item.Members.Remove.removeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Chats.Item.Members.Remove.RemoveResponse Microsoft.Graph.Chats.Item.Messages.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Chats.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Chats.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -60557,9 +60581,33 @@ Microsoft.Graph.Groups.Item.Team.Channels.Item.Members.membersRequestBuilder::|p Microsoft.Graph.Groups.Item.Team.Channels.Item.Members.membersRequestBuilder::|public|Count:global.Microsoft.Graph.Groups.Item.Team.Channels.Item.Members.Count.CountRequestBuilder Microsoft.Graph.Groups.Item.Team.Channels.Item.Members.membersRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMemberCollectionResponse Microsoft.Graph.Groups.Item.Team.Channels.Item.Members.membersRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMember +Microsoft.Graph.Groups.Item.Team.Channels.Item.Members.membersRequestBuilder::|public|remove:global.Microsoft.Graph.Groups.Item.Team.Channels.Item.Members.Remove.RemoveRequestBuilder Microsoft.Graph.Groups.Item.Team.Channels.Item.Members.membersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Groups.Item.Team.Channels.Item.Members.membersRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Groups.Item.Team.Channels.Item.Members.membersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Groups.Item.Team.Channels.Item.Members.MembersRequestBuilder +Microsoft.Graph.Groups.Item.Team.Channels.Item.Members.Remove.removePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Groups.Item.Team.Channels.Item.Members.Remove.removePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Groups.Item.Team.Channels.Item.Members.Remove.removePostRequestBody::|public|constructor():void +Microsoft.Graph.Groups.Item.Team.Channels.Item.Members.Remove.removePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Groups.Item.Team.Channels.Item.Members.Remove.removePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Groups.Item.Team.Channels.Item.Members.Remove.removePostRequestBody::|public|Values:List +Microsoft.Graph.Groups.Item.Team.Channels.Item.Members.Remove.removePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Groups.Item.Team.Channels.Item.Members.Remove.RemovePostRequestBody +Microsoft.Graph.Groups.Item.Team.Channels.Item.Members.Remove.removePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Groups.Item.Team.Channels.Item.Members.Remove.removePostResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Groups.Item.Team.Channels.Item.Members.Remove.removePostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Groups.Item.Team.Channels.Item.Members.Remove.removePostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Groups.Item.Team.Channels.Item.Members.Remove.removePostResponse::|public|Value:List +Microsoft.Graph.Groups.Item.Team.Channels.Item.Members.Remove.removePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Groups.Item.Team.Channels.Item.Members.Remove.RemovePostResponse +Microsoft.Graph.Groups.Item.Team.Channels.Item.Members.Remove.removeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Groups.Item.Team.Channels.Item.Members.Remove.removeRequestBuilder.removeRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Groups.Item.Team.Channels.Item.Members.Remove.removeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.Channels.Item.Members.Remove.removeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.Channels.Item.Members.Remove.removeRequestBuilder::|public|PostAsRemovePostResponseAsync(body:global.Microsoft.Graph.Groups.Item.Team.Channels.Item.Members.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Groups.Item.Team.Channels.Item.Members.Remove.RemovePostResponse +Microsoft.Graph.Groups.Item.Team.Channels.Item.Members.Remove.removeRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Groups.Item.Team.Channels.Item.Members.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Groups.Item.Team.Channels.Item.Members.Remove.RemoveResponse +Microsoft.Graph.Groups.Item.Team.Channels.Item.Members.Remove.removeRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Groups.Item.Team.Channels.Item.Members.Remove.RemovePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Groups.Item.Team.Channels.Item.Members.Remove.removeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Groups.Item.Team.Channels.Item.Members.Remove.RemoveRequestBuilder +Microsoft.Graph.Groups.Item.Team.Channels.Item.Members.Remove.removeResponse-->global.Microsoft.Graph.Groups.Item.Team.Channels.Item.Members.Remove.RemovePostResponse +Microsoft.Graph.Groups.Item.Team.Channels.Item.Members.Remove.removeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Groups.Item.Team.Channels.Item.Members.Remove.RemoveResponse Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -61318,9 +61366,33 @@ Microsoft.Graph.Groups.Item.Team.Members.membersRequestBuilder::|public|construc Microsoft.Graph.Groups.Item.Team.Members.membersRequestBuilder::|public|Count:global.Microsoft.Graph.Groups.Item.Team.Members.Count.CountRequestBuilder Microsoft.Graph.Groups.Item.Team.Members.membersRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMemberCollectionResponse Microsoft.Graph.Groups.Item.Team.Members.membersRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMember +Microsoft.Graph.Groups.Item.Team.Members.membersRequestBuilder::|public|remove:global.Microsoft.Graph.Groups.Item.Team.Members.Remove.RemoveRequestBuilder Microsoft.Graph.Groups.Item.Team.Members.membersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Groups.Item.Team.Members.membersRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Groups.Item.Team.Members.membersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Groups.Item.Team.Members.MembersRequestBuilder +Microsoft.Graph.Groups.Item.Team.Members.Remove.removePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Groups.Item.Team.Members.Remove.removePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Groups.Item.Team.Members.Remove.removePostRequestBody::|public|constructor():void +Microsoft.Graph.Groups.Item.Team.Members.Remove.removePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Groups.Item.Team.Members.Remove.removePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Groups.Item.Team.Members.Remove.removePostRequestBody::|public|Values:List +Microsoft.Graph.Groups.Item.Team.Members.Remove.removePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Groups.Item.Team.Members.Remove.RemovePostRequestBody +Microsoft.Graph.Groups.Item.Team.Members.Remove.removePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Groups.Item.Team.Members.Remove.removePostResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Groups.Item.Team.Members.Remove.removePostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Groups.Item.Team.Members.Remove.removePostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Groups.Item.Team.Members.Remove.removePostResponse::|public|Value:List +Microsoft.Graph.Groups.Item.Team.Members.Remove.removePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Groups.Item.Team.Members.Remove.RemovePostResponse +Microsoft.Graph.Groups.Item.Team.Members.Remove.removeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Groups.Item.Team.Members.Remove.removeRequestBuilder.removeRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Groups.Item.Team.Members.Remove.removeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.Members.Remove.removeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.Members.Remove.removeRequestBuilder::|public|PostAsRemovePostResponseAsync(body:global.Microsoft.Graph.Groups.Item.Team.Members.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Groups.Item.Team.Members.Remove.RemovePostResponse +Microsoft.Graph.Groups.Item.Team.Members.Remove.removeRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Groups.Item.Team.Members.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Groups.Item.Team.Members.Remove.RemoveResponse +Microsoft.Graph.Groups.Item.Team.Members.Remove.removeRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Groups.Item.Team.Members.Remove.RemovePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Groups.Item.Team.Members.Remove.removeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Groups.Item.Team.Members.Remove.RemoveRequestBuilder +Microsoft.Graph.Groups.Item.Team.Members.Remove.removeResponse-->global.Microsoft.Graph.Groups.Item.Team.Members.Remove.RemovePostResponse +Microsoft.Graph.Groups.Item.Team.Members.Remove.removeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Groups.Item.Team.Members.Remove.RemoveResponse Microsoft.Graph.Groups.Item.Team.Operations.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Groups.Item.Team.Operations.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Groups.Item.Team.Operations.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -61567,9 +61639,33 @@ Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Members.membersRequestBuilder::| Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Members.membersRequestBuilder::|public|Count:global.Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Members.Count.CountRequestBuilder Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Members.membersRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMemberCollectionResponse Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Members.membersRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMember +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Members.membersRequestBuilder::|public|remove:global.Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Members.Remove.RemoveRequestBuilder Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Members.membersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Members.membersRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Members.membersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Members.MembersRequestBuilder +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Members.Remove.removePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Members.Remove.removePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Members.Remove.removePostRequestBody::|public|constructor():void +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Members.Remove.removePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Members.Remove.removePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Members.Remove.removePostRequestBody::|public|Values:List +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Members.Remove.removePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Members.Remove.RemovePostRequestBody +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Members.Remove.removePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Members.Remove.removePostResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Members.Remove.removePostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Members.Remove.removePostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Members.Remove.removePostResponse::|public|Value:List +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Members.Remove.removePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Members.Remove.RemovePostResponse +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Members.Remove.removeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Members.Remove.removeRequestBuilder.removeRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Members.Remove.removeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Members.Remove.removeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Members.Remove.removeRequestBuilder::|public|PostAsRemovePostResponseAsync(body:global.Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Members.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Members.Remove.RemovePostResponse +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Members.Remove.removeRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Members.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Members.Remove.RemoveResponse +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Members.Remove.removeRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Members.Remove.RemovePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Members.Remove.removeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Members.Remove.RemoveRequestBuilder +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Members.Remove.removeResponse-->global.Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Members.Remove.RemovePostResponse +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Members.Remove.removeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Members.Remove.RemoveResponse Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -81923,9 +82019,33 @@ Microsoft.Graph.Me.Chats.Item.Members.membersRequestBuilder::|public|constructor Microsoft.Graph.Me.Chats.Item.Members.membersRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Chats.Item.Members.Count.CountRequestBuilder Microsoft.Graph.Me.Chats.Item.Members.membersRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMemberCollectionResponse Microsoft.Graph.Me.Chats.Item.Members.membersRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMember +Microsoft.Graph.Me.Chats.Item.Members.membersRequestBuilder::|public|remove:global.Microsoft.Graph.Me.Chats.Item.Members.Remove.RemoveRequestBuilder Microsoft.Graph.Me.Chats.Item.Members.membersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Me.Chats.Item.Members.membersRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Me.Chats.Item.Members.membersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.Members.MembersRequestBuilder +Microsoft.Graph.Me.Chats.Item.Members.Remove.removePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Me.Chats.Item.Members.Remove.removePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Me.Chats.Item.Members.Remove.removePostRequestBody::|public|constructor():void +Microsoft.Graph.Me.Chats.Item.Members.Remove.removePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Me.Chats.Item.Members.Remove.removePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Me.Chats.Item.Members.Remove.removePostRequestBody::|public|Values:List +Microsoft.Graph.Me.Chats.Item.Members.Remove.removePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Chats.Item.Members.Remove.RemovePostRequestBody +Microsoft.Graph.Me.Chats.Item.Members.Remove.removePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Me.Chats.Item.Members.Remove.removePostResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Me.Chats.Item.Members.Remove.removePostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Me.Chats.Item.Members.Remove.removePostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Me.Chats.Item.Members.Remove.removePostResponse::|public|Value:List +Microsoft.Graph.Me.Chats.Item.Members.Remove.removePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Chats.Item.Members.Remove.RemovePostResponse +Microsoft.Graph.Me.Chats.Item.Members.Remove.removeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.Chats.Item.Members.Remove.removeRequestBuilder.removeRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Chats.Item.Members.Remove.removeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.Members.Remove.removeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.Members.Remove.removeRequestBuilder::|public|PostAsRemovePostResponseAsync(body:global.Microsoft.Graph.Me.Chats.Item.Members.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Chats.Item.Members.Remove.RemovePostResponse +Microsoft.Graph.Me.Chats.Item.Members.Remove.removeRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Chats.Item.Members.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Chats.Item.Members.Remove.RemoveResponse +Microsoft.Graph.Me.Chats.Item.Members.Remove.removeRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Chats.Item.Members.Remove.RemovePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Chats.Item.Members.Remove.removeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.Members.Remove.RemoveRequestBuilder +Microsoft.Graph.Me.Chats.Item.Members.Remove.removeResponse-->global.Microsoft.Graph.Me.Chats.Item.Members.Remove.RemovePostResponse +Microsoft.Graph.Me.Chats.Item.Members.Remove.removeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Chats.Item.Members.Remove.RemoveResponse Microsoft.Graph.Me.Chats.Item.Messages.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Me.Chats.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Me.Chats.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -84918,9 +85038,33 @@ Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.membersRequestBuilder: Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.membersRequestBuilder::|public|Count:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Count.CountRequestBuilder Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.membersRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMemberCollectionResponse Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.membersRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMember +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.membersRequestBuilder::|public|remove:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.RemoveRequestBuilder Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.membersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.membersRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.membersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.MembersRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.removePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.removePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.removePostRequestBody::|public|constructor():void +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.removePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.removePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.removePostRequestBody::|public|Values:List +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.removePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.RemovePostRequestBody +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.removePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.removePostResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.removePostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.removePostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.removePostResponse::|public|Value:List +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.removePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.RemovePostResponse +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.removeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.removeRequestBuilder.removeRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.removeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.removeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.removeRequestBuilder::|public|PostAsRemovePostResponseAsync(body:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.RemovePostResponse +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.removeRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.RemoveResponse +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.removeRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.RemovePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.removeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.RemoveRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.removeResponse-->global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.RemovePostResponse +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.removeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.Remove.RemoveResponse Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -85679,9 +85823,33 @@ Microsoft.Graph.Me.JoinedTeams.Item.Members.membersRequestBuilder::|public|const Microsoft.Graph.Me.JoinedTeams.Item.Members.membersRequestBuilder::|public|Count:global.Microsoft.Graph.Me.JoinedTeams.Item.Members.Count.CountRequestBuilder Microsoft.Graph.Me.JoinedTeams.Item.Members.membersRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMemberCollectionResponse Microsoft.Graph.Me.JoinedTeams.Item.Members.membersRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMember +Microsoft.Graph.Me.JoinedTeams.Item.Members.membersRequestBuilder::|public|remove:global.Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.RemoveRequestBuilder Microsoft.Graph.Me.JoinedTeams.Item.Members.membersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Me.JoinedTeams.Item.Members.membersRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Me.JoinedTeams.Item.Members.membersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Members.MembersRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.removePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.removePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.removePostRequestBody::|public|constructor():void +Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.removePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.removePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.removePostRequestBody::|public|Values:List +Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.removePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.RemovePostRequestBody +Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.removePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.removePostResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.removePostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.removePostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.removePostResponse::|public|Value:List +Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.removePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.RemovePostResponse +Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.removeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.removeRequestBuilder.removeRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.removeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.removeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.removeRequestBuilder::|public|PostAsRemovePostResponseAsync(body:global.Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.RemovePostResponse +Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.removeRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.RemoveResponse +Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.removeRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.RemovePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.removeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.RemoveRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.removeResponse-->global.Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.RemovePostResponse +Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.removeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.Members.Remove.RemoveResponse Microsoft.Graph.Me.JoinedTeams.Item.Operations.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Me.JoinedTeams.Item.Operations.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Me.JoinedTeams.Item.Operations.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -85928,9 +86096,33 @@ Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.membersRequestBuilder Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.membersRequestBuilder::|public|Count:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Count.CountRequestBuilder Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.membersRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMemberCollectionResponse Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.membersRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMember +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.membersRequestBuilder::|public|remove:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemoveRequestBuilder Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.membersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.membersRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.membersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.MembersRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.removePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.removePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.removePostRequestBody::|public|constructor():void +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.removePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.removePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.removePostRequestBody::|public|Values:List +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.removePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemovePostRequestBody +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.removePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.removePostResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.removePostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.removePostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.removePostResponse::|public|Value:List +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.removePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemovePostResponse +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.removeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.removeRequestBuilder.removeRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.removeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.removeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.removeRequestBuilder::|public|PostAsRemovePostResponseAsync(body:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemovePostResponse +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.removeRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemoveResponse +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.removeRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemovePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.removeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemoveRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.removeResponse-->global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemovePostResponse +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.removeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemoveResponse Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -153932,9 +154124,33 @@ Microsoft.Graph.Teams.Item.Channels.Item.Members.membersRequestBuilder::|public| Microsoft.Graph.Teams.Item.Channels.Item.Members.membersRequestBuilder::|public|Count:global.Microsoft.Graph.Teams.Item.Channels.Item.Members.Count.CountRequestBuilder Microsoft.Graph.Teams.Item.Channels.Item.Members.membersRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMemberCollectionResponse Microsoft.Graph.Teams.Item.Channels.Item.Members.membersRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMember +Microsoft.Graph.Teams.Item.Channels.Item.Members.membersRequestBuilder::|public|remove:global.Microsoft.Graph.Teams.Item.Channels.Item.Members.Remove.RemoveRequestBuilder Microsoft.Graph.Teams.Item.Channels.Item.Members.membersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Teams.Item.Channels.Item.Members.membersRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Teams.Item.Channels.Item.Members.membersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Teams.Item.Channels.Item.Members.MembersRequestBuilder +Microsoft.Graph.Teams.Item.Channels.Item.Members.Remove.removePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Teams.Item.Channels.Item.Members.Remove.removePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Teams.Item.Channels.Item.Members.Remove.removePostRequestBody::|public|constructor():void +Microsoft.Graph.Teams.Item.Channels.Item.Members.Remove.removePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Teams.Item.Channels.Item.Members.Remove.removePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Teams.Item.Channels.Item.Members.Remove.removePostRequestBody::|public|Values:List +Microsoft.Graph.Teams.Item.Channels.Item.Members.Remove.removePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Teams.Item.Channels.Item.Members.Remove.RemovePostRequestBody +Microsoft.Graph.Teams.Item.Channels.Item.Members.Remove.removePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Teams.Item.Channels.Item.Members.Remove.removePostResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Teams.Item.Channels.Item.Members.Remove.removePostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Teams.Item.Channels.Item.Members.Remove.removePostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Teams.Item.Channels.Item.Members.Remove.removePostResponse::|public|Value:List +Microsoft.Graph.Teams.Item.Channels.Item.Members.Remove.removePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Teams.Item.Channels.Item.Members.Remove.RemovePostResponse +Microsoft.Graph.Teams.Item.Channels.Item.Members.Remove.removeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Teams.Item.Channels.Item.Members.Remove.removeRequestBuilder.removeRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Teams.Item.Channels.Item.Members.Remove.removeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.Channels.Item.Members.Remove.removeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.Channels.Item.Members.Remove.removeRequestBuilder::|public|PostAsRemovePostResponseAsync(body:global.Microsoft.Graph.Teams.Item.Channels.Item.Members.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Teams.Item.Channels.Item.Members.Remove.RemovePostResponse +Microsoft.Graph.Teams.Item.Channels.Item.Members.Remove.removeRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Teams.Item.Channels.Item.Members.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Teams.Item.Channels.Item.Members.Remove.RemoveResponse +Microsoft.Graph.Teams.Item.Channels.Item.Members.Remove.removeRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Teams.Item.Channels.Item.Members.Remove.RemovePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Teams.Item.Channels.Item.Members.Remove.removeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Teams.Item.Channels.Item.Members.Remove.RemoveRequestBuilder +Microsoft.Graph.Teams.Item.Channels.Item.Members.Remove.removeResponse-->global.Microsoft.Graph.Teams.Item.Channels.Item.Members.Remove.RemovePostResponse +Microsoft.Graph.Teams.Item.Channels.Item.Members.Remove.removeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Teams.Item.Channels.Item.Members.Remove.RemoveResponse Microsoft.Graph.Teams.Item.Channels.Item.Messages.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Teams.Item.Channels.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Teams.Item.Channels.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -154693,9 +154909,33 @@ Microsoft.Graph.Teams.Item.Members.membersRequestBuilder::|public|constructor(ra Microsoft.Graph.Teams.Item.Members.membersRequestBuilder::|public|Count:global.Microsoft.Graph.Teams.Item.Members.Count.CountRequestBuilder Microsoft.Graph.Teams.Item.Members.membersRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMemberCollectionResponse Microsoft.Graph.Teams.Item.Members.membersRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMember +Microsoft.Graph.Teams.Item.Members.membersRequestBuilder::|public|remove:global.Microsoft.Graph.Teams.Item.Members.Remove.RemoveRequestBuilder Microsoft.Graph.Teams.Item.Members.membersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Teams.Item.Members.membersRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Teams.Item.Members.membersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Teams.Item.Members.MembersRequestBuilder +Microsoft.Graph.Teams.Item.Members.Remove.removePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Teams.Item.Members.Remove.removePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Teams.Item.Members.Remove.removePostRequestBody::|public|constructor():void +Microsoft.Graph.Teams.Item.Members.Remove.removePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Teams.Item.Members.Remove.removePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Teams.Item.Members.Remove.removePostRequestBody::|public|Values:List +Microsoft.Graph.Teams.Item.Members.Remove.removePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Teams.Item.Members.Remove.RemovePostRequestBody +Microsoft.Graph.Teams.Item.Members.Remove.removePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Teams.Item.Members.Remove.removePostResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Teams.Item.Members.Remove.removePostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Teams.Item.Members.Remove.removePostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Teams.Item.Members.Remove.removePostResponse::|public|Value:List +Microsoft.Graph.Teams.Item.Members.Remove.removePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Teams.Item.Members.Remove.RemovePostResponse +Microsoft.Graph.Teams.Item.Members.Remove.removeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Teams.Item.Members.Remove.removeRequestBuilder.removeRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Teams.Item.Members.Remove.removeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.Members.Remove.removeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.Members.Remove.removeRequestBuilder::|public|PostAsRemovePostResponseAsync(body:global.Microsoft.Graph.Teams.Item.Members.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Teams.Item.Members.Remove.RemovePostResponse +Microsoft.Graph.Teams.Item.Members.Remove.removeRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Teams.Item.Members.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Teams.Item.Members.Remove.RemoveResponse +Microsoft.Graph.Teams.Item.Members.Remove.removeRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Teams.Item.Members.Remove.RemovePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Teams.Item.Members.Remove.removeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Teams.Item.Members.Remove.RemoveRequestBuilder +Microsoft.Graph.Teams.Item.Members.Remove.removeResponse-->global.Microsoft.Graph.Teams.Item.Members.Remove.RemovePostResponse +Microsoft.Graph.Teams.Item.Members.Remove.removeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Teams.Item.Members.Remove.RemoveResponse Microsoft.Graph.Teams.Item.Operations.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Teams.Item.Operations.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Teams.Item.Operations.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -154942,9 +155182,33 @@ Microsoft.Graph.Teams.Item.PrimaryChannel.Members.membersRequestBuilder::|public Microsoft.Graph.Teams.Item.PrimaryChannel.Members.membersRequestBuilder::|public|Count:global.Microsoft.Graph.Teams.Item.PrimaryChannel.Members.Count.CountRequestBuilder Microsoft.Graph.Teams.Item.PrimaryChannel.Members.membersRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMemberCollectionResponse Microsoft.Graph.Teams.Item.PrimaryChannel.Members.membersRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMember +Microsoft.Graph.Teams.Item.PrimaryChannel.Members.membersRequestBuilder::|public|remove:global.Microsoft.Graph.Teams.Item.PrimaryChannel.Members.Remove.RemoveRequestBuilder Microsoft.Graph.Teams.Item.PrimaryChannel.Members.membersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Teams.Item.PrimaryChannel.Members.membersRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Teams.Item.PrimaryChannel.Members.membersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Teams.Item.PrimaryChannel.Members.MembersRequestBuilder +Microsoft.Graph.Teams.Item.PrimaryChannel.Members.Remove.removePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Teams.Item.PrimaryChannel.Members.Remove.removePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Teams.Item.PrimaryChannel.Members.Remove.removePostRequestBody::|public|constructor():void +Microsoft.Graph.Teams.Item.PrimaryChannel.Members.Remove.removePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Teams.Item.PrimaryChannel.Members.Remove.removePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Teams.Item.PrimaryChannel.Members.Remove.removePostRequestBody::|public|Values:List +Microsoft.Graph.Teams.Item.PrimaryChannel.Members.Remove.removePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Teams.Item.PrimaryChannel.Members.Remove.RemovePostRequestBody +Microsoft.Graph.Teams.Item.PrimaryChannel.Members.Remove.removePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Teams.Item.PrimaryChannel.Members.Remove.removePostResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Teams.Item.PrimaryChannel.Members.Remove.removePostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Teams.Item.PrimaryChannel.Members.Remove.removePostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Teams.Item.PrimaryChannel.Members.Remove.removePostResponse::|public|Value:List +Microsoft.Graph.Teams.Item.PrimaryChannel.Members.Remove.removePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Teams.Item.PrimaryChannel.Members.Remove.RemovePostResponse +Microsoft.Graph.Teams.Item.PrimaryChannel.Members.Remove.removeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Teams.Item.PrimaryChannel.Members.Remove.removeRequestBuilder.removeRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Teams.Item.PrimaryChannel.Members.Remove.removeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.PrimaryChannel.Members.Remove.removeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.PrimaryChannel.Members.Remove.removeRequestBuilder::|public|PostAsRemovePostResponseAsync(body:global.Microsoft.Graph.Teams.Item.PrimaryChannel.Members.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Teams.Item.PrimaryChannel.Members.Remove.RemovePostResponse +Microsoft.Graph.Teams.Item.PrimaryChannel.Members.Remove.removeRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Teams.Item.PrimaryChannel.Members.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Teams.Item.PrimaryChannel.Members.Remove.RemoveResponse +Microsoft.Graph.Teams.Item.PrimaryChannel.Members.Remove.removeRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Teams.Item.PrimaryChannel.Members.Remove.RemovePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Teams.Item.PrimaryChannel.Members.Remove.removeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Teams.Item.PrimaryChannel.Members.Remove.RemoveRequestBuilder +Microsoft.Graph.Teams.Item.PrimaryChannel.Members.Remove.removeResponse-->global.Microsoft.Graph.Teams.Item.PrimaryChannel.Members.Remove.RemovePostResponse +Microsoft.Graph.Teams.Item.PrimaryChannel.Members.Remove.removeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Teams.Item.PrimaryChannel.Members.Remove.RemoveResponse Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -156491,9 +156755,33 @@ Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Members.membersRequestB Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Members.membersRequestBuilder::|public|Count:global.Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Members.Count.CountRequestBuilder Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Members.membersRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMemberCollectionResponse Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Members.membersRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMember +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Members.membersRequestBuilder::|public|remove:global.Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Members.Remove.RemoveRequestBuilder Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Members.membersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Members.membersRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Members.membersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Members.MembersRequestBuilder +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Members.Remove.removePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Members.Remove.removePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Members.Remove.removePostRequestBody::|public|constructor():void +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Members.Remove.removePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Members.Remove.removePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Members.Remove.removePostRequestBody::|public|Values:List +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Members.Remove.removePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Members.Remove.RemovePostRequestBody +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Members.Remove.removePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Members.Remove.removePostResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Members.Remove.removePostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Members.Remove.removePostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Members.Remove.removePostResponse::|public|Value:List +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Members.Remove.removePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Members.Remove.RemovePostResponse +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Members.Remove.removeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Members.Remove.removeRequestBuilder.removeRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Members.Remove.removeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Members.Remove.removeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Members.Remove.removeRequestBuilder::|public|PostAsRemovePostResponseAsync(body:global.Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Members.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Members.Remove.RemovePostResponse +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Members.Remove.removeRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Members.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Members.Remove.RemoveResponse +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Members.Remove.removeRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Members.Remove.RemovePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Members.Remove.removeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Members.Remove.RemoveRequestBuilder +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Members.Remove.removeResponse-->global.Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Members.Remove.RemovePostResponse +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Members.Remove.removeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Members.Remove.RemoveResponse Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -163081,9 +163369,33 @@ Microsoft.Graph.Users.Item.Chats.Item.Members.membersRequestBuilder::|public|con Microsoft.Graph.Users.Item.Chats.Item.Members.membersRequestBuilder::|public|Count:global.Microsoft.Graph.Users.Item.Chats.Item.Members.Count.CountRequestBuilder Microsoft.Graph.Users.Item.Chats.Item.Members.membersRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMemberCollectionResponse Microsoft.Graph.Users.Item.Chats.Item.Members.membersRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMember +Microsoft.Graph.Users.Item.Chats.Item.Members.membersRequestBuilder::|public|remove:global.Microsoft.Graph.Users.Item.Chats.Item.Members.Remove.RemoveRequestBuilder Microsoft.Graph.Users.Item.Chats.Item.Members.membersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Users.Item.Chats.Item.Members.membersRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Users.Item.Chats.Item.Members.membersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Chats.Item.Members.MembersRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.Members.Remove.removePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Users.Item.Chats.Item.Members.Remove.removePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Users.Item.Chats.Item.Members.Remove.removePostRequestBody::|public|constructor():void +Microsoft.Graph.Users.Item.Chats.Item.Members.Remove.removePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Users.Item.Chats.Item.Members.Remove.removePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Users.Item.Chats.Item.Members.Remove.removePostRequestBody::|public|Values:List +Microsoft.Graph.Users.Item.Chats.Item.Members.Remove.removePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.Chats.Item.Members.Remove.RemovePostRequestBody +Microsoft.Graph.Users.Item.Chats.Item.Members.Remove.removePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Users.Item.Chats.Item.Members.Remove.removePostResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Users.Item.Chats.Item.Members.Remove.removePostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Users.Item.Chats.Item.Members.Remove.removePostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Users.Item.Chats.Item.Members.Remove.removePostResponse::|public|Value:List +Microsoft.Graph.Users.Item.Chats.Item.Members.Remove.removePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.Chats.Item.Members.Remove.RemovePostResponse +Microsoft.Graph.Users.Item.Chats.Item.Members.Remove.removeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.Members.Remove.removeRequestBuilder.removeRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Chats.Item.Members.Remove.removeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.Members.Remove.removeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.Members.Remove.removeRequestBuilder::|public|PostAsRemovePostResponseAsync(body:global.Microsoft.Graph.Users.Item.Chats.Item.Members.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Users.Item.Chats.Item.Members.Remove.RemovePostResponse +Microsoft.Graph.Users.Item.Chats.Item.Members.Remove.removeRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Users.Item.Chats.Item.Members.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Users.Item.Chats.Item.Members.Remove.RemoveResponse +Microsoft.Graph.Users.Item.Chats.Item.Members.Remove.removeRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Users.Item.Chats.Item.Members.Remove.RemovePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Chats.Item.Members.Remove.removeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Chats.Item.Members.Remove.RemoveRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.Members.Remove.removeResponse-->global.Microsoft.Graph.Users.Item.Chats.Item.Members.Remove.RemovePostResponse +Microsoft.Graph.Users.Item.Chats.Item.Members.Remove.removeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.Chats.Item.Members.Remove.RemoveResponse Microsoft.Graph.Users.Item.Chats.Item.Messages.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Users.Item.Chats.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Users.Item.Chats.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -166074,9 +166386,33 @@ Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Members.membersRequest Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Members.membersRequestBuilder::|public|Count:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Members.Count.CountRequestBuilder Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Members.membersRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMemberCollectionResponse Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Members.membersRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMember +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Members.membersRequestBuilder::|public|remove:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Members.Remove.RemoveRequestBuilder Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Members.membersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Members.membersRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Members.membersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Members.MembersRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Members.Remove.removePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Members.Remove.removePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Members.Remove.removePostRequestBody::|public|constructor():void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Members.Remove.removePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Members.Remove.removePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Members.Remove.removePostRequestBody::|public|Values:List +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Members.Remove.removePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Members.Remove.RemovePostRequestBody +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Members.Remove.removePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Members.Remove.removePostResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Members.Remove.removePostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Members.Remove.removePostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Members.Remove.removePostResponse::|public|Value:List +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Members.Remove.removePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Members.Remove.RemovePostResponse +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Members.Remove.removeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Members.Remove.removeRequestBuilder.removeRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Members.Remove.removeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Members.Remove.removeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Members.Remove.removeRequestBuilder::|public|PostAsRemovePostResponseAsync(body:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Members.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Members.Remove.RemovePostResponse +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Members.Remove.removeRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Members.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Members.Remove.RemoveResponse +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Members.Remove.removeRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Members.Remove.RemovePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Members.Remove.removeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Members.Remove.RemoveRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Members.Remove.removeResponse-->global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Members.Remove.RemovePostResponse +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Members.Remove.removeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Members.Remove.RemoveResponse Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -166835,9 +167171,33 @@ Microsoft.Graph.Users.Item.JoinedTeams.Item.Members.membersRequestBuilder::|publ Microsoft.Graph.Users.Item.JoinedTeams.Item.Members.membersRequestBuilder::|public|Count:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Members.Count.CountRequestBuilder Microsoft.Graph.Users.Item.JoinedTeams.Item.Members.membersRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMemberCollectionResponse Microsoft.Graph.Users.Item.JoinedTeams.Item.Members.membersRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMember +Microsoft.Graph.Users.Item.JoinedTeams.Item.Members.membersRequestBuilder::|public|remove:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Members.Remove.RemoveRequestBuilder Microsoft.Graph.Users.Item.JoinedTeams.Item.Members.membersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Users.Item.JoinedTeams.Item.Members.membersRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Users.Item.JoinedTeams.Item.Members.membersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Members.MembersRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Members.Remove.removePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Users.Item.JoinedTeams.Item.Members.Remove.removePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Users.Item.JoinedTeams.Item.Members.Remove.removePostRequestBody::|public|constructor():void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Members.Remove.removePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Users.Item.JoinedTeams.Item.Members.Remove.removePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Members.Remove.removePostRequestBody::|public|Values:List +Microsoft.Graph.Users.Item.JoinedTeams.Item.Members.Remove.removePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Members.Remove.RemovePostRequestBody +Microsoft.Graph.Users.Item.JoinedTeams.Item.Members.Remove.removePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Users.Item.JoinedTeams.Item.Members.Remove.removePostResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Users.Item.JoinedTeams.Item.Members.Remove.removePostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Users.Item.JoinedTeams.Item.Members.Remove.removePostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Members.Remove.removePostResponse::|public|Value:List +Microsoft.Graph.Users.Item.JoinedTeams.Item.Members.Remove.removePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Members.Remove.RemovePostResponse +Microsoft.Graph.Users.Item.JoinedTeams.Item.Members.Remove.removeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Members.Remove.removeRequestBuilder.removeRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.JoinedTeams.Item.Members.Remove.removeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Members.Remove.removeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Members.Remove.removeRequestBuilder::|public|PostAsRemovePostResponseAsync(body:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Members.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Members.Remove.RemovePostResponse +Microsoft.Graph.Users.Item.JoinedTeams.Item.Members.Remove.removeRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Members.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Members.Remove.RemoveResponse +Microsoft.Graph.Users.Item.JoinedTeams.Item.Members.Remove.removeRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Members.Remove.RemovePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.JoinedTeams.Item.Members.Remove.removeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Members.Remove.RemoveRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Members.Remove.removeResponse-->global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Members.Remove.RemovePostResponse +Microsoft.Graph.Users.Item.JoinedTeams.Item.Members.Remove.removeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Members.Remove.RemoveResponse Microsoft.Graph.Users.Item.JoinedTeams.Item.Operations.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Users.Item.JoinedTeams.Item.Operations.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Users.Item.JoinedTeams.Item.Operations.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -167084,9 +167444,33 @@ Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Members.membersReques Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Members.membersRequestBuilder::|public|Count:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Members.Count.CountRequestBuilder Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Members.membersRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMemberCollectionResponse Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Members.membersRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConversationMember +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Members.membersRequestBuilder::|public|remove:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemoveRequestBuilder Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Members.membersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Members.membersRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ConversationMember; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Members.membersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Members.MembersRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Members.Remove.removePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Members.Remove.removePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Members.Remove.removePostRequestBody::|public|constructor():void +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Members.Remove.removePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Members.Remove.removePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Members.Remove.removePostRequestBody::|public|Values:List +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Members.Remove.removePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemovePostRequestBody +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Members.Remove.removePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Members.Remove.removePostResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Members.Remove.removePostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Members.Remove.removePostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Members.Remove.removePostResponse::|public|Value:List +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Members.Remove.removePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemovePostResponse +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Members.Remove.removeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Members.Remove.removeRequestBuilder.removeRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Members.Remove.removeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Members.Remove.removeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Members.Remove.removeRequestBuilder::|public|PostAsRemovePostResponseAsync(body:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemovePostResponse +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Members.Remove.removeRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemoveResponse +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Members.Remove.removeRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemovePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Members.Remove.removeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemoveRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Members.Remove.removeResponse-->global.Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemovePostResponse +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Members.Remove.removeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Members.Remove.RemoveResponse Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string diff --git a/src/Microsoft.Graph/Generated/kiota-lock.json b/src/Microsoft.Graph/Generated/kiota-lock.json index d4279172ba1..9c6ca17a26a 100644 --- a/src/Microsoft.Graph/Generated/kiota-lock.json +++ b/src/Microsoft.Graph/Generated/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "DA175BEC30C404812244F904590A9482BD5A3E4929595DA91B6F2C44798BD1F0A607FF54E98CD01521FA55728A95C599B1D04DEC6806DA458C30819359D6B3AD", + "descriptionHash": "82CFB54FAC9A7FA7EC8B84D8B9CCFBDB201D7E16835A6EFF48AE54515F8CD3BF85607E007E0634CE18D27E053FA706B3FB64510703A6205DF5A6B85E4A39FFDC", "descriptionLocation": "../../msgraph-metadata/clean_v10_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.22.0",