From 986769a47fa66509f1bf313c16734210a83bd586 Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Tue, 31 Dec 2024 10:34:31 +0000 Subject: [PATCH] feat(generation): update request builders and models Update generated files with build 175190 --- .../item/members/MembersRequestBuilder.java | 9 + .../members/remove/RemovePostRequestBody.java | 108 ++++++ .../members/remove/RemovePostResponse.java | 63 ++++ .../members/remove/RemoveRequestBuilder.java | 104 ++++++ .../item/messages/MessagesRequestBuilder.java | 12 +- .../DeviceAppManagementRequestBuilder.java | 8 +- .../ManagedAppPoliciesRequestBuilder.java | 14 +- ...agedAppRegistrationItemRequestBuilder.java | 14 +- .../ManagedAppStatusesRequestBuilder.java | 14 +- .../ManagedAppStatusItemRequestBuilder.java | 14 +- .../AssignmentsRequestBuilder.java | 26 +- ...agedEBookAssignmentItemRequestBuilder.java | 14 +- ...MobileAppConfigurationsRequestBuilder.java | 14 +- ...ileAppConfigurationItemRequestBuilder.java | 14 +- .../mobileapps/MobileAppsRequestBuilder.java | 26 +- .../item/MobileAppItemRequestBuilder.java | 38 +- ...eviceCompliancePoliciesRequestBuilder.java | 12 +- ...iceCompliancePolicyItemRequestBuilder.java | 38 +- .../DeviceConfigurationsRequestBuilder.java | 26 +- ...DeviceConfigurationItemRequestBuilder.java | 38 +- ...nrollmentConfigurationsRequestBuilder.java | 12 +- ...llmentConfigurationItemRequestBuilder.java | 38 +- .../RoleDefinitionItemRequestBuilder.java | 38 +- .../RetentionLabelRequestBuilder.java | 12 +- .../names/item/range/RangeRequestBuilder.java | 12 +- .../names/item/range/RangeRequestBuilder.java | 12 +- .../GroupLifecyclePoliciesRequestBuilder.java | 8 +- .../item/addgroup/AddGroupRequestBuilder.java | 8 +- .../item/ConversationItemRequestBuilder.java | 18 +- .../item/addgroup/AddGroupRequestBuilder.java | 8 +- .../item/members/MembersRequestBuilder.java | 9 + .../members/remove/RemovePostRequestBody.java | 108 ++++++ .../members/remove/RemovePostResponse.java | 63 ++++ .../members/remove/RemoveRequestBuilder.java | 104 ++++++ .../team/members/MembersRequestBuilder.java | 9 + .../members/remove/RemovePostRequestBody.java | 108 ++++++ .../members/remove/RemovePostResponse.java | 63 ++++ .../members/remove/RemoveRequestBuilder.java | 104 ++++++ .../members/MembersRequestBuilder.java | 9 + .../members/remove/RemovePostRequestBody.java | 108 ++++++ .../members/remove/RemovePostResponse.java | 63 ++++ .../members/remove/RemoveRequestBuilder.java | 104 ++++++ .../ConversationThreadItemRequestBuilder.java | 4 +- .../item/NamedLocationItemRequestBuilder.java | 26 +- .../item/AccessPackageItemRequestBuilder.java | 14 +- ...tomCalloutExtensionItemRequestBuilder.java | 38 +- .../item/AgreementItemRequestBuilder.java | 14 +- .../graph/generated/kiota-dom-export.txt | 348 ++++++++++++++++++ .../microsoft/graph/generated/kiota-lock.json | 2 +- .../generated/models/ActionResultPart.java | 4 +- .../generated/models/ConversationMember.java | 4 +- .../graph/generated/models/Quota.java | 4 +- .../graph/generated/models/Team.java | 20 +- .../generated/models/WorkbookRangeView.java | 4 +- .../OrganizationRequestBuilder.java | 14 +- .../item/OrganizationItemRequestBuilder.java | 26 +- .../bannerlogo/BannerLogoRequestBuilder.java | 12 +- .../generated/sites/SitesRequestBuilder.java | 14 +- .../lists/item/ListItemRequestBuilder.java | 14 +- .../item/members/MembersRequestBuilder.java | 9 + .../ConversationMemberItemRequestBuilder.java | 24 +- .../members/remove/RemovePostRequestBody.java | 108 ++++++ .../members/remove/RemovePostResponse.java | 63 ++++ .../members/remove/RemoveRequestBuilder.java | 104 ++++++ .../item/messages/MessagesRequestBuilder.java | 12 +- .../item/replies/RepliesRequestBuilder.java | 12 +- .../item/members/MembersRequestBuilder.java | 9 + .../members/remove/RemovePostRequestBody.java | 108 ++++++ .../members/remove/RemovePostResponse.java | 63 ++++ .../members/remove/RemoveRequestBuilder.java | 104 ++++++ .../members/MembersRequestBuilder.java | 9 + .../members/remove/RemovePostRequestBody.java | 108 ++++++ .../members/remove/RemovePostResponse.java | 63 ++++ .../members/remove/RemoveRequestBuilder.java | 104 ++++++ .../item/members/MembersRequestBuilder.java | 9 + .../members/remove/RemovePostRequestBody.java | 108 ++++++ .../members/remove/RemovePostResponse.java | 63 ++++ .../members/remove/RemoveRequestBuilder.java | 104 ++++++ .../generated/users/UsersRequestBuilder.java | 14 +- .../users/item/UserItemRequestBuilder.java | 16 +- .../item/members/MembersRequestBuilder.java | 9 + .../members/remove/RemovePostRequestBody.java | 108 ++++++ .../members/remove/RemovePostResponse.java | 63 ++++ .../members/remove/RemoveRequestBuilder.java | 104 ++++++ .../item/members/MembersRequestBuilder.java | 9 + .../members/remove/RemovePostRequestBody.java | 108 ++++++ .../members/remove/RemovePostResponse.java | 63 ++++ .../members/remove/RemoveRequestBuilder.java | 104 ++++++ .../item/members/MembersRequestBuilder.java | 9 + .../members/remove/RemovePostRequestBody.java | 108 ++++++ .../members/remove/RemovePostResponse.java | 63 ++++ .../members/remove/RemoveRequestBuilder.java | 104 ++++++ .../members/MembersRequestBuilder.java | 9 + .../members/remove/RemovePostRequestBody.java | 108 ++++++ .../members/remove/RemovePostResponse.java | 63 ++++ .../members/remove/RemoveRequestBuilder.java | 104 ++++++ .../item/presence/PresenceRequestBuilder.java | 14 +- ...rsWithUserPrincipalNameRequestBuilder.java | 16 +- 98 files changed, 4161 insertions(+), 405 deletions(-) create mode 100644 src/main/java/com/microsoft/graph/generated/chats/item/members/remove/RemovePostRequestBody.java create mode 100644 src/main/java/com/microsoft/graph/generated/chats/item/members/remove/RemovePostResponse.java create mode 100644 src/main/java/com/microsoft/graph/generated/chats/item/members/remove/RemoveRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/generated/groups/item/team/channels/item/members/remove/RemovePostRequestBody.java create mode 100644 src/main/java/com/microsoft/graph/generated/groups/item/team/channels/item/members/remove/RemovePostResponse.java create mode 100644 src/main/java/com/microsoft/graph/generated/groups/item/team/channels/item/members/remove/RemoveRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/generated/groups/item/team/members/remove/RemovePostRequestBody.java create mode 100644 src/main/java/com/microsoft/graph/generated/groups/item/team/members/remove/RemovePostResponse.java create mode 100644 src/main/java/com/microsoft/graph/generated/groups/item/team/members/remove/RemoveRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/generated/groups/item/team/primarychannel/members/remove/RemovePostRequestBody.java create mode 100644 src/main/java/com/microsoft/graph/generated/groups/item/team/primarychannel/members/remove/RemovePostResponse.java create mode 100644 src/main/java/com/microsoft/graph/generated/groups/item/team/primarychannel/members/remove/RemoveRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/generated/teams/item/channels/item/members/remove/RemovePostRequestBody.java create mode 100644 src/main/java/com/microsoft/graph/generated/teams/item/channels/item/members/remove/RemovePostResponse.java create mode 100644 src/main/java/com/microsoft/graph/generated/teams/item/channels/item/members/remove/RemoveRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/generated/teams/item/members/remove/RemovePostRequestBody.java create mode 100644 src/main/java/com/microsoft/graph/generated/teams/item/members/remove/RemovePostResponse.java create mode 100644 src/main/java/com/microsoft/graph/generated/teams/item/members/remove/RemoveRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/generated/teams/item/primarychannel/members/remove/RemovePostRequestBody.java create mode 100644 src/main/java/com/microsoft/graph/generated/teams/item/primarychannel/members/remove/RemovePostResponse.java create mode 100644 src/main/java/com/microsoft/graph/generated/teams/item/primarychannel/members/remove/RemoveRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/generated/teamwork/deletedteams/item/channels/item/members/remove/RemovePostRequestBody.java create mode 100644 src/main/java/com/microsoft/graph/generated/teamwork/deletedteams/item/channels/item/members/remove/RemovePostResponse.java create mode 100644 src/main/java/com/microsoft/graph/generated/teamwork/deletedteams/item/channels/item/members/remove/RemoveRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/generated/users/item/chats/item/members/remove/RemovePostRequestBody.java create mode 100644 src/main/java/com/microsoft/graph/generated/users/item/chats/item/members/remove/RemovePostResponse.java create mode 100644 src/main/java/com/microsoft/graph/generated/users/item/chats/item/members/remove/RemoveRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/channels/item/members/remove/RemovePostRequestBody.java create mode 100644 src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/channels/item/members/remove/RemovePostResponse.java create mode 100644 src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/channels/item/members/remove/RemoveRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/members/remove/RemovePostRequestBody.java create mode 100644 src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/members/remove/RemovePostResponse.java create mode 100644 src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/members/remove/RemoveRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/primarychannel/members/remove/RemovePostRequestBody.java create mode 100644 src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/primarychannel/members/remove/RemovePostResponse.java create mode 100644 src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/primarychannel/members/remove/RemoveRequestBuilder.java diff --git a/src/main/java/com/microsoft/graph/generated/chats/item/members/MembersRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/chats/item/members/MembersRequestBuilder.java index d3224c44c45..dd4d1d14373 100644 --- a/src/main/java/com/microsoft/graph/generated/chats/item/members/MembersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/chats/item/members/MembersRequestBuilder.java @@ -3,6 +3,7 @@ import com.microsoft.graph.chats.item.members.add.AddRequestBuilder; import com.microsoft.graph.chats.item.members.count.CountRequestBuilder; import com.microsoft.graph.chats.item.members.item.ConversationMemberItemRequestBuilder; +import com.microsoft.graph.chats.item.members.remove.RemoveRequestBuilder; import com.microsoft.graph.models.ConversationMember; import com.microsoft.graph.models.ConversationMemberCollectionResponse; import com.microsoft.graph.models.odataerrors.ODataError; @@ -40,6 +41,14 @@ public AddRequestBuilder add() { public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the remove method. + * @return a {@link RemoveRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RemoveRequestBuilder remove() { + return new RemoveRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the members property of the microsoft.graph.chat entity. * @param conversationMemberId The unique identifier of conversationMember diff --git a/src/main/java/com/microsoft/graph/generated/chats/item/members/remove/RemovePostRequestBody.java b/src/main/java/com/microsoft/graph/generated/chats/item/members/remove/RemovePostRequestBody.java new file mode 100644 index 00000000000..021fed8dde3 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/chats/item/members/remove/RemovePostRequestBody.java @@ -0,0 +1,108 @@ +package com.microsoft.graph.chats.item.members.remove; + +import com.microsoft.graph.models.ConversationMember; +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RemovePostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link RemovePostRequestBody} and sets the default values. + */ + public RemovePostRequestBody() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link RemovePostRequestBody} + */ + @jakarta.annotation.Nonnull + public static RemovePostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new RemovePostRequestBody(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(1); + deserializerMap.put("values", (n) -> { this.setValues(n.getCollectionOfObjectValues(ConversationMember::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the values property value. The values property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getValues() { + return this.backingStore.get("values"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeCollectionOfObjectValues("values", this.getValues()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the values property value. The values property + * @param value Value to set for the values property. + */ + public void setValues(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("values", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/chats/item/members/remove/RemovePostResponse.java b/src/main/java/com/microsoft/graph/generated/chats/item/members/remove/RemovePostResponse.java new file mode 100644 index 00000000000..bacb82046dc --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/chats/item/members/remove/RemovePostResponse.java @@ -0,0 +1,63 @@ +package com.microsoft.graph.chats.item.members.remove; + +import com.microsoft.graph.models.ActionResultPart; +import com.microsoft.graph.models.BaseCollectionPaginationCountResponse; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RemovePostResponse extends BaseCollectionPaginationCountResponse implements Parsable { + /** + * Instantiates a new {@link RemovePostResponse} and sets the default values. + */ + public RemovePostResponse() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link RemovePostResponse} + */ + @jakarta.annotation.Nonnull + public static RemovePostResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new RemovePostResponse(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("value", (n) -> { this.setValue(n.getCollectionOfObjectValues(ActionResultPart::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the value property value. The value property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getValue() { + return this.backingStore.get("value"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeCollectionOfObjectValues("value", this.getValue()); + } + /** + * Sets the value property value. The value property + * @param value Value to set for the value property. + */ + public void setValue(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("value", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/chats/item/members/remove/RemoveRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/chats/item/members/remove/RemoveRequestBuilder.java new file mode 100644 index 00000000000..c5895817123 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/chats/item/members/remove/RemoveRequestBuilder.java @@ -0,0 +1,104 @@ +package com.microsoft.graph.chats.item.members.remove; + +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to call the remove method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RemoveRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link RemoveRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RemoveRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/chats/{chat%2Did}/members/remove", pathParameters); + } + /** + * Instantiates a new {@link RemoveRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RemoveRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(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. + * @param body The request body + * @return a {@link RemovePostResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public RemovePostResponse post(@jakarta.annotation.Nonnull final RemovePostRequestBody body) { + return post(body, null); + } + /** + * Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RemovePostResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public RemovePostResponse post(@jakarta.annotation.Nonnull final RemovePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, RemovePostResponse::createFromDiscriminatorValue); + } + /** + * Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RemovePostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RemovePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link RemoveRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RemoveRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new RemoveRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/generated/chats/item/messages/MessagesRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/chats/item/messages/MessagesRequestBuilder.java index f820dc2e03e..940ae814bfa 100644 --- a/src/main/java/com/microsoft/graph/generated/chats/item/messages/MessagesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/chats/item/messages/MessagesRequestBuilder.java @@ -93,23 +93,23 @@ public ChatMessageCollectionResponse get(@jakarta.annotation.Nullable final java return this.requestAdapter.send(requestInfo, errorMapping, ChatMessageCollectionResponse::createFromDiscriminatorValue); } /** - * 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. * @param body The request body * @return a {@link ChatMessage} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public ChatMessage post(@jakarta.annotation.Nonnull final ChatMessage body) { return post(body, null); } /** - * 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. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ChatMessage} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public ChatMessage post(@jakarta.annotation.Nonnull final ChatMessage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -140,7 +140,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * 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. * @param body The request body * @return a {@link RequestInformation} */ @@ -149,7 +149,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f return toPostRequestInformation(body, null); } /** - * 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. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} diff --git a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/DeviceAppManagementRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/DeviceAppManagementRequestBuilder.java index fde6a5e355e..447e1d36ce7 100644 --- a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/DeviceAppManagementRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/DeviceAppManagementRequestBuilder.java @@ -175,7 +175,7 @@ public DeviceAppManagementRequestBuilder(@jakarta.annotation.Nonnull final Strin * Read properties and relationships of the deviceAppManagement object. * @return a {@link DeviceAppManagement} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public DeviceAppManagement get() { @@ -186,7 +186,7 @@ public DeviceAppManagement get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DeviceAppManagement} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public DeviceAppManagement get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -200,7 +200,7 @@ public DeviceAppManagement get(@jakarta.annotation.Nullable final java.util.func * @param body The request body * @return a {@link DeviceAppManagement} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public DeviceAppManagement patch(@jakarta.annotation.Nonnull final DeviceAppManagement body) { @@ -212,7 +212,7 @@ public DeviceAppManagement patch(@jakarta.annotation.Nonnull final DeviceAppMana * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DeviceAppManagement} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public DeviceAppManagement patch(@jakarta.annotation.Nonnull final DeviceAppManagement body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { diff --git a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedapppolicies/ManagedAppPoliciesRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedapppolicies/ManagedAppPoliciesRequestBuilder.java index 9108410b3e3..91afd7f965e 100644 --- a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedapppolicies/ManagedAppPoliciesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedapppolicies/ManagedAppPoliciesRequestBuilder.java @@ -60,21 +60,21 @@ public ManagedAppPoliciesRequestBuilder(@jakarta.annotation.Nonnull final String super(requestAdapter, "{+baseurl}/deviceAppManagement/managedAppPolicies{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * List properties and relationships of the targetedManagedAppProtection objects. + * List properties and relationships of the managedAppProtection objects. * @return a {@link ManagedAppPolicyCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public ManagedAppPolicyCollectionResponse get() { return get(null); } /** - * List properties and relationships of the targetedManagedAppProtection objects. + * List properties and relationships of the managedAppProtection objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ManagedAppPolicyCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public ManagedAppPolicyCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -109,7 +109,7 @@ public ManagedAppPolicy post(@jakarta.annotation.Nonnull final ManagedAppPolicy return this.requestAdapter.send(requestInfo, errorMapping, ManagedAppPolicy::createFromDiscriminatorValue); } /** - * List properties and relationships of the targetedManagedAppProtection objects. + * List properties and relationships of the managedAppProtection objects. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -117,7 +117,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * List properties and relationships of the targetedManagedAppProtection objects. + * List properties and relationships of the managedAppProtection objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -163,7 +163,7 @@ public ManagedAppPoliciesRequestBuilder withUrl(@jakarta.annotation.Nonnull fina return new ManagedAppPoliciesRequestBuilder(rawUrl, requestAdapter); } /** - * List properties and relationships of the targetedManagedAppProtection objects. + * List properties and relationships of the managedAppProtection objects. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedappregistrations/item/ManagedAppRegistrationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedappregistrations/item/ManagedAppRegistrationItemRequestBuilder.java index 29054f4a301..7bedaf1be58 100644 --- a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedappregistrations/item/ManagedAppRegistrationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedappregistrations/item/ManagedAppRegistrationItemRequestBuilder.java @@ -82,21 +82,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Read properties and relationships of the androidManagedAppRegistration object. + * Read properties and relationships of the iosManagedAppRegistration object. * @return a {@link ManagedAppRegistration} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public ManagedAppRegistration get() { return get(null); } /** - * Read properties and relationships of the androidManagedAppRegistration object. + * Read properties and relationships of the iosManagedAppRegistration object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ManagedAppRegistration} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public ManagedAppRegistration get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -151,7 +151,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * Read properties and relationships of the androidManagedAppRegistration object. + * Read properties and relationships of the iosManagedAppRegistration object. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -159,7 +159,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Read properties and relationships of the androidManagedAppRegistration object. + * Read properties and relationships of the iosManagedAppRegistration object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -211,7 +211,7 @@ public ManagedAppRegistrationItemRequestBuilder withUrl(@jakarta.annotation.Nonn public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Read properties and relationships of the androidManagedAppRegistration object. + * Read properties and relationships of the iosManagedAppRegistration object. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedappstatuses/ManagedAppStatusesRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedappstatuses/ManagedAppStatusesRequestBuilder.java index 22537d5d889..6e5cd39df0b 100644 --- a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedappstatuses/ManagedAppStatusesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedappstatuses/ManagedAppStatusesRequestBuilder.java @@ -60,21 +60,21 @@ public ManagedAppStatusesRequestBuilder(@jakarta.annotation.Nonnull final String super(requestAdapter, "{+baseurl}/deviceAppManagement/managedAppStatuses{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * List properties and relationships of the managedAppStatusRaw objects. + * List properties and relationships of the managedAppStatus objects. * @return a {@link ManagedAppStatusCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public ManagedAppStatusCollectionResponse get() { return get(null); } /** - * List properties and relationships of the managedAppStatusRaw objects. + * List properties and relationships of the managedAppStatus objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ManagedAppStatusCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public ManagedAppStatusCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -109,7 +109,7 @@ public ManagedAppStatus post(@jakarta.annotation.Nonnull final ManagedAppStatus return this.requestAdapter.send(requestInfo, errorMapping, ManagedAppStatus::createFromDiscriminatorValue); } /** - * List properties and relationships of the managedAppStatusRaw objects. + * List properties and relationships of the managedAppStatus objects. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -117,7 +117,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * List properties and relationships of the managedAppStatusRaw objects. + * List properties and relationships of the managedAppStatus objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -163,7 +163,7 @@ public ManagedAppStatusesRequestBuilder withUrl(@jakarta.annotation.Nonnull fina return new ManagedAppStatusesRequestBuilder(rawUrl, requestAdapter); } /** - * List properties and relationships of the managedAppStatusRaw objects. + * List properties and relationships of the managedAppStatus objects. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedappstatuses/item/ManagedAppStatusItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedappstatuses/item/ManagedAppStatusItemRequestBuilder.java index e0cfb0e8610..dfe8eb0ac38 100644 --- a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedappstatuses/item/ManagedAppStatusItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedappstatuses/item/ManagedAppStatusItemRequestBuilder.java @@ -55,21 +55,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Read properties and relationships of the managedAppStatusRaw object. + * Read properties and relationships of the managedAppStatus object. * @return a {@link ManagedAppStatus} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public ManagedAppStatus get() { return get(null); } /** - * Read properties and relationships of the managedAppStatusRaw object. + * Read properties and relationships of the managedAppStatus object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ManagedAppStatus} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public ManagedAppStatus get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -124,7 +124,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * Read properties and relationships of the managedAppStatusRaw object. + * Read properties and relationships of the managedAppStatus object. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -132,7 +132,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Read properties and relationships of the managedAppStatusRaw object. + * Read properties and relationships of the managedAppStatus object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -184,7 +184,7 @@ public ManagedAppStatusItemRequestBuilder withUrl(@jakarta.annotation.Nonnull fi public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Read properties and relationships of the managedAppStatusRaw object. + * Read properties and relationships of the managedAppStatus object. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedebooks/item/assignments/AssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedebooks/item/assignments/AssignmentsRequestBuilder.java index 84b388d943d..c78ab3e1cd5 100644 --- a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedebooks/item/assignments/AssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedebooks/item/assignments/AssignmentsRequestBuilder.java @@ -60,21 +60,21 @@ public AssignmentsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl super(requestAdapter, "{+baseurl}/deviceAppManagement/managedEBooks/{managedEBook%2Did}/assignments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * List properties and relationships of the iosVppEBookAssignment objects. + * List properties and relationships of the managedEBookAssignment objects. * @return a {@link ManagedEBookAssignmentCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public ManagedEBookAssignmentCollectionResponse get() { return get(null); } /** - * List properties and relationships of the iosVppEBookAssignment objects. + * List properties and relationships of the managedEBookAssignment objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ManagedEBookAssignmentCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public ManagedEBookAssignmentCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -84,23 +84,23 @@ public ManagedEBookAssignmentCollectionResponse get(@jakarta.annotation.Nullable return this.requestAdapter.send(requestInfo, errorMapping, ManagedEBookAssignmentCollectionResponse::createFromDiscriminatorValue); } /** - * Create a new iosVppEBookAssignment object. + * Create a new managedEBookAssignment object. * @param body The request body * @return a {@link ManagedEBookAssignment} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public ManagedEBookAssignment post(@jakarta.annotation.Nonnull final ManagedEBookAssignment body) { return post(body, null); } /** - * Create a new iosVppEBookAssignment object. + * Create a new managedEBookAssignment object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ManagedEBookAssignment} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public ManagedEBookAssignment post(@jakarta.annotation.Nonnull final ManagedEBookAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -111,7 +111,7 @@ public ManagedEBookAssignment post(@jakarta.annotation.Nonnull final ManagedEBoo return this.requestAdapter.send(requestInfo, errorMapping, ManagedEBookAssignment::createFromDiscriminatorValue); } /** - * List properties and relationships of the iosVppEBookAssignment objects. + * List properties and relationships of the managedEBookAssignment objects. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -119,7 +119,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * List properties and relationships of the iosVppEBookAssignment objects. + * List properties and relationships of the managedEBookAssignment objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -131,7 +131,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Create a new iosVppEBookAssignment object. + * Create a new managedEBookAssignment object. * @param body The request body * @return a {@link RequestInformation} */ @@ -140,7 +140,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f return toPostRequestInformation(body, null); } /** - * Create a new iosVppEBookAssignment object. + * Create a new managedEBookAssignment object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} @@ -165,7 +165,7 @@ public AssignmentsRequestBuilder withUrl(@jakarta.annotation.Nonnull final Strin return new AssignmentsRequestBuilder(rawUrl, requestAdapter); } /** - * List properties and relationships of the iosVppEBookAssignment objects. + * List properties and relationships of the managedEBookAssignment objects. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedebooks/item/assignments/item/ManagedEBookAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedebooks/item/assignments/item/ManagedEBookAssignmentItemRequestBuilder.java index d4668c691ae..36eb002fca8 100644 --- a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedebooks/item/assignments/item/ManagedEBookAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedebooks/item/assignments/item/ManagedEBookAssignmentItemRequestBuilder.java @@ -57,21 +57,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Read properties and relationships of the iosVppEBookAssignment object. + * Read properties and relationships of the managedEBookAssignment object. * @return a {@link ManagedEBookAssignment} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public ManagedEBookAssignment get() { return get(null); } /** - * Read properties and relationships of the iosVppEBookAssignment object. + * Read properties and relationships of the managedEBookAssignment object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ManagedEBookAssignment} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public ManagedEBookAssignment get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -128,7 +128,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * Read properties and relationships of the iosVppEBookAssignment object. + * Read properties and relationships of the managedEBookAssignment object. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -136,7 +136,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Read properties and relationships of the iosVppEBookAssignment object. + * Read properties and relationships of the managedEBookAssignment object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -188,7 +188,7 @@ public ManagedEBookAssignmentItemRequestBuilder withUrl(@jakarta.annotation.Nonn public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Read properties and relationships of the iosVppEBookAssignment object. + * Read properties and relationships of the managedEBookAssignment object. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/mobileappconfigurations/MobileAppConfigurationsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/mobileappconfigurations/MobileAppConfigurationsRequestBuilder.java index b50c98da514..f6ed71ee550 100644 --- a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/mobileappconfigurations/MobileAppConfigurationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/mobileappconfigurations/MobileAppConfigurationsRequestBuilder.java @@ -60,21 +60,21 @@ public MobileAppConfigurationsRequestBuilder(@jakarta.annotation.Nonnull final S super(requestAdapter, "{+baseurl}/deviceAppManagement/mobileAppConfigurations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * List properties and relationships of the iosMobileAppConfiguration objects. + * List properties and relationships of the managedDeviceMobileAppConfiguration objects. * @return a {@link ManagedDeviceMobileAppConfigurationCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public ManagedDeviceMobileAppConfigurationCollectionResponse get() { return get(null); } /** - * List properties and relationships of the iosMobileAppConfiguration objects. + * List properties and relationships of the managedDeviceMobileAppConfiguration objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ManagedDeviceMobileAppConfigurationCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public ManagedDeviceMobileAppConfigurationCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -111,7 +111,7 @@ public ManagedDeviceMobileAppConfiguration post(@jakarta.annotation.Nonnull fina return this.requestAdapter.send(requestInfo, errorMapping, ManagedDeviceMobileAppConfiguration::createFromDiscriminatorValue); } /** - * List properties and relationships of the iosMobileAppConfiguration objects. + * List properties and relationships of the managedDeviceMobileAppConfiguration objects. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -119,7 +119,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * List properties and relationships of the iosMobileAppConfiguration objects. + * List properties and relationships of the managedDeviceMobileAppConfiguration objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -165,7 +165,7 @@ public MobileAppConfigurationsRequestBuilder withUrl(@jakarta.annotation.Nonnull return new MobileAppConfigurationsRequestBuilder(rawUrl, requestAdapter); } /** - * List properties and relationships of the iosMobileAppConfiguration objects. + * List properties and relationships of the managedDeviceMobileAppConfiguration objects. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/mobileappconfigurations/item/ManagedDeviceMobileAppConfigurationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/mobileappconfigurations/item/ManagedDeviceMobileAppConfigurationItemRequestBuilder.java index 2dffcd3051c..783c561d2a9 100644 --- a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/mobileappconfigurations/item/ManagedDeviceMobileAppConfigurationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/mobileappconfigurations/item/ManagedDeviceMobileAppConfigurationItemRequestBuilder.java @@ -111,21 +111,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Read properties and relationships of the iosMobileAppConfiguration object. + * Read properties and relationships of the managedDeviceMobileAppConfiguration object. * @return a {@link ManagedDeviceMobileAppConfiguration} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public ManagedDeviceMobileAppConfiguration get() { return get(null); } /** - * Read properties and relationships of the iosMobileAppConfiguration object. + * Read properties and relationships of the managedDeviceMobileAppConfiguration object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ManagedDeviceMobileAppConfiguration} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public ManagedDeviceMobileAppConfiguration get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -182,7 +182,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * Read properties and relationships of the iosMobileAppConfiguration object. + * Read properties and relationships of the managedDeviceMobileAppConfiguration object. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -190,7 +190,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Read properties and relationships of the iosMobileAppConfiguration object. + * Read properties and relationships of the managedDeviceMobileAppConfiguration object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -242,7 +242,7 @@ public ManagedDeviceMobileAppConfigurationItemRequestBuilder withUrl(@jakarta.an public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Read properties and relationships of the iosMobileAppConfiguration object. + * Read properties and relationships of the managedDeviceMobileAppConfiguration object. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/mobileapps/MobileAppsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/mobileapps/MobileAppsRequestBuilder.java index 7d365737edc..5f2323ca573 100644 --- a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/mobileapps/MobileAppsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/mobileapps/MobileAppsRequestBuilder.java @@ -204,21 +204,21 @@ public MobileAppsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, super(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * List properties and relationships of the webApp objects. + * List properties and relationships of the androidLobApp objects. * @return a {@link MobileAppCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public MobileAppCollectionResponse get() { return get(null); } /** - * List properties and relationships of the webApp objects. + * List properties and relationships of the androidLobApp objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public MobileAppCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -228,23 +228,23 @@ public MobileAppCollectionResponse get(@jakarta.annotation.Nullable final java.u return this.requestAdapter.send(requestInfo, errorMapping, MobileAppCollectionResponse::createFromDiscriminatorValue); } /** - * Create a new macOSOfficeSuiteApp object. + * Create a new microsoftStoreForBusinessApp object. * @param body The request body * @return a {@link MobileApp} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public MobileApp post(@jakarta.annotation.Nonnull final MobileApp body) { return post(body, null); } /** - * Create a new macOSOfficeSuiteApp object. + * Create a new microsoftStoreForBusinessApp object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileApp} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public MobileApp post(@jakarta.annotation.Nonnull final MobileApp body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -255,7 +255,7 @@ public MobileApp post(@jakarta.annotation.Nonnull final MobileApp body, @jakarta return this.requestAdapter.send(requestInfo, errorMapping, MobileApp::createFromDiscriminatorValue); } /** - * List properties and relationships of the webApp objects. + * List properties and relationships of the androidLobApp objects. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -263,7 +263,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * List properties and relationships of the webApp objects. + * List properties and relationships of the androidLobApp objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -275,7 +275,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Create a new macOSOfficeSuiteApp object. + * Create a new microsoftStoreForBusinessApp object. * @param body The request body * @return a {@link RequestInformation} */ @@ -284,7 +284,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f return toPostRequestInformation(body, null); } /** - * Create a new macOSOfficeSuiteApp object. + * Create a new microsoftStoreForBusinessApp object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} @@ -309,7 +309,7 @@ public MobileAppsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String return new MobileAppsRequestBuilder(rawUrl, requestAdapter); } /** - * List properties and relationships of the webApp objects. + * List properties and relationships of the androidLobApp objects. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/mobileapps/item/MobileAppItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/mobileapps/item/MobileAppItemRequestBuilder.java index 766e66da37e..b5ef8473f0c 100644 --- a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/mobileapps/item/MobileAppItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/mobileapps/item/MobileAppItemRequestBuilder.java @@ -208,18 +208,18 @@ public MobileAppItemRequestBuilder(@jakarta.annotation.Nonnull final String rawU super(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}{?%24expand,%24select}", rawUrl); } /** - * Deletes a iosStoreApp. + * Deletes a microsoftStoreForBusinessApp. * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ public void delete() { delete(null); } /** - * Deletes a iosStoreApp. + * Deletes a microsoftStoreForBusinessApp. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); @@ -228,21 +228,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Read properties and relationships of the windowsWebApp object. + * Read properties and relationships of the iosStoreApp object. * @return a {@link MobileApp} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public MobileApp get() { return get(null); } /** - * Read properties and relationships of the windowsWebApp object. + * Read properties and relationships of the iosStoreApp object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileApp} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public MobileApp get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -252,23 +252,23 @@ public MobileApp get(@jakarta.annotation.Nullable final java.util.function.Consu return this.requestAdapter.send(requestInfo, errorMapping, MobileApp::createFromDiscriminatorValue); } /** - * Update the properties of a androidLobApp object. + * Update the properties of a webApp object. * @param body The request body * @return a {@link MobileApp} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public MobileApp patch(@jakarta.annotation.Nonnull final MobileApp body) { return patch(body, null); } /** - * Update the properties of a androidLobApp object. + * Update the properties of a webApp object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileApp} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public MobileApp patch(@jakarta.annotation.Nonnull final MobileApp body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -279,7 +279,7 @@ public MobileApp patch(@jakarta.annotation.Nonnull final MobileApp body, @jakart return this.requestAdapter.send(requestInfo, errorMapping, MobileApp::createFromDiscriminatorValue); } /** - * Deletes a iosStoreApp. + * Deletes a microsoftStoreForBusinessApp. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -287,7 +287,7 @@ public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } /** - * Deletes a iosStoreApp. + * Deletes a microsoftStoreForBusinessApp. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -299,7 +299,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * Read properties and relationships of the windowsWebApp object. + * Read properties and relationships of the iosStoreApp object. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -307,7 +307,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Read properties and relationships of the windowsWebApp object. + * Read properties and relationships of the iosStoreApp object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -319,7 +319,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Update the properties of a androidLobApp object. + * Update the properties of a webApp object. * @param body The request body * @return a {@link RequestInformation} */ @@ -328,7 +328,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull return toPatchRequestInformation(body, null); } /** - * Update the properties of a androidLobApp object. + * Update the properties of a webApp object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} @@ -359,7 +359,7 @@ public MobileAppItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final Str public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Read properties and relationships of the windowsWebApp object. + * Read properties and relationships of the iosStoreApp object. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/devicemanagement/devicecompliancepolicies/DeviceCompliancePoliciesRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/devicemanagement/devicecompliancepolicies/DeviceCompliancePoliciesRequestBuilder.java index 1fac77c9324..5e9eb23b304 100644 --- a/src/main/java/com/microsoft/graph/generated/devicemanagement/devicecompliancepolicies/DeviceCompliancePoliciesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/devicemanagement/devicecompliancepolicies/DeviceCompliancePoliciesRequestBuilder.java @@ -84,23 +84,23 @@ public DeviceCompliancePolicyCollectionResponse get(@jakarta.annotation.Nullable return this.requestAdapter.send(requestInfo, errorMapping, DeviceCompliancePolicyCollectionResponse::createFromDiscriminatorValue); } /** - * Create a new androidCompliancePolicy object. + * Create a new windows10CompliancePolicy object. * @param body The request body * @return a {@link DeviceCompliancePolicy} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public DeviceCompliancePolicy post(@jakarta.annotation.Nonnull final DeviceCompliancePolicy body) { return post(body, null); } /** - * Create a new androidCompliancePolicy object. + * Create a new windows10CompliancePolicy object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DeviceCompliancePolicy} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public DeviceCompliancePolicy post(@jakarta.annotation.Nonnull final DeviceCompliancePolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -131,7 +131,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Create a new androidCompliancePolicy object. + * Create a new windows10CompliancePolicy object. * @param body The request body * @return a {@link RequestInformation} */ @@ -140,7 +140,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f return toPostRequestInformation(body, null); } /** - * Create a new androidCompliancePolicy object. + * Create a new windows10CompliancePolicy object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} diff --git a/src/main/java/com/microsoft/graph/generated/devicemanagement/devicecompliancepolicies/item/DeviceCompliancePolicyItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/devicemanagement/devicecompliancepolicies/item/DeviceCompliancePolicyItemRequestBuilder.java index 3111a67e080..d0816ea3e02 100644 --- a/src/main/java/com/microsoft/graph/generated/devicemanagement/devicecompliancepolicies/item/DeviceCompliancePolicyItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/devicemanagement/devicecompliancepolicies/item/DeviceCompliancePolicyItemRequestBuilder.java @@ -118,18 +118,18 @@ public DeviceCompliancePolicyItemRequestBuilder(@jakarta.annotation.Nonnull fina super(requestAdapter, "{+baseurl}/deviceManagement/deviceCompliancePolicies/{deviceCompliancePolicy%2Did}{?%24expand,%24select}", rawUrl); } /** - * Deletes a windows10MobileCompliancePolicy. + * Deletes a iosCompliancePolicy. * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ public void delete() { delete(null); } /** - * Deletes a windows10MobileCompliancePolicy. + * Deletes a iosCompliancePolicy. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); @@ -138,21 +138,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Read properties and relationships of the windowsPhone81CompliancePolicy object. + * Read properties and relationships of the deviceCompliancePolicy object. * @return a {@link DeviceCompliancePolicy} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public DeviceCompliancePolicy get() { return get(null); } /** - * Read properties and relationships of the windowsPhone81CompliancePolicy object. + * Read properties and relationships of the deviceCompliancePolicy object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DeviceCompliancePolicy} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public DeviceCompliancePolicy get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -162,23 +162,23 @@ public DeviceCompliancePolicy get(@jakarta.annotation.Nullable final java.util.f return this.requestAdapter.send(requestInfo, errorMapping, DeviceCompliancePolicy::createFromDiscriminatorValue); } /** - * Update the properties of a windows10CompliancePolicy object. + * Update the properties of a windows81CompliancePolicy object. * @param body The request body * @return a {@link DeviceCompliancePolicy} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public DeviceCompliancePolicy patch(@jakarta.annotation.Nonnull final DeviceCompliancePolicy body) { return patch(body, null); } /** - * Update the properties of a windows10CompliancePolicy object. + * Update the properties of a windows81CompliancePolicy object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DeviceCompliancePolicy} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public DeviceCompliancePolicy patch(@jakarta.annotation.Nonnull final DeviceCompliancePolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -189,7 +189,7 @@ public DeviceCompliancePolicy patch(@jakarta.annotation.Nonnull final DeviceComp return this.requestAdapter.send(requestInfo, errorMapping, DeviceCompliancePolicy::createFromDiscriminatorValue); } /** - * Deletes a windows10MobileCompliancePolicy. + * Deletes a iosCompliancePolicy. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -197,7 +197,7 @@ public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } /** - * Deletes a windows10MobileCompliancePolicy. + * Deletes a iosCompliancePolicy. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -209,7 +209,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * Read properties and relationships of the windowsPhone81CompliancePolicy object. + * Read properties and relationships of the deviceCompliancePolicy object. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -217,7 +217,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Read properties and relationships of the windowsPhone81CompliancePolicy object. + * Read properties and relationships of the deviceCompliancePolicy object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -229,7 +229,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Update the properties of a windows10CompliancePolicy object. + * Update the properties of a windows81CompliancePolicy object. * @param body The request body * @return a {@link RequestInformation} */ @@ -238,7 +238,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull return toPatchRequestInformation(body, null); } /** - * Update the properties of a windows10CompliancePolicy object. + * Update the properties of a windows81CompliancePolicy object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} @@ -269,7 +269,7 @@ public DeviceCompliancePolicyItemRequestBuilder withUrl(@jakarta.annotation.Nonn public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Read properties and relationships of the windowsPhone81CompliancePolicy object. + * Read properties and relationships of the deviceCompliancePolicy object. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/devicemanagement/deviceconfigurations/DeviceConfigurationsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/devicemanagement/deviceconfigurations/DeviceConfigurationsRequestBuilder.java index ea9c7d9d6fa..8c45180cef5 100644 --- a/src/main/java/com/microsoft/graph/generated/devicemanagement/deviceconfigurations/DeviceConfigurationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/devicemanagement/deviceconfigurations/DeviceConfigurationsRequestBuilder.java @@ -60,21 +60,21 @@ public DeviceConfigurationsRequestBuilder(@jakarta.annotation.Nonnull final Stri super(requestAdapter, "{+baseurl}/deviceManagement/deviceConfigurations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * List properties and relationships of the androidGeneralDeviceConfiguration objects. + * List properties and relationships of the windowsDefenderAdvancedThreatProtectionConfiguration objects. * @return a {@link DeviceConfigurationCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public DeviceConfigurationCollectionResponse get() { return get(null); } /** - * List properties and relationships of the androidGeneralDeviceConfiguration objects. + * List properties and relationships of the windowsDefenderAdvancedThreatProtectionConfiguration objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DeviceConfigurationCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public DeviceConfigurationCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -84,23 +84,23 @@ public DeviceConfigurationCollectionResponse get(@jakarta.annotation.Nullable fi return this.requestAdapter.send(requestInfo, errorMapping, DeviceConfigurationCollectionResponse::createFromDiscriminatorValue); } /** - * Create a new windows81GeneralConfiguration object. + * Create a new macOSDeviceFeaturesConfiguration object. * @param body The request body * @return a {@link DeviceConfiguration} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public DeviceConfiguration post(@jakarta.annotation.Nonnull final DeviceConfiguration body) { return post(body, null); } /** - * Create a new windows81GeneralConfiguration object. + * Create a new macOSDeviceFeaturesConfiguration object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DeviceConfiguration} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public DeviceConfiguration post(@jakarta.annotation.Nonnull final DeviceConfiguration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -111,7 +111,7 @@ public DeviceConfiguration post(@jakarta.annotation.Nonnull final DeviceConfigur return this.requestAdapter.send(requestInfo, errorMapping, DeviceConfiguration::createFromDiscriminatorValue); } /** - * List properties and relationships of the androidGeneralDeviceConfiguration objects. + * List properties and relationships of the windowsDefenderAdvancedThreatProtectionConfiguration objects. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -119,7 +119,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * List properties and relationships of the androidGeneralDeviceConfiguration objects. + * List properties and relationships of the windowsDefenderAdvancedThreatProtectionConfiguration objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -131,7 +131,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Create a new windows81GeneralConfiguration object. + * Create a new macOSDeviceFeaturesConfiguration object. * @param body The request body * @return a {@link RequestInformation} */ @@ -140,7 +140,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f return toPostRequestInformation(body, null); } /** - * Create a new windows81GeneralConfiguration object. + * Create a new macOSDeviceFeaturesConfiguration object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} @@ -165,7 +165,7 @@ public DeviceConfigurationsRequestBuilder withUrl(@jakarta.annotation.Nonnull fi return new DeviceConfigurationsRequestBuilder(rawUrl, requestAdapter); } /** - * List properties and relationships of the androidGeneralDeviceConfiguration objects. + * List properties and relationships of the windowsDefenderAdvancedThreatProtectionConfiguration objects. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/devicemanagement/deviceconfigurations/item/DeviceConfigurationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/devicemanagement/deviceconfigurations/item/DeviceConfigurationItemRequestBuilder.java index 0a25c30e253..cd9986a77b2 100644 --- a/src/main/java/com/microsoft/graph/generated/devicemanagement/deviceconfigurations/item/DeviceConfigurationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/devicemanagement/deviceconfigurations/item/DeviceConfigurationItemRequestBuilder.java @@ -101,18 +101,18 @@ public DeviceConfigurationItemRequestBuilder(@jakarta.annotation.Nonnull final S super(requestAdapter, "{+baseurl}/deviceManagement/deviceConfigurations/{deviceConfiguration%2Did}{?%24expand,%24select}", rawUrl); } /** - * Deletes a iosDeviceFeaturesConfiguration. + * Deletes a iosUpdateConfiguration. * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ public void delete() { delete(null); } /** - * Deletes a iosDeviceFeaturesConfiguration. + * Deletes a iosUpdateConfiguration. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); @@ -121,21 +121,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Read properties and relationships of the androidCustomConfiguration object. + * Read properties and relationships of the editionUpgradeConfiguration object. * @return a {@link DeviceConfiguration} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public DeviceConfiguration get() { return get(null); } /** - * Read properties and relationships of the androidCustomConfiguration object. + * Read properties and relationships of the editionUpgradeConfiguration object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DeviceConfiguration} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public DeviceConfiguration get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -155,23 +155,23 @@ public GetOmaSettingPlainTextValueWithSecretReferenceValueIdRequestBuilder getOm return new GetOmaSettingPlainTextValueWithSecretReferenceValueIdRequestBuilder(pathParameters, requestAdapter, secretReferenceValueId); } /** - * Update the properties of a windows10SecureAssessmentConfiguration object. + * Update the properties of a editionUpgradeConfiguration object. * @param body The request body * @return a {@link DeviceConfiguration} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public DeviceConfiguration patch(@jakarta.annotation.Nonnull final DeviceConfiguration body) { return patch(body, null); } /** - * Update the properties of a windows10SecureAssessmentConfiguration object. + * Update the properties of a editionUpgradeConfiguration object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DeviceConfiguration} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public DeviceConfiguration patch(@jakarta.annotation.Nonnull final DeviceConfiguration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -182,7 +182,7 @@ public DeviceConfiguration patch(@jakarta.annotation.Nonnull final DeviceConfigu return this.requestAdapter.send(requestInfo, errorMapping, DeviceConfiguration::createFromDiscriminatorValue); } /** - * Deletes a iosDeviceFeaturesConfiguration. + * Deletes a iosUpdateConfiguration. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -190,7 +190,7 @@ public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } /** - * Deletes a iosDeviceFeaturesConfiguration. + * Deletes a iosUpdateConfiguration. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -202,7 +202,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * Read properties and relationships of the androidCustomConfiguration object. + * Read properties and relationships of the editionUpgradeConfiguration object. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -210,7 +210,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Read properties and relationships of the androidCustomConfiguration object. + * Read properties and relationships of the editionUpgradeConfiguration object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -222,7 +222,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Update the properties of a windows10SecureAssessmentConfiguration object. + * Update the properties of a editionUpgradeConfiguration object. * @param body The request body * @return a {@link RequestInformation} */ @@ -231,7 +231,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull return toPatchRequestInformation(body, null); } /** - * Update the properties of a windows10SecureAssessmentConfiguration object. + * Update the properties of a editionUpgradeConfiguration object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} @@ -262,7 +262,7 @@ public DeviceConfigurationItemRequestBuilder withUrl(@jakarta.annotation.Nonnull public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Read properties and relationships of the androidCustomConfiguration object. + * Read properties and relationships of the editionUpgradeConfiguration object. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/devicemanagement/deviceenrollmentconfigurations/DeviceEnrollmentConfigurationsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/devicemanagement/deviceenrollmentconfigurations/DeviceEnrollmentConfigurationsRequestBuilder.java index f0fe9a2ad33..dde648dce0e 100644 --- a/src/main/java/com/microsoft/graph/generated/devicemanagement/deviceenrollmentconfigurations/DeviceEnrollmentConfigurationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/devicemanagement/deviceenrollmentconfigurations/DeviceEnrollmentConfigurationsRequestBuilder.java @@ -84,23 +84,23 @@ public DeviceEnrollmentConfigurationCollectionResponse get(@jakarta.annotation.N return this.requestAdapter.send(requestInfo, errorMapping, DeviceEnrollmentConfigurationCollectionResponse::createFromDiscriminatorValue); } /** - * Create a new deviceEnrollmentPlatformRestrictionsConfiguration object. + * Create a new deviceEnrollmentLimitConfiguration object. * @param body The request body * @return a {@link DeviceEnrollmentConfiguration} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public DeviceEnrollmentConfiguration post(@jakarta.annotation.Nonnull final DeviceEnrollmentConfiguration body) { return post(body, null); } /** - * Create a new deviceEnrollmentPlatformRestrictionsConfiguration object. + * Create a new deviceEnrollmentLimitConfiguration object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DeviceEnrollmentConfiguration} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public DeviceEnrollmentConfiguration post(@jakarta.annotation.Nonnull final DeviceEnrollmentConfiguration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -131,7 +131,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Create a new deviceEnrollmentPlatformRestrictionsConfiguration object. + * Create a new deviceEnrollmentLimitConfiguration object. * @param body The request body * @return a {@link RequestInformation} */ @@ -140,7 +140,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f return toPostRequestInformation(body, null); } /** - * Create a new deviceEnrollmentPlatformRestrictionsConfiguration object. + * Create a new deviceEnrollmentLimitConfiguration object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} diff --git a/src/main/java/com/microsoft/graph/generated/devicemanagement/deviceenrollmentconfigurations/item/DeviceEnrollmentConfigurationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/devicemanagement/deviceenrollmentconfigurations/item/DeviceEnrollmentConfigurationItemRequestBuilder.java index 214b2b2f78e..d2a2ce81ad9 100644 --- a/src/main/java/com/microsoft/graph/generated/devicemanagement/deviceenrollmentconfigurations/item/DeviceEnrollmentConfigurationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/devicemanagement/deviceenrollmentconfigurations/item/DeviceEnrollmentConfigurationItemRequestBuilder.java @@ -64,18 +64,18 @@ public DeviceEnrollmentConfigurationItemRequestBuilder(@jakarta.annotation.Nonnu super(requestAdapter, "{+baseurl}/deviceManagement/deviceEnrollmentConfigurations/{deviceEnrollmentConfiguration%2Did}{?%24expand,%24select}", rawUrl); } /** - * Deletes a deviceEnrollmentLimitConfiguration. + * Deletes a deviceEnrollmentWindowsHelloForBusinessConfiguration. * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ public void delete() { delete(null); } /** - * Deletes a deviceEnrollmentLimitConfiguration. + * Deletes a deviceEnrollmentWindowsHelloForBusinessConfiguration. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); @@ -84,21 +84,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Read properties and relationships of the deviceEnrollmentLimitConfiguration object. + * Read properties and relationships of the deviceEnrollmentConfiguration object. * @return a {@link DeviceEnrollmentConfiguration} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public DeviceEnrollmentConfiguration get() { return get(null); } /** - * Read properties and relationships of the deviceEnrollmentLimitConfiguration object. + * Read properties and relationships of the deviceEnrollmentConfiguration object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DeviceEnrollmentConfiguration} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public DeviceEnrollmentConfiguration get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -108,23 +108,23 @@ public DeviceEnrollmentConfiguration get(@jakarta.annotation.Nullable final java return this.requestAdapter.send(requestInfo, errorMapping, DeviceEnrollmentConfiguration::createFromDiscriminatorValue); } /** - * Update the properties of a deviceEnrollmentLimitConfiguration object. + * Update the properties of a deviceEnrollmentPlatformRestrictionsConfiguration object. * @param body The request body * @return a {@link DeviceEnrollmentConfiguration} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public DeviceEnrollmentConfiguration patch(@jakarta.annotation.Nonnull final DeviceEnrollmentConfiguration body) { return patch(body, null); } /** - * Update the properties of a deviceEnrollmentLimitConfiguration object. + * Update the properties of a deviceEnrollmentPlatformRestrictionsConfiguration object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DeviceEnrollmentConfiguration} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public DeviceEnrollmentConfiguration patch(@jakarta.annotation.Nonnull final DeviceEnrollmentConfiguration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -135,7 +135,7 @@ public DeviceEnrollmentConfiguration patch(@jakarta.annotation.Nonnull final Dev return this.requestAdapter.send(requestInfo, errorMapping, DeviceEnrollmentConfiguration::createFromDiscriminatorValue); } /** - * Deletes a deviceEnrollmentLimitConfiguration. + * Deletes a deviceEnrollmentWindowsHelloForBusinessConfiguration. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -143,7 +143,7 @@ public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } /** - * Deletes a deviceEnrollmentLimitConfiguration. + * Deletes a deviceEnrollmentWindowsHelloForBusinessConfiguration. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -155,7 +155,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * Read properties and relationships of the deviceEnrollmentLimitConfiguration object. + * Read properties and relationships of the deviceEnrollmentConfiguration object. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -163,7 +163,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Read properties and relationships of the deviceEnrollmentLimitConfiguration object. + * Read properties and relationships of the deviceEnrollmentConfiguration object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -175,7 +175,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Update the properties of a deviceEnrollmentLimitConfiguration object. + * Update the properties of a deviceEnrollmentPlatformRestrictionsConfiguration object. * @param body The request body * @return a {@link RequestInformation} */ @@ -184,7 +184,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull return toPatchRequestInformation(body, null); } /** - * Update the properties of a deviceEnrollmentLimitConfiguration object. + * Update the properties of a deviceEnrollmentPlatformRestrictionsConfiguration object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} @@ -215,7 +215,7 @@ public DeviceEnrollmentConfigurationItemRequestBuilder withUrl(@jakarta.annotati public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Read properties and relationships of the deviceEnrollmentLimitConfiguration object. + * Read properties and relationships of the deviceEnrollmentConfiguration object. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/devicemanagement/roledefinitions/item/RoleDefinitionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/devicemanagement/roledefinitions/item/RoleDefinitionItemRequestBuilder.java index fc0fedac8ee..f7c9837f26c 100644 --- a/src/main/java/com/microsoft/graph/generated/devicemanagement/roledefinitions/item/RoleDefinitionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/devicemanagement/roledefinitions/item/RoleDefinitionItemRequestBuilder.java @@ -46,18 +46,18 @@ public RoleDefinitionItemRequestBuilder(@jakarta.annotation.Nonnull final String super(requestAdapter, "{+baseurl}/deviceManagement/roleDefinitions/{roleDefinition%2Did}{?%24expand,%24select}", rawUrl); } /** - * Deletes a deviceAndAppManagementRoleDefinition. + * Deletes a roleDefinition. * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ public void delete() { delete(null); } /** - * Deletes a deviceAndAppManagementRoleDefinition. + * Deletes a roleDefinition. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); @@ -66,21 +66,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Read properties and relationships of the roleDefinition object. + * Read properties and relationships of the deviceAndAppManagementRoleDefinition object. * @return a {@link RoleDefinition} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public RoleDefinition get() { return get(null); } /** - * Read properties and relationships of the roleDefinition object. + * Read properties and relationships of the deviceAndAppManagementRoleDefinition object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RoleDefinition} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public RoleDefinition get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -90,23 +90,23 @@ public RoleDefinition get(@jakarta.annotation.Nullable final java.util.function. return this.requestAdapter.send(requestInfo, errorMapping, RoleDefinition::createFromDiscriminatorValue); } /** - * Update the properties of a roleDefinition object. + * Update the properties of a deviceAndAppManagementRoleDefinition object. * @param body The request body * @return a {@link RoleDefinition} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public RoleDefinition patch(@jakarta.annotation.Nonnull final RoleDefinition body) { return patch(body, null); } /** - * Update the properties of a roleDefinition object. + * Update the properties of a deviceAndAppManagementRoleDefinition object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RoleDefinition} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public RoleDefinition patch(@jakarta.annotation.Nonnull final RoleDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -117,7 +117,7 @@ public RoleDefinition patch(@jakarta.annotation.Nonnull final RoleDefinition bod return this.requestAdapter.send(requestInfo, errorMapping, RoleDefinition::createFromDiscriminatorValue); } /** - * Deletes a deviceAndAppManagementRoleDefinition. + * Deletes a roleDefinition. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -125,7 +125,7 @@ public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } /** - * Deletes a deviceAndAppManagementRoleDefinition. + * Deletes a roleDefinition. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -137,7 +137,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * Read properties and relationships of the roleDefinition object. + * Read properties and relationships of the deviceAndAppManagementRoleDefinition object. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -145,7 +145,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Read properties and relationships of the roleDefinition object. + * Read properties and relationships of the deviceAndAppManagementRoleDefinition object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -157,7 +157,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Update the properties of a roleDefinition object. + * Update the properties of a deviceAndAppManagementRoleDefinition object. * @param body The request body * @return a {@link RequestInformation} */ @@ -166,7 +166,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull return toPatchRequestInformation(body, null); } /** - * Update the properties of a roleDefinition object. + * Update the properties of a deviceAndAppManagementRoleDefinition object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} @@ -197,7 +197,7 @@ public RoleDefinitionItemRequestBuilder withUrl(@jakarta.annotation.Nonnull fina public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Read properties and relationships of the roleDefinition object. + * Read properties and relationships of the deviceAndAppManagementRoleDefinition object. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/drives/item/items/item/retentionlabel/RetentionLabelRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/drives/item/items/item/retentionlabel/RetentionLabelRequestBuilder.java index 195bf3fca2a..e2d7e4eef05 100644 --- a/src/main/java/com/microsoft/graph/generated/drives/item/items/item/retentionlabel/RetentionLabelRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/drives/item/items/item/retentionlabel/RetentionLabelRequestBuilder.java @@ -79,23 +79,23 @@ public ItemRetentionLabel get(@jakarta.annotation.Nullable final java.util.funct return this.requestAdapter.send(requestInfo, errorMapping, ItemRetentionLabel::createFromDiscriminatorValue); } /** - * 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. * @param body The request body * @return a {@link ItemRetentionLabel} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public ItemRetentionLabel patch(@jakarta.annotation.Nonnull final ItemRetentionLabel body) { return patch(body, null); } /** - * 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. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ItemRetentionLabel} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public ItemRetentionLabel patch(@jakarta.annotation.Nonnull final ItemRetentionLabel body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -146,7 +146,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * 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. * @param body The request body * @return a {@link RequestInformation} */ @@ -155,7 +155,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull return toPatchRequestInformation(body, null); } /** - * 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. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} diff --git a/src/main/java/com/microsoft/graph/generated/drives/item/items/item/workbook/names/item/range/RangeRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/drives/item/items/item/workbook/names/item/range/RangeRequestBuilder.java index 297901df23d..b89bc72565a 100644 --- a/src/main/java/com/microsoft/graph/generated/drives/item/items/item/workbook/names/item/range/RangeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/drives/item/items/item/workbook/names/item/range/RangeRequestBuilder.java @@ -271,21 +271,21 @@ public RangeRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak super(requestAdapter, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/names/{workbookNamedItem%2Did}/range()", rawUrl); } /** - * 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. * @return a {@link WorkbookRange} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public WorkbookRange get() { return get(null); } /** - * 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. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link WorkbookRange} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public WorkbookRange get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -359,7 +359,7 @@ public RowWithRowRequestBuilder rowWithRow(@jakarta.annotation.Nonnull final Int return new 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. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -367,7 +367,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * 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. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ diff --git a/src/main/java/com/microsoft/graph/generated/drives/item/items/item/workbook/worksheets/item/names/item/range/RangeRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/drives/item/items/item/workbook/worksheets/item/names/item/range/RangeRequestBuilder.java index eefea7e6b5f..5530463e263 100644 --- a/src/main/java/com/microsoft/graph/generated/drives/item/items/item/workbook/worksheets/item/names/item/range/RangeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/drives/item/items/item/workbook/worksheets/item/names/item/range/RangeRequestBuilder.java @@ -271,21 +271,21 @@ public RangeRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak super(requestAdapter, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/names/{workbookNamedItem%2Did}/range()", rawUrl); } /** - * 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. * @return a {@link WorkbookRange} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public WorkbookRange get() { return get(null); } /** - * 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. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link WorkbookRange} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public WorkbookRange get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -359,7 +359,7 @@ public RowWithRowRequestBuilder rowWithRow(@jakarta.annotation.Nonnull final Int return new 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. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -367,7 +367,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * 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. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ diff --git a/src/main/java/com/microsoft/graph/generated/grouplifecyclepolicies/GroupLifecyclePoliciesRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/grouplifecyclepolicies/GroupLifecyclePoliciesRequestBuilder.java index 2832542cb48..815a325c319 100644 --- a/src/main/java/com/microsoft/graph/generated/grouplifecyclepolicies/GroupLifecyclePoliciesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/grouplifecyclepolicies/GroupLifecyclePoliciesRequestBuilder.java @@ -84,7 +84,7 @@ public GroupLifecyclePolicyCollectionResponse get(@jakarta.annotation.Nullable f return this.requestAdapter.send(requestInfo, errorMapping, GroupLifecyclePolicyCollectionResponse::createFromDiscriminatorValue); } /** - * Creates a new groupLifecyclePolicy. + * Creates a new groupLifecyclePolicy. Only one policy exists in the tenant. * @param body The request body * @return a {@link GroupLifecyclePolicy} * @throws ODataError When receiving a 4XX or 5XX status code @@ -95,7 +95,7 @@ public GroupLifecyclePolicy post(@jakarta.annotation.Nonnull final GroupLifecycl return post(body, null); } /** - * Creates a new groupLifecyclePolicy. + * Creates a new groupLifecyclePolicy. Only one policy exists in the tenant. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GroupLifecyclePolicy} @@ -131,7 +131,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Creates a new groupLifecyclePolicy. + * Creates a new groupLifecyclePolicy. Only one policy exists in the tenant. * @param body The request body * @return a {@link RequestInformation} */ @@ -140,7 +140,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f return toPostRequestInformation(body, null); } /** - * Creates a new groupLifecyclePolicy. + * Creates a new groupLifecyclePolicy. Only one policy exists in the tenant. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} diff --git a/src/main/java/com/microsoft/graph/generated/grouplifecyclepolicies/item/addgroup/AddGroupRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/grouplifecyclepolicies/item/addgroup/AddGroupRequestBuilder.java index 9a910f09a5f..25d1a498830 100644 --- a/src/main/java/com/microsoft/graph/generated/grouplifecyclepolicies/item/addgroup/AddGroupRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/grouplifecyclepolicies/item/addgroup/AddGroupRequestBuilder.java @@ -35,7 +35,7 @@ public AddGroupRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ super(requestAdapter, "{+baseurl}/groupLifecyclePolicies/{groupLifecyclePolicy%2Did}/addGroup", rawUrl); } /** - * 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. * @param body The request body * @return a {@link AddGroupPostResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -46,7 +46,7 @@ public AddGroupPostResponse post(@jakarta.annotation.Nonnull final AddGroupPostR return post(body, null); } /** - * 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. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AddGroupPostResponse} @@ -62,7 +62,7 @@ public AddGroupPostResponse post(@jakarta.annotation.Nonnull final AddGroupPostR return this.requestAdapter.send(requestInfo, errorMapping, AddGroupPostResponse::createFromDiscriminatorValue); } /** - * 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. * @param body The request body * @return a {@link RequestInformation} */ @@ -71,7 +71,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f return toPostRequestInformation(body, null); } /** - * 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. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} diff --git a/src/main/java/com/microsoft/graph/generated/groups/item/conversations/item/ConversationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/groups/item/conversations/item/ConversationItemRequestBuilder.java index 2b3c2a2127d..e829bcb59ec 100644 --- a/src/main/java/com/microsoft/graph/generated/groups/item/conversations/item/ConversationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/groups/item/conversations/item/ConversationItemRequestBuilder.java @@ -48,7 +48,7 @@ public ConversationItemRequestBuilder(@jakarta.annotation.Nonnull final String r /** * Delete conversation. * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ public void delete() { delete(null); @@ -57,7 +57,7 @@ public void delete() { * Delete conversation. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); @@ -66,21 +66,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * The group's conversations. + * Retrieve the properties and relationships of conversation object. * @return a {@link Conversation} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public Conversation get() { return get(null); } /** - * The group's conversations. + * Retrieve the properties and relationships of conversation object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Conversation} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public Conversation get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -110,7 +110,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * The group's conversations. + * Retrieve the properties and relationships of conversation object. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -118,7 +118,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * The group's conversations. + * Retrieve the properties and relationships of conversation object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -146,7 +146,7 @@ public ConversationItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * The group's conversations. + * Retrieve the properties and relationships of conversation object. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/groups/item/grouplifecyclepolicies/item/addgroup/AddGroupRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/groups/item/grouplifecyclepolicies/item/addgroup/AddGroupRequestBuilder.java index 51574021113..6620886b341 100644 --- a/src/main/java/com/microsoft/graph/generated/groups/item/grouplifecyclepolicies/item/addgroup/AddGroupRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/groups/item/grouplifecyclepolicies/item/addgroup/AddGroupRequestBuilder.java @@ -35,7 +35,7 @@ public AddGroupRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ super(requestAdapter, "{+baseurl}/groups/{group%2Did}/groupLifecyclePolicies/{groupLifecyclePolicy%2Did}/addGroup", rawUrl); } /** - * 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. * @param body The request body * @return a {@link AddGroupPostResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -46,7 +46,7 @@ public AddGroupPostResponse post(@jakarta.annotation.Nonnull final AddGroupPostR return post(body, null); } /** - * 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. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AddGroupPostResponse} @@ -62,7 +62,7 @@ public AddGroupPostResponse post(@jakarta.annotation.Nonnull final AddGroupPostR return this.requestAdapter.send(requestInfo, errorMapping, AddGroupPostResponse::createFromDiscriminatorValue); } /** - * 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. * @param body The request body * @return a {@link RequestInformation} */ @@ -71,7 +71,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f return toPostRequestInformation(body, null); } /** - * 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. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} diff --git a/src/main/java/com/microsoft/graph/generated/groups/item/team/channels/item/members/MembersRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/groups/item/team/channels/item/members/MembersRequestBuilder.java index cb3f9c9c432..0bfdab697f2 100644 --- a/src/main/java/com/microsoft/graph/generated/groups/item/team/channels/item/members/MembersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/groups/item/team/channels/item/members/MembersRequestBuilder.java @@ -3,6 +3,7 @@ import com.microsoft.graph.groups.item.team.channels.item.members.add.AddRequestBuilder; import com.microsoft.graph.groups.item.team.channels.item.members.count.CountRequestBuilder; import com.microsoft.graph.groups.item.team.channels.item.members.item.ConversationMemberItemRequestBuilder; +import com.microsoft.graph.groups.item.team.channels.item.members.remove.RemoveRequestBuilder; import com.microsoft.graph.models.ConversationMember; import com.microsoft.graph.models.ConversationMemberCollectionResponse; import com.microsoft.graph.models.odataerrors.ODataError; @@ -40,6 +41,14 @@ public AddRequestBuilder add() { public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the remove method. + * @return a {@link RemoveRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RemoveRequestBuilder remove() { + return new RemoveRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the members property of the microsoft.graph.channel entity. * @param conversationMemberId The unique identifier of conversationMember diff --git a/src/main/java/com/microsoft/graph/generated/groups/item/team/channels/item/members/remove/RemovePostRequestBody.java b/src/main/java/com/microsoft/graph/generated/groups/item/team/channels/item/members/remove/RemovePostRequestBody.java new file mode 100644 index 00000000000..a3f729df9b3 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/groups/item/team/channels/item/members/remove/RemovePostRequestBody.java @@ -0,0 +1,108 @@ +package com.microsoft.graph.groups.item.team.channels.item.members.remove; + +import com.microsoft.graph.models.ConversationMember; +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RemovePostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link RemovePostRequestBody} and sets the default values. + */ + public RemovePostRequestBody() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link RemovePostRequestBody} + */ + @jakarta.annotation.Nonnull + public static RemovePostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new RemovePostRequestBody(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(1); + deserializerMap.put("values", (n) -> { this.setValues(n.getCollectionOfObjectValues(ConversationMember::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the values property value. The values property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getValues() { + return this.backingStore.get("values"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeCollectionOfObjectValues("values", this.getValues()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the values property value. The values property + * @param value Value to set for the values property. + */ + public void setValues(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("values", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/groups/item/team/channels/item/members/remove/RemovePostResponse.java b/src/main/java/com/microsoft/graph/generated/groups/item/team/channels/item/members/remove/RemovePostResponse.java new file mode 100644 index 00000000000..2c60fe2ecd1 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/groups/item/team/channels/item/members/remove/RemovePostResponse.java @@ -0,0 +1,63 @@ +package com.microsoft.graph.groups.item.team.channels.item.members.remove; + +import com.microsoft.graph.models.ActionResultPart; +import com.microsoft.graph.models.BaseCollectionPaginationCountResponse; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RemovePostResponse extends BaseCollectionPaginationCountResponse implements Parsable { + /** + * Instantiates a new {@link RemovePostResponse} and sets the default values. + */ + public RemovePostResponse() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link RemovePostResponse} + */ + @jakarta.annotation.Nonnull + public static RemovePostResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new RemovePostResponse(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("value", (n) -> { this.setValue(n.getCollectionOfObjectValues(ActionResultPart::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the value property value. The value property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getValue() { + return this.backingStore.get("value"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeCollectionOfObjectValues("value", this.getValue()); + } + /** + * Sets the value property value. The value property + * @param value Value to set for the value property. + */ + public void setValue(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("value", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/groups/item/team/channels/item/members/remove/RemoveRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/groups/item/team/channels/item/members/remove/RemoveRequestBuilder.java new file mode 100644 index 00000000000..a4a1e82345a --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/groups/item/team/channels/item/members/remove/RemoveRequestBuilder.java @@ -0,0 +1,104 @@ +package com.microsoft.graph.groups.item.team.channels.item.members.remove; + +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to call the remove method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RemoveRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link RemoveRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RemoveRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/members/remove", pathParameters); + } + /** + * Instantiates a new {@link RemoveRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RemoveRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(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. + * @param body The request body + * @return a {@link RemovePostResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public RemovePostResponse post(@jakarta.annotation.Nonnull final RemovePostRequestBody body) { + return post(body, null); + } + /** + * Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RemovePostResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public RemovePostResponse post(@jakarta.annotation.Nonnull final RemovePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, RemovePostResponse::createFromDiscriminatorValue); + } + /** + * Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RemovePostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RemovePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link RemoveRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RemoveRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new RemoveRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/generated/groups/item/team/members/MembersRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/groups/item/team/members/MembersRequestBuilder.java index 7101c379b85..4770428136b 100644 --- a/src/main/java/com/microsoft/graph/generated/groups/item/team/members/MembersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/groups/item/team/members/MembersRequestBuilder.java @@ -3,6 +3,7 @@ import com.microsoft.graph.groups.item.team.members.add.AddRequestBuilder; import com.microsoft.graph.groups.item.team.members.count.CountRequestBuilder; import com.microsoft.graph.groups.item.team.members.item.ConversationMemberItemRequestBuilder; +import com.microsoft.graph.groups.item.team.members.remove.RemoveRequestBuilder; import com.microsoft.graph.models.ConversationMember; import com.microsoft.graph.models.ConversationMemberCollectionResponse; import com.microsoft.graph.models.odataerrors.ODataError; @@ -40,6 +41,14 @@ public AddRequestBuilder add() { public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the remove method. + * @return a {@link RemoveRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RemoveRequestBuilder remove() { + return new RemoveRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the members property of the microsoft.graph.team entity. * @param conversationMemberId The unique identifier of conversationMember diff --git a/src/main/java/com/microsoft/graph/generated/groups/item/team/members/remove/RemovePostRequestBody.java b/src/main/java/com/microsoft/graph/generated/groups/item/team/members/remove/RemovePostRequestBody.java new file mode 100644 index 00000000000..4d168f299a7 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/groups/item/team/members/remove/RemovePostRequestBody.java @@ -0,0 +1,108 @@ +package com.microsoft.graph.groups.item.team.members.remove; + +import com.microsoft.graph.models.ConversationMember; +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RemovePostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link RemovePostRequestBody} and sets the default values. + */ + public RemovePostRequestBody() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link RemovePostRequestBody} + */ + @jakarta.annotation.Nonnull + public static RemovePostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new RemovePostRequestBody(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(1); + deserializerMap.put("values", (n) -> { this.setValues(n.getCollectionOfObjectValues(ConversationMember::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the values property value. The values property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getValues() { + return this.backingStore.get("values"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeCollectionOfObjectValues("values", this.getValues()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the values property value. The values property + * @param value Value to set for the values property. + */ + public void setValues(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("values", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/groups/item/team/members/remove/RemovePostResponse.java b/src/main/java/com/microsoft/graph/generated/groups/item/team/members/remove/RemovePostResponse.java new file mode 100644 index 00000000000..24d6deca51b --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/groups/item/team/members/remove/RemovePostResponse.java @@ -0,0 +1,63 @@ +package com.microsoft.graph.groups.item.team.members.remove; + +import com.microsoft.graph.models.ActionResultPart; +import com.microsoft.graph.models.BaseCollectionPaginationCountResponse; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RemovePostResponse extends BaseCollectionPaginationCountResponse implements Parsable { + /** + * Instantiates a new {@link RemovePostResponse} and sets the default values. + */ + public RemovePostResponse() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link RemovePostResponse} + */ + @jakarta.annotation.Nonnull + public static RemovePostResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new RemovePostResponse(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("value", (n) -> { this.setValue(n.getCollectionOfObjectValues(ActionResultPart::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the value property value. The value property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getValue() { + return this.backingStore.get("value"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeCollectionOfObjectValues("value", this.getValue()); + } + /** + * Sets the value property value. The value property + * @param value Value to set for the value property. + */ + public void setValue(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("value", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/groups/item/team/members/remove/RemoveRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/groups/item/team/members/remove/RemoveRequestBuilder.java new file mode 100644 index 00000000000..934305880e6 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/groups/item/team/members/remove/RemoveRequestBuilder.java @@ -0,0 +1,104 @@ +package com.microsoft.graph.groups.item.team.members.remove; + +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to call the remove method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RemoveRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link RemoveRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RemoveRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/members/remove", pathParameters); + } + /** + * Instantiates a new {@link RemoveRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RemoveRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(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. + * @param body The request body + * @return a {@link RemovePostResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public RemovePostResponse post(@jakarta.annotation.Nonnull final RemovePostRequestBody body) { + return post(body, null); + } + /** + * Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RemovePostResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public RemovePostResponse post(@jakarta.annotation.Nonnull final RemovePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, RemovePostResponse::createFromDiscriminatorValue); + } + /** + * Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RemovePostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RemovePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link RemoveRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RemoveRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new RemoveRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/generated/groups/item/team/primarychannel/members/MembersRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/groups/item/team/primarychannel/members/MembersRequestBuilder.java index c00ccb0e472..447faaf00ae 100644 --- a/src/main/java/com/microsoft/graph/generated/groups/item/team/primarychannel/members/MembersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/groups/item/team/primarychannel/members/MembersRequestBuilder.java @@ -3,6 +3,7 @@ import com.microsoft.graph.groups.item.team.primarychannel.members.add.AddRequestBuilder; import com.microsoft.graph.groups.item.team.primarychannel.members.count.CountRequestBuilder; import com.microsoft.graph.groups.item.team.primarychannel.members.item.ConversationMemberItemRequestBuilder; +import com.microsoft.graph.groups.item.team.primarychannel.members.remove.RemoveRequestBuilder; import com.microsoft.graph.models.ConversationMember; import com.microsoft.graph.models.ConversationMemberCollectionResponse; import com.microsoft.graph.models.odataerrors.ODataError; @@ -40,6 +41,14 @@ public AddRequestBuilder add() { public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the remove method. + * @return a {@link RemoveRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RemoveRequestBuilder remove() { + return new RemoveRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the members property of the microsoft.graph.channel entity. * @param conversationMemberId The unique identifier of conversationMember diff --git a/src/main/java/com/microsoft/graph/generated/groups/item/team/primarychannel/members/remove/RemovePostRequestBody.java b/src/main/java/com/microsoft/graph/generated/groups/item/team/primarychannel/members/remove/RemovePostRequestBody.java new file mode 100644 index 00000000000..f4502cf0c85 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/groups/item/team/primarychannel/members/remove/RemovePostRequestBody.java @@ -0,0 +1,108 @@ +package com.microsoft.graph.groups.item.team.primarychannel.members.remove; + +import com.microsoft.graph.models.ConversationMember; +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RemovePostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link RemovePostRequestBody} and sets the default values. + */ + public RemovePostRequestBody() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link RemovePostRequestBody} + */ + @jakarta.annotation.Nonnull + public static RemovePostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new RemovePostRequestBody(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(1); + deserializerMap.put("values", (n) -> { this.setValues(n.getCollectionOfObjectValues(ConversationMember::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the values property value. The values property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getValues() { + return this.backingStore.get("values"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeCollectionOfObjectValues("values", this.getValues()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the values property value. The values property + * @param value Value to set for the values property. + */ + public void setValues(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("values", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/groups/item/team/primarychannel/members/remove/RemovePostResponse.java b/src/main/java/com/microsoft/graph/generated/groups/item/team/primarychannel/members/remove/RemovePostResponse.java new file mode 100644 index 00000000000..09f682c6934 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/groups/item/team/primarychannel/members/remove/RemovePostResponse.java @@ -0,0 +1,63 @@ +package com.microsoft.graph.groups.item.team.primarychannel.members.remove; + +import com.microsoft.graph.models.ActionResultPart; +import com.microsoft.graph.models.BaseCollectionPaginationCountResponse; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RemovePostResponse extends BaseCollectionPaginationCountResponse implements Parsable { + /** + * Instantiates a new {@link RemovePostResponse} and sets the default values. + */ + public RemovePostResponse() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link RemovePostResponse} + */ + @jakarta.annotation.Nonnull + public static RemovePostResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new RemovePostResponse(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("value", (n) -> { this.setValue(n.getCollectionOfObjectValues(ActionResultPart::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the value property value. The value property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getValue() { + return this.backingStore.get("value"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeCollectionOfObjectValues("value", this.getValue()); + } + /** + * Sets the value property value. The value property + * @param value Value to set for the value property. + */ + public void setValue(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("value", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/groups/item/team/primarychannel/members/remove/RemoveRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/groups/item/team/primarychannel/members/remove/RemoveRequestBuilder.java new file mode 100644 index 00000000000..cf2a79056d2 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/groups/item/team/primarychannel/members/remove/RemoveRequestBuilder.java @@ -0,0 +1,104 @@ +package com.microsoft.graph.groups.item.team.primarychannel.members.remove; + +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to call the remove method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RemoveRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link RemoveRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RemoveRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/members/remove", pathParameters); + } + /** + * Instantiates a new {@link RemoveRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RemoveRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(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. + * @param body The request body + * @return a {@link RemovePostResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public RemovePostResponse post(@jakarta.annotation.Nonnull final RemovePostRequestBody body) { + return post(body, null); + } + /** + * Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RemovePostResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public RemovePostResponse post(@jakarta.annotation.Nonnull final RemovePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, RemovePostResponse::createFromDiscriminatorValue); + } + /** + * Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RemovePostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RemovePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link RemoveRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RemoveRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new RemoveRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/generated/groups/item/threads/item/ConversationThreadItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/groups/item/threads/item/ConversationThreadItemRequestBuilder.java index 600ad76e96f..0777c037e7b 100644 --- a/src/main/java/com/microsoft/graph/generated/groups/item/threads/item/ConversationThreadItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/groups/item/threads/item/ConversationThreadItemRequestBuilder.java @@ -57,7 +57,7 @@ public ConversationThreadItemRequestBuilder(@jakarta.annotation.Nonnull final St /** * Delete conversationThread. * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ public void delete() { delete(null); @@ -66,7 +66,7 @@ public void delete() { * Delete conversationThread. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); diff --git a/src/main/java/com/microsoft/graph/generated/identity/conditionalaccess/namedlocations/item/NamedLocationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identity/conditionalaccess/namedlocations/item/NamedLocationItemRequestBuilder.java index 4a9841dbddf..d06c9a2e245 100644 --- a/src/main/java/com/microsoft/graph/generated/identity/conditionalaccess/namedlocations/item/NamedLocationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/identity/conditionalaccess/namedlocations/item/NamedLocationItemRequestBuilder.java @@ -57,21 +57,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Retrieve the properties and relationships of an ipNamedLocation object. + * Retrieve the properties and relationships of a countryNamedLocation object. * @return a {@link NamedLocation} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public NamedLocation get() { return get(null); } /** - * Retrieve the properties and relationships of an ipNamedLocation object. + * Retrieve the properties and relationships of a countryNamedLocation object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link NamedLocation} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public NamedLocation get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -81,23 +81,23 @@ public NamedLocation get(@jakarta.annotation.Nullable final java.util.function.C return this.requestAdapter.send(requestInfo, errorMapping, NamedLocation::createFromDiscriminatorValue); } /** - * Update the properties of a countryNamedLocation object. + * Update the properties of an ipNamedLocation object. * @param body The request body * @return a {@link NamedLocation} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public NamedLocation patch(@jakarta.annotation.Nonnull final NamedLocation body) { return patch(body, null); } /** - * Update the properties of a countryNamedLocation object. + * Update the properties of an ipNamedLocation object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link NamedLocation} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public NamedLocation patch(@jakarta.annotation.Nonnull final NamedLocation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -128,7 +128,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * Retrieve the properties and relationships of an ipNamedLocation object. + * Retrieve the properties and relationships of a countryNamedLocation object. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -136,7 +136,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Retrieve the properties and relationships of an ipNamedLocation object. + * Retrieve the properties and relationships of a countryNamedLocation object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -148,7 +148,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Update the properties of a countryNamedLocation object. + * Update the properties of an ipNamedLocation object. * @param body The request body * @return a {@link RequestInformation} */ @@ -157,7 +157,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull return toPatchRequestInformation(body, null); } /** - * Update the properties of a countryNamedLocation object. + * Update the properties of an ipNamedLocation object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} @@ -188,7 +188,7 @@ public NamedLocationItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Retrieve the properties and relationships of an ipNamedLocation object. + * Retrieve the properties and relationships of a countryNamedLocation object. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/identitygovernance/entitlementmanagement/accesspackages/item/AccessPackageItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/entitlementmanagement/accesspackages/item/AccessPackageItemRequestBuilder.java index b6e2b442d8a..354cb549225 100644 --- a/src/main/java/com/microsoft/graph/generated/identitygovernance/entitlementmanagement/accesspackages/item/AccessPackageItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/entitlementmanagement/accesspackages/item/AccessPackageItemRequestBuilder.java @@ -120,21 +120,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * 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. * @return a {@link AccessPackage} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public AccessPackage get() { return get(null); } /** - * 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. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AccessPackage} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public AccessPackage get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -191,7 +191,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * 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. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -199,7 +199,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * 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. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -251,7 +251,7 @@ public AccessPackageItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * 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. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/identitygovernance/entitlementmanagement/catalogs/item/customworkflowextensions/item/CustomCalloutExtensionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/entitlementmanagement/catalogs/item/customworkflowextensions/item/CustomCalloutExtensionItemRequestBuilder.java index 0adeac9c19c..4979d88e543 100644 --- a/src/main/java/com/microsoft/graph/generated/identitygovernance/entitlementmanagement/catalogs/item/customworkflowextensions/item/CustomCalloutExtensionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/entitlementmanagement/catalogs/item/customworkflowextensions/item/CustomCalloutExtensionItemRequestBuilder.java @@ -37,18 +37,18 @@ public CustomCalloutExtensionItemRequestBuilder(@jakarta.annotation.Nonnull fina super(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/catalogs/{accessPackageCatalog%2Did}/customWorkflowExtensions/{customCalloutExtension%2Did}{?%24expand,%24select}", rawUrl); } /** - * 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: * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ public void delete() { delete(null); } /** - * 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: * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); @@ -57,21 +57,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. + * Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. * @return a {@link CustomCalloutExtension} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public CustomCalloutExtension get() { return get(null); } /** - * Read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. + * Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomCalloutExtension} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public CustomCalloutExtension get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -81,23 +81,23 @@ public CustomCalloutExtension get(@jakarta.annotation.Nullable final java.util.f return this.requestAdapter.send(requestInfo, errorMapping, CustomCalloutExtension::createFromDiscriminatorValue); } /** - * Update the properties of an accessPackageAssignmentRequestWorkflowExtension object. + * Update the properties of an accessPackageAssignmentWorkflowExtension object. * @param body The request body * @return a {@link CustomCalloutExtension} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public CustomCalloutExtension patch(@jakarta.annotation.Nonnull final CustomCalloutExtension body) { return patch(body, null); } /** - * Update the properties of an accessPackageAssignmentRequestWorkflowExtension object. + * Update the properties of an accessPackageAssignmentWorkflowExtension object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomCalloutExtension} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public CustomCalloutExtension patch(@jakarta.annotation.Nonnull final CustomCalloutExtension body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -108,7 +108,7 @@ public CustomCalloutExtension patch(@jakarta.annotation.Nonnull final CustomCall return this.requestAdapter.send(requestInfo, errorMapping, CustomCalloutExtension::createFromDiscriminatorValue); } /** - * 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: * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -116,7 +116,7 @@ public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } /** - * 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: * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -128,7 +128,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * Read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. + * Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -136,7 +136,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. + * Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -148,7 +148,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Update the properties of an accessPackageAssignmentRequestWorkflowExtension object. + * Update the properties of an accessPackageAssignmentWorkflowExtension object. * @param body The request body * @return a {@link RequestInformation} */ @@ -157,7 +157,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull return toPatchRequestInformation(body, null); } /** - * Update the properties of an accessPackageAssignmentRequestWorkflowExtension object. + * Update the properties of an accessPackageAssignmentWorkflowExtension object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} @@ -188,7 +188,7 @@ public CustomCalloutExtensionItemRequestBuilder withUrl(@jakarta.annotation.Nonn public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. + * Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/identitygovernance/termsofuse/agreements/item/AgreementItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/termsofuse/agreements/item/AgreementItemRequestBuilder.java index bbfee33be6c..900e65ca210 100644 --- a/src/main/java/com/microsoft/graph/generated/identitygovernance/termsofuse/agreements/item/AgreementItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/termsofuse/agreements/item/AgreementItemRequestBuilder.java @@ -84,21 +84,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * 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. * @return a {@link Agreement} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public Agreement get() { return get(null); } /** - * 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. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Agreement} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public Agreement get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -155,7 +155,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * 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. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -163,7 +163,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * 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. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -215,7 +215,7 @@ public AgreementItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final Str public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * 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. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/kiota-dom-export.txt b/src/main/java/com/microsoft/graph/generated/kiota-dom-export.txt index 783aed57ef4..eb3b3131478 100644 --- a/src/main/java/com/microsoft/graph/generated/kiota-dom-export.txt +++ b/src/main/java/com/microsoft/graph/generated/kiota-dom-export.txt @@ -4821,11 +4821,40 @@ com.microsoft.graph.chats.item.members.MembersRequestBuilder::|public|get():Conv com.microsoft.graph.chats.item.members.MembersRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):ConversationMemberCollectionResponse com.microsoft.graph.chats.item.members.MembersRequestBuilder::|public|post(body:ConversationMember):ConversationMember com.microsoft.graph.chats.item.members.MembersRequestBuilder::|public|post(body:ConversationMember; requestConfiguration?:java.util.function.Consumer):ConversationMember +com.microsoft.graph.chats.item.members.MembersRequestBuilder::|public|remove:RemoveRequestBuilder com.microsoft.graph.chats.item.members.MembersRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.chats.item.members.MembersRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.chats.item.members.MembersRequestBuilder::|public|toPostRequestInformation(body:ConversationMember):RequestInformation com.microsoft.graph.chats.item.members.MembersRequestBuilder::|public|toPostRequestInformation(body:ConversationMember; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.chats.item.members.MembersRequestBuilder::|public|withUrl(rawUrl:String):MembersRequestBuilder +com.microsoft.graph.chats.item.members.remove.RemovePostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.chats.item.members.remove.RemovePostRequestBody::|public|constructor():void +com.microsoft.graph.chats.item.members.remove.RemovePostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.chats.item.members.remove.RemovePostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.chats.item.members.remove.RemovePostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.chats.item.members.remove.RemovePostRequestBody::|public|getValues():java.util.List +com.microsoft.graph.chats.item.members.remove.RemovePostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.chats.item.members.remove.RemovePostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.chats.item.members.remove.RemovePostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.chats.item.members.remove.RemovePostRequestBody::|public|setValues(value?:java.util.List):void +com.microsoft.graph.chats.item.members.remove.RemovePostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RemovePostRequestBody +com.microsoft.graph.chats.item.members.remove.RemovePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.chats.item.members.remove.RemovePostResponse-->BaseCollectionPaginationCountResponse +com.microsoft.graph.chats.item.members.remove.RemovePostResponse::|public|constructor():void +com.microsoft.graph.chats.item.members.remove.RemovePostResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.chats.item.members.remove.RemovePostResponse::|public|getValue():java.util.List +com.microsoft.graph.chats.item.members.remove.RemovePostResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.chats.item.members.remove.RemovePostResponse::|public|setValue(value?:java.util.List):void +com.microsoft.graph.chats.item.members.remove.RemovePostResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RemovePostResponse +com.microsoft.graph.chats.item.members.remove.RemoveRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.chats.item.members.remove.RemoveRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.chats.item.members.remove.RemoveRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.chats.item.members.remove.RemoveRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.chats.item.members.remove.RemoveRequestBuilder::|public|post(body:RemovePostRequestBody):RemovePostResponse +com.microsoft.graph.chats.item.members.remove.RemoveRequestBuilder::|public|post(body:RemovePostRequestBody; requestConfiguration?:java.util.function.Consumer):RemovePostResponse +com.microsoft.graph.chats.item.members.remove.RemoveRequestBuilder::|public|toPostRequestInformation(body:RemovePostRequestBody):RequestInformation +com.microsoft.graph.chats.item.members.remove.RemoveRequestBuilder::|public|toPostRequestInformation(body:RemovePostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.chats.item.members.remove.RemoveRequestBuilder::|public|withUrl(rawUrl:String):RemoveRequestBuilder com.microsoft.graph.chats.item.messages.count.CountRequestBuilder-->BaseRequestBuilder com.microsoft.graph.chats.item.messages.count.CountRequestBuilder.GetQueryParameters::|public|filter:String com.microsoft.graph.chats.item.messages.count.CountRequestBuilder.GetQueryParameters::|public|search:String @@ -85520,11 +85549,40 @@ com.microsoft.graph.groups.item.team.channels.item.members.MembersRequestBuilder com.microsoft.graph.groups.item.team.channels.item.members.MembersRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):ConversationMemberCollectionResponse com.microsoft.graph.groups.item.team.channels.item.members.MembersRequestBuilder::|public|post(body:ConversationMember):ConversationMember com.microsoft.graph.groups.item.team.channels.item.members.MembersRequestBuilder::|public|post(body:ConversationMember; requestConfiguration?:java.util.function.Consumer):ConversationMember +com.microsoft.graph.groups.item.team.channels.item.members.MembersRequestBuilder::|public|remove:RemoveRequestBuilder com.microsoft.graph.groups.item.team.channels.item.members.MembersRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.groups.item.team.channels.item.members.MembersRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.groups.item.team.channels.item.members.MembersRequestBuilder::|public|toPostRequestInformation(body:ConversationMember):RequestInformation com.microsoft.graph.groups.item.team.channels.item.members.MembersRequestBuilder::|public|toPostRequestInformation(body:ConversationMember; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.groups.item.team.channels.item.members.MembersRequestBuilder::|public|withUrl(rawUrl:String):MembersRequestBuilder +com.microsoft.graph.groups.item.team.channels.item.members.remove.RemovePostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.groups.item.team.channels.item.members.remove.RemovePostRequestBody::|public|constructor():void +com.microsoft.graph.groups.item.team.channels.item.members.remove.RemovePostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.groups.item.team.channels.item.members.remove.RemovePostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.groups.item.team.channels.item.members.remove.RemovePostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.groups.item.team.channels.item.members.remove.RemovePostRequestBody::|public|getValues():java.util.List +com.microsoft.graph.groups.item.team.channels.item.members.remove.RemovePostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.groups.item.team.channels.item.members.remove.RemovePostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.groups.item.team.channels.item.members.remove.RemovePostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.groups.item.team.channels.item.members.remove.RemovePostRequestBody::|public|setValues(value?:java.util.List):void +com.microsoft.graph.groups.item.team.channels.item.members.remove.RemovePostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RemovePostRequestBody +com.microsoft.graph.groups.item.team.channels.item.members.remove.RemovePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.groups.item.team.channels.item.members.remove.RemovePostResponse-->BaseCollectionPaginationCountResponse +com.microsoft.graph.groups.item.team.channels.item.members.remove.RemovePostResponse::|public|constructor():void +com.microsoft.graph.groups.item.team.channels.item.members.remove.RemovePostResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.groups.item.team.channels.item.members.remove.RemovePostResponse::|public|getValue():java.util.List +com.microsoft.graph.groups.item.team.channels.item.members.remove.RemovePostResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.groups.item.team.channels.item.members.remove.RemovePostResponse::|public|setValue(value?:java.util.List):void +com.microsoft.graph.groups.item.team.channels.item.members.remove.RemovePostResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RemovePostResponse +com.microsoft.graph.groups.item.team.channels.item.members.remove.RemoveRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.groups.item.team.channels.item.members.remove.RemoveRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.groups.item.team.channels.item.members.remove.RemoveRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.groups.item.team.channels.item.members.remove.RemoveRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.groups.item.team.channels.item.members.remove.RemoveRequestBuilder::|public|post(body:RemovePostRequestBody):RemovePostResponse +com.microsoft.graph.groups.item.team.channels.item.members.remove.RemoveRequestBuilder::|public|post(body:RemovePostRequestBody; requestConfiguration?:java.util.function.Consumer):RemovePostResponse +com.microsoft.graph.groups.item.team.channels.item.members.remove.RemoveRequestBuilder::|public|toPostRequestInformation(body:RemovePostRequestBody):RequestInformation +com.microsoft.graph.groups.item.team.channels.item.members.remove.RemoveRequestBuilder::|public|toPostRequestInformation(body:RemovePostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.groups.item.team.channels.item.members.remove.RemoveRequestBuilder::|public|withUrl(rawUrl:String):RemoveRequestBuilder com.microsoft.graph.groups.item.team.channels.item.messages.count.CountRequestBuilder-->BaseRequestBuilder com.microsoft.graph.groups.item.team.channels.item.messages.count.CountRequestBuilder.GetQueryParameters::|public|filter:String com.microsoft.graph.groups.item.team.channels.item.messages.count.CountRequestBuilder.GetQueryParameters::|public|search:String @@ -86596,11 +86654,40 @@ com.microsoft.graph.groups.item.team.members.MembersRequestBuilder::|public|get( com.microsoft.graph.groups.item.team.members.MembersRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):ConversationMemberCollectionResponse com.microsoft.graph.groups.item.team.members.MembersRequestBuilder::|public|post(body:ConversationMember):ConversationMember com.microsoft.graph.groups.item.team.members.MembersRequestBuilder::|public|post(body:ConversationMember; requestConfiguration?:java.util.function.Consumer):ConversationMember +com.microsoft.graph.groups.item.team.members.MembersRequestBuilder::|public|remove:RemoveRequestBuilder com.microsoft.graph.groups.item.team.members.MembersRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.groups.item.team.members.MembersRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.groups.item.team.members.MembersRequestBuilder::|public|toPostRequestInformation(body:ConversationMember):RequestInformation com.microsoft.graph.groups.item.team.members.MembersRequestBuilder::|public|toPostRequestInformation(body:ConversationMember; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.groups.item.team.members.MembersRequestBuilder::|public|withUrl(rawUrl:String):MembersRequestBuilder +com.microsoft.graph.groups.item.team.members.remove.RemovePostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.groups.item.team.members.remove.RemovePostRequestBody::|public|constructor():void +com.microsoft.graph.groups.item.team.members.remove.RemovePostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.groups.item.team.members.remove.RemovePostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.groups.item.team.members.remove.RemovePostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.groups.item.team.members.remove.RemovePostRequestBody::|public|getValues():java.util.List +com.microsoft.graph.groups.item.team.members.remove.RemovePostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.groups.item.team.members.remove.RemovePostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.groups.item.team.members.remove.RemovePostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.groups.item.team.members.remove.RemovePostRequestBody::|public|setValues(value?:java.util.List):void +com.microsoft.graph.groups.item.team.members.remove.RemovePostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RemovePostRequestBody +com.microsoft.graph.groups.item.team.members.remove.RemovePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.groups.item.team.members.remove.RemovePostResponse-->BaseCollectionPaginationCountResponse +com.microsoft.graph.groups.item.team.members.remove.RemovePostResponse::|public|constructor():void +com.microsoft.graph.groups.item.team.members.remove.RemovePostResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.groups.item.team.members.remove.RemovePostResponse::|public|getValue():java.util.List +com.microsoft.graph.groups.item.team.members.remove.RemovePostResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.groups.item.team.members.remove.RemovePostResponse::|public|setValue(value?:java.util.List):void +com.microsoft.graph.groups.item.team.members.remove.RemovePostResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RemovePostResponse +com.microsoft.graph.groups.item.team.members.remove.RemoveRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.groups.item.team.members.remove.RemoveRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.groups.item.team.members.remove.RemoveRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.groups.item.team.members.remove.RemoveRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.groups.item.team.members.remove.RemoveRequestBuilder::|public|post(body:RemovePostRequestBody):RemovePostResponse +com.microsoft.graph.groups.item.team.members.remove.RemoveRequestBuilder::|public|post(body:RemovePostRequestBody; requestConfiguration?:java.util.function.Consumer):RemovePostResponse +com.microsoft.graph.groups.item.team.members.remove.RemoveRequestBuilder::|public|toPostRequestInformation(body:RemovePostRequestBody):RequestInformation +com.microsoft.graph.groups.item.team.members.remove.RemoveRequestBuilder::|public|toPostRequestInformation(body:RemovePostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.groups.item.team.members.remove.RemoveRequestBuilder::|public|withUrl(rawUrl:String):RemoveRequestBuilder com.microsoft.graph.groups.item.team.operations.count.CountRequestBuilder-->BaseRequestBuilder com.microsoft.graph.groups.item.team.operations.count.CountRequestBuilder.GetQueryParameters::|public|filter:String com.microsoft.graph.groups.item.team.operations.count.CountRequestBuilder.GetQueryParameters::|public|search:String @@ -86954,11 +87041,40 @@ com.microsoft.graph.groups.item.team.primarychannel.members.MembersRequestBuilde com.microsoft.graph.groups.item.team.primarychannel.members.MembersRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):ConversationMemberCollectionResponse com.microsoft.graph.groups.item.team.primarychannel.members.MembersRequestBuilder::|public|post(body:ConversationMember):ConversationMember com.microsoft.graph.groups.item.team.primarychannel.members.MembersRequestBuilder::|public|post(body:ConversationMember; requestConfiguration?:java.util.function.Consumer):ConversationMember +com.microsoft.graph.groups.item.team.primarychannel.members.MembersRequestBuilder::|public|remove:RemoveRequestBuilder com.microsoft.graph.groups.item.team.primarychannel.members.MembersRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.groups.item.team.primarychannel.members.MembersRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.groups.item.team.primarychannel.members.MembersRequestBuilder::|public|toPostRequestInformation(body:ConversationMember):RequestInformation com.microsoft.graph.groups.item.team.primarychannel.members.MembersRequestBuilder::|public|toPostRequestInformation(body:ConversationMember; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.groups.item.team.primarychannel.members.MembersRequestBuilder::|public|withUrl(rawUrl:String):MembersRequestBuilder +com.microsoft.graph.groups.item.team.primarychannel.members.remove.RemovePostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.groups.item.team.primarychannel.members.remove.RemovePostRequestBody::|public|constructor():void +com.microsoft.graph.groups.item.team.primarychannel.members.remove.RemovePostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.groups.item.team.primarychannel.members.remove.RemovePostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.groups.item.team.primarychannel.members.remove.RemovePostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.groups.item.team.primarychannel.members.remove.RemovePostRequestBody::|public|getValues():java.util.List +com.microsoft.graph.groups.item.team.primarychannel.members.remove.RemovePostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.groups.item.team.primarychannel.members.remove.RemovePostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.groups.item.team.primarychannel.members.remove.RemovePostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.groups.item.team.primarychannel.members.remove.RemovePostRequestBody::|public|setValues(value?:java.util.List):void +com.microsoft.graph.groups.item.team.primarychannel.members.remove.RemovePostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RemovePostRequestBody +com.microsoft.graph.groups.item.team.primarychannel.members.remove.RemovePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.groups.item.team.primarychannel.members.remove.RemovePostResponse-->BaseCollectionPaginationCountResponse +com.microsoft.graph.groups.item.team.primarychannel.members.remove.RemovePostResponse::|public|constructor():void +com.microsoft.graph.groups.item.team.primarychannel.members.remove.RemovePostResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.groups.item.team.primarychannel.members.remove.RemovePostResponse::|public|getValue():java.util.List +com.microsoft.graph.groups.item.team.primarychannel.members.remove.RemovePostResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.groups.item.team.primarychannel.members.remove.RemovePostResponse::|public|setValue(value?:java.util.List):void +com.microsoft.graph.groups.item.team.primarychannel.members.remove.RemovePostResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RemovePostResponse +com.microsoft.graph.groups.item.team.primarychannel.members.remove.RemoveRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.groups.item.team.primarychannel.members.remove.RemoveRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.groups.item.team.primarychannel.members.remove.RemoveRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.groups.item.team.primarychannel.members.remove.RemoveRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.groups.item.team.primarychannel.members.remove.RemoveRequestBuilder::|public|post(body:RemovePostRequestBody):RemovePostResponse +com.microsoft.graph.groups.item.team.primarychannel.members.remove.RemoveRequestBuilder::|public|post(body:RemovePostRequestBody; requestConfiguration?:java.util.function.Consumer):RemovePostResponse +com.microsoft.graph.groups.item.team.primarychannel.members.remove.RemoveRequestBuilder::|public|toPostRequestInformation(body:RemovePostRequestBody):RequestInformation +com.microsoft.graph.groups.item.team.primarychannel.members.remove.RemoveRequestBuilder::|public|toPostRequestInformation(body:RemovePostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.groups.item.team.primarychannel.members.remove.RemoveRequestBuilder::|public|withUrl(rawUrl:String):RemoveRequestBuilder com.microsoft.graph.groups.item.team.primarychannel.messages.count.CountRequestBuilder-->BaseRequestBuilder com.microsoft.graph.groups.item.team.primarychannel.messages.count.CountRequestBuilder.GetQueryParameters::|public|filter:String com.microsoft.graph.groups.item.team.primarychannel.messages.count.CountRequestBuilder.GetQueryParameters::|public|search:String @@ -196560,11 +196676,40 @@ com.microsoft.graph.teams.item.channels.item.members.MembersRequestBuilder::|pub com.microsoft.graph.teams.item.channels.item.members.MembersRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):ConversationMemberCollectionResponse com.microsoft.graph.teams.item.channels.item.members.MembersRequestBuilder::|public|post(body:ConversationMember):ConversationMember com.microsoft.graph.teams.item.channels.item.members.MembersRequestBuilder::|public|post(body:ConversationMember; requestConfiguration?:java.util.function.Consumer):ConversationMember +com.microsoft.graph.teams.item.channels.item.members.MembersRequestBuilder::|public|remove:RemoveRequestBuilder com.microsoft.graph.teams.item.channels.item.members.MembersRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.teams.item.channels.item.members.MembersRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.teams.item.channels.item.members.MembersRequestBuilder::|public|toPostRequestInformation(body:ConversationMember):RequestInformation com.microsoft.graph.teams.item.channels.item.members.MembersRequestBuilder::|public|toPostRequestInformation(body:ConversationMember; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.teams.item.channels.item.members.MembersRequestBuilder::|public|withUrl(rawUrl:String):MembersRequestBuilder +com.microsoft.graph.teams.item.channels.item.members.remove.RemovePostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.teams.item.channels.item.members.remove.RemovePostRequestBody::|public|constructor():void +com.microsoft.graph.teams.item.channels.item.members.remove.RemovePostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.teams.item.channels.item.members.remove.RemovePostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.teams.item.channels.item.members.remove.RemovePostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.teams.item.channels.item.members.remove.RemovePostRequestBody::|public|getValues():java.util.List +com.microsoft.graph.teams.item.channels.item.members.remove.RemovePostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.teams.item.channels.item.members.remove.RemovePostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.teams.item.channels.item.members.remove.RemovePostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.teams.item.channels.item.members.remove.RemovePostRequestBody::|public|setValues(value?:java.util.List):void +com.microsoft.graph.teams.item.channels.item.members.remove.RemovePostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RemovePostRequestBody +com.microsoft.graph.teams.item.channels.item.members.remove.RemovePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.teams.item.channels.item.members.remove.RemovePostResponse-->BaseCollectionPaginationCountResponse +com.microsoft.graph.teams.item.channels.item.members.remove.RemovePostResponse::|public|constructor():void +com.microsoft.graph.teams.item.channels.item.members.remove.RemovePostResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.teams.item.channels.item.members.remove.RemovePostResponse::|public|getValue():java.util.List +com.microsoft.graph.teams.item.channels.item.members.remove.RemovePostResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.teams.item.channels.item.members.remove.RemovePostResponse::|public|setValue(value?:java.util.List):void +com.microsoft.graph.teams.item.channels.item.members.remove.RemovePostResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RemovePostResponse +com.microsoft.graph.teams.item.channels.item.members.remove.RemoveRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.teams.item.channels.item.members.remove.RemoveRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.teams.item.channels.item.members.remove.RemoveRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.teams.item.channels.item.members.remove.RemoveRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.teams.item.channels.item.members.remove.RemoveRequestBuilder::|public|post(body:RemovePostRequestBody):RemovePostResponse +com.microsoft.graph.teams.item.channels.item.members.remove.RemoveRequestBuilder::|public|post(body:RemovePostRequestBody; requestConfiguration?:java.util.function.Consumer):RemovePostResponse +com.microsoft.graph.teams.item.channels.item.members.remove.RemoveRequestBuilder::|public|toPostRequestInformation(body:RemovePostRequestBody):RequestInformation +com.microsoft.graph.teams.item.channels.item.members.remove.RemoveRequestBuilder::|public|toPostRequestInformation(body:RemovePostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.teams.item.channels.item.members.remove.RemoveRequestBuilder::|public|withUrl(rawUrl:String):RemoveRequestBuilder com.microsoft.graph.teams.item.channels.item.messages.count.CountRequestBuilder-->BaseRequestBuilder com.microsoft.graph.teams.item.channels.item.messages.count.CountRequestBuilder.GetQueryParameters::|public|filter:String com.microsoft.graph.teams.item.channels.item.messages.count.CountRequestBuilder.GetQueryParameters::|public|search:String @@ -197636,11 +197781,40 @@ com.microsoft.graph.teams.item.members.MembersRequestBuilder::|public|get():Conv com.microsoft.graph.teams.item.members.MembersRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):ConversationMemberCollectionResponse com.microsoft.graph.teams.item.members.MembersRequestBuilder::|public|post(body:ConversationMember):ConversationMember com.microsoft.graph.teams.item.members.MembersRequestBuilder::|public|post(body:ConversationMember; requestConfiguration?:java.util.function.Consumer):ConversationMember +com.microsoft.graph.teams.item.members.MembersRequestBuilder::|public|remove:RemoveRequestBuilder com.microsoft.graph.teams.item.members.MembersRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.teams.item.members.MembersRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.teams.item.members.MembersRequestBuilder::|public|toPostRequestInformation(body:ConversationMember):RequestInformation com.microsoft.graph.teams.item.members.MembersRequestBuilder::|public|toPostRequestInformation(body:ConversationMember; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.teams.item.members.MembersRequestBuilder::|public|withUrl(rawUrl:String):MembersRequestBuilder +com.microsoft.graph.teams.item.members.remove.RemovePostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.teams.item.members.remove.RemovePostRequestBody::|public|constructor():void +com.microsoft.graph.teams.item.members.remove.RemovePostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.teams.item.members.remove.RemovePostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.teams.item.members.remove.RemovePostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.teams.item.members.remove.RemovePostRequestBody::|public|getValues():java.util.List +com.microsoft.graph.teams.item.members.remove.RemovePostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.teams.item.members.remove.RemovePostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.teams.item.members.remove.RemovePostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.teams.item.members.remove.RemovePostRequestBody::|public|setValues(value?:java.util.List):void +com.microsoft.graph.teams.item.members.remove.RemovePostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RemovePostRequestBody +com.microsoft.graph.teams.item.members.remove.RemovePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.teams.item.members.remove.RemovePostResponse-->BaseCollectionPaginationCountResponse +com.microsoft.graph.teams.item.members.remove.RemovePostResponse::|public|constructor():void +com.microsoft.graph.teams.item.members.remove.RemovePostResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.teams.item.members.remove.RemovePostResponse::|public|getValue():java.util.List +com.microsoft.graph.teams.item.members.remove.RemovePostResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.teams.item.members.remove.RemovePostResponse::|public|setValue(value?:java.util.List):void +com.microsoft.graph.teams.item.members.remove.RemovePostResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RemovePostResponse +com.microsoft.graph.teams.item.members.remove.RemoveRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.teams.item.members.remove.RemoveRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.teams.item.members.remove.RemoveRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.teams.item.members.remove.RemoveRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.teams.item.members.remove.RemoveRequestBuilder::|public|post(body:RemovePostRequestBody):RemovePostResponse +com.microsoft.graph.teams.item.members.remove.RemoveRequestBuilder::|public|post(body:RemovePostRequestBody; requestConfiguration?:java.util.function.Consumer):RemovePostResponse +com.microsoft.graph.teams.item.members.remove.RemoveRequestBuilder::|public|toPostRequestInformation(body:RemovePostRequestBody):RequestInformation +com.microsoft.graph.teams.item.members.remove.RemoveRequestBuilder::|public|toPostRequestInformation(body:RemovePostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.teams.item.members.remove.RemoveRequestBuilder::|public|withUrl(rawUrl:String):RemoveRequestBuilder com.microsoft.graph.teams.item.operations.count.CountRequestBuilder-->BaseRequestBuilder com.microsoft.graph.teams.item.operations.count.CountRequestBuilder.GetQueryParameters::|public|filter:String com.microsoft.graph.teams.item.operations.count.CountRequestBuilder.GetQueryParameters::|public|search:String @@ -197994,11 +198168,40 @@ com.microsoft.graph.teams.item.primarychannel.members.MembersRequestBuilder::|pu com.microsoft.graph.teams.item.primarychannel.members.MembersRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):ConversationMemberCollectionResponse com.microsoft.graph.teams.item.primarychannel.members.MembersRequestBuilder::|public|post(body:ConversationMember):ConversationMember com.microsoft.graph.teams.item.primarychannel.members.MembersRequestBuilder::|public|post(body:ConversationMember; requestConfiguration?:java.util.function.Consumer):ConversationMember +com.microsoft.graph.teams.item.primarychannel.members.MembersRequestBuilder::|public|remove:RemoveRequestBuilder com.microsoft.graph.teams.item.primarychannel.members.MembersRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.teams.item.primarychannel.members.MembersRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.teams.item.primarychannel.members.MembersRequestBuilder::|public|toPostRequestInformation(body:ConversationMember):RequestInformation com.microsoft.graph.teams.item.primarychannel.members.MembersRequestBuilder::|public|toPostRequestInformation(body:ConversationMember; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.teams.item.primarychannel.members.MembersRequestBuilder::|public|withUrl(rawUrl:String):MembersRequestBuilder +com.microsoft.graph.teams.item.primarychannel.members.remove.RemovePostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.teams.item.primarychannel.members.remove.RemovePostRequestBody::|public|constructor():void +com.microsoft.graph.teams.item.primarychannel.members.remove.RemovePostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.teams.item.primarychannel.members.remove.RemovePostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.teams.item.primarychannel.members.remove.RemovePostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.teams.item.primarychannel.members.remove.RemovePostRequestBody::|public|getValues():java.util.List +com.microsoft.graph.teams.item.primarychannel.members.remove.RemovePostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.teams.item.primarychannel.members.remove.RemovePostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.teams.item.primarychannel.members.remove.RemovePostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.teams.item.primarychannel.members.remove.RemovePostRequestBody::|public|setValues(value?:java.util.List):void +com.microsoft.graph.teams.item.primarychannel.members.remove.RemovePostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RemovePostRequestBody +com.microsoft.graph.teams.item.primarychannel.members.remove.RemovePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.teams.item.primarychannel.members.remove.RemovePostResponse-->BaseCollectionPaginationCountResponse +com.microsoft.graph.teams.item.primarychannel.members.remove.RemovePostResponse::|public|constructor():void +com.microsoft.graph.teams.item.primarychannel.members.remove.RemovePostResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.teams.item.primarychannel.members.remove.RemovePostResponse::|public|getValue():java.util.List +com.microsoft.graph.teams.item.primarychannel.members.remove.RemovePostResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.teams.item.primarychannel.members.remove.RemovePostResponse::|public|setValue(value?:java.util.List):void +com.microsoft.graph.teams.item.primarychannel.members.remove.RemovePostResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RemovePostResponse +com.microsoft.graph.teams.item.primarychannel.members.remove.RemoveRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.teams.item.primarychannel.members.remove.RemoveRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.teams.item.primarychannel.members.remove.RemoveRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.teams.item.primarychannel.members.remove.RemoveRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.teams.item.primarychannel.members.remove.RemoveRequestBuilder::|public|post(body:RemovePostRequestBody):RemovePostResponse +com.microsoft.graph.teams.item.primarychannel.members.remove.RemoveRequestBuilder::|public|post(body:RemovePostRequestBody; requestConfiguration?:java.util.function.Consumer):RemovePostResponse +com.microsoft.graph.teams.item.primarychannel.members.remove.RemoveRequestBuilder::|public|toPostRequestInformation(body:RemovePostRequestBody):RequestInformation +com.microsoft.graph.teams.item.primarychannel.members.remove.RemoveRequestBuilder::|public|toPostRequestInformation(body:RemovePostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.teams.item.primarychannel.members.remove.RemoveRequestBuilder::|public|withUrl(rawUrl:String):RemoveRequestBuilder com.microsoft.graph.teams.item.primarychannel.messages.count.CountRequestBuilder-->BaseRequestBuilder com.microsoft.graph.teams.item.primarychannel.messages.count.CountRequestBuilder.GetQueryParameters::|public|filter:String com.microsoft.graph.teams.item.primarychannel.messages.count.CountRequestBuilder.GetQueryParameters::|public|search:String @@ -200187,11 +200390,40 @@ com.microsoft.graph.teamwork.deletedteams.item.channels.item.members.MembersRequ com.microsoft.graph.teamwork.deletedteams.item.channels.item.members.MembersRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):ConversationMemberCollectionResponse com.microsoft.graph.teamwork.deletedteams.item.channels.item.members.MembersRequestBuilder::|public|post(body:ConversationMember):ConversationMember com.microsoft.graph.teamwork.deletedteams.item.channels.item.members.MembersRequestBuilder::|public|post(body:ConversationMember; requestConfiguration?:java.util.function.Consumer):ConversationMember +com.microsoft.graph.teamwork.deletedteams.item.channels.item.members.MembersRequestBuilder::|public|remove:RemoveRequestBuilder com.microsoft.graph.teamwork.deletedteams.item.channels.item.members.MembersRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.teamwork.deletedteams.item.channels.item.members.MembersRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.teamwork.deletedteams.item.channels.item.members.MembersRequestBuilder::|public|toPostRequestInformation(body:ConversationMember):RequestInformation com.microsoft.graph.teamwork.deletedteams.item.channels.item.members.MembersRequestBuilder::|public|toPostRequestInformation(body:ConversationMember; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.teamwork.deletedteams.item.channels.item.members.MembersRequestBuilder::|public|withUrl(rawUrl:String):MembersRequestBuilder +com.microsoft.graph.teamwork.deletedteams.item.channels.item.members.remove.RemovePostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.teamwork.deletedteams.item.channels.item.members.remove.RemovePostRequestBody::|public|constructor():void +com.microsoft.graph.teamwork.deletedteams.item.channels.item.members.remove.RemovePostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.teamwork.deletedteams.item.channels.item.members.remove.RemovePostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.teamwork.deletedteams.item.channels.item.members.remove.RemovePostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.teamwork.deletedteams.item.channels.item.members.remove.RemovePostRequestBody::|public|getValues():java.util.List +com.microsoft.graph.teamwork.deletedteams.item.channels.item.members.remove.RemovePostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.teamwork.deletedteams.item.channels.item.members.remove.RemovePostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.teamwork.deletedteams.item.channels.item.members.remove.RemovePostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.teamwork.deletedteams.item.channels.item.members.remove.RemovePostRequestBody::|public|setValues(value?:java.util.List):void +com.microsoft.graph.teamwork.deletedteams.item.channels.item.members.remove.RemovePostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RemovePostRequestBody +com.microsoft.graph.teamwork.deletedteams.item.channels.item.members.remove.RemovePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.teamwork.deletedteams.item.channels.item.members.remove.RemovePostResponse-->BaseCollectionPaginationCountResponse +com.microsoft.graph.teamwork.deletedteams.item.channels.item.members.remove.RemovePostResponse::|public|constructor():void +com.microsoft.graph.teamwork.deletedteams.item.channels.item.members.remove.RemovePostResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.teamwork.deletedteams.item.channels.item.members.remove.RemovePostResponse::|public|getValue():java.util.List +com.microsoft.graph.teamwork.deletedteams.item.channels.item.members.remove.RemovePostResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.teamwork.deletedteams.item.channels.item.members.remove.RemovePostResponse::|public|setValue(value?:java.util.List):void +com.microsoft.graph.teamwork.deletedteams.item.channels.item.members.remove.RemovePostResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RemovePostResponse +com.microsoft.graph.teamwork.deletedteams.item.channels.item.members.remove.RemoveRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.teamwork.deletedteams.item.channels.item.members.remove.RemoveRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.teamwork.deletedteams.item.channels.item.members.remove.RemoveRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.teamwork.deletedteams.item.channels.item.members.remove.RemoveRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.teamwork.deletedteams.item.channels.item.members.remove.RemoveRequestBuilder::|public|post(body:RemovePostRequestBody):RemovePostResponse +com.microsoft.graph.teamwork.deletedteams.item.channels.item.members.remove.RemoveRequestBuilder::|public|post(body:RemovePostRequestBody; requestConfiguration?:java.util.function.Consumer):RemovePostResponse +com.microsoft.graph.teamwork.deletedteams.item.channels.item.members.remove.RemoveRequestBuilder::|public|toPostRequestInformation(body:RemovePostRequestBody):RequestInformation +com.microsoft.graph.teamwork.deletedteams.item.channels.item.members.remove.RemoveRequestBuilder::|public|toPostRequestInformation(body:RemovePostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.teamwork.deletedteams.item.channels.item.members.remove.RemoveRequestBuilder::|public|withUrl(rawUrl:String):RemoveRequestBuilder com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.count.CountRequestBuilder-->BaseRequestBuilder com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.count.CountRequestBuilder.GetQueryParameters::|public|filter:String com.microsoft.graph.teamwork.deletedteams.item.channels.item.messages.count.CountRequestBuilder.GetQueryParameters::|public|search:String @@ -209455,11 +209687,40 @@ com.microsoft.graph.users.item.chats.item.members.MembersRequestBuilder::|public com.microsoft.graph.users.item.chats.item.members.MembersRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):ConversationMemberCollectionResponse com.microsoft.graph.users.item.chats.item.members.MembersRequestBuilder::|public|post(body:ConversationMember):ConversationMember com.microsoft.graph.users.item.chats.item.members.MembersRequestBuilder::|public|post(body:ConversationMember; requestConfiguration?:java.util.function.Consumer):ConversationMember +com.microsoft.graph.users.item.chats.item.members.MembersRequestBuilder::|public|remove:RemoveRequestBuilder com.microsoft.graph.users.item.chats.item.members.MembersRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.users.item.chats.item.members.MembersRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.users.item.chats.item.members.MembersRequestBuilder::|public|toPostRequestInformation(body:ConversationMember):RequestInformation com.microsoft.graph.users.item.chats.item.members.MembersRequestBuilder::|public|toPostRequestInformation(body:ConversationMember; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.users.item.chats.item.members.MembersRequestBuilder::|public|withUrl(rawUrl:String):MembersRequestBuilder +com.microsoft.graph.users.item.chats.item.members.remove.RemovePostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.users.item.chats.item.members.remove.RemovePostRequestBody::|public|constructor():void +com.microsoft.graph.users.item.chats.item.members.remove.RemovePostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.users.item.chats.item.members.remove.RemovePostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.users.item.chats.item.members.remove.RemovePostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.users.item.chats.item.members.remove.RemovePostRequestBody::|public|getValues():java.util.List +com.microsoft.graph.users.item.chats.item.members.remove.RemovePostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.users.item.chats.item.members.remove.RemovePostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.users.item.chats.item.members.remove.RemovePostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.users.item.chats.item.members.remove.RemovePostRequestBody::|public|setValues(value?:java.util.List):void +com.microsoft.graph.users.item.chats.item.members.remove.RemovePostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RemovePostRequestBody +com.microsoft.graph.users.item.chats.item.members.remove.RemovePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.users.item.chats.item.members.remove.RemovePostResponse-->BaseCollectionPaginationCountResponse +com.microsoft.graph.users.item.chats.item.members.remove.RemovePostResponse::|public|constructor():void +com.microsoft.graph.users.item.chats.item.members.remove.RemovePostResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.users.item.chats.item.members.remove.RemovePostResponse::|public|getValue():java.util.List +com.microsoft.graph.users.item.chats.item.members.remove.RemovePostResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.users.item.chats.item.members.remove.RemovePostResponse::|public|setValue(value?:java.util.List):void +com.microsoft.graph.users.item.chats.item.members.remove.RemovePostResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RemovePostResponse +com.microsoft.graph.users.item.chats.item.members.remove.RemoveRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.users.item.chats.item.members.remove.RemoveRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.users.item.chats.item.members.remove.RemoveRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.users.item.chats.item.members.remove.RemoveRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.users.item.chats.item.members.remove.RemoveRequestBuilder::|public|post(body:RemovePostRequestBody):RemovePostResponse +com.microsoft.graph.users.item.chats.item.members.remove.RemoveRequestBuilder::|public|post(body:RemovePostRequestBody; requestConfiguration?:java.util.function.Consumer):RemovePostResponse +com.microsoft.graph.users.item.chats.item.members.remove.RemoveRequestBuilder::|public|toPostRequestInformation(body:RemovePostRequestBody):RequestInformation +com.microsoft.graph.users.item.chats.item.members.remove.RemoveRequestBuilder::|public|toPostRequestInformation(body:RemovePostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.users.item.chats.item.members.remove.RemoveRequestBuilder::|public|withUrl(rawUrl:String):RemoveRequestBuilder com.microsoft.graph.users.item.chats.item.messages.count.CountRequestBuilder-->BaseRequestBuilder com.microsoft.graph.users.item.chats.item.messages.count.CountRequestBuilder.GetQueryParameters::|public|filter:String com.microsoft.graph.users.item.chats.item.messages.count.CountRequestBuilder.GetQueryParameters::|public|search:String @@ -213651,11 +213912,40 @@ com.microsoft.graph.users.item.joinedteams.item.channels.item.members.MembersReq com.microsoft.graph.users.item.joinedteams.item.channels.item.members.MembersRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):ConversationMemberCollectionResponse com.microsoft.graph.users.item.joinedteams.item.channels.item.members.MembersRequestBuilder::|public|post(body:ConversationMember):ConversationMember com.microsoft.graph.users.item.joinedteams.item.channels.item.members.MembersRequestBuilder::|public|post(body:ConversationMember; requestConfiguration?:java.util.function.Consumer):ConversationMember +com.microsoft.graph.users.item.joinedteams.item.channels.item.members.MembersRequestBuilder::|public|remove:RemoveRequestBuilder com.microsoft.graph.users.item.joinedteams.item.channels.item.members.MembersRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.users.item.joinedteams.item.channels.item.members.MembersRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.users.item.joinedteams.item.channels.item.members.MembersRequestBuilder::|public|toPostRequestInformation(body:ConversationMember):RequestInformation com.microsoft.graph.users.item.joinedteams.item.channels.item.members.MembersRequestBuilder::|public|toPostRequestInformation(body:ConversationMember; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.users.item.joinedteams.item.channels.item.members.MembersRequestBuilder::|public|withUrl(rawUrl:String):MembersRequestBuilder +com.microsoft.graph.users.item.joinedteams.item.channels.item.members.remove.RemovePostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.users.item.joinedteams.item.channels.item.members.remove.RemovePostRequestBody::|public|constructor():void +com.microsoft.graph.users.item.joinedteams.item.channels.item.members.remove.RemovePostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.users.item.joinedteams.item.channels.item.members.remove.RemovePostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.users.item.joinedteams.item.channels.item.members.remove.RemovePostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.users.item.joinedteams.item.channels.item.members.remove.RemovePostRequestBody::|public|getValues():java.util.List +com.microsoft.graph.users.item.joinedteams.item.channels.item.members.remove.RemovePostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.users.item.joinedteams.item.channels.item.members.remove.RemovePostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.users.item.joinedteams.item.channels.item.members.remove.RemovePostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.users.item.joinedteams.item.channels.item.members.remove.RemovePostRequestBody::|public|setValues(value?:java.util.List):void +com.microsoft.graph.users.item.joinedteams.item.channels.item.members.remove.RemovePostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RemovePostRequestBody +com.microsoft.graph.users.item.joinedteams.item.channels.item.members.remove.RemovePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.users.item.joinedteams.item.channels.item.members.remove.RemovePostResponse-->BaseCollectionPaginationCountResponse +com.microsoft.graph.users.item.joinedteams.item.channels.item.members.remove.RemovePostResponse::|public|constructor():void +com.microsoft.graph.users.item.joinedteams.item.channels.item.members.remove.RemovePostResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.users.item.joinedteams.item.channels.item.members.remove.RemovePostResponse::|public|getValue():java.util.List +com.microsoft.graph.users.item.joinedteams.item.channels.item.members.remove.RemovePostResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.users.item.joinedteams.item.channels.item.members.remove.RemovePostResponse::|public|setValue(value?:java.util.List):void +com.microsoft.graph.users.item.joinedteams.item.channels.item.members.remove.RemovePostResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RemovePostResponse +com.microsoft.graph.users.item.joinedteams.item.channels.item.members.remove.RemoveRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.users.item.joinedteams.item.channels.item.members.remove.RemoveRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.users.item.joinedteams.item.channels.item.members.remove.RemoveRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.users.item.joinedteams.item.channels.item.members.remove.RemoveRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.users.item.joinedteams.item.channels.item.members.remove.RemoveRequestBuilder::|public|post(body:RemovePostRequestBody):RemovePostResponse +com.microsoft.graph.users.item.joinedteams.item.channels.item.members.remove.RemoveRequestBuilder::|public|post(body:RemovePostRequestBody; requestConfiguration?:java.util.function.Consumer):RemovePostResponse +com.microsoft.graph.users.item.joinedteams.item.channels.item.members.remove.RemoveRequestBuilder::|public|toPostRequestInformation(body:RemovePostRequestBody):RequestInformation +com.microsoft.graph.users.item.joinedteams.item.channels.item.members.remove.RemoveRequestBuilder::|public|toPostRequestInformation(body:RemovePostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.users.item.joinedteams.item.channels.item.members.remove.RemoveRequestBuilder::|public|withUrl(rawUrl:String):RemoveRequestBuilder com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.count.CountRequestBuilder-->BaseRequestBuilder com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.count.CountRequestBuilder.GetQueryParameters::|public|filter:String com.microsoft.graph.users.item.joinedteams.item.channels.item.messages.count.CountRequestBuilder.GetQueryParameters::|public|search:String @@ -214727,11 +215017,40 @@ com.microsoft.graph.users.item.joinedteams.item.members.MembersRequestBuilder::| com.microsoft.graph.users.item.joinedteams.item.members.MembersRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):ConversationMemberCollectionResponse com.microsoft.graph.users.item.joinedteams.item.members.MembersRequestBuilder::|public|post(body:ConversationMember):ConversationMember com.microsoft.graph.users.item.joinedteams.item.members.MembersRequestBuilder::|public|post(body:ConversationMember; requestConfiguration?:java.util.function.Consumer):ConversationMember +com.microsoft.graph.users.item.joinedteams.item.members.MembersRequestBuilder::|public|remove:RemoveRequestBuilder com.microsoft.graph.users.item.joinedteams.item.members.MembersRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.users.item.joinedteams.item.members.MembersRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.users.item.joinedteams.item.members.MembersRequestBuilder::|public|toPostRequestInformation(body:ConversationMember):RequestInformation com.microsoft.graph.users.item.joinedteams.item.members.MembersRequestBuilder::|public|toPostRequestInformation(body:ConversationMember; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.users.item.joinedteams.item.members.MembersRequestBuilder::|public|withUrl(rawUrl:String):MembersRequestBuilder +com.microsoft.graph.users.item.joinedteams.item.members.remove.RemovePostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.users.item.joinedteams.item.members.remove.RemovePostRequestBody::|public|constructor():void +com.microsoft.graph.users.item.joinedteams.item.members.remove.RemovePostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.users.item.joinedteams.item.members.remove.RemovePostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.users.item.joinedteams.item.members.remove.RemovePostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.users.item.joinedteams.item.members.remove.RemovePostRequestBody::|public|getValues():java.util.List +com.microsoft.graph.users.item.joinedteams.item.members.remove.RemovePostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.users.item.joinedteams.item.members.remove.RemovePostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.users.item.joinedteams.item.members.remove.RemovePostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.users.item.joinedteams.item.members.remove.RemovePostRequestBody::|public|setValues(value?:java.util.List):void +com.microsoft.graph.users.item.joinedteams.item.members.remove.RemovePostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RemovePostRequestBody +com.microsoft.graph.users.item.joinedteams.item.members.remove.RemovePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.users.item.joinedteams.item.members.remove.RemovePostResponse-->BaseCollectionPaginationCountResponse +com.microsoft.graph.users.item.joinedteams.item.members.remove.RemovePostResponse::|public|constructor():void +com.microsoft.graph.users.item.joinedteams.item.members.remove.RemovePostResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.users.item.joinedteams.item.members.remove.RemovePostResponse::|public|getValue():java.util.List +com.microsoft.graph.users.item.joinedteams.item.members.remove.RemovePostResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.users.item.joinedteams.item.members.remove.RemovePostResponse::|public|setValue(value?:java.util.List):void +com.microsoft.graph.users.item.joinedteams.item.members.remove.RemovePostResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RemovePostResponse +com.microsoft.graph.users.item.joinedteams.item.members.remove.RemoveRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.users.item.joinedteams.item.members.remove.RemoveRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.users.item.joinedteams.item.members.remove.RemoveRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.users.item.joinedteams.item.members.remove.RemoveRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.users.item.joinedteams.item.members.remove.RemoveRequestBuilder::|public|post(body:RemovePostRequestBody):RemovePostResponse +com.microsoft.graph.users.item.joinedteams.item.members.remove.RemoveRequestBuilder::|public|post(body:RemovePostRequestBody; requestConfiguration?:java.util.function.Consumer):RemovePostResponse +com.microsoft.graph.users.item.joinedteams.item.members.remove.RemoveRequestBuilder::|public|toPostRequestInformation(body:RemovePostRequestBody):RequestInformation +com.microsoft.graph.users.item.joinedteams.item.members.remove.RemoveRequestBuilder::|public|toPostRequestInformation(body:RemovePostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.users.item.joinedteams.item.members.remove.RemoveRequestBuilder::|public|withUrl(rawUrl:String):RemoveRequestBuilder com.microsoft.graph.users.item.joinedteams.item.operations.count.CountRequestBuilder-->BaseRequestBuilder com.microsoft.graph.users.item.joinedteams.item.operations.count.CountRequestBuilder.GetQueryParameters::|public|filter:String com.microsoft.graph.users.item.joinedteams.item.operations.count.CountRequestBuilder.GetQueryParameters::|public|search:String @@ -215085,11 +215404,40 @@ com.microsoft.graph.users.item.joinedteams.item.primarychannel.members.MembersRe com.microsoft.graph.users.item.joinedteams.item.primarychannel.members.MembersRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):ConversationMemberCollectionResponse com.microsoft.graph.users.item.joinedteams.item.primarychannel.members.MembersRequestBuilder::|public|post(body:ConversationMember):ConversationMember com.microsoft.graph.users.item.joinedteams.item.primarychannel.members.MembersRequestBuilder::|public|post(body:ConversationMember; requestConfiguration?:java.util.function.Consumer):ConversationMember +com.microsoft.graph.users.item.joinedteams.item.primarychannel.members.MembersRequestBuilder::|public|remove:RemoveRequestBuilder com.microsoft.graph.users.item.joinedteams.item.primarychannel.members.MembersRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.users.item.joinedteams.item.primarychannel.members.MembersRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.users.item.joinedteams.item.primarychannel.members.MembersRequestBuilder::|public|toPostRequestInformation(body:ConversationMember):RequestInformation com.microsoft.graph.users.item.joinedteams.item.primarychannel.members.MembersRequestBuilder::|public|toPostRequestInformation(body:ConversationMember; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.users.item.joinedteams.item.primarychannel.members.MembersRequestBuilder::|public|withUrl(rawUrl:String):MembersRequestBuilder +com.microsoft.graph.users.item.joinedteams.item.primarychannel.members.remove.RemovePostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.users.item.joinedteams.item.primarychannel.members.remove.RemovePostRequestBody::|public|constructor():void +com.microsoft.graph.users.item.joinedteams.item.primarychannel.members.remove.RemovePostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.users.item.joinedteams.item.primarychannel.members.remove.RemovePostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.users.item.joinedteams.item.primarychannel.members.remove.RemovePostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.users.item.joinedteams.item.primarychannel.members.remove.RemovePostRequestBody::|public|getValues():java.util.List +com.microsoft.graph.users.item.joinedteams.item.primarychannel.members.remove.RemovePostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.users.item.joinedteams.item.primarychannel.members.remove.RemovePostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.users.item.joinedteams.item.primarychannel.members.remove.RemovePostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.users.item.joinedteams.item.primarychannel.members.remove.RemovePostRequestBody::|public|setValues(value?:java.util.List):void +com.microsoft.graph.users.item.joinedteams.item.primarychannel.members.remove.RemovePostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RemovePostRequestBody +com.microsoft.graph.users.item.joinedteams.item.primarychannel.members.remove.RemovePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.users.item.joinedteams.item.primarychannel.members.remove.RemovePostResponse-->BaseCollectionPaginationCountResponse +com.microsoft.graph.users.item.joinedteams.item.primarychannel.members.remove.RemovePostResponse::|public|constructor():void +com.microsoft.graph.users.item.joinedteams.item.primarychannel.members.remove.RemovePostResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.users.item.joinedteams.item.primarychannel.members.remove.RemovePostResponse::|public|getValue():java.util.List +com.microsoft.graph.users.item.joinedteams.item.primarychannel.members.remove.RemovePostResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.users.item.joinedteams.item.primarychannel.members.remove.RemovePostResponse::|public|setValue(value?:java.util.List):void +com.microsoft.graph.users.item.joinedteams.item.primarychannel.members.remove.RemovePostResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RemovePostResponse +com.microsoft.graph.users.item.joinedteams.item.primarychannel.members.remove.RemoveRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.users.item.joinedteams.item.primarychannel.members.remove.RemoveRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.users.item.joinedteams.item.primarychannel.members.remove.RemoveRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.users.item.joinedteams.item.primarychannel.members.remove.RemoveRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.users.item.joinedteams.item.primarychannel.members.remove.RemoveRequestBuilder::|public|post(body:RemovePostRequestBody):RemovePostResponse +com.microsoft.graph.users.item.joinedteams.item.primarychannel.members.remove.RemoveRequestBuilder::|public|post(body:RemovePostRequestBody; requestConfiguration?:java.util.function.Consumer):RemovePostResponse +com.microsoft.graph.users.item.joinedteams.item.primarychannel.members.remove.RemoveRequestBuilder::|public|toPostRequestInformation(body:RemovePostRequestBody):RequestInformation +com.microsoft.graph.users.item.joinedteams.item.primarychannel.members.remove.RemoveRequestBuilder::|public|toPostRequestInformation(body:RemovePostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.users.item.joinedteams.item.primarychannel.members.remove.RemoveRequestBuilder::|public|withUrl(rawUrl:String):RemoveRequestBuilder com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.count.CountRequestBuilder-->BaseRequestBuilder com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.count.CountRequestBuilder.GetQueryParameters::|public|filter:String com.microsoft.graph.users.item.joinedteams.item.primarychannel.messages.count.CountRequestBuilder.GetQueryParameters::|public|search:String diff --git a/src/main/java/com/microsoft/graph/generated/kiota-lock.json b/src/main/java/com/microsoft/graph/generated/kiota-lock.json index e6588f26137..17f0f9b68bf 100644 --- a/src/main/java/com/microsoft/graph/generated/kiota-lock.json +++ b/src/main/java/com/microsoft/graph/generated/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "0D10478CC5AE4EC6098852A872AE786DED9F45C1918ED35870E3017BFA60F4EA8C5A59A80C9DB74303CDDBD302EAFA5D7BBB8F5AA4730264459AE9A8DF1205F8", + "descriptionHash": "36DAF43A4E4EA20C97905B09C9E2291DBE80845EF0BE4D539FDDE691C6D93FBA0A10D98BECC30970531126749C7B01E815A0759418A6120BC51A3A0FDBEFD95A", "descriptionLocation": "../../msgraph-metadata/clean_v10_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.22.0", diff --git a/src/main/java/com/microsoft/graph/generated/models/ActionResultPart.java b/src/main/java/com/microsoft/graph/generated/models/ActionResultPart.java index 8144167ded4..4691f44fddc 100644 --- a/src/main/java/com/microsoft/graph/generated/models/ActionResultPart.java +++ b/src/main/java/com/microsoft/graph/generated/models/ActionResultPart.java @@ -63,7 +63,7 @@ public BackingStore getBackingStore() { return this.backingStore; } /** - * Gets the error property value. The error that occurred, if any, during the course of the bulk operation. + * Gets the error property value. The error that occurred, if any, during the bulk operation. * @return a {@link PublicError} */ @jakarta.annotation.Nullable @@ -115,7 +115,7 @@ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value this.backingStore = value; } /** - * Sets the error property value. The error that occurred, if any, during the course of the bulk operation. + * Sets the error property value. The error that occurred, if any, during the bulk operation. * @param value Value to set for the error property. */ public void setError(@jakarta.annotation.Nullable final PublicError value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/ConversationMember.java b/src/main/java/com/microsoft/graph/generated/models/ConversationMember.java index 249f4c028bc..0ca7488eae9 100644 --- a/src/main/java/com/microsoft/graph/generated/models/ConversationMember.java +++ b/src/main/java/com/microsoft/graph/generated/models/ConversationMember.java @@ -58,7 +58,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the roles property value. 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. + * Gets the roles property value. 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. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -92,7 +92,7 @@ public void setDisplayName(@jakarta.annotation.Nullable final String value) { this.backingStore.set("displayName", value); } /** - * Sets the roles property value. 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. + * Sets the roles property value. 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. * @param value Value to set for the roles property. */ public void setRoles(@jakarta.annotation.Nullable final java.util.List value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/Quota.java b/src/main/java/com/microsoft/graph/generated/models/Quota.java index aaac109d688..f3693312678 100644 --- a/src/main/java/com/microsoft/graph/generated/models/Quota.java +++ b/src/main/java/com/microsoft/graph/generated/models/Quota.java @@ -88,7 +88,7 @@ public String getOdataType() { return this.backingStore.get("odataType"); } /** - * Gets the remaining property value. Total space remaining before reaching the quota limit, in bytes. Read-only. + * Gets the remaining property value. Total space remaining before reaching the capacity limit, in bytes. Read-only. * @return a {@link Long} */ @jakarta.annotation.Nullable @@ -172,7 +172,7 @@ public void setOdataType(@jakarta.annotation.Nullable final String value) { this.backingStore.set("odataType", value); } /** - * Sets the remaining property value. Total space remaining before reaching the quota limit, in bytes. Read-only. + * Sets the remaining property value. Total space remaining before reaching the capacity limit, in bytes. Read-only. * @param value Value to set for the remaining property. */ public void setRemaining(@jakarta.annotation.Nullable final Long value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/Team.java b/src/main/java/com/microsoft/graph/generated/models/Team.java index 24f9de05021..576ad9af91a 100644 --- a/src/main/java/com/microsoft/graph/generated/models/Team.java +++ b/src/main/java/com/microsoft/graph/generated/models/Team.java @@ -42,7 +42,7 @@ public java.util.List getChannels() { return this.backingStore.get("channels"); } /** - * Gets the classification property value. 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. + * Gets the classification property value. 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. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -58,7 +58,7 @@ public OffsetDateTime getCreatedDateTime() { return this.backingStore.get("createdDateTime"); } /** - * Gets the description property value. An optional description for the team. Maximum length: 1024 characters. + * Gets the description property value. An optional description for the team. Maximum length: 1,024 characters. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -151,7 +151,7 @@ public java.util.List getInstalledApps() { return this.backingStore.get("installedApps"); } /** - * Gets the internalId property value. A unique ID for the team that has been used in a few places such as the audit log/Office 365 Management Activity API. + * Gets the internalId property value. A unique ID for the team that was used in a few places such as the audit log/Office 365 Management Activity API. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -231,7 +231,7 @@ public Schedule getSchedule() { return this.backingStore.get("schedule"); } /** - * Gets the specialization property value. 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. + * Gets the specialization property value. 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. * @return a {@link TeamSpecialization} */ @jakarta.annotation.Nullable @@ -279,7 +279,7 @@ public TeamVisibilityType getVisibility() { return this.backingStore.get("visibility"); } /** - * Gets the webUrl property 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. + * Gets the webUrl property value. 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. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -337,7 +337,7 @@ public void setChannels(@jakarta.annotation.Nullable final java.util.List} */ @jakarta.annotation.Nullable @@ -219,7 +219,7 @@ public void setRowCount(@jakarta.annotation.Nullable final Integer value) { this.backingStore.set("rowCount", value); } /** - * Sets the rows property value. The collection of range views associated with the range. Read-only. Read-only. + * Sets the rows property value. The collection of range views associated with the range. Read-only.Read-only. * @param value Value to set for the rows property. */ public void setRows(@jakarta.annotation.Nullable final java.util.List value) { diff --git a/src/main/java/com/microsoft/graph/generated/organization/OrganizationRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/organization/OrganizationRequestBuilder.java index 6d5e0495bd0..9918a9760db 100644 --- a/src/main/java/com/microsoft/graph/generated/organization/OrganizationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/organization/OrganizationRequestBuilder.java @@ -96,21 +96,21 @@ public OrganizationRequestBuilder(@jakarta.annotation.Nonnull final String rawUr super(requestAdapter, "{+baseurl}/organization{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * List properties and relationships of the organization objects. + * Retrieve a list of organization objects. There's only one organization object in the collection. * @return a {@link OrganizationCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public OrganizationCollectionResponse get() { return get(null); } /** - * List properties and relationships of the organization objects. + * Retrieve a list of organization objects. There's only one organization object in the collection. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link OrganizationCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public OrganizationCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -145,7 +145,7 @@ public Organization post(@jakarta.annotation.Nonnull final Organization body, @j return this.requestAdapter.send(requestInfo, errorMapping, Organization::createFromDiscriminatorValue); } /** - * List properties and relationships of the organization objects. + * Retrieve a list of organization objects. There's only one organization object in the collection. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -153,7 +153,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * List properties and relationships of the organization objects. + * Retrieve a list of organization objects. There's only one organization object in the collection. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -199,7 +199,7 @@ public OrganizationRequestBuilder withUrl(@jakarta.annotation.Nonnull final Stri return new 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. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/organization/item/OrganizationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/organization/item/OrganizationItemRequestBuilder.java index 079e175669c..67d356ac054 100644 --- a/src/main/java/com/microsoft/graph/generated/organization/item/OrganizationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/organization/item/OrganizationItemRequestBuilder.java @@ -136,21 +136,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * 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. * @return a {@link Organization} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public Organization get() { return get(null); } /** - * 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. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Organization} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public Organization get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -160,23 +160,23 @@ public Organization get(@jakarta.annotation.Nullable final java.util.function.Co return this.requestAdapter.send(requestInfo, errorMapping, Organization::createFromDiscriminatorValue); } /** - * 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. * @param body The request body * @return a {@link Organization} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public Organization patch(@jakarta.annotation.Nonnull final Organization body) { return patch(body, null); } /** - * 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. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Organization} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public Organization patch(@jakarta.annotation.Nonnull final Organization body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -207,7 +207,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * 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. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -215,7 +215,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * 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. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -227,7 +227,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * 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. * @param body The request body * @return a {@link RequestInformation} */ @@ -236,7 +236,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull return toPatchRequestInformation(body, null); } /** - * 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. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} @@ -267,7 +267,7 @@ public OrganizationItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * 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. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/organization/item/branding/localizations/item/bannerlogo/BannerLogoRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/organization/item/branding/localizations/item/bannerlogo/BannerLogoRequestBuilder.java index a5f45d634e0..1045ee91d47 100644 --- a/src/main/java/com/microsoft/graph/generated/organization/item/branding/localizations/item/bannerlogo/BannerLogoRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/organization/item/branding/localizations/item/bannerlogo/BannerLogoRequestBuilder.java @@ -54,21 +54,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * 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. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public InputStream get() { return get(null); } /** - * 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. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link InputStream} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public InputStream get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -128,7 +128,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * 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. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -136,7 +136,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * 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. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ diff --git a/src/main/java/com/microsoft/graph/generated/sites/SitesRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/sites/SitesRequestBuilder.java index 04c3ab85c14..261ae8d06b0 100644 --- a/src/main/java/com/microsoft/graph/generated/sites/SitesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/sites/SitesRequestBuilder.java @@ -95,21 +95,21 @@ public SitesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak super(requestAdapter, "{+baseurl}/sites{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * 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. * @return a {@link SiteCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public SiteCollectionResponse get() { return get(null); } /** - * 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. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SiteCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public SiteCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -119,7 +119,7 @@ public SiteCollectionResponse get(@jakarta.annotation.Nullable final java.util.f return this.requestAdapter.send(requestInfo, errorMapping, SiteCollectionResponse::createFromDiscriminatorValue); } /** - * 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. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -127,7 +127,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * 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. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -149,7 +149,7 @@ public SitesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawU return new SitesRequestBuilder(rawUrl, requestAdapter); } /** - * 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. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/sites/item/lists/item/ListItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/sites/item/lists/item/ListItemRequestBuilder.java index 64edf4bfcd9..abc6014c2e0 100644 --- a/src/main/java/com/microsoft/graph/generated/sites/item/lists/item/ListItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/sites/item/lists/item/ListItemRequestBuilder.java @@ -127,21 +127,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Get a list of rich long-running operations associated with a list. + * Returns the metadata for a list. * @return a {@link List} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public List get() { return get(null); } /** - * Get a list of rich long-running operations associated with a list. + * Returns the metadata for a list. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link List} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public List get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -196,7 +196,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * Get a list of rich long-running operations associated with a list. + * Returns the metadata for a list. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -204,7 +204,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get a list of rich long-running operations associated with a list. + * Returns the metadata for a list. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -256,7 +256,7 @@ public ListItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String r public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Get a list of rich long-running operations associated with a list. + * Returns the metadata for a list. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/teams/item/channels/item/members/MembersRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/teams/item/channels/item/members/MembersRequestBuilder.java index 03fd4dfbb93..f02f670bb89 100644 --- a/src/main/java/com/microsoft/graph/generated/teams/item/channels/item/members/MembersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/teams/item/channels/item/members/MembersRequestBuilder.java @@ -6,6 +6,7 @@ import com.microsoft.graph.teams.item.channels.item.members.add.AddRequestBuilder; import com.microsoft.graph.teams.item.channels.item.members.count.CountRequestBuilder; import com.microsoft.graph.teams.item.channels.item.members.item.ConversationMemberItemRequestBuilder; +import com.microsoft.graph.teams.item.channels.item.members.remove.RemoveRequestBuilder; import com.microsoft.kiota.BaseRequestBuilder; import com.microsoft.kiota.BaseRequestConfiguration; import com.microsoft.kiota.HttpMethod; @@ -40,6 +41,14 @@ public AddRequestBuilder add() { public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the remove method. + * @return a {@link RemoveRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RemoveRequestBuilder remove() { + return new RemoveRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the members property of the microsoft.graph.channel entity. * @param conversationMemberId The unique identifier of conversationMember diff --git a/src/main/java/com/microsoft/graph/generated/teams/item/channels/item/members/item/ConversationMemberItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/teams/item/channels/item/members/item/ConversationMemberItemRequestBuilder.java index 4f51ce27359..79ecc28e9da 100644 --- a/src/main/java/com/microsoft/graph/generated/teams/item/channels/item/members/item/ConversationMemberItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/teams/item/channels/item/members/item/ConversationMemberItemRequestBuilder.java @@ -37,18 +37,18 @@ public ConversationMemberItemRequestBuilder(@jakarta.annotation.Nonnull final St super(requestAdapter, "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/members/{conversationMember%2Did}{?%24expand,%24select}", rawUrl); } /** - * 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. * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ public void delete() { delete(null); } /** - * 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. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); @@ -81,23 +81,23 @@ public ConversationMember get(@jakarta.annotation.Nullable final java.util.funct return this.requestAdapter.send(requestInfo, errorMapping, ConversationMember::createFromDiscriminatorValue); } /** - * 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. * @param body The request body * @return a {@link ConversationMember} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public ConversationMember patch(@jakarta.annotation.Nonnull final ConversationMember body) { return patch(body, null); } /** - * 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. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ConversationMember} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public ConversationMember patch(@jakarta.annotation.Nonnull final ConversationMember body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -108,7 +108,7 @@ public ConversationMember patch(@jakarta.annotation.Nonnull final ConversationMe return this.requestAdapter.send(requestInfo, errorMapping, ConversationMember::createFromDiscriminatorValue); } /** - * 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. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -116,7 +116,7 @@ public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } /** - * 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. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -148,7 +148,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * 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. * @param body The request body * @return a {@link RequestInformation} */ @@ -157,7 +157,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull return toPatchRequestInformation(body, null); } /** - * 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. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} diff --git a/src/main/java/com/microsoft/graph/generated/teams/item/channels/item/members/remove/RemovePostRequestBody.java b/src/main/java/com/microsoft/graph/generated/teams/item/channels/item/members/remove/RemovePostRequestBody.java new file mode 100644 index 00000000000..cd7bb2432f4 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/teams/item/channels/item/members/remove/RemovePostRequestBody.java @@ -0,0 +1,108 @@ +package com.microsoft.graph.teams.item.channels.item.members.remove; + +import com.microsoft.graph.models.ConversationMember; +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RemovePostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link RemovePostRequestBody} and sets the default values. + */ + public RemovePostRequestBody() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link RemovePostRequestBody} + */ + @jakarta.annotation.Nonnull + public static RemovePostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new RemovePostRequestBody(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(1); + deserializerMap.put("values", (n) -> { this.setValues(n.getCollectionOfObjectValues(ConversationMember::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the values property value. The values property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getValues() { + return this.backingStore.get("values"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeCollectionOfObjectValues("values", this.getValues()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the values property value. The values property + * @param value Value to set for the values property. + */ + public void setValues(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("values", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/teams/item/channels/item/members/remove/RemovePostResponse.java b/src/main/java/com/microsoft/graph/generated/teams/item/channels/item/members/remove/RemovePostResponse.java new file mode 100644 index 00000000000..f20165fc235 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/teams/item/channels/item/members/remove/RemovePostResponse.java @@ -0,0 +1,63 @@ +package com.microsoft.graph.teams.item.channels.item.members.remove; + +import com.microsoft.graph.models.ActionResultPart; +import com.microsoft.graph.models.BaseCollectionPaginationCountResponse; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RemovePostResponse extends BaseCollectionPaginationCountResponse implements Parsable { + /** + * Instantiates a new {@link RemovePostResponse} and sets the default values. + */ + public RemovePostResponse() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link RemovePostResponse} + */ + @jakarta.annotation.Nonnull + public static RemovePostResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new RemovePostResponse(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("value", (n) -> { this.setValue(n.getCollectionOfObjectValues(ActionResultPart::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the value property value. The value property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getValue() { + return this.backingStore.get("value"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeCollectionOfObjectValues("value", this.getValue()); + } + /** + * Sets the value property value. The value property + * @param value Value to set for the value property. + */ + public void setValue(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("value", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/teams/item/channels/item/members/remove/RemoveRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/teams/item/channels/item/members/remove/RemoveRequestBuilder.java new file mode 100644 index 00000000000..8fbec5657b7 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/teams/item/channels/item/members/remove/RemoveRequestBuilder.java @@ -0,0 +1,104 @@ +package com.microsoft.graph.teams.item.channels.item.members.remove; + +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to call the remove method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RemoveRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link RemoveRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RemoveRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/members/remove", pathParameters); + } + /** + * Instantiates a new {@link RemoveRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RemoveRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(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. + * @param body The request body + * @return a {@link RemovePostResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public RemovePostResponse post(@jakarta.annotation.Nonnull final RemovePostRequestBody body) { + return post(body, null); + } + /** + * Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RemovePostResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public RemovePostResponse post(@jakarta.annotation.Nonnull final RemovePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, RemovePostResponse::createFromDiscriminatorValue); + } + /** + * Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RemovePostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RemovePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link RemoveRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RemoveRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new RemoveRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/generated/teams/item/channels/item/messages/MessagesRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/teams/item/channels/item/messages/MessagesRequestBuilder.java index aaef76f21d0..55b49961cfd 100644 --- a/src/main/java/com/microsoft/graph/generated/teams/item/channels/item/messages/MessagesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/teams/item/channels/item/messages/MessagesRequestBuilder.java @@ -93,23 +93,23 @@ public ChatMessageCollectionResponse get(@jakarta.annotation.Nullable final java return this.requestAdapter.send(requestInfo, errorMapping, ChatMessageCollectionResponse::createFromDiscriminatorValue); } /** - * Send a new chatMessage in the specified channel or a chat. + * Send a new chatMessage in the specified channel. * @param body The request body * @return a {@link ChatMessage} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public ChatMessage post(@jakarta.annotation.Nonnull final ChatMessage body) { return post(body, null); } /** - * Send a new chatMessage in the specified channel or a chat. + * Send a new chatMessage in the specified channel. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ChatMessage} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public ChatMessage post(@jakarta.annotation.Nonnull final ChatMessage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -140,7 +140,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Send a new chatMessage in the specified channel or a chat. + * Send a new chatMessage in the specified channel. * @param body The request body * @return a {@link RequestInformation} */ @@ -149,7 +149,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f return toPostRequestInformation(body, null); } /** - * Send a new chatMessage in the specified channel or a chat. + * Send a new chatMessage in the specified channel. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} diff --git a/src/main/java/com/microsoft/graph/generated/teams/item/channels/item/messages/item/replies/RepliesRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/teams/item/channels/item/messages/item/replies/RepliesRequestBuilder.java index 829f1e96834..cfb10bf3b18 100644 --- a/src/main/java/com/microsoft/graph/generated/teams/item/channels/item/messages/item/replies/RepliesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/teams/item/channels/item/messages/item/replies/RepliesRequestBuilder.java @@ -93,23 +93,23 @@ public ChatMessageCollectionResponse get(@jakarta.annotation.Nullable final java return this.requestAdapter.send(requestInfo, errorMapping, ChatMessageCollectionResponse::createFromDiscriminatorValue); } /** - * Create a new reply to a chatMessage in a specified channel. + * Send a new reply to a chatMessage in a specified channel. * @param body The request body * @return a {@link ChatMessage} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public ChatMessage post(@jakarta.annotation.Nonnull final ChatMessage body) { return post(body, null); } /** - * Create a new reply to a chatMessage in a specified channel. + * Send a new reply to a chatMessage in a specified channel. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ChatMessage} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public ChatMessage post(@jakarta.annotation.Nonnull final ChatMessage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -140,7 +140,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Create a new reply to a chatMessage in a specified channel. + * Send a new reply to a chatMessage in a specified channel. * @param body The request body * @return a {@link RequestInformation} */ @@ -149,7 +149,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f return toPostRequestInformation(body, null); } /** - * Create a new reply to a chatMessage in a specified channel. + * Send a new reply to a chatMessage in a specified channel. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} diff --git a/src/main/java/com/microsoft/graph/generated/teams/item/members/MembersRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/teams/item/members/MembersRequestBuilder.java index 0172dd86dbe..bd273b8a84c 100644 --- a/src/main/java/com/microsoft/graph/generated/teams/item/members/MembersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/teams/item/members/MembersRequestBuilder.java @@ -6,6 +6,7 @@ import com.microsoft.graph.teams.item.members.add.AddRequestBuilder; import com.microsoft.graph.teams.item.members.count.CountRequestBuilder; import com.microsoft.graph.teams.item.members.item.ConversationMemberItemRequestBuilder; +import com.microsoft.graph.teams.item.members.remove.RemoveRequestBuilder; import com.microsoft.kiota.BaseRequestBuilder; import com.microsoft.kiota.BaseRequestConfiguration; import com.microsoft.kiota.HttpMethod; @@ -40,6 +41,14 @@ public AddRequestBuilder add() { public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the remove method. + * @return a {@link RemoveRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RemoveRequestBuilder remove() { + return new RemoveRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the members property of the microsoft.graph.team entity. * @param conversationMemberId The unique identifier of conversationMember diff --git a/src/main/java/com/microsoft/graph/generated/teams/item/members/remove/RemovePostRequestBody.java b/src/main/java/com/microsoft/graph/generated/teams/item/members/remove/RemovePostRequestBody.java new file mode 100644 index 00000000000..7df53c22d18 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/teams/item/members/remove/RemovePostRequestBody.java @@ -0,0 +1,108 @@ +package com.microsoft.graph.teams.item.members.remove; + +import com.microsoft.graph.models.ConversationMember; +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RemovePostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link RemovePostRequestBody} and sets the default values. + */ + public RemovePostRequestBody() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link RemovePostRequestBody} + */ + @jakarta.annotation.Nonnull + public static RemovePostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new RemovePostRequestBody(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(1); + deserializerMap.put("values", (n) -> { this.setValues(n.getCollectionOfObjectValues(ConversationMember::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the values property value. The values property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getValues() { + return this.backingStore.get("values"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeCollectionOfObjectValues("values", this.getValues()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the values property value. The values property + * @param value Value to set for the values property. + */ + public void setValues(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("values", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/teams/item/members/remove/RemovePostResponse.java b/src/main/java/com/microsoft/graph/generated/teams/item/members/remove/RemovePostResponse.java new file mode 100644 index 00000000000..aefa8c294b2 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/teams/item/members/remove/RemovePostResponse.java @@ -0,0 +1,63 @@ +package com.microsoft.graph.teams.item.members.remove; + +import com.microsoft.graph.models.ActionResultPart; +import com.microsoft.graph.models.BaseCollectionPaginationCountResponse; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RemovePostResponse extends BaseCollectionPaginationCountResponse implements Parsable { + /** + * Instantiates a new {@link RemovePostResponse} and sets the default values. + */ + public RemovePostResponse() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link RemovePostResponse} + */ + @jakarta.annotation.Nonnull + public static RemovePostResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new RemovePostResponse(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("value", (n) -> { this.setValue(n.getCollectionOfObjectValues(ActionResultPart::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the value property value. The value property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getValue() { + return this.backingStore.get("value"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeCollectionOfObjectValues("value", this.getValue()); + } + /** + * Sets the value property value. The value property + * @param value Value to set for the value property. + */ + public void setValue(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("value", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/teams/item/members/remove/RemoveRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/teams/item/members/remove/RemoveRequestBuilder.java new file mode 100644 index 00000000000..fc4b68c2474 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/teams/item/members/remove/RemoveRequestBuilder.java @@ -0,0 +1,104 @@ +package com.microsoft.graph.teams.item.members.remove; + +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to call the remove method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RemoveRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link RemoveRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RemoveRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/teams/{team%2Did}/members/remove", pathParameters); + } + /** + * Instantiates a new {@link RemoveRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RemoveRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(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. + * @param body The request body + * @return a {@link RemovePostResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public RemovePostResponse post(@jakarta.annotation.Nonnull final RemovePostRequestBody body) { + return post(body, null); + } + /** + * Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RemovePostResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public RemovePostResponse post(@jakarta.annotation.Nonnull final RemovePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, RemovePostResponse::createFromDiscriminatorValue); + } + /** + * Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RemovePostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RemovePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link RemoveRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RemoveRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new RemoveRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/generated/teams/item/primarychannel/members/MembersRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/teams/item/primarychannel/members/MembersRequestBuilder.java index e9a29e33fc1..67fe5be166a 100644 --- a/src/main/java/com/microsoft/graph/generated/teams/item/primarychannel/members/MembersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/teams/item/primarychannel/members/MembersRequestBuilder.java @@ -6,6 +6,7 @@ import com.microsoft.graph.teams.item.primarychannel.members.add.AddRequestBuilder; import com.microsoft.graph.teams.item.primarychannel.members.count.CountRequestBuilder; import com.microsoft.graph.teams.item.primarychannel.members.item.ConversationMemberItemRequestBuilder; +import com.microsoft.graph.teams.item.primarychannel.members.remove.RemoveRequestBuilder; import com.microsoft.kiota.BaseRequestBuilder; import com.microsoft.kiota.BaseRequestConfiguration; import com.microsoft.kiota.HttpMethod; @@ -40,6 +41,14 @@ public AddRequestBuilder add() { public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the remove method. + * @return a {@link RemoveRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RemoveRequestBuilder remove() { + return new RemoveRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the members property of the microsoft.graph.channel entity. * @param conversationMemberId The unique identifier of conversationMember diff --git a/src/main/java/com/microsoft/graph/generated/teams/item/primarychannel/members/remove/RemovePostRequestBody.java b/src/main/java/com/microsoft/graph/generated/teams/item/primarychannel/members/remove/RemovePostRequestBody.java new file mode 100644 index 00000000000..2026e55b589 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/teams/item/primarychannel/members/remove/RemovePostRequestBody.java @@ -0,0 +1,108 @@ +package com.microsoft.graph.teams.item.primarychannel.members.remove; + +import com.microsoft.graph.models.ConversationMember; +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RemovePostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link RemovePostRequestBody} and sets the default values. + */ + public RemovePostRequestBody() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link RemovePostRequestBody} + */ + @jakarta.annotation.Nonnull + public static RemovePostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new RemovePostRequestBody(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(1); + deserializerMap.put("values", (n) -> { this.setValues(n.getCollectionOfObjectValues(ConversationMember::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the values property value. The values property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getValues() { + return this.backingStore.get("values"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeCollectionOfObjectValues("values", this.getValues()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the values property value. The values property + * @param value Value to set for the values property. + */ + public void setValues(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("values", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/teams/item/primarychannel/members/remove/RemovePostResponse.java b/src/main/java/com/microsoft/graph/generated/teams/item/primarychannel/members/remove/RemovePostResponse.java new file mode 100644 index 00000000000..bfbaa868323 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/teams/item/primarychannel/members/remove/RemovePostResponse.java @@ -0,0 +1,63 @@ +package com.microsoft.graph.teams.item.primarychannel.members.remove; + +import com.microsoft.graph.models.ActionResultPart; +import com.microsoft.graph.models.BaseCollectionPaginationCountResponse; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RemovePostResponse extends BaseCollectionPaginationCountResponse implements Parsable { + /** + * Instantiates a new {@link RemovePostResponse} and sets the default values. + */ + public RemovePostResponse() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link RemovePostResponse} + */ + @jakarta.annotation.Nonnull + public static RemovePostResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new RemovePostResponse(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("value", (n) -> { this.setValue(n.getCollectionOfObjectValues(ActionResultPart::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the value property value. The value property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getValue() { + return this.backingStore.get("value"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeCollectionOfObjectValues("value", this.getValue()); + } + /** + * Sets the value property value. The value property + * @param value Value to set for the value property. + */ + public void setValue(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("value", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/teams/item/primarychannel/members/remove/RemoveRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/teams/item/primarychannel/members/remove/RemoveRequestBuilder.java new file mode 100644 index 00000000000..4ec3b900d77 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/teams/item/primarychannel/members/remove/RemoveRequestBuilder.java @@ -0,0 +1,104 @@ +package com.microsoft.graph.teams.item.primarychannel.members.remove; + +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to call the remove method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RemoveRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link RemoveRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RemoveRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/teams/{team%2Did}/primaryChannel/members/remove", pathParameters); + } + /** + * Instantiates a new {@link RemoveRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RemoveRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(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. + * @param body The request body + * @return a {@link RemovePostResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public RemovePostResponse post(@jakarta.annotation.Nonnull final RemovePostRequestBody body) { + return post(body, null); + } + /** + * Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RemovePostResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public RemovePostResponse post(@jakarta.annotation.Nonnull final RemovePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, RemovePostResponse::createFromDiscriminatorValue); + } + /** + * Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RemovePostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RemovePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link RemoveRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RemoveRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new RemoveRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/generated/teamwork/deletedteams/item/channels/item/members/MembersRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/teamwork/deletedteams/item/channels/item/members/MembersRequestBuilder.java index eecba3a2da4..2e8469a9c7e 100644 --- a/src/main/java/com/microsoft/graph/generated/teamwork/deletedteams/item/channels/item/members/MembersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/teamwork/deletedteams/item/channels/item/members/MembersRequestBuilder.java @@ -6,6 +6,7 @@ import com.microsoft.graph.teamwork.deletedteams.item.channels.item.members.add.AddRequestBuilder; import com.microsoft.graph.teamwork.deletedteams.item.channels.item.members.count.CountRequestBuilder; import com.microsoft.graph.teamwork.deletedteams.item.channels.item.members.item.ConversationMemberItemRequestBuilder; +import com.microsoft.graph.teamwork.deletedteams.item.channels.item.members.remove.RemoveRequestBuilder; import com.microsoft.kiota.BaseRequestBuilder; import com.microsoft.kiota.BaseRequestConfiguration; import com.microsoft.kiota.HttpMethod; @@ -40,6 +41,14 @@ public AddRequestBuilder add() { public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the remove method. + * @return a {@link RemoveRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RemoveRequestBuilder remove() { + return new RemoveRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the members property of the microsoft.graph.channel entity. * @param conversationMemberId The unique identifier of conversationMember diff --git a/src/main/java/com/microsoft/graph/generated/teamwork/deletedteams/item/channels/item/members/remove/RemovePostRequestBody.java b/src/main/java/com/microsoft/graph/generated/teamwork/deletedteams/item/channels/item/members/remove/RemovePostRequestBody.java new file mode 100644 index 00000000000..a6c21c4ab1d --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/teamwork/deletedteams/item/channels/item/members/remove/RemovePostRequestBody.java @@ -0,0 +1,108 @@ +package com.microsoft.graph.teamwork.deletedteams.item.channels.item.members.remove; + +import com.microsoft.graph.models.ConversationMember; +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RemovePostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link RemovePostRequestBody} and sets the default values. + */ + public RemovePostRequestBody() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link RemovePostRequestBody} + */ + @jakarta.annotation.Nonnull + public static RemovePostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new RemovePostRequestBody(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(1); + deserializerMap.put("values", (n) -> { this.setValues(n.getCollectionOfObjectValues(ConversationMember::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the values property value. The values property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getValues() { + return this.backingStore.get("values"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeCollectionOfObjectValues("values", this.getValues()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the values property value. The values property + * @param value Value to set for the values property. + */ + public void setValues(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("values", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/teamwork/deletedteams/item/channels/item/members/remove/RemovePostResponse.java b/src/main/java/com/microsoft/graph/generated/teamwork/deletedteams/item/channels/item/members/remove/RemovePostResponse.java new file mode 100644 index 00000000000..69e6b121d7d --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/teamwork/deletedteams/item/channels/item/members/remove/RemovePostResponse.java @@ -0,0 +1,63 @@ +package com.microsoft.graph.teamwork.deletedteams.item.channels.item.members.remove; + +import com.microsoft.graph.models.ActionResultPart; +import com.microsoft.graph.models.BaseCollectionPaginationCountResponse; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RemovePostResponse extends BaseCollectionPaginationCountResponse implements Parsable { + /** + * Instantiates a new {@link RemovePostResponse} and sets the default values. + */ + public RemovePostResponse() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link RemovePostResponse} + */ + @jakarta.annotation.Nonnull + public static RemovePostResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new RemovePostResponse(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("value", (n) -> { this.setValue(n.getCollectionOfObjectValues(ActionResultPart::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the value property value. The value property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getValue() { + return this.backingStore.get("value"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeCollectionOfObjectValues("value", this.getValue()); + } + /** + * Sets the value property value. The value property + * @param value Value to set for the value property. + */ + public void setValue(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("value", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/teamwork/deletedteams/item/channels/item/members/remove/RemoveRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/teamwork/deletedteams/item/channels/item/members/remove/RemoveRequestBuilder.java new file mode 100644 index 00000000000..19448e2512e --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/teamwork/deletedteams/item/channels/item/members/remove/RemoveRequestBuilder.java @@ -0,0 +1,104 @@ +package com.microsoft.graph.teamwork.deletedteams.item.channels.item.members.remove; + +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to call the remove method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RemoveRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link RemoveRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RemoveRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/members/remove", pathParameters); + } + /** + * Instantiates a new {@link RemoveRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RemoveRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(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. + * @param body The request body + * @return a {@link RemovePostResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public RemovePostResponse post(@jakarta.annotation.Nonnull final RemovePostRequestBody body) { + return post(body, null); + } + /** + * Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RemovePostResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public RemovePostResponse post(@jakarta.annotation.Nonnull final RemovePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, RemovePostResponse::createFromDiscriminatorValue); + } + /** + * Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RemovePostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RemovePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link RemoveRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RemoveRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new RemoveRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/generated/users/UsersRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/users/UsersRequestBuilder.java index ae9faf8b47b..02e27cc8bad 100644 --- a/src/main/java/com/microsoft/graph/generated/users/UsersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/users/UsersRequestBuilder.java @@ -96,21 +96,21 @@ public UsersRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak super(requestAdapter, "{+baseurl}/users{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24top}", rawUrl); } /** - * Retrieve a list of user objects. + * List properties and relationships of the user objects. * @return a {@link UserCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public UserCollectionResponse get() { return get(null); } /** - * Retrieve a list of user objects. + * List properties and relationships of the user objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link UserCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public UserCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -147,7 +147,7 @@ public User post(@jakarta.annotation.Nonnull final User body, @jakarta.annotatio return this.requestAdapter.send(requestInfo, errorMapping, User::createFromDiscriminatorValue); } /** - * Retrieve a list of user objects. + * List properties and relationships of the user objects. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -155,7 +155,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Retrieve a list of user objects. + * List properties and relationships of the user objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -201,7 +201,7 @@ public UsersRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawU return new UsersRequestBuilder(rawUrl, requestAdapter); } /** - * Retrieve a list of user objects. + * List properties and relationships of the user objects. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/users/item/UserItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/users/item/UserItemRequestBuilder.java index 5416346e024..d1f683a6ba6 100644 --- a/src/main/java/com/microsoft/graph/generated/users/item/UserItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/users/item/UserItemRequestBuilder.java @@ -705,18 +705,18 @@ public UserItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ super(requestAdapter, "{+baseurl}/users/{user%2Did}{?%24expand,%24select}", rawUrl); } /** - * 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. * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ public void delete() { delete(null); } /** - * 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. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); @@ -765,7 +765,7 @@ public User get(@jakarta.annotation.Nullable final java.util.function.ConsumerFind more info here + * @see Find more info here */ @jakarta.annotation.Nullable public User patch(@jakarta.annotation.Nonnull final User body) { @@ -777,7 +777,7 @@ public User patch(@jakarta.annotation.Nonnull final User body) { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link User} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public User patch(@jakarta.annotation.Nonnull final User body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -800,7 +800,7 @@ public ReminderViewWithStartDateTimeWithEndDateTimeRequestBuilder reminderViewWi return new ReminderViewWithStartDateTimeWithEndDateTimeRequestBuilder(pathParameters, requestAdapter, EndDateTime, StartDateTime); } /** - * 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. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -808,7 +808,7 @@ public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } /** - * 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. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ diff --git a/src/main/java/com/microsoft/graph/generated/users/item/chats/item/members/MembersRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/users/item/chats/item/members/MembersRequestBuilder.java index fba56e5be4e..87650c8a658 100644 --- a/src/main/java/com/microsoft/graph/generated/users/item/chats/item/members/MembersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/users/item/chats/item/members/MembersRequestBuilder.java @@ -6,6 +6,7 @@ import com.microsoft.graph.users.item.chats.item.members.add.AddRequestBuilder; import com.microsoft.graph.users.item.chats.item.members.count.CountRequestBuilder; import com.microsoft.graph.users.item.chats.item.members.item.ConversationMemberItemRequestBuilder; +import com.microsoft.graph.users.item.chats.item.members.remove.RemoveRequestBuilder; import com.microsoft.kiota.BaseRequestBuilder; import com.microsoft.kiota.BaseRequestConfiguration; import com.microsoft.kiota.HttpMethod; @@ -40,6 +41,14 @@ public AddRequestBuilder add() { public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the remove method. + * @return a {@link RemoveRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RemoveRequestBuilder remove() { + return new RemoveRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the members property of the microsoft.graph.chat entity. * @param conversationMemberId The unique identifier of conversationMember diff --git a/src/main/java/com/microsoft/graph/generated/users/item/chats/item/members/remove/RemovePostRequestBody.java b/src/main/java/com/microsoft/graph/generated/users/item/chats/item/members/remove/RemovePostRequestBody.java new file mode 100644 index 00000000000..6b73546c080 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/users/item/chats/item/members/remove/RemovePostRequestBody.java @@ -0,0 +1,108 @@ +package com.microsoft.graph.users.item.chats.item.members.remove; + +import com.microsoft.graph.models.ConversationMember; +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RemovePostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link RemovePostRequestBody} and sets the default values. + */ + public RemovePostRequestBody() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link RemovePostRequestBody} + */ + @jakarta.annotation.Nonnull + public static RemovePostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new RemovePostRequestBody(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(1); + deserializerMap.put("values", (n) -> { this.setValues(n.getCollectionOfObjectValues(ConversationMember::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the values property value. The values property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getValues() { + return this.backingStore.get("values"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeCollectionOfObjectValues("values", this.getValues()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the values property value. The values property + * @param value Value to set for the values property. + */ + public void setValues(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("values", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/users/item/chats/item/members/remove/RemovePostResponse.java b/src/main/java/com/microsoft/graph/generated/users/item/chats/item/members/remove/RemovePostResponse.java new file mode 100644 index 00000000000..f033b41b2ff --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/users/item/chats/item/members/remove/RemovePostResponse.java @@ -0,0 +1,63 @@ +package com.microsoft.graph.users.item.chats.item.members.remove; + +import com.microsoft.graph.models.ActionResultPart; +import com.microsoft.graph.models.BaseCollectionPaginationCountResponse; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RemovePostResponse extends BaseCollectionPaginationCountResponse implements Parsable { + /** + * Instantiates a new {@link RemovePostResponse} and sets the default values. + */ + public RemovePostResponse() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link RemovePostResponse} + */ + @jakarta.annotation.Nonnull + public static RemovePostResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new RemovePostResponse(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("value", (n) -> { this.setValue(n.getCollectionOfObjectValues(ActionResultPart::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the value property value. The value property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getValue() { + return this.backingStore.get("value"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeCollectionOfObjectValues("value", this.getValue()); + } + /** + * Sets the value property value. The value property + * @param value Value to set for the value property. + */ + public void setValue(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("value", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/users/item/chats/item/members/remove/RemoveRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/users/item/chats/item/members/remove/RemoveRequestBuilder.java new file mode 100644 index 00000000000..e7e44aa7d73 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/users/item/chats/item/members/remove/RemoveRequestBuilder.java @@ -0,0 +1,104 @@ +package com.microsoft.graph.users.item.chats.item.members.remove; + +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to call the remove method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RemoveRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link RemoveRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RemoveRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/members/remove", pathParameters); + } + /** + * Instantiates a new {@link RemoveRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RemoveRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(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. + * @param body The request body + * @return a {@link RemovePostResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public RemovePostResponse post(@jakarta.annotation.Nonnull final RemovePostRequestBody body) { + return post(body, null); + } + /** + * Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RemovePostResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public RemovePostResponse post(@jakarta.annotation.Nonnull final RemovePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, RemovePostResponse::createFromDiscriminatorValue); + } + /** + * Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RemovePostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RemovePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link RemoveRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RemoveRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new RemoveRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/channels/item/members/MembersRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/channels/item/members/MembersRequestBuilder.java index 97e572ad12d..f38e15cbd70 100644 --- a/src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/channels/item/members/MembersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/channels/item/members/MembersRequestBuilder.java @@ -6,6 +6,7 @@ import com.microsoft.graph.users.item.joinedteams.item.channels.item.members.add.AddRequestBuilder; import com.microsoft.graph.users.item.joinedteams.item.channels.item.members.count.CountRequestBuilder; import com.microsoft.graph.users.item.joinedteams.item.channels.item.members.item.ConversationMemberItemRequestBuilder; +import com.microsoft.graph.users.item.joinedteams.item.channels.item.members.remove.RemoveRequestBuilder; import com.microsoft.kiota.BaseRequestBuilder; import com.microsoft.kiota.BaseRequestConfiguration; import com.microsoft.kiota.HttpMethod; @@ -40,6 +41,14 @@ public AddRequestBuilder add() { public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the remove method. + * @return a {@link RemoveRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RemoveRequestBuilder remove() { + return new RemoveRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the members property of the microsoft.graph.channel entity. * @param conversationMemberId The unique identifier of conversationMember diff --git a/src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/channels/item/members/remove/RemovePostRequestBody.java b/src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/channels/item/members/remove/RemovePostRequestBody.java new file mode 100644 index 00000000000..1355d3acdb6 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/channels/item/members/remove/RemovePostRequestBody.java @@ -0,0 +1,108 @@ +package com.microsoft.graph.users.item.joinedteams.item.channels.item.members.remove; + +import com.microsoft.graph.models.ConversationMember; +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RemovePostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link RemovePostRequestBody} and sets the default values. + */ + public RemovePostRequestBody() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link RemovePostRequestBody} + */ + @jakarta.annotation.Nonnull + public static RemovePostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new RemovePostRequestBody(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(1); + deserializerMap.put("values", (n) -> { this.setValues(n.getCollectionOfObjectValues(ConversationMember::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the values property value. The values property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getValues() { + return this.backingStore.get("values"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeCollectionOfObjectValues("values", this.getValues()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the values property value. The values property + * @param value Value to set for the values property. + */ + public void setValues(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("values", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/channels/item/members/remove/RemovePostResponse.java b/src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/channels/item/members/remove/RemovePostResponse.java new file mode 100644 index 00000000000..885fcac15e2 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/channels/item/members/remove/RemovePostResponse.java @@ -0,0 +1,63 @@ +package com.microsoft.graph.users.item.joinedteams.item.channels.item.members.remove; + +import com.microsoft.graph.models.ActionResultPart; +import com.microsoft.graph.models.BaseCollectionPaginationCountResponse; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RemovePostResponse extends BaseCollectionPaginationCountResponse implements Parsable { + /** + * Instantiates a new {@link RemovePostResponse} and sets the default values. + */ + public RemovePostResponse() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link RemovePostResponse} + */ + @jakarta.annotation.Nonnull + public static RemovePostResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new RemovePostResponse(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("value", (n) -> { this.setValue(n.getCollectionOfObjectValues(ActionResultPart::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the value property value. The value property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getValue() { + return this.backingStore.get("value"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeCollectionOfObjectValues("value", this.getValue()); + } + /** + * Sets the value property value. The value property + * @param value Value to set for the value property. + */ + public void setValue(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("value", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/channels/item/members/remove/RemoveRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/channels/item/members/remove/RemoveRequestBuilder.java new file mode 100644 index 00000000000..a5a624e06ce --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/channels/item/members/remove/RemoveRequestBuilder.java @@ -0,0 +1,104 @@ +package com.microsoft.graph.users.item.joinedteams.item.channels.item.members.remove; + +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to call the remove method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RemoveRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link RemoveRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RemoveRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/channels/{channel%2Did}/members/remove", pathParameters); + } + /** + * Instantiates a new {@link RemoveRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RemoveRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(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. + * @param body The request body + * @return a {@link RemovePostResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public RemovePostResponse post(@jakarta.annotation.Nonnull final RemovePostRequestBody body) { + return post(body, null); + } + /** + * Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RemovePostResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public RemovePostResponse post(@jakarta.annotation.Nonnull final RemovePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, RemovePostResponse::createFromDiscriminatorValue); + } + /** + * Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RemovePostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RemovePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link RemoveRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RemoveRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new RemoveRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/members/MembersRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/members/MembersRequestBuilder.java index e09eaad8aff..8d4f3159117 100644 --- a/src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/members/MembersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/members/MembersRequestBuilder.java @@ -6,6 +6,7 @@ import com.microsoft.graph.users.item.joinedteams.item.members.add.AddRequestBuilder; import com.microsoft.graph.users.item.joinedteams.item.members.count.CountRequestBuilder; import com.microsoft.graph.users.item.joinedteams.item.members.item.ConversationMemberItemRequestBuilder; +import com.microsoft.graph.users.item.joinedteams.item.members.remove.RemoveRequestBuilder; import com.microsoft.kiota.BaseRequestBuilder; import com.microsoft.kiota.BaseRequestConfiguration; import com.microsoft.kiota.HttpMethod; @@ -40,6 +41,14 @@ public AddRequestBuilder add() { public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the remove method. + * @return a {@link RemoveRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RemoveRequestBuilder remove() { + return new RemoveRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the members property of the microsoft.graph.team entity. * @param conversationMemberId The unique identifier of conversationMember diff --git a/src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/members/remove/RemovePostRequestBody.java b/src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/members/remove/RemovePostRequestBody.java new file mode 100644 index 00000000000..8f532632999 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/members/remove/RemovePostRequestBody.java @@ -0,0 +1,108 @@ +package com.microsoft.graph.users.item.joinedteams.item.members.remove; + +import com.microsoft.graph.models.ConversationMember; +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RemovePostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link RemovePostRequestBody} and sets the default values. + */ + public RemovePostRequestBody() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link RemovePostRequestBody} + */ + @jakarta.annotation.Nonnull + public static RemovePostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new RemovePostRequestBody(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(1); + deserializerMap.put("values", (n) -> { this.setValues(n.getCollectionOfObjectValues(ConversationMember::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the values property value. The values property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getValues() { + return this.backingStore.get("values"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeCollectionOfObjectValues("values", this.getValues()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the values property value. The values property + * @param value Value to set for the values property. + */ + public void setValues(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("values", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/members/remove/RemovePostResponse.java b/src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/members/remove/RemovePostResponse.java new file mode 100644 index 00000000000..40267342339 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/members/remove/RemovePostResponse.java @@ -0,0 +1,63 @@ +package com.microsoft.graph.users.item.joinedteams.item.members.remove; + +import com.microsoft.graph.models.ActionResultPart; +import com.microsoft.graph.models.BaseCollectionPaginationCountResponse; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RemovePostResponse extends BaseCollectionPaginationCountResponse implements Parsable { + /** + * Instantiates a new {@link RemovePostResponse} and sets the default values. + */ + public RemovePostResponse() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link RemovePostResponse} + */ + @jakarta.annotation.Nonnull + public static RemovePostResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new RemovePostResponse(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("value", (n) -> { this.setValue(n.getCollectionOfObjectValues(ActionResultPart::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the value property value. The value property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getValue() { + return this.backingStore.get("value"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeCollectionOfObjectValues("value", this.getValue()); + } + /** + * Sets the value property value. The value property + * @param value Value to set for the value property. + */ + public void setValue(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("value", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/members/remove/RemoveRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/members/remove/RemoveRequestBuilder.java new file mode 100644 index 00000000000..9738045d4ea --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/members/remove/RemoveRequestBuilder.java @@ -0,0 +1,104 @@ +package com.microsoft.graph.users.item.joinedteams.item.members.remove; + +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to call the remove method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RemoveRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link RemoveRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RemoveRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/members/remove", pathParameters); + } + /** + * Instantiates a new {@link RemoveRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RemoveRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(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. + * @param body The request body + * @return a {@link RemovePostResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public RemovePostResponse post(@jakarta.annotation.Nonnull final RemovePostRequestBody body) { + return post(body, null); + } + /** + * Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RemovePostResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public RemovePostResponse post(@jakarta.annotation.Nonnull final RemovePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, RemovePostResponse::createFromDiscriminatorValue); + } + /** + * Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RemovePostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RemovePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link RemoveRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RemoveRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new RemoveRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/primarychannel/members/MembersRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/primarychannel/members/MembersRequestBuilder.java index 3915391f3b1..d61f35482c6 100644 --- a/src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/primarychannel/members/MembersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/primarychannel/members/MembersRequestBuilder.java @@ -6,6 +6,7 @@ import com.microsoft.graph.users.item.joinedteams.item.primarychannel.members.add.AddRequestBuilder; import com.microsoft.graph.users.item.joinedteams.item.primarychannel.members.count.CountRequestBuilder; import com.microsoft.graph.users.item.joinedteams.item.primarychannel.members.item.ConversationMemberItemRequestBuilder; +import com.microsoft.graph.users.item.joinedteams.item.primarychannel.members.remove.RemoveRequestBuilder; import com.microsoft.kiota.BaseRequestBuilder; import com.microsoft.kiota.BaseRequestConfiguration; import com.microsoft.kiota.HttpMethod; @@ -40,6 +41,14 @@ public AddRequestBuilder add() { public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the remove method. + * @return a {@link RemoveRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RemoveRequestBuilder remove() { + return new RemoveRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the members property of the microsoft.graph.channel entity. * @param conversationMemberId The unique identifier of conversationMember diff --git a/src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/primarychannel/members/remove/RemovePostRequestBody.java b/src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/primarychannel/members/remove/RemovePostRequestBody.java new file mode 100644 index 00000000000..12486b8d461 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/primarychannel/members/remove/RemovePostRequestBody.java @@ -0,0 +1,108 @@ +package com.microsoft.graph.users.item.joinedteams.item.primarychannel.members.remove; + +import com.microsoft.graph.models.ConversationMember; +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RemovePostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link RemovePostRequestBody} and sets the default values. + */ + public RemovePostRequestBody() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link RemovePostRequestBody} + */ + @jakarta.annotation.Nonnull + public static RemovePostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new RemovePostRequestBody(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(1); + deserializerMap.put("values", (n) -> { this.setValues(n.getCollectionOfObjectValues(ConversationMember::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the values property value. The values property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getValues() { + return this.backingStore.get("values"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeCollectionOfObjectValues("values", this.getValues()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the values property value. The values property + * @param value Value to set for the values property. + */ + public void setValues(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("values", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/primarychannel/members/remove/RemovePostResponse.java b/src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/primarychannel/members/remove/RemovePostResponse.java new file mode 100644 index 00000000000..967a00e457d --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/primarychannel/members/remove/RemovePostResponse.java @@ -0,0 +1,63 @@ +package com.microsoft.graph.users.item.joinedteams.item.primarychannel.members.remove; + +import com.microsoft.graph.models.ActionResultPart; +import com.microsoft.graph.models.BaseCollectionPaginationCountResponse; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RemovePostResponse extends BaseCollectionPaginationCountResponse implements Parsable { + /** + * Instantiates a new {@link RemovePostResponse} and sets the default values. + */ + public RemovePostResponse() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link RemovePostResponse} + */ + @jakarta.annotation.Nonnull + public static RemovePostResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new RemovePostResponse(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("value", (n) -> { this.setValue(n.getCollectionOfObjectValues(ActionResultPart::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the value property value. The value property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getValue() { + return this.backingStore.get("value"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeCollectionOfObjectValues("value", this.getValue()); + } + /** + * Sets the value property value. The value property + * @param value Value to set for the value property. + */ + public void setValue(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("value", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/primarychannel/members/remove/RemoveRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/primarychannel/members/remove/RemoveRequestBuilder.java new file mode 100644 index 00000000000..c67cd27bae5 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/users/item/joinedteams/item/primarychannel/members/remove/RemoveRequestBuilder.java @@ -0,0 +1,104 @@ +package com.microsoft.graph.users.item.joinedteams.item.primarychannel.members.remove; + +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to call the remove method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RemoveRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link RemoveRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RemoveRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/primaryChannel/members/remove", pathParameters); + } + /** + * Instantiates a new {@link RemoveRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RemoveRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(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. + * @param body The request body + * @return a {@link RemovePostResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public RemovePostResponse post(@jakarta.annotation.Nonnull final RemovePostRequestBody body) { + return post(body, null); + } + /** + * Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RemovePostResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public RemovePostResponse post(@jakarta.annotation.Nonnull final RemovePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, RemovePostResponse::createFromDiscriminatorValue); + } + /** + * Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RemovePostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RemovePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + 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. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link RemoveRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RemoveRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new RemoveRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/generated/users/item/presence/PresenceRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/users/item/presence/PresenceRequestBuilder.java index 24a60472129..e41e52846f7 100644 --- a/src/main/java/com/microsoft/graph/generated/users/item/presence/PresenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/users/item/presence/PresenceRequestBuilder.java @@ -100,21 +100,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Set a presence status message for a user. An optional expiration date and time can be supplied. + * Get a user's presence information. * @return a {@link Presence} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public Presence get() { return get(null); } /** - * Set a presence status message for a user. An optional expiration date and time can be supplied. + * Get a user's presence information. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Presence} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public Presence get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -169,7 +169,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * Set a presence status message for a user. An optional expiration date and time can be supplied. + * Get a user's presence information. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -177,7 +177,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Set a presence status message for a user. An optional expiration date and time can be supplied. + * Get a user's presence information. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -229,7 +229,7 @@ public PresenceRequestBuilder withUrl(@jakarta.annotation.Nonnull final String r public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Set a presence status message for a user. An optional expiration date and time can be supplied. + * Get a user's presence information. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/userswithuserprincipalname/UsersWithUserPrincipalNameRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/userswithuserprincipalname/UsersWithUserPrincipalNameRequestBuilder.java index a1e7004a3ef..b5cbba8e2a4 100644 --- a/src/main/java/com/microsoft/graph/generated/userswithuserprincipalname/UsersWithUserPrincipalNameRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/userswithuserprincipalname/UsersWithUserPrincipalNameRequestBuilder.java @@ -39,18 +39,18 @@ public UsersWithUserPrincipalNameRequestBuilder(@jakarta.annotation.Nonnull fina super(requestAdapter, "{+baseurl}/users(userPrincipalName='{userPrincipalName}'){?%24expand,%24select}", rawUrl); } /** - * 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. * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ public void delete() { delete(null); } /** - * 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. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); @@ -87,7 +87,7 @@ public User get(@jakarta.annotation.Nullable final java.util.function.ConsumerFind more info here + * @see Find more info here */ @jakarta.annotation.Nullable public User patch(@jakarta.annotation.Nonnull final User body) { @@ -99,7 +99,7 @@ public User patch(@jakarta.annotation.Nonnull final User body) { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link User} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public User patch(@jakarta.annotation.Nonnull final User body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -110,7 +110,7 @@ public User patch(@jakarta.annotation.Nonnull final User body, @jakarta.annotati return this.requestAdapter.send(requestInfo, errorMapping, User::createFromDiscriminatorValue); } /** - * 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. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -118,7 +118,7 @@ public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } /** - * 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. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */